Knowledge Base / Gateways / PLX31/32 Gateways

How do I get Floating Point (or Double INT or Unsigned INT) data?

Search KB


All ProSoft gateways and In-Chassis modules contain a database that is based upon 16 bit words.
To store 32 bit data types 2 consecutive registers or elements are required.
Examples of these 32 bit data types are REALFLOAT and DINT's also known as double Integers.

To access 32 bit data types in Rockwell Automation controllers it will be necessary to use the COP or CPS instruction to copy the value into the appropriate data type.  (Please refer to the following article for in-depth information on using 32 bit values with ProSoft modules.)

Note: Since two consecutive registers are required to store each 32 bit value in the internal database, it is important to remember that the next available value is not just the current address +1, but rather it would be current address +2.