Advantech ADAM-6217 User Manual page 155

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

#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-6200 module.
Syntax
#aaVdbbbbdddddddd(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave net-
work address of the ADAM-6200 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 flag
value(s).
Each character represents 4 GCL internal flags' values.
(cr) is the terminating character, carriage return (0Dh)
Response
>aa(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 communi-
cation 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.
(cr) is the terminating character, carriage return (0Dh)
Example 1
This command sets all GCL internal flags values.
Values of All GCL internal flags (Flag 0 ~ 15) are logic low.
ASCII
Command: #01Vd000000000000(cr)
Response: >01(cr)
Example 2
This command sets all GCL internal flags values.
Values of All GCL internal flags (Flag 0 ~ 15) are logic high.
ASCII
Command: #01Vd00000000FFFF(cr)
Response: >01(cr)
Example 3
This command sets one specific GCL internal flag value.
GCL internal flag (Flag 3) is logic high.
ASCII
Command: #01Vd100300000001(cr)
Response: >01(cr)
Example 4
This command sets one specific GCL internal flag value.
GCL internal flag (Flag 14) is logic low.
ASCII
Command: #01Vd100E00000000(cr)
Response: >01(cr)
149
ADAM-6200 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents