DVP-15MC Series Motion Controller Operation Manual
8-298
_8
extension analog module at the right side. The Station ID range of left-side modules is 100~107. 100
represents the first extension module at the left side and 107 means the eight extension module at the left
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 the motion controller. Digital modules have no position number. For example,
if DVP04AD-S, DVP16SP11T and DVP04DA-S are connected to the right side of the motion controller 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 the motion controller. 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
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...