DVP15MC11T Operation Manual
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 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
1
FROM
StationID Done
FRM
Execute 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 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
8-204