Siemens SINUMERIK 840D sl Programming Manual page 438

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
Value
14
15
16
Example
For an active synchronous spindle coupling between the leading spindle S1 and the following
spindle S2, the following replacement cycle to position the spindle is called using the SPOS
command in the main program.
Positioning is realized using the statement in N2230:
SPOS[1]=GP($P_SUB_SPOSIT,$P_SUB_SPOSMODE)
SPOS[2]=GP($P_SUB_SPOSIT,$P_SUB_SPOSMODE)
The position to be approached is read from the system variable $P_SUB_SPOSIT; the position
approach mode is read from the system variable $P_SUB_SPOSMODE.
Program code
N1000 PROC LANG_SUB DISPLOF SBLOF
...
N2100 IF($P_SUB_AXFCT==2)
N2110
N2185 DELAYFSTON
N2190 COUPOF(S2,S1)
N2200
N2210 IF($P_SUB_SPOS==TRUE) OR
($P_SUB_SPOSA==TRUE)
N2220
N2230
$P_SUB_SPOSMODE)
$P_SUB_SPOSMODE)
N2250 ELSE
N2260
N2270 M1=19 M2=19
N2280 ENDIF
N2285 DELAYFSTOF
N2290 COUPON(S2,S1)
N2410 ELSE
N2420
...
N3300 ENDIF
...
N9999 RET
438
Meaning
CDC
CACP
CACN
SPOS[1]=GP($P_SUB_SPOSIT,
SPOS[2]=GP($P_SUB_SPOSIT,
Permissible for:
POS, POSA
POS, POSA
POS, POSA
Comment
; Replacement of the SPOS / SPOSA / M19
command for an active synchronous spindle
coupling
; Start of stop delay area
; Deactivate synchronous spindle coupling
; Position leading and following spindles
; Positioning the spindle with SPOS:
; Positioning the spindle using M19:
; Position leading and following spindles
; End of stop delay area
; Activate synchronous spindle coupling
; Query on further replacements
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents