EasyManua.ls Logo

Delta DVP-15MC Series - Page 199

Delta DVP-15MC Series
972 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...
DVP-15MC Series Motion Controller Operation Manual
8-112
_8
Programming Example
The data type of TRUNC _In is REAL with the value -5.6. The data type of Out1 is LINT. Then the
value of Out1 is -5 when TRUNC _EN changes to TRUE. And the value of Out1 is 10 as the values
of TRUNC _In 10.8.
Variable 1
Variable name
Data type
Current value
TRUNC_EN
BOOL
TRUE
TRUNC _In
REAL
-5.6
Out1
LINT
-5
Variable 2
Variable name
Data type
Current value
TRUNC_EN
BOOL
TRUE
TRUNC _In
REAL
10.8
Out1
LINT
10
The program
1
TRUNC
EN ENO
In Out
TRUNC_EN
TRUNC_In Out1

Table of Contents

Related product manuals