Axis couplings
9.5 Synchronous spindle
Job planning
538 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Example 2: Programming a difference in speed
Programming Comment
; Leading spindle = master spindle = spindle 1
; Following spindle = spindle 2
N01 M3 S500 ; Leading spindle rotates at 500 rpm.
N02 M2=3 S2=300 ; Following spindle rotates at 300 rpm.
...
N10 G4 F1 ; Dwell time of master spindle.
N15 COUPDEF (S2,S1,-1) ; Coupling factor with ratio -1:1
N20 COUPON (S2,S1) ; Activate coupling. The speed of the following spindle results from
the speed of the leading spindle and coupling factor.
...
N26 M2=3 S2=100 ; Programming a difference in speed.
Example 3: Examples of transfer of a movement for difference in speed
1. Activate coupling during previous programming of following spindle with
COUPON
Programming Comment
; Leading spindle = master spindle = spindle 1
; Following spindle = spindle 2
N05 M3 S100 M2=3 S2=200 ; Leading spindle rotates at 100 rpm, following spindle at 200 rpm.
N10 G4 F5 ; Dwell time = 5 seconds of master spindle
N15 COUPDEF(S2,S1,1) ; Transformation ratio of FS to LS is 1.0 (default).
N20 COUPON(S2,S1) ; On-the-fly coupling to the leading spindle.
N10 G4 F5 ; Following spindle rotates at 100 rpm.
2. Activate coupling during previous programming of following spindle with
COUPONC
Programming Comment
; Leading spindle = master spindle = spindle 1
; Following spindle = spindle 2
N05 M3 S100 M2=3 S2=200 ; Leading spindle rotates at 100 rpm, following spindle at 200 rpm.
N10 G4 F5 ; Dwell time = 5 seconds of master spindle
N15 COUPDEF(S2,S1,1) ; Transformation ratio of FS to LS is 1.0 (default).
N20 COUPONC(S2,S1) ; On-the-fly coupling to leading spindle and transfer previous speed
to S2.
N10 G4 F5 ; S2 rotates at 100 rpm + 200 rpm = 300 rpm