GE VersaMax PLC User Manual page 161

Table of Contents

Advertisement

Input/ Output
enable
IN
ok
Q
Instruction Set Reference
For public disclosure
10.4.6.1 Parameters of the Truncate Function
Choices
When the function is enabled, the conversion is
flow
performed.
IN contains a reference for the real value to be
R, AI, AQ, constant
truncated.
The OK output is energized when the function is
performed without error, unless the value is out of
flow, none
range or IN is NaN.
R, AI, AQ
Q contains the truncated INT or DINT value of the
For integer only: I, Q, M,
original value in IN.
T, G
10.4.6.2 Example
In the example, the displayed constant is truncated and the integer result 562 is placed in
%T0001.
%I0002
CONST
IN
5.62987E+02
Description
OK
%T0001
Q
GFK-1503E User Manual 161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents