EasyManua.ls Logo

Delta Electronics DVP15MC11T

Delta Electronics DVP15MC11T
601 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 8 Logic Instructions
8_
8.8.7 MODTURNS
FB/FC
Explanation
Applicable model
FC
MODTURN finds the signed integral part for modulo division of two
floating-point variables or constants.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In1 Input value Input Input value
Depends on the data type of
the variable that the input
parameter is connected to.
In2 Modulo range Input Modulo range
Depends on the data type of
the variable that the input
parameter is connected to.
0 is excluded.
Out
Number of
modulo
rotations
Output Number of modulo rotations
Depends on the data type of
the variable that the output
parameter is connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In1
In2
Out
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
MODTURN is used to carry out modulo division of two floating-point variables or constants and get
the signed integral component. The result is output to Out. The number of modulo rotations of an
axis can be calculated according to its set absolute position.
The input variable and input variable or the input variable and output variable are allowed to be of
different data types in this instruction.
MODTURNS
EN ENO
In1 Out
In2
8-69

Table of Contents

Related product manuals