User manual

94 Publication LOGIX-AP010B-EN-P - May 2010
Chapter 3 Software Conversions Instructions
FDG- Convert a 16 bit fixed point from binary to BCD
In RSLogix 5000 software, this functionality is achieved by defining a register
as having floating point format and moving an integer into it by using the
MOVE (MOV) instruction in Ladder or the := instruction in Structured Text.
Integer to Floating Point
S5 RSLogix 5000
DD64 data_word1
DD78 data_floatingpoint
S5 Statement List
16 bit fixed point numbers
RSLogix 5000 Structured Text
LDD64
FDG
T DD78
SIMATIC S5 - Ladder
RSLogix 5000 - Ladder