Advantech Data Acquisition Modules ADAM 4000 User Manual page 244

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4055, 4056S,
4056SO, 4060, 4068, 4069
ADAM-4056S and 4056SO:
When writing to a single channel (bit), the first three
characters are always 0. The value of the last character is
either 0 or 1.
When writing to all channels (byte), the first character zero
is irrelevant, but the rest are significant (range 000h-FFFh).
The digital equivalent of last three hexadecimal characters
represents the value of channels.
For example: 017A
First character is always 0
2nd~4th character means the the channel values 17A.
Digital value
Adam-4056S/4056SO channel no. 11 10 9 8 7 6 5 4 3 2 1 0
(cr)
Response
>(cr)
?AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
>
is a delimiter character which indicates a valid command.
?
command.
AA
hexadecimal address of the module.
(cr)
7-9 ADAM 4000 Series User's Manual
is the terminating character, carriage return (0Dh).
if the command was valid.
if an invalid command has been issued.
is a delimiter character which indicates an invalid
(range 00-FF) represents the responding 2-character
is the terminating character, carriage return (0Dh).
Chapter
0 0 0 1 0 1 1 1 1 0 1 0
7

Advertisement

Table of Contents
loading

Table of Contents