beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 226

background image

Planning Your Application Program

Chapter 6

Example

command: #01S2(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/TCP system at address 01h.

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/TCP system at address 01h to return
the input values of all channels. The module
response that input values if all chan- nels are
hexadecimal:

0e88fa63,c33697b5,2a68d61f,e2ca6915

However, if the response is in frequency mode, you’ll
see one similar to the example below:

>0000098700000006490000000762000000011600(cr)
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:

0000098700,0000064900,0000076200,0000011600

What you see here is actually the input values of all
channels returned from slot 2 of the ADAM-5000/
TCP system at address 01h and in decimal format.
However, it is not the actual frequency.

ADAM-5000/TCP User’s Manual

6-155