Modal Subroutine Call; Execute External Subroutine (Extcall) - Siemens SINUMERIK 808D ADVANCED Programming And Operating Manual

Operator-panel-based cncs
Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

8.15.3

Modal subroutine call

Functionality
The subroutine in the block containing MCALL is called automatically after each successive block containing a path motion.
The call acts until the next MCALL is called.
The modal call of the subroutine which contains MCALL or quitting of the call requires a separate block.
MCALL is advantageous, for example, when producing drill patterns.
Programming example
Application example: Drilling a row of holes
N10 MCALL CYCLE82(100, 0, 1, -10, 2)
N20 HOLES1(1, 2, 45, 2, 2, 1)
N30 MCALL
N40 M30
8.15.4

Execute external subroutine (EXTCALL)

Function
With the EXTCALL command, you can reload and execute programs stored on an external USB memory stick.
Machine data
The following machine data is used for the EXTCALL command:
● MD10132 $MN_MMC_CMD_TIMEOUT
Monitoring time for the command in part program
● MD18362 $MN_MM_EXT_PROG_NUM
Number of program levels that can be processed simultaneously from external
● SD42700 $SC_EXT_PROGRAM_PATH
Program path for external subroutine call
Note
When using SD42700 $SC_EXT_PROGRAM_PATH, all subprograms called with EXCALL are searched under this path.
Programming with path specification in SD42700 EXT_PROGRAM_PATH
EXTCALL ("<program name>")
Parameter
EXTCALL
<program name>
Example:
EXTCALL ("RECTANGULAR POCKET")
Programming without path specification in SD42700 EXT_PROGRAM_PATH
EXTCALL ("<path\program name>")
Parameter
EXTCALL
<Path\program name>
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
; Drilling cycle 82
; Cycle for row of holes; after each approach
of the hole position, CYCLE82(...) will be
called with the transfer parameters
; Modal call of CYCLE82(...) completed
; Keyword for subroutine call
; Constant/variable of STRING type
; Keyword for subroutine call
; Constant/variable of STRING type
113

Advertisement

Table of Contents
loading

Table of Contents