Siemens SINUMERIK 840D sl Function Manual page 753

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

Advertisement

Example S1 is the leading spindle and S2 is the following spindle:
Typically, the machine manufacturer is aware of the following spindles that are affected in
spindle positioning in case of a double spindle, and addresses these spindles directly.
N1000 PROC LANG_SUB DISPLOF SBLOF
...
N2100 IF($P_SUB_AXFCT==2)
N2110
N2185
N2190
N2200
N2210
N2220
N2230
LABEL_DC:
LABEL_IC:
LABEL_AC:
LABEL_ACP:
LABEL_ACN:
LABEL_CONT:
N2250
N2260
N2270
N2280
N2285
N2290
N2410 ELSE
N2420
...
N3300 ENDIF
...
N9999 RET
LABEL_ERR: SETAL(61000)
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
;Replacement due to SPOS/SPOSA/M19 command during active synchronous spindle
coupling
DELAYFSTON
COUPOF(S2,_S1)
;Position leading and following spindle:
IF($P_SUB_SPOS==TRUE) OR ($P_SUB_SPOSA==TRUE)
;Position spindle with SPOS
CASE $P_SUB_SPOSMODE OF 0 GOTO LABEL_DC\
1 GOTO LABEL_IC 2 GOTO LABEL_AC 3 GOTO LABEL_DC\
4 GOTO LABEL_ACP 5 GOTO LABEL_ACN\
DEFAULT GOTOF LABEL_ERR
SPOS[1]=DC($P_SUB_SPOSIT) SPOS[2]=DC($P_SUB_SPOSIT)
GOTOF LABEL_CONT
DELAYFSTOF
SPOS[1]=IC($P_SUB_SPOSIT) SPOS[2]=IC($P_SUB_SPOSIT)
DELAYFSTON
GOTOF LABEL_CONT
SPOS[1]=AC($P_SUB_SPOSIT) SPOS[2]=AC($P_SUB_SPOSIT)
GOTOF LABEL_CONT
SPOS[1]=ACP($P_SUB_SPOSIT) SPOS[2]=ACP($P_SUB_SPOSIT)
GOTOF LABEL_CONT
SPOS[1]=ACN($P_SUB_SPOSIT) SPOS[2]=ACN($P_SUB_SPOSIT)
ELSE
;Position spindle with M19
M1=19 M2=19
ENDIF
DELAYFSTOF
COUPON(S2,S1)
2.11 Subroutine call through NC language replacement
; Start Stop Delay Area
; Deactivate synchronous spindle coupling
; Position leading and following spindle
; End of Stop Delay Area
; Activate synchronous spindle coupling
; Query on further replacements
Detailed description
195

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents