User Manual

161 Chapter 6
$aaCjAhs
Name Set Alarm Mode
Description Sets the High/Low alarm of the specified input channel in
the addressed ADAM-6000 module to either Latching or
Momentary mode.
Syntax $aaCjAhs(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave network address of an ADAM-6000 module.
(Always 01)
Cj identifies the desired channel j (j : 0 to 7).
A is the Set Alarm Mode command.
h indicates alarm types (H = High alarm, L = Low alarm)
s indicates alarm modes (M = Momentary mode,
L = Latching mode)
(cr) represents terminating character, carriage return (0Dh)
Response !aa(cr) if the command was valid
?aa(cr) if an invalid operation was entered.
There is no response if the system detects a syntax error or
communication error or if the address does not exist.
! delimiter indicating a valid command was received.
aa represents the 2-character hexadecimal slave address of
the corresponding ADAM-6000 module.
(cr) represents terminating character, carriage return (0Dh)
Example command: $01C1AHL(cr)
response: !01(cr)
Channel 1 of the ADAM-6000 module at address 01h is
instructed to set its High alarm in Latching mode.
The module confirms that the command has been received.