User Manual
Chapter 10
GFK-1503F
Jan 2020
Instruction Set Reference
140
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.
Example
In the example, the displayed constant is truncated, and the integer result 562 is placed in
%T0001.
Figure 122
10.5
Math and Numerical Functions
This section describes the Math and Numerical functions of the Instruction Set:
•
Standard Math Functions: Addition, Subtraction, Multiplication, Division
•
Modulo Division
•
Scaling Function
•
Square Root
•
Trigonometric functions
•
Logarithmic/Expontial functions
•
Convert to Degrees
•
Convert to Radians
Содержание PaCSystems VersaMax Series
Страница 1: ...User Manual GFK 1503F Jan 2020 PACSystemsTM VersaMax PLC USER MANUAL ...
Страница 85: ...User Manual Chapter 7 GFK 1503F Jan 2020 CPU Operation 71 7 1 Parts of the CPU Sweep Figure 47 ...
Страница 284: ...User Manual Chapter 14 GFK 1503F Jan 2020 PID Built in Function Block 270 Figure 216 ...