Siemens SINUMERIK 840D Operator's Manual page 154

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

Advertisement

4
Machine Operating Area
4.6 Automatic mode
4-154
Programs
MAIN1.MPF
1
2
3
4
5
6
7
Search target 1 8
9
10
SUBPRG2.SPF
1
2
3
Search target 2 4000
5000
SUBPRG3.SPF
1
2
Search target 3 2300
5000
A distinction is made between the following two cases for block
search:
1. The main program MAIN1.MPF is in the NC, the subroutines
SUBPRG1.SPF to SUBPRG3.SPF are processed externally.
2. The main program MAIN1.MPF and the subroutines
SUBPRG1.SPF to SUBPRG3.SPF are processed externally.
Case 1
·
Search target 1: The NC does not consider the EXTCALL calls in
lines 3, 5, and 6 of the main program MAIN1.MPF and jumps to
the search target Line 8.
·
Search target 2: The NC jumps to the search target at line 4000 of
external subroutine SUBPRG2.SPF; the previous statements in
the external program are skipped.
·
Search target 3: The NC jumps to the search target at line 2300 of
external subroutine SUBPRG3.SPF; the previous statements are
skipped, and the search stops.
On NC Start, the subroutine SUBPRG3.SPF is processed starting at
the destination line.
SINUMERIK 840D/840Di/810D Operator's Guide HMI Advanced (BAD) – 03.04 Edition
G90
X100 Y200 F2000
EXTCALL "SUBPRG1"
X200 Y400
EXTCALL "SUBPRG2"
EXTCALL "SUBPRG3"
X0 Y0
EXTCALL "SUBPRG2"
X50
M30
X200 Y300
X400 Y500
EXTCALL "SUBPRG3"
.
.
EXTCALL "SUBPRG3"
.
.
M17
X20 Y50
.
.
X100 Y450
.
.
M17
Ó Siemens AG, 2004. All rights reserved
4
03.04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840diSinumerik 810d

Table of Contents