Siemens SINUMERIK 828D Programming Manual page 61

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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
Positioning is realized using the instruction in
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
SPOS[1]=GP($P_SUB_SPOSIT,$P_SUB_SPOSMODE)
SPOS[2]=GP($P_SUB_SPOSIT,$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
Supplementary conditions
● The indirect programming of position attributes is not possible in synchronized actions.
References
Function Manual Basic Functions; BAG, Channel, Program Operation, Reset Response
(K1), Chapter: Replacement of NC functions by subprograms
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
command in the main program.
SPOS
Flexible NC programming
1.2 Indirect programming
:
N2230
Comments
; Replacement of the SPOS / SPOSA / M19
command for an active synchronous
spindle coupling
; Start Stop Delay Area
; Deactivate synchronous spindle
coupling
; Position leading and following spindle
; Positioning the spindle with SPOS:
; Positioning the spindle using M19:
; Position leading and following spindle
; End of Stop Delay Area
; Activate synchronous spindle coupling
; Query on further replacements
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents