beautypg.com

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

Page 170

background image

Chapter 6

Planning Your Application Program

$aaSiCjAhU(data)

Name

Set Alarm Limit

Description

Sets the High/Low alarm limit value for the specified

input channel of a specified ADAM-5000/TCP sys-
tem.

Syntax $aaSiCjAhU(data)(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). AhU is the
Set Alarm Limit command.

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

(data) represents the desired alarm limit setting. The
format is always in engineering units.

(cr) represents terminating character, carriage return

(0Dh)

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

(cr) represents terminating character, carriage return

(0Dh)


6-102

ADAM-5000/TCP User’s Manual