beautypg.com

Chapter 6 – Advantech 5000 Series User Manual

Page 222

background image

Chapter 6

$aaSiCjAhU(data)

Name

Set Alarm Limit

Description Set the High/Low alarm limit value for the specified input

channel of a specified ADAM-5000 system.

Syntax $aaSiCjAhU(data)(cr)

$ is a delimiter character.

aa (range 00-FF) represents the 2-character hexadecimal
address of an ADAM-5000 system.

SiCj identifies the desired slot i and the desired channel j.

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
value is from 0 to 4294967295. Be aware that (data) has
10 characters.

(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 address does
not exist.

! delimiter character indicating a valid command was
received.

aa represents the 2-character hexadecimal address of the
corresponding ADAM-5000 system.

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










ADAM-5000

6-157