Mitsubishi Electric MELDAS 60 Series Programming Manual page 217

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

ACT
S.ROT
Top of control data buffer
(R500 in this example)
R number to specify rotary body
index cycles (R511 in this example)
M1000
MOV K510 R500
MOV K512 R501
MOV K36 R502
MOV K513 R503
MOV H8
MOV K6 R511
X34
PLS
M100
MOV K1X30 R512
X238
S.ROT K1 R500 R511 M200
<=
R510 H0F
X238
= R36 R512
X238
=
K0 R513
M202
M200
X238
(M203)
M200
Completion circuit
M1000
M1000
K1
Rn
Rm
Mm
0:CW
1:CCW
R No. to store the parameter
R No. to store the current position
R No. to store the target position
R No. to store the output position
R510
Parameter is set.
Rotary body index cycles
are set.
Strobe rising signal created
M100
The current value is set at R512.
CW or CCW is determined by the
ROT command.
M201
Error check
When required
M202
Stop signal created (Note 1)
(target value = current value)
M203
Stop signal created (Note 1)
(number of steps = 0)
Y10
CW
Y11
CCW
Y226
Auxiliary function completed
M1000
On-signal after PLC1 scan
- 209 -
9. Exclusive Commands
File register (R) map
(Note 5)
1~6 (BCD)
T command
R36
(from CNC)
R37
~ ~
R500
R501
R502
R503
~ ~
R510
R511
(Note 5)
R512
0~3
R513
0
~ ~
510
512
36
513
~ ~
8
6
1~6
(number of
output steps)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents