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

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

Advertisement

B3: Several operator panels connected to several NCUs, distributed systems - only 840D sl
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.
Extended Functions
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
2.15 Examples
247

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents