Static Synchronized Action With $An_Axctswa; 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

B3: Distributed systems - 840D sl only
3.3 Examples
3.3.3.2

Static synchronized action with $AN_AXCTSWA

Channel 1
IDS =1 EVERY $AN_AXCTSWA[CT1] == 1 DO M99
3.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
128
Comment
Static synchronized action:
Always output auxiliary function M99 at the beginning of an
axis container rotation.
References: Synchronized Actions Function Manual
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents