B&B Electronics ADAM-6066 - Manual User Manual

Page 156

Advertising
background image

ADAM-6000 Series User Manual

146

$aaCjAh
Name

Read Alarm Mode

Description Returns the alarm mode for the specified channel in the

specified ADAM-6000 module.

Syntax $aaCjAh(cr)

$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of an ADAM-6000 module.
(Always 01)
Cj identifies the desired channel j (j : 0 to 7).
A is the Read Alarm Mode command.
h indicates the alarm types (H = High alarm,
L = Low alarm)
(cr) represents terminating character, carriage return (0Dh)

Response !aas(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.
s indicates alarm modes (M = Momentary mode,
L = Latching mode)
(cr) represents terminating character, carriage return (0Dh)

Example

command: $01C1AL(cr)
response: !01M(cr) Channel 1 of the ADAM-6000 module
at address 01h is instructed to return its Low alarm mode.
The system responds that it is in Momentary mode.

Advertising