Traversing Spindles (M, S, Spos) - Siemens SINUMERIK 828D Function Manual

Synchronized actions
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Detailed description
2.7 Actions in synchronized actions
2.7.14

Traversing spindles (M, S, SPOS)

Spindles can be started, positioned and stopped via synchronized actions. The programming
is performed in the action part of the synchronized action with the same syntax as in the part
program. Without numeric extension the commands for the master spindle apply. By
specifying a numeric extension, it is possible to program each spindle individually:
Program code
ID = 1 EVERY $A_IN[1]==1 DO M3 S1000
ID = 2 EVERY $A_IN[2]==1 DO SPOS=270
ID = 1 EVERY $A_IN[1]==1 DO M1=3 S1=1000 SPOS[2]=90
If concurrent commands are specified for a spindle through synchronized actions that are
active in parallel, the chronological sequence decides the activation.
User-specific spindle enable
The start of spindle motions at defined times can be achieved via synchronized actions by
blocking the motion programmed in the part program.
Example:
The spindle is programmed within a part program and should not start at the beginning of the
block, but only when input 1 is set. The synchronized action holds the spindle override at 0%
until the enable via input 1. See Section "Override ($A...OVR) (Page 34)".
Program code
; As long as input 1 is not set => spindle override = 0%
ID=1 WHENEVER $A_IN[1]==0 DO $AA_OVR[S1]=0
...
; The start of the spindle is triggered
; The spindle is enabled when input 1 is set
G01 X100 F1000 M3 S1=1000
98
Comment
;
Master spindle
;
Master spindle
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents