Siemens SINUMERIK 840D sl Function Manual page 744

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

Advertisement

Detailed description
2.11 Subroutine call through NC language replacement
Programming with main and replacement subroutine
N410 G01 F1000 X10 T1 = 5 D1
N1000 PROC D_T_SUB_PROG DISPLOF
SBLOF
...
N4100 IF $C_T_PROG==TRUE
N4110
N4120
N4130
N4140 ENDIF
N4300 IF $C_T_PROG==TRUE
N4300
N4310
N4320 ENDIF
N4400 IF $C_DL_PROG==TRUE
N4410
N4420
N4430 ENDIF
...
N9999 RET
This causes the part program line
"N410 G01 F1000 X10 T1=5 D1" to execute the following program:
N1000 PROC D_T_SUB_PROG DISPLOF
SBLOF
...
N4100 IF $C_T_PROG==TRUE
N4110
N4120
N4130
N4140 ENDIF
N4300 IF $C_T_PROG==TRUE
N4300
N4310
N4320 ENDIF
N4400 IF $C_DL_PROG==TRUE
N4430 ENDIF
N9999 RET
N410 G01 F1000 X10
186
POS[B]=CAC($C_T)
T[$C_TE]=$C_T
D=$C_D
D=$C_DL
POS[B]=CAC($C_T)
T[$C_TE]=$C_T
D=$C_D
Basic logic functions: Mode group, channel, program operation, reset response (K1)
; Main program
; Replacement subroutine
; Scan whether address T has been programmed
; Replacement for address T with tool no.
; Move revolver to indexing position
; Select tool (T selection)
; Scan whether address D has been programmed
; Replacement for address D
; Select offset (D selection)
; Scan whether address DL has been programmed
; Replacement for address DL
; Select insert offset
; Replacement subroutine
; Scan whether address T has been programmed
; Replacement for address T with tool no.
; Move revolver to indexing position
; Select tool (T selection)
; Scan whether address D has been programmed
; Replacement for address D
; Select offset (D selection)
; Scan whether address DL has been programmed
; Rest of N410 without tool programming
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

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