DVP15MC11T Operation Manual
8.15.2 TO
FB/FC
Explanation Applicable model
FB
The TO instruction writes data to the specified CR registers of the left-side
module and right-side module.
DVP15MC11T
TO
StationID Done
TO instance_
Execute Busy
Active
Error
ErrorID
CR
Num
DesPtr
Input Parameters
Parameter name Function Data type
Validation timing
StationID
The position of the
extension module
connected to the left side
or right side of
DVP15MC11T
USINT
left-side module:
100~107
Position range of
right-side special
module: 0~7
The position of the first
module at the left side of
DVP15MC11T is 100
and the position of the
first module at the right
side of DVP15MC11T
is
0.
(The variable value
When Execute
changes from
FALSE to TRUE
Execute
The instruction is executed
when Execute changes
BOOL
TRUE or FALSE
(FALSE)
CR
The number of the first CR
(Controlled Register
read
UINT
(The variable value
Execute
changes from
FALSE to TRUE
Num
Number of CR registers
which are to be read
USINT
(The variable value
Execute
changes from
FALSE to TRUE
DesPtr
The CR value written by
the instruction
INT or
DINT
type of the written CR
value
(The variable value
must be set)
When Execute
changes from
FALSE to TRUE
Output Parameters
Parameter name Function Data type Valid range
Done TRUE when the instruction execution is completed. BOOL TRUE / FALSE
Busy TRUE when the instruction is being executed. BOOL TRUE / FALSE
Active TRUE when the instruction is being executed. BOOL TRUE / FALSE
Error TRUE while there is an error. BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2 for the corresponding error ID.
WORD -
8-206