Advantech 5000 Series user manual Example command #16S2cr, 1235458013, 2675213069, 3452146305

Models: 5000 Series

1 301
Download 301 pages 22 Kb
Page 192
Image 192

Chapter 6

$aaSi

Example command: #16S2(cr)

response:

If the response you got is in Counter mode, you'll see one similar to the example below:

>1235458013267521306934521463051832106549(cr) What you see here is actually the input values of all channels that is returned from slot 2 of the ADAM-5000 system at address 16h.

As all 4 values are concatenated into one numerical string such as above, we can still easily discern the values of 4 channels specifically as:

1235458013, 2675213069, 3452146305 and 1832106549

If the response is

>0e88fa63c33697b52a68d61fe2ca6915(cr)

The command requests the module in slot 2 of the ADAM-5000 system at address 16h to return the input values of all channels.

The module response that input values if all channels are hexadecimal:

0e88fa63,c33697b5,2a68d61f,e2ca6915

ADAM-5000

6-127

Page 192
Image 192
Advantech 5000 Series Example command #16S2cr, 1235458013, 2675213069, 3452146305, 0e88fa63c33697b52a68d61fe2ca6915cr