Wait For Certain Completion Of Axis Container Rotation - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Several Operator Panels on Several NCUs, Distributed Systems (B3)
2.15 Examples
2.15.7.3

Wait for certain completion of axis container rotation

If you want to wait until the axis container rotation is reliably completed, you can use one of
the examples below selected to suit the relevant situation.
Example 1
rl = $AN_AXCTAS[ctl]; Read current axis container position
AXCTSWE(ctl) ; Permit axis container rotation
WHILE (rl == $AN_AXCTAS[ctl]); Wait until axis container position
ENDWHILE ; has changed
Example 2 for 1st channel
CLEARM(9); Delete synchronization marker 9
AXCTSWE(ctl) ; Permit axis container rotation
; wait with synchronized action until
; axis container rotation is completed
WHEN $AN_AXCTSWA[ctl] == TRUE DO SETM(9) ; Set marker 9 and
WAITMC(9, 1) ; Wait for synchronization marker 9
; in first channel
Example 3.1 Use internal wait
M3 S100 ; Reprogram axis container spindle
; An internal wait takes place for the end of
; axis container rotation
Example 3.2 Use internal wait
x=IC(0) ; Reprogram axis container axis x
; An internal wait takes place for the end of
; axis container rotation
Example 3.3 Use internal wait
AXCTSWE(CTL) ; If an axis container is reenabled for rotation,
; an internal wait takes place for the end of the earlier
; axis container rotation.
N2150 WHILE (rl == $AN_AXCTAS[ctl])
240
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents