Mitsubishi Electronics C64 Home Safety Product User Manual


 
10. Exclusive Commands 2
10.2 S.ROT Commands
- 357 -
ACT
Rn
S.ROT
K1
Mm Rm
0CW
1CCW
R number to specify rotary body
index cycles (R4011 in this example)
Top of control data buffer
(R4000 in this example)
PLS M100
S.ROT K1 R4000 R4011 M200
<= R4010 H0F
Completion circuit
X34
M100
X238
M202
(M203)
M200
M200
M201
M202
M203
Y10
Y11
CW
CCW
M1000
Y71E
Auxiliary function completed
On-signal after PLC1 scan
R No. to store the target position
R No. to store the output position
Parameter is set.
Rotary body index cycles
are set.
CW or CCW is determined by the
ROT command.
Strobe rising signal created
The current value is set at R4012.
Error check
When required
Stop signal created (Note 1)
(target value = current value)
Stop signal created (Note 1)
(number of steps = 0)
MOV K4010 R4000
X238
X238
X238
M1000
M1000
R No. to store the parameter
R No. to store the current position
16 (BCD)
0
4010
220
4013
16
(number of
output steps)
R220
R221
R4000
File register (R) map
T command
(from CNC)
M1000
8
6
4012
(Note 5)
(Note 5)
R4001
R4002
R4003
R4010
R4011
R4012
R4013
MOV K4012 R4001
MOV K220 R4002
MOV K4013 R4003
MOV H8 R4010
MOV K6 R4011
03
MOV K1X30 R4012
= R220 R4012
=
K0
R4013