161 ADAM-6200 User Manual
Appendix B ADAM-6200 ASCII Commands
$aaCjAhs
Name Set Alarm Mode
Description Sets the High/Low alarm of the specified input channel in the
addressed ADAM-6200 module to either Latching or Momentary
mode.
Syntax $aaCjAhs(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave net-
work address of an ADAM-6200 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 communi-
cation 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 corre-
sponding ADAM-6200 module.
(cr) represents terminating character, carriage return (0Dh)
Example Channel 1 of the ADAM-6200 module at address 01h is instructed to
set its High alarm in Latching mode. The module confirms that the
command has been received.
ASCII Command: $01C1AHL(cr)
Response: !01(cr)