beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 177

background image

Chapter

5


5-31

ADAM 4000 Series User’s Manual

4015, 4015T, 4017+, 4018+, 4019+

$AAY

Name Read Communication Watchdog Timer Cycle Setting

command

Description This command read the setting of communication watchdog

timer (WDT) cycle time.

Syntax

$AAY(cr)

$

is a delimiter character.

AA

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

address of the analog input module which is to be read.

Y

is the Reading Communication WDT Cycle Setting

command.

(cr)

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

Response

!AAnnnn(cr)

if the command was valid.

?AA(cr)

if an invalid operation was entered.

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

!

delimiter character indicates a valid command was

received.

?

delimiter character indicates the command was invalid.

AA

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

address of the analog input module.

nnnn

(range 0000~9999) represent the specified value of

communication cycle you read. (Unit: 0.1 second)

(cr)

represents terminating character, carriage return (0Dh).

Example command: $02Y(cr)

response: !020030(cr)

The command read the WDT cycle as 0030 in the input
module at address 02.