DVP15MC11T Operation Manual
_8
side. If the Standard ID range exceeds the specified range of the left-side and right side module, an error will
occur in the instruction execution.
If more than one CR register need be read by the instruction, the parameter
DesPtr
need be defined as the N
th
element of an array. The data in the first CR register will be read to the N
th
element of the array, the data in the
second CR register will be read to the N+1
th
element and so on. By doing so, the data in mutiple CR registers
will be all read to the array. Refer to Programming Example 2 for details.
!
Precaution
Maximum 8 extension modules are connectable to the left side and Maximum 8 special modules are
connectable to the right side of DVP15MC11T. Digital modules have no position number. For example, if
DVP04AD-S, DVP16SP11T and DVP04DA-S are connected to the right side of DVP15MC11T one after
another, the
StationID
value of DVP04AD-S is 0 and the
StationID
value of DVP04DA-S is 1.
Programming Example
The variable table and program
Variable name
Data type
Current value
FRM
FROM
FRM_ID
USINT
0
FRM _Ex
BOOL
FALSE
FRM _CR
UINT
0
FRM _Num
USINT
1
FRM _DP
INT
FRM _Done
BOOL
FRM _Bsy
BOOL
FRM _Act
BOOL
FRM _Err
BOOL
FRM _ErrID
WORD
1
FRO M
St ationID
Done
FRM
Exe cute
Busy
Ac tive
E rror
ErrorID
CR
Num
DesPt r
FRM_ID
FRM_Num
FRM_CR
FRM_Ex
FRM_DP
FRM_Done
FRM_ErrID
FRM_Err
FRM_Act
FRM_Bsy
DVP-04AD is connected to the right side of DVP15MC11T. When FRM _Ex changes from FALSE to
TRUE and FRM _Bsy and FRM _Act change to TRUE simultaneously, FROM instruction starts to execute.
When FRM _Done changes to TRUE, the instruction execution is finished. FRM _DP displays that the
value in CR0 read by the instruction is 136 and thus the version of DVP-04AD is 1.36.
Programming Example
The variable table and program
Variable name
Data type
Current value
FRM1
FROM
FRM1_ID
USINT
0
FRM1_Ex1
BOOL
FALSE
FRM1_CR1
UINT
2
FRM1_Num1
USINT
4
FRM1_DP
Array[1..4] of INT
FRM1_Done
BOOL
FRM1_Bsy
BOOL
FRM1_Act
BOOL
8-204
Содержание 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...