Siemens SINUMERIK 840D sl Programming Manual page 691

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example: Program sequence for axis replacement, two channels
The Z axis has been declared in the first and second channels.
Program sequence in the first channel:
Program code
WHEN TRUE DO RELEASE(Z)
WHENEVER($AA_TYP[Z]==1) DO RDISABLE
N110 G4 F0.1
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]<>1) DO RDISABLE
N120 G4 F0.1
WHEN TRUE DO RELEASE(Z)
WHENEVER($AA_TYP[Z]==1) DO RDISABLE
N130 G4 F0.1
N140 START(2)
Program sequence in the second channel:
Program code
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]==0) DO RDISABLE
N210 G4 F0.1
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]<>1) DO RDISABLE
N220 G4 F0.1
WHEN TRUE DO RELEASE(Z)
WHENEVER($AA_TYP[Z]==1) DO RDISABLE
N230 G4 F0.1
N250 WAITM(10, 1, 2)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Motion synchronous actions
10.4 Actions in synchronized actions
Comments
;
Z axis becomes the neutral axis
;
Read-in inhibit as long as Z axis
is program axis
;
Z axis again becomes the NC
program axis
;
Read-in inhibit until Z axis is
the program axis
;
Z axis becomes the neutral axis
;
Read-in inhibit as long as Z axis
is the program axis
;
;
Start the second channel
Comments
;
;Move Z axis to second channel
;
;Read-in disable as long as Z
axis is in other channel
;
;
;Z axis is NC program axis
;
;Read-in disable until Z axis is
program axis
;
;Z axis in second channel is
neutral axis
;
;Read-in disable as long as Z
axis is program axis
;
Synchronize with channel 1
691

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents