Download LYPLC Ex1 Ex2

Transcript
5. Applied Instructions
forward mode touch software limited switch, stay 1 second, then reverse ( this example initial direction control by
flag M8156 or M8157)
X12
SET
M112
RST
M8152
Clear zero return finish flag
SET
M8154
Forward mode ( if M8154=0, then reverse mode )
RST
M8158
Initial direction control by M8156
T18
M113
RST
M8156
ALTP
M8156
RST
M113
SET
M8132
M113 T18
X12
RST
M112
M112
M114
DZCP
K-100,000 K100,000
D8140
M190
Y02 M192
RST
M112
SET
M113
SET
M114
D8140
M190
Home
Creep
DogP
D116
D118
X02
Y02 M190
M114
DZCP
K-99,999
K99,999
RET
M114
M191
M112
X12
DZRN
M8029 M8152
Y00
Dog point X02
pulse catch flag M8172 effective
RST
M112
RST
M8029
T18 M113 X12
( T18 K10 )
5 - 78