Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 190

Advertising
background image




5-44

ADAM 4000 Series User’s Manual

4018M

@AAACSDHHHHTEIIII

Name

Set Alarm Limit command

Description

Set high/low alarm limits for the channel C in the analog
input data logger at address AA.

Syntax

@AAACSDHHHHTEIIII(cr)

@

is a delimiter character

AA

(range 00-FF) represents the 2-character hexadecimal

address of an analog input data logger.

A

is the Set Alarm Limit command.

C

represents the channel index. Its value is from 0 to 7.

S

represents the sign of the high alarm limit.

‘+’ is for positive, and ‘-’ is for negative.

D

represents the decimal point of the high alarm limit. Its

value is from 0 to 5.

HHHH

represents the 4-character hexadecimal number of

high alarm limit.

T

represents the sign of the low alarm limit.

‘+’ is for positive, and ‘-’ is for negative.

E

represents the decimal point of the low alarm limit. Its

value is from 0 to 5.

IIII

represents the 4-character hexadecimal number of low

alarm limit.

(cr)

is the terminating character, carriage return (0Dh).

Response

!AA(cr)

if the command is valid.

?AA(cr)

if an invalid parameter was entered. There is no

response if the module detects a syntax error or
communication error or if the specified address does not
exist.

!

is a delimiter character indicating a valid command was

received.

?

is a delimiter character indicating the command was

invalid.

AA

(range 00-FF) represents the 2-character hexadecimal

address of an analog input data logger.

(cr)

is the terminating character, carriage return (0Dh).

Advertising