beautypg.com

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

Page 179

background image

Planning Your Application Program

$aaSiCjAh

Name

Read Alarm Mode

Chapter 6





Description

Returns the alarm mode for the specified channel in

the specified ADAM-5000/TCP system.

Syntax $aaSiCjAh(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 channel j (j : 0 to 7). Ah is the Read Alarm
Mode command.

h indicates alarm type and can have the value H =
High alarm, L = Low alarm

(cr) represents terminating character, carriage return
(0Dh)

Response !aas(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
of the corresponding ADAM-5000/TCP system.

s indicates alarm mode and can have the value M =
Momentary mode, L = Latching mode

(cr) represents terminating character, carriage return
(0Dh)





ADAM-5000/TCP User’s Manual




6-111