B&B Electronics ADAM-6066 - Manual User Manual

Page 139

Advertising
background image

129

Chapter 6

$aaVd
Name

Read GCL Internal Flags’ (Auxiliary Flags) Values

Description This command reads all GCL internal flags’ values from the

specific ADAM-6000 module. Refer to section 7.3.1 and 7.3.4 for
definition of GCL internal flag.

Syntax $aaVd(cr)

$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
network address of the ADAM-6000 module. (Always 01)
Vd is the GCL Internal Flag command.
(cr) is the terminating character, carriage return (0Dh)

Response >aadddddddd(cr) if the command was valid.

?aa(cr) if an invalid command has been issued.
There is no response if the module detects a syntax error or
communication error or if the address does not exist.
> delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of a module that is responding.
dddddddd is the hexadecimal representation of the GCL internal
flag value(s).
Each character represents 4 GCL internal flags’ values.
(cr) is the terminating character, carriage return (0Dh)

Example command:

$01Vd

(cr)

response: >010000002B(cr)
This command reads all GCL internal flags values.
The characters “B” mean “1011” and character “2” means “0010”.
Therefore, GCL internal flag 0, 1, 3, 5 are logic high while
other GCL internal flags are all logic low.

Advertising