Rockwell Automation GMLC Reference Manual User Manual
Page 761

Publication GMLC-5.2 - November 1999
724
Using the RIO Adapter Option
For example, if two decimal digits are specified and the value of the item
is 3.1415926, the value 314 (3.1415926 x 10
2
= 314.159 (truncated to 314
= 013A hex)) is stored in the returned value file. The PLC must then
divide this value by 100 (10
2
), with a result of 3.14—the original value
accurate to two decimal places.
With 16-bit integer numeric format, the range of values that can be
represented is -32,768 to +32,767. This limits the largest values for items
read from the motion controller based on the number of decimal digits
specified for the transfer as shown in the table below.
Be careful to choose the number of decimal digits so the expected
maximum values of items in the motion controller can be represented
with the required precision in the PLC.
RIO Adapter Block Transfer Write
16-bit Integer Numeric Format
Number of Decimal
Digits
Maximum Item Value
Dec
Hex
0
1
2
3
4
5
0
1
2
3
4
5
±32,767.0
±3,276.7
±327.67
±32.767
±3.2767
±0.327 67
6
7
8
9
10
6
7
8
9
A
±0.032 767
±0.003 276 7
±0.000 327 67
±0.000 032 767
±0.000 003 276 7
11
12
13
14
15
B
C
D
E
F
±0.000 000 327 67
±0.000 000 032 767
±0.000 000 003 276 7
±0.000 000 000 327 67
±0.000 000 000 032 767