Advantech Data Acquisition Modules ADAM 4000 User Manual page 242

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4051, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069
$AA6
Example
command: $336(cr)
response:
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:
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.
(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:
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
ADAM-4056S/4056SO
Channel no.
7-7 ADAM 4000 Series User's Manual
!112200(cr)
!BEDE00(cr)
The second two characters, DEh
!017A00(cr)
0 0 0 1 0 1 1 1 1 0 1 0
11 10 9 8 7 6 5 4 3 2 1 0
7
Chapter

Advertisement

Table of Contents
loading

Table of Contents