Convert Real To Lreal; Convert Dint To Lreal - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

4.6.8

Convert REAL to LREAL

When REAL_TO_LREAL receives power flow, it converts the 32-bit single precision
floating point REAL data to the equivalent 64-bit double-precision floating point
data. REAL_TO_LREAL does not change the original REAL data.
Operands
Parameter Description
IN
The REAL value to convert to LREAL.
Q
The LREAL equivalent value of the original REAL value. All except S, SA, SB, and SC
Example
The REAL value of the square root of 2 is converted to the LREAL data type and placed in R00200.
Because the actual precision of the data in Result_Real is seven decimal places, the additional
decimal places in the data in R00200 are not valid.
4.6.9

Convert DINT to LREAL

GFK-2950C
When DINT_TO_LREAL receives power flow, it converts the double-precision
input data to 64-bit double-precision floating point data.
February 2018
Chapter 4. Ladder Diagram (LD) Programming
Allowed Operands
All except S, SA, SB, and SC
Optional
No
No
131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents