Eight-Digit Program Number (M98, G65/G66) - Siemens SINUMERIK 808D Programming And Operating Manual

Iso turning/milling
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

Before using program M98 Pnnnnmmmm to call a program, name the program correctly, that is, add the program
number always to 4 digits with 0.
● If for example, M98 P21 is programmed, the part program memory is browsed by 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.
● A nesting of subroutines is possible, up to 16 subroutines are allowed. An alarm is output if more subroutine levels are
assigned than is allowed.
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.
3.4.3

Eight-digit program number (M98, G65/G66)

An eight-digit program number selection is activated with the machine data 20734 $MC_EXTERN_FUNCTION_MASK, Bit
6=1. This function affects M98 and G65/66.
y: Number of program runs
x: Program number
Subprogram call
$MC_EXTERN_FUNCTION_MASK, Bit 6 = 0
M98 Pyyyyxxxx or
M98 Pxxxx Lyyyy
Max. four-digit program number
Addition of program number always to 4 digits with 0
Example:
M98 P20012: calls 0012.mpf 2 flows
M98 P123 L2: calls 0123.mpf 2 flows
$MC_EXTERN_FUNCTION_MASK, Bit 6 = 1
M98 Pxxxxxxxx Lyyyy
There is no extension with 0, even if the program number has less than 4 digits.
The programming of number of passes and program number in P (Pyyyyxxxxx) is not possible; the number of passes must
always be programmed with L!
Example:
M98 P123: calls 123.mpf 1 Pass
M98 P20012: calls 20012.mpf 1 Pass
Caution: This is no longer compatible with ISO dialect original
M98 P12345 L2: calls 12345.mpf 2 Passes
Modal and blockwise Macro G65/G66
$MC_EXTERN_FUNCTION_MASK, Bit 6 = 0
G65 Pxxxx Lyyyy
Addition of program number to 4 digits with 0. Program number with more than 4 digits leads to an alarm.
$MC_EXTERN_FUNCTION_MASK, Bit 6 = 1
80
Programming and Operating Manual (ISO Turning/Milling)
01/2017

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced

Table of Contents