EasyManuals Logo

GE VersaMax PLC User Manual

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

Table of Contents

Questions and Answers:

GE VersaMax PLC Specifications

General IconGeneral
BrandGE
ModelVersaMax PLC
CategoryController
LanguageEnglish

Related product manuals