Siemens SINUMERIK 840D Function Manual page 768

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

S1: Spindles
18.2 Operating modes
N113 SPOS=IC(0.001) Incrementally traverse the spindle in the closed-loop position
N114 SPOS=0
Example
Program code
N010 G0 X0 Z0
N020 G1 G94 F1000 Z10
N030 M3 S100
...
N040 M5
N050 H10
N060 STOPRE
N070 SPOS=IC(0.001)
N080 SPOS=0
N090 G331 Z-10 K1 S500
N100 G332 Z2 K1
N110 G1 G94 F1000 Z10
N120 SPCOF
N130 H10
N140 STOPRE
N150 SPOS=IC(.001)
N160 SPOS=0
N170 G331 Z-10 K1 S500
N180 G332 Z2 K1
N190 G1 G94 F1000 Z10
...
768
controlled mode.
By incrementally traversing the spindle in the closed-loop position
controlled mode, the NC again evaluates interface signal
DB31, ... DBX17.6 (invert M3/M4).
From this block onward, when traversing the spindle, the direction
of reversal based on the interface signal is active.
Optional: Position the spindle if, technologically, a defined output
position is required, e.g. 0°
Comment
; Initial position of the axes
; Traverse the Z axis to the initial position
; Traverse the spindle in the closed-loop speed controlled
mode
; 100 rpm with the spindle direction of rotation that was
determined
; at the start of the program
; Any arbitrary machining
; Stop the spindle and switch into the closed-loop speed
controlled mode
; Auxiliary function output: H0=10
; In the PLC user program:
;
- set the read-in inhibit: DB21, ... DBX6.1=1
;
- invert the direction of rotation: DB31, ... DBX17.6
;
- reset the read-in inhibit: DB21, ... DBX6.1=0
; Preprocessing stop
; Incrementally traverse the spindle in the closed-loop po-
sition controlled mode.
; Position the spindle
; Tapping without compensating chuck
; Tapping without compensating chuck Retraction movement
; Retract to the initial position of the Z axis
; Switch the spindle into the closed-loop speed controlled
mode
; See above
; Preprocessing stop
; Incrementally traverse the spindle in the closed-loop po-
sition controlled mode.
; Position the spindle
; Tapping without compensating chuck
; Tapping without compensating chuck Retraction movement
; Traverse the Z axis to the initial position
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents