Siemens Sinumerik 840D sl Programming Manual page 112

Iso milling
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Additional functions
4.2 Programmable data input (G10)
Subroutine call (M98)
● M98 P nnn mmmm
● If for example, M98 P21 is programmed, the part program memory is browsed by
● A nesting of subroutines is possible, up to 16 subroutines are allowed. An alarm is output
End of subroutine (M99)
A subroutine is ended with the command M99 Pxxxx and program processing is continued in
Block No. Nxxxx. The control system first searches forward for the block number (from the
subroutine call up to the end of the program). If no matching block number is found, the part
program is eventually searched in the reverse direction (in the direction of the part start of
program).
If M99 is without a block number (Pxxxx) in a main program, the control goes to the start of
the main program and the main program is processed afresh. In case of M99 with navigation
to the block number in the main program (M99xxxx), the block number is always searched
from the start of program.
112
m: Program no. (max. 4 digits)
n: No. of repetitions (max. 4 digits)
program name 21.mpf and the subroutine is executed once. To call the subroutine three
times, one must program M98 P30021. An alarm is output if the specified program no. is
not found.
if more subroutine levels are assigned than is allowed.
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
ISO Milling

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 828dSinumerik 802d sl

Table of Contents