Siemens SINUMERIK 840D sl Function Manual page 91

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

Advertisement

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 36)".
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
Transition between command axis and spindle
Since several synchronized actions can be active simultaneously, the situation may arise
where a spindle motion is started when the spindle is already active. In this case, the most
recently activated motion is applicable. At a reversal in the direction of motion, the spindle is
first braked and then traversed in the opposite direction.
Direction of rotation, speed and position can also be changed during the motion.
Examples
Program code
ID=1 EVERY $AC_TIMER[1] >= 5 DO M3 S300
ID=2 EVERY $AC_TIMER[1] >= 7 DO M4 S500
ID=3 EVERY $A_IN[1]==1 DO S1000
ID=4 EVERY ($A_IN[4]==1) AND ($A_IN[1]==0) DO SPOS=0
Transitions between axis and spindle
In state ↓
To →
during traversing
Axis
Position-controlled spindle
Speed-controlled spindle
in motion
Axis
Position-controlled spindle
Speed-controlled spindle
Transitions marked with x are permitted:
The transitions marked with - are rejected with an alarm.
See also
Couplings (CP..., LEAD..., TRAIL..., CTAB...) (Page 105)
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
POS
MOV<>0
MOV=0
x
x
x
x
x
x
-
-
-
x
x
x
-
-
-
-
-
-
3.7 Actions in synchronized actions
Comment
; Speed and direction of rotation
; Speed and direction of rotation
; Speed
; Spindle positioning
SPOS
M3/M4
M5
x
x
x
x
x
x
x
x
x
-
-
-
-
-
-
x
x
x
Detailed description
LEADON
TRAIL ON
x
x
-
-
-
-
x
x
-
-
-
-
91

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents