B&B Electronics ADAM-6066 - Manual User Manual

Page 161

Advertising
background image

151

Chapter 6

$aaCjAhU
Name

Set Alarm Limit

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

channel of a specified ADAM-6000 module.

Syntax $aaCjAhU(data)(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 analog input channel j (j : 0 to 7).
AhU is the Set Alarm Limit command.
h indicates alarm type (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

?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.
(cr) represents terminating character, carriage return (0Dh)

Example

command: $01C1AHU+080.00(cr)
response: !01(cr) The high alarm limit of the channel 1 in
the specific module at address 01h is been set +80.
The system confirms the command has been received.

Note:

An analog input module requires a maximum of 2 seconds
after it receives a Set Alarm Limit command to let the
settings take effect.

Advertising