B&B Electronics ADAM-6066 - Manual User Manual

Page 137

Advertising
background image

127

Chapter 6

Response

!aa(version)(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 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 an ADAM-6000 module.
(version) represents the firmware version of the module.
(cr) is the terminating character, carriage return (0Dh).

Example

command: $01F(cr)
response: !01 1.01(cr)
The command requests the system at address 01h to send its
firmware version.
The system responds with firmware version 1.01.

#aaVdbbbbdddddddd
Name

Write Value(s) to GCL Internal Flags (Auxiliary Flags)

Description This command sets a single or all GCL internal flag(s) on the

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

Syntax #aaVdbbbbdddddddd(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.
bbbb is used to indicate which GCL internal flag(s) to set.
Writing to all GCL internal flags: 0000
Writing to a single GCL internal flag: First character is 1, and 2 ~
4 characters indicate the GCL internal flag number which can
range from 0h to Fh.
dddddddd is the hexadecimal representation of the GCL internal

Advertising