EasyManua.ls Logo

GE PACSystems RX7i

GE PACSystems RX7i
469 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4. Ladder Diagram (LD) Programming
132 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
4.6.10 Truncate
When power is received, the Truncate functions TRUNC_DINT and
TRUNC_INT round a floating-point (REAL) value down respectively to the
nearest signed double-precision signed integer (DINT) or signed single-
precision integer (INT) value. TRUNC_DINT and TRUNC_INT output the
converted value to Q. The original data is not changed.
Note: The output data can be used directly as input for another program function.
TRUNC_DINT and TRUNC_INT pass power flow when power is received, unless the specified
conversion would result in a value that is out of range or unless IN is NaN (Not a Number).
Operands
Parameter
Description
Allowed Operands
Optional
IN
The REAL value whose copy is to be converted and truncated.
The original is left intact.
All except S, SA, SB,
and SC
No
Q
The truncated value of the original REAL value in IN.
All except S, SA, SB,
and SC
No
Example
The displayed constant is truncated and the integer result 562 is placed in %T0001.

Table of Contents

Other manuals for GE PACSystems RX7i

Related product manuals