Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 176

Advertising
background image




5-30

ADAM 4000 Series User’s Manual

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

$AAXnnnn

Name Watchdog Timer Setting command

Description This command set the communication watchdog timer

(WDT) cycle time.

Syntax

$AAXnnnn(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.

X

is the Watchdog Timer Setting command.

nnnn

(range 0000~9999) represents the specified value of

communication cycle you want to set. (Unit: 0.1 second)

(cr)

is the 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 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.

(cr)

represents terminating character, carriage return (0Dh).

Example command: $02X1234(cr)

response: !02(cr)

The command set the WDT cycle as 1234 in the input
module at address 02.

NOTICE: If the value of “nnnn” is 0000, the communication WDT

function will be disable.

Advertising