beautypg.com

Bit floating point format – Rockwell Automation GMLC Reference Manual User Manual

Page 766

background image

Publication GMLC-5.2 - November 1999

Using Block Transfers

729

Be careful to choose the number of decimal digits such that the expected
maximum values of items in the motion controller can be represented
with the required precision in the PLC.

32-bit Floating Point Format

When the most significant digit of word 2 in the BTW data file is 3,
values are transferred as IEEE-format 32-bit floating point values. In the
PLC data file, each 32-bit floating point value is stored as two contiguous
16-bit integers. File Copy (COP) instructions must be used in the PLC to
transfer these two integers from a floating bit (F) file to the integer (N)
BTW data file for transfer to the motion controller.

RIO Adapter Block Transfer Read
32-bit Signed BCD Format Maximum Item Values

Number of
Decimal Digits

Maximum Item Value

Dec.

Hex.

0
1
2
3
4
5

0
1
2
3
4
5

±79,999,999.0
±7,999,999.9
±799,999.99
±79,999.999
±7,999.999 9
±799.999 99

6
7
8
9
10

6
7
8
9
A

±79.999 999
±7.999 999 9
±0.799 999 99
±0.079 999 999
±0.007 999 999 9

11
12
13
14
15

B
C
D
E
F

±0.000 799 999 99
±0.000 079 999 999
±0.000 007 999 999 9
±0.000 000 799 999 99
±0.000 000 079 999 999