beautypg.com

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

Page 227

background image

Chapter 6




























Planning Your Application Program

Each actual

frequency can be obtained by dividing the response
value by 100. Therefore, taking an ex- ample of
the value above, the actual frequency
should be:

actual frequency = 98700/100 = 987

If the response is:

>0000F1000002000000031000000DD400(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:

0000F100,00020000,00031000,000DD400

The actual frequency can be obtained by transfer-
ring hexadecimal format to decimal format. Then di-
vide the response value by 100. Therefore, taking an
example of the value above, the actual frequency
should be:

F100 (hexdecimal)=24100 (decimal)

actual frequency = 24100/100 = 241





















6-156

ADAM-5000/TCP User’s Manual