DVP-15MC Series Motion Controller Operation Manual
8-298
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.
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
1
FROM
StationID Done
FRM
Exe cute Busy
Active
Error
ErrorID
CR
Num
DesPtr
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