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...
DVP15MC11T Operation Manual
_8
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if
any input variable is omitted. But the output variable is allowed to omit.
The input value of In2 can not be 0. In other words, the divisor in the division operation can not be 0.
The value of Out will be 0 if the value of In2 is 0.
Programming Example
The data types of variables MODTURNS _In1, MODTURNS _In2 are both REAL and Out1 is DINT.
The values of MODTURNS _In1 and MODTURNS _In2 are 800.23 and 360.0 respectively. The
value of Out1 is 2 when MODTURNS _EN changes to TRUE.
The variable table and program
Variable name
Data type
Current value
MODTURNS_EN
BOOL
TRUE
MODTURNS _In1
REAL
800.23
MODTURNS _In2
REAL
360.0
Out1
DINT
2
1
MODTURNS
EN ENO
In1 Out
In2
MODTURNS_EN
MODTURNS_In1
MODTURNS_In2
Out1
8-70

Table of Contents

Related product manuals