
19-8 Using Signal Notice to Set Up a Trigger-Action-Rule
LX Series Configuration Guide
Using Signal Notice to Set Up a Trigger-Action-Rule
The Trigger-Action-Rule setup can be simplified through the use
of the Signal-Notice capability.
X To create the Trigger, Rule and Action
Use the following commands:
Example InReach:0 >> config
Config:0 >> port async 10 signal cts enable
Config:0 >> exit
InReach:0 >>
If the alarm circuit that is attached to the port in
the preceding example is a normally closed contact
and everything is setup correctly the user will
receive an SNMP message when the DTR signal is
transitioned via the software commands. In normal
use the DTR signal will remain in the High state and changes at
the physical contact will cause the messages to be generated.
LX Signal Notice Ease-of-Use
This feature allows you to use substitution characters for port,
signal, and current state within the action command. It is an
automated way of creating up to 192 trigger actions and rules
using one or two simple commands. The % character is
reserved for character substitutions.
%p for port number
%s for signal (CTS, DSR-DCD)
%c for current state (high or low)
%% translates to %
Syntax Async 1-2:0 >>signal action notify message signal %s
is %c on port %p
This command
creates two
Triggers, two
Rules and two
Actions for the
target signal on
the target port
with the form
pa10ctsup and
pa10ctsdn. A
port range can
be specified.
Signal-Notice
defaults to
logging
messages in
syslog at a
default level o
notice.
Comentarios a estos manuales