Calling Machining Cycles (Turning); Executing External Subroutines (Extcall) - Siemens SINUMERIK 808D ADVANCED Programming And Operating Manual

Computer numeric control
Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

See the following illustration for execution with 8 program levels:
Information
Modal G functions can be changed in the subroutine, e.g. G90 → G91. When returning to the calling program, ensure that all
modal functions are set the way you need them to be.
Please make sure that the values of your arithmetic parameters used in upper program levels are not inadvertently changed
in lower program levels.
When working with SIEMENS cycles, up to 7 program levels are needed.
8.16.2

Calling machining cycles (turning)

Functionality
Cycles are technology subroutines that realize a certain machining process. Adaptation to the particular problem is
performed directly via supplying parameters/values when calling the respective cycle.
Programming example
N10 DEF REAL RTP, RFP, SDIS, DP, DTB
N20 G18 X100 Z100
N30 M3 S100 F0.1
N40 G17 X0
N50 CYCLE83(110, 90, 0, -80, 0, -10, 0,
0, 0, 0, 1, 0)
N60 G0 X100 Z100
N70 RTP=100 RFP= 95.5 SDIS=2.4, DP=-20,
DTB=3
N80 CYCLE82(RTP, RFP,SDIS, DP, , DTB)
N90 M30
8.16.3

Executing external subroutines (EXTCALL)

Function
With the
command, you can reload and execute programs stored on an external USB memory stick.
EXTCALL
Machine data
The following machine data is used for the
● 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
Programming
("<path\program name>")
EXTCALL
Programming and Operating Manual (Turning)
6FC5398-5DP10-0BA2, 06/2015
;Call of cycle 83, transfer values directly,
separate block
;Set transfer parameters for cycle 82
;Call of cycle 82, separate block
command:
EXTCALL
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents