Delta Electronics DVP15MC11T Operation Manual page 178

Table of Contents

Advertisement

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
FLOOR_EN
FLOOR _In
Out1
Variable 2
Variable name
FLOOR_EN
FLOOR _In
Out1
The program
Data type
BOOL
REAL
LINT
Data type
BOOL
REAL
LINT
1
FL OOR
FLO OR_EN
EN
E NO
FLO OR_I n
I n
Out
Chapter 8 Logic Instructions
Current value
TRUE
5.6
5
Current value
TRUE
-10.2
-11
Ou t1
8_
8-107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents