DVP15MC11T Operation Manual
_8
Programming Example 1
The variable table and program
Variable name
Data type
Current value
TO1
TO
TO1_ID
USINT
0
TO1_Ex
BOOL
FALSE
TO1_CR
UINT
2
TO1_Num
USINT
1
TO1_DP
INT
10
TO1_Done
BOOL
TO1_Bsy
BOOL
TO1_Act
BOOL
TO1_Err
BOOL
TO1_ErrID
WORD
1
TO
S tationI D
Done
TO1
Ex ecut e
Busy
Ac tiv e
E rro r
ErrorID
CR
Num
DesP tr
TO1_ID
TO1 _Num
TO 1_CR
TO1_E x
TO1_DP
TO1_Done
TO1_ErrID
TO1_Err
TO1_Ac t
TO1_Bs y
DVP-04AD is connected to the right side of DVP15MC11T. When TO1_Ex changes from FALSE to TRUE,
TO1_Bsy and TO1_Act change to TRUE simultaneously and the TO instruction execution starts. When
TO1_Done changes to TRUE, the instruction execution is finished and the value which is written to CR2 in
DVP-04AD is 10.
Programming Example 2
The variable table and program
Variable name
Data type
Current value
TO2
TO
TO2_ID
USINT
0
TO2_Ex
BOOL
FALSE
TO2_CR
UINT
2
TO2_Num
USINT
4
TO2_DP
Array[1..4] of INT
TO2_Done
BOOL
TO2_Bsy
BOOL
TO2_Act
BOOL
TO2_Err
BOOL
TO2_ErrID
WORD
1
TO
St ationID
Done
TO2
Exec ute
Busy
Ac tive
Error
ErrorID
CR
Num
DesPt r
TO2_ID
TO2_Num
TO2_CR
TO2_Ex
TO2 _DP[ 1]
TO2_Done
TO2_ErrID
TO2_Err
TO2_Ac t
TO2_Bs y
8-208
Содержание DVP15MC11T
Страница 9: ...Memo viii...
Страница 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Страница 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Страница 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Страница 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Страница 213: ...DVP15MC11T Operation Manual _8 The program 1 LIMIT EN ENO MN Out MX In LIMIT_EN LIMIT_MN LIMIT_MX LIMIT_In Out1 8 142...
Страница 216: ...Chapter 8 Logic Instructions 8_ The program 1 BAND EN ENO MN Out MX In BAND_EN BAND_MN BAND_MX BAND_In Out1 8 145...
Страница 249: ...DVP15MC11T Operation Manual _8 8 178...
Страница 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Страница 286: ...9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2 9 1...
Страница 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Страница 549: ...DVP15MC11T Operation Manual A MEMO A 16...
Страница 571: ...DVP15MC11T Operation Manual C Memo C 10...
Страница 572: ...D Appendix D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2 D 1...