Mitsubishi MELSEC QCPU Programming Manual page 274

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
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
D
the No. 0 station.
When the device designated by
+0 is cleared.
S
It is best to perform this clear operation first, then to begin near path rotation with the ROTC
instruction.
(7) The data from
The output signal of one of the devices from
execution results of the ROTC instruction.
(8) If operation results immediately prior to the ROTC instruction are OFF, all signals from
+7 will be OFF without near path rotation controls having been performed.
D
(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
n1.
[Operation Errors]
(1) There are no errors associated with the ROTC instruction.
[Program Example]
(1) The following program deposits the item at section D2 on a 10-division rotary table at the
station at section D1, and the two sections ahead and behind this determine the rotation
direction and control speed of the motor when the table is being rotated at low speed.
[Ladder Mode]
6 - 123
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
+2 goes ON while the ROTC instruction is being executed,
D
+3 to
+7 consists of output signals needed to control the table's operation.
D
D
Station No. 0
0 point detection
X002
0
X000
Detection
1
switch
2
X001
Station No. 1
+3 to
+7 will go ON in response to the
D
D
+0 to
+2, or the value of n2 is greater than
S
S
[List Mode]
Steps
Instruction
8
9
7
Part
6
Forward
5
rotation
4
3
Rotary table
MELSEC-Q/QnA
+3 to
D
Device
6 - 123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents