Chapter 6

#aaSi

#aaSi

Example command: #16S2(cr)

response:

If the response you got is in Counter mode, you'll see one similiar 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 hexdecimal:

0e88fa63,c33697b5,2a68d61f,e2ca6915

ADAM-5000

6-127

Page 249
Image 249
Advantech RS-485 Example command #16S2cr, 1235458013267521306934521463051832106549cr, 1235458013, 2675213069, 3452146305