Chapter 6

 

 

$aa2

$aa2

Name

Configuration Status

Description

Returns the configuration status for a specified system

 

module.

Syntax

$aa2(cr)

 

$ is a delimiter character.

 

aa (range 00-FF) represents the 2-character hexadeci-

 

mal address of the ADAM-5000 system you want to

 

interrogate.

 

2 is the Configuration Status command.

 

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

Response

!aaccff(cr) if the command is valid.

 

?aa(cr) if an invalid operation was entered.

 

There is no response if the module detects a syntax

 

error, communication error or if the specified address

 

does not exist.

 

! delimiter character indicating a valid command was

 

received.

 

? delimiter character indicating the command was in-

 

valid.

 

aa (range 00-FF) represents the 2-character hexadeci-

 

mal address of an ADAM-5000 system.

 

cc represents the baud rate code.

 

ff is a hexadecimal number that equals the 8-bit parame-

 

ter representing checksum status. The sixth bit repre-

 

sents the checksum status; 1 means enabled while 0

 

means disabled. The other bits are not used and are set

 

to 0.

 

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

ADAM-5000

6-7

Page 129
Image 129
Advantech RS-485 user manual Syntax $aa2cr