Chapter 7
7-
7
ADAM 4000 Series User’s Manual
$AA6
Example command: $336(cr)
response: !112200(cr)
This example is for ADAM-4050. The first two characters,
11h (00010001), of the response indicates that digital
output channels 0 and 4 are ON and channels 1, 2, 3, 5, 6, 7
are OFF. The second two characters of the response, 22h
(00100010), indicates that digital input channels 1 and 5 are
HIGH and channels 0, 2, 3, 4, 6, 7 are LOW.
command: $036(cr)
response: !BEDE00(cr)
This example is for ADAM-4053. The first two characters,
BEh (10111110), of the response indicates that digital input
channels 8 and 14 are LOW and channels 9, 10, 11, 12, 13
and 15 are HIGH. The second two characters, DEh
(11011110), of the response indicates that digital input
channels 0 and 5 are LOW and channels 1, 2, 3, 4, 6, 7 are
HIGH.
command: $056(cr)
response: !017A00(cr)
This example is for ADAM-4056S or ADAM-4056SO. The
first character of the response is always 0. The next three
characters, 17A (000101111010), are the status of 12
channel digital outputs. The detail status is as below.
Digital value 0 0 01011110 1 0
ADAM-4056S/4056SO
Channel no. 111098765432 1 0
4050, 40 51, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069