6-155
ROTC
1
2
3
4
4
6
7
8
6.8 Other Convenient Instructions
6.8.5 Rotary table shortest direction control (ROTC)
(6) +2 is the 0 point detection output signal that goes ON when item number 0 has arrived at
the No. 0 station.
When the device designated by +2 goes ON while the ROTC instruction is being
executed, +0 is cleared.
It is best to perform this clear operation first, then to begin shortest direction control with the
ROTC instruction.
(7) The data from +3 to +7 consists of output signals needed to control the table's
operation.
The output signal of one of the devices from +3 to +7 will go ON in response to the
execution results of the ROTC instruction.
(8) If the command for the ROTC instruction is OFF, clears all +3 to +7 without performing
shortest direction control.
(9) The ROTC instruction can be used only one time in all programs where it is executed.
Attempts to use it more than one time will result in inaccurate operations.
(10) No processing is performed when the value of +0 to +2, or the value of n2 is greater
than n1.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The device specified by or exceeds the range of the corresponding device.
(For the Universal model QCPU only.) (Error code: 4101)
D
D
S
D D
D D
D D
S S
S
D