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_
Programming Example
The data type of variable FLOOR _In is REAL with the value 5.6. The data type of Out1 is LINT.
Then the value of Out1 is 5 when FLOOR _EN changes to TRUE. And the value of Out1 is -11 as
the values of FLOOR _In -10.2.
Variable 1
Variable name Data type Current value
FLOOR_EN
BOOL
TRUE
FLOOR _In
REAL
5.6
Out1
LINT
5
Variable 2
Variable name
Data type
Current value
FLOOR_EN
BOOL
TRUE
FLOOR _In
REAL
-10.2
Out1
LINT
-11
The program
1
FLOOR
EN ENO
In Out
FLOOR_EN
FLOOR_In Out1
8-107

Table of Contents

Related product manuals