Mitsubishi Electronics E60 Video Game Controller User Manual


 
9. Exclusive Commands
- 212 -
(a) Example of rotary body index by ROT K1 instruction
Conditions: (i) The number of rotary body index cycles is 6.
(ii) The target position is specified by a T command.
(Note) Normally the target position must be a binary, but in this example,
the number of rotary body index cycles is 1 to 6, and there is no
difference between the binary and BCD. Thus, the direct T
command output file register R36 (B C D) is used.
Index code 2
0
Index code 2
2
Index code 2
1
Index code 2
3
Index code
strobe
CNC
PLC
X30
X31
X32
X33
X34
Y10
Y11
CW
CCW
PLC processing
R220 Y71E
T code data,
T command start
Auxiliary function
completed (Fin)
Current position
Target position
1
2
3
4
5
6
M
In the example of ladder circuit shown below, the rotation direction is determined by the T
command and current position data given by the machine, and the rotary body is rotated in
that direction until the target position reaches the current position. When indexing is
completed, the auxiliary command completion signal is turned on.