Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 194

Planning Your Application Program
$aaSiCjS
Name
Read Alarm Status
Chapter 6
Description
Reads whether an alarm occurred for the specified
input channel in the specified ADAM-5000/TCP sys-
tem
Syntax $aaSiCjS(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of an ADAM-5000/
TCP system.
SiCj identifies the desired slot i (i : 0 to 7) and the
desired analog input channel j (j : 0 to 7). S is the
Read Alarm Status command.
(cr) represents terminating character, carriage return
(0Dh)
Response !aahl(cr)
if the command was valid There is no
response if the system detects a syntax error or
communication error or if the specified ad- dress
does not exist.
! delimiter character indicating a valid command was
received.
aa represents the 2-character hexadecimal address
Modbus of the corresponding ADAM-
5000/TCP system.
h represents the status of High alarm. ‘1’ means the
High alarm occurred, ‘0’ means it did not occur.
l represents the status of Low alarm. ‘1’ means the
Low alarm occurred, ‘0’ means it did not occur.
(cr) represents terminating character, carriage return
(0Dh)
ADAM-5000/TCP User’s Manual
6-125