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
The data type of Out is a real number for the division of an integer and a real number or the division
of two real numbers. The value of Out is shown as below including its fractional part when there is a
remainder for this type of division.
Programming Example
The data types of variables DIV _In1, DIV _In2 and Out1 are all INT. The values of DIV _In1 and
DIV _In2 are 100 and 20 respectively. The value of Out1 is 5 when DIV _EN changes to TRUE.
The variable table and program
Variable name
Data type
Initial value
DIV_EN
BOOL
TRUE
DIV_In1
INT
100
DIV_In2
INT
20
Out1
INT
5
1
DIV
EN ENO
In1 Out
In2
DIV_EN
DIV_In1
DIV_In2
Out1
In1 In2/
=
Division result
Out
INT
2.510 4 2.5
REALINT INT
8-64

Table of Contents

Related product manuals