Siemens SINUMERIK 840Di sl Function Manual page 79

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Example
GET, RELEASE using synchronized actions
Z axis has been declared in the first and second channels.
Program sequence in the first channel:
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:
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)
N999 M30
Program sequence in the first channel continues:
N250 WAITM(10,1,2)
WHEN TRUE DO GET(Z)
WHENEVER $AA_TYP[Z] == 0 DO RDISABLE
N160 G4 F0.1
N199 WAITE(2)
N999 M30
Synchronized actions
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
2.4 Actions in synchronized actions
;
Z axis becomes neutral
;
Read-in disable as long as
;
Z axis is program axis
;
;
Z axis becomes again
;
NC program axis
;
Read-in disable as long as
;
Z axis is program axis
;
;
Z axis becomes neutral
;
Read-in disable as long as
;
Z axis is program axis
;
;
2. Start channel
;
; Move Z axis to second channel (neutral)
;
Read-in disable as long as
;
Z axis is in another channel
;
;
Z axis becomes NC program axis
;
Read-in disable till
;
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
;
;
Synchronize with channel 2
;
Move Z axis to this channel
;
Read-in disable as long as
;
Z axis is in another channel
;
;
Wait for end of program in channel 2
;
Detailed description
79

Advertisement

Table of Contents
loading

Table of Contents