Wait For Certain Completion Of Axis Container Rotation - Siemens SINUMERIK Series Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

2.3.3.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
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
B3: Distributed systems - 840D sl only
2.3 Examples
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents