Siemens SINUMERIK 840D sl Function Manual page 89

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Program code
WHENEVER($AA_TYP[Z]<>1) DO RDISABLE
N120 G4 F0.1
...
WHEN TRUE DO RELEASE(Z)
; Read-in disable as long as Z axis is program axis
WHENEVER $AA_TYP[Z] == 1 DO RDISABLE
N130 G4 F0.1
...
N140 START(2)
N150 ; See below: "3. Continuation: Program sequence in the first channel"
2. Program sequence in the second channel:
Program code
WHEN TRUE DO GET(Z)
; Read-in disable as long as Z axis is in other channel
WHENEVER $AA_TYP[Z] == 0 DO RDISABLE
N210 G4 F0.1
...
WHEN TRUE DO GET(Z)
; Read-in disable until Z axis is program axis
WHENEVER($AA_TYP[Z]<>1) DO RDISABLE
N220 G4 F0.1
...
WHEN TRUE DO RELEASE(Z)
; Read-in disable as long as Z axis is program axis
WHENEVER $AA_TYP[Z] == 1 DO RDISABLE
N230 G4 F0.1
...
N250 WAITM(10,1,2)
N999 M30
3. Continuation: Program sequence in the first channel:
Program code
N150 WAITM(10,1,2)
...
WHEN TRUE DO GET(Z)
; Read-in disable as long as Z axis is in other channel
WHENEVER $AA_TYP[Z] == 0 DO RDISABLE
N160 G4 F0.1
...
N199 WAITE(2)
N999 M30
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
3.7 Actions in synchronized actions
Comment
; Z axis becomes neutral
; Start 2nd channel
Comment
; Move Z axis to second channel (neutral)
;Z axis is NC program axis
; Z axis in second channel is neutral axis
;Synchronize with channel 1
Comment
;Synchronize with channel 2
;Move Z axis to this channel
;Wait for end of program in channel 2
Detailed description
89

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents