Siemens SINUMERIK 828D Programming Manual page 599

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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)
Program sequence in the first channel continues:
Program code
N150 WAIM(10, 1, 2)
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]==0) DO RDISABLE
N160 G4 F0.1
N199 WAITE(2)
N999 M30
Example: Axis replacement in technology cycle
The U axis U ($MA_AUTO_GET_TYPE=2) has been declared in the first and second
channel and channel 1 currently has the interpolation right. The following technology cycle is
started in channel 2:
Program code
GET(U)
POS[U]=100
The command-axis-movement line POS[U] is not executed until the U axis has been moved
to channel 2.
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Motion synchronous actions
10.4 Actions in synchronized actions
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
Comments
;
Synchronize with channel 2
;
Move Z axis to this channel
;
Read-in inhibit as long as Z axis
is in another channel
;
Wait for end of program in
channel 2
Comments
; Fetch U axis to channel
; U axis is to be moved to position 100
599

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents