rev1 – Dec 2013 www.digitalcomtech.com 28
ED - Event Definition
Qualifiers: Q, S, R.
This message is used to define events. These events define the Event Machine
configuration for the Syrus
TM
. An event is created by defining a boolean combination
of signals as a trigger, a routing indication for a generated event message and a
possible Configuration Command to be executed when the event occurs. The message
has the following format:
AABCD;EEE{[EEE][F]}G[[;ACT=HH...][;ACT=HH...]...]
o AA: Index. Specifies one of the event definitions associated with an event
definition signal EAA. Ranging from 00 to 99 (or '**').
o B: Event Handling. Message Routing. The valid values for this field are:
N: Normal. Route the Event Message to the specified Destination Address
(DA).
X: Serial Port. Route the Event Message to the unit's serial port only.
S: Signal only. Do not generate an Event Message. The event's signal still
follows the event's state.
U: Undefine. Delete the event's definition.
o C: Message ID. Generate event message as:
V: EV message.
A: extended-EV message A.
B: extended-EV message B.
C: extended-EV message C.
o D: Destination address of the Event Message. The value of this field is the index
of the desired Destination Address (DA) defined with the DA message.
o EEE: Signal(s) used to trigger the event. Consult the Signals List for a list of valid
signals.
o F: Logical operation used to combine signals:
&: AND
|: OR
!: NOT
o G: Event sense. Edge of signals' combination used to trigger the event:
+: Rising edge.
-: Falling edge.
o H: Event Action. A valid Configuration Command without the opening (>) and
closing (<) delimiters. Several Configuration Commandactions can be defined on
a single event. There are two valid messages to define the action. 'ACT=' which
will make the event to be sent both through the serial port and over the air and
'XCT=' that will only send the event through the serial port. The only command
that is not valid is the Reset Message (RT) command.