Mitsubishi MELSEC-Q/L Programming Manual page 297

Table of Contents

Advertisement

Function
(1) This control functions to enable shortest direction control of the rotary table to the position of the station number
designated by
+1 in order to remove or deposit an item whose number has been designated by
S
with equal divisions of the value designated by n1.
(2) The item number and station number are controlled as items allocated by counterclockwise rotation.
(3) The system uses
+0 as a counter to instruct it as to what item is at which number counting from station number 0. Do
S
not rewrite the sequence program data.
Accurate controls will not be possible in cases where users have rewritten the data.
(4) The value of n2 should be less than the number of table divisions specified by n1.
(5)
+0 and
+1 are A and B phase input signals that are used to detect whether the direction of the rotary table rotation is
D
D
forward or reverse.
The direction of rotation is judged by whether the B phase pulse is at its leading or trailing edge when the A phase pulse
is ON:
• When the B phase is at the leading edge: Forward rotation (clockwise rotation)
• When the B phase is at the trailing edge: Reverse rotation (counterclockwise rotation)
(6)
+2 is the 0 point detection output signal that goes ON when item number 0 has arrived at the No. 0 station.
D
When the device designated by
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
D
D
The output signal of one of the devices from
instruction.
(8) If the command for the ROTC instruction is OFF, clears all
(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
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.
Error
code
The device specified by
4101
corresponding device.
+2 goes ON while the ROTC instruction is being executed,
D
+7 consists of output signals needed to control the table's operation.
+3 to
D
D
+0 to
S
Error details
or
exceeds the range of the
S
D
+7 will go ON in response to the execution results of the ROTC
+3 to
+7 without performing shortest direction control.
D
D
+2, or the value of n2 is greater than n1.
S
Q00J/
Q00/
QnH
Q01
––
––
ROTC
+2 on a rotary table
S
+0 is cleared.
S
QnPH QnPRH
QnU
LCPU
––
––
295
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents