Siemens Sinumerik 840D sl Programming Manual page 547

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Examples
Example 1: Machining with leading and following spindles
Programming
N05 M3 S3000 M2=4 S2=500
N10 COUPDEF(S2,S1,1,1,"NOC","Dv") ; Definition of the coupling (can also be configured).
...
N70 SPCON
N75 SPCON(2)
N80 COUPON(S2,S1,45)
...
N200 FA[S2]=100
N205 SPOS[2]=IC(-90)
N210 WAITC(S2,"Fine")
N212 G1 X... Y... F...
...
N215 SPOS[2]=IC(180)
N220 G4 S50
N225 FA[S2]=0
N230 SPOS[2]=IC(-7200)
...
N350 COUPOF(S2,S1)
N355 SPOSA[2]=0
N360 G0 X0 Y0
N365 WAITS(2)
N370 M5
N375 M30
Example 2: Programming a difference in speed
Programming
N01 M3 S500
N02 M2=3 S2=300
...
N10 G4 F1
N15 COUPDEF (S2,S1,-1)
N20 COUPON (S2,S1)
...
N26 M2=3 S2=100
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Comment
; Leading spindle = master spindle = spindle 1
; Following spindle = spindle 2
; Leading spindle rotates at 3000 rpm,
following spindle at 500 rpm.
; Bring leading spindle into closed-loop position control
(setpoint coupling).
; Bring following spindle into closed-loop position control.
; On-the-fly coupling to offset position = 45 degrees.
; Positioning speed = 100 degrees/min
; Traverse with 90 degree overlay in negative direction.
; Wait for "fine" synchronism.
; Machining
; Traverse with 180 degree overlay in the positive direction.
; Dwell time = 50 revolutions of the master spindle
; Activate configured velocity (MD).
; 20 revolutions. Move with configured velocity in the
negative direction.
; Couple-out on-the-fly, S=S2=3000
; Stop FS at zero degrees.
; Wait for spindle 2.
; Stop FS.
Comment
; Leading spindle = master spindle = spindle 1
; Following spindle = spindle 2
; Leading spindle rotates at 500 rpm.
; Following spindle rotates at 300 rpm.
; Dwell time of master spindle.
; Coupling factor with ratio -1:1
; Activate coupling. The speed of the following spindle results from
the speed of the leading spindle and coupling factor.
; Programming a difference in speed.
Axis couplings
9.5 Synchronous spindle
547

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents