Siemens SINUMERIK 840D sl Programming Manual page 692

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

Advertisement

Motion synchronous actions
10.4 Actions in synchronized actions
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.
Sequence
The axis that is requested at the time the action GET (axis) is activated can be read with
respect to axis type for an axis replacement via the system variable
($AA_AXCHANGE_TYP[<axis>]:
● 0: Axis assigned to NC program
● 1: Axis assigned to PLC or active as command axis or oscillating axis
● 2: Another channel has the interpolation right
● 3: Axis is neutral axis
692
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
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents