EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK User Manual

Siemens SINUMERIK
300 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #134 background imageLoading...
Page #134 background image
Programming and Operating Manual (Turning)
134 01/2017
Note
Internal and external subroutines must not contain jump statements such as
GOTOF, GOTOB, CASE, FOR, LOOP, WHILE, or
REPEAT
.
IF
-ELSE-ENDIF constructions are possible.
Subroutine calls and
nested
CALL
and
EXTCALL
calls may be used.
RESET, POWER ON
RESET and POWER ON can cause the interruption of internal and external subroutine calls.
Examples
Calling an internal subroutine
The "Main.mpf" main program stored on the USB memory stick is selected for execution:
N10 G4 F0.5
N20 MSG("CALL Turning")
N30 CALL "//NC:/MPF.DIR/BOHRUNG.SPF"
N40 M30
The "BOHRUNG.SPF" subprogram stored in the NC directory is to be reloaded:
N10 G1 F1000 G94
N20 X=10 Z=10
N30 G0 X50 Z50
...
...
N999999 M17
Calling an external subroutine
The "Main.mpf" main program stored in the NC directory is selected for execution:
N10 G0 X0 Z0
N20 EXTCALL ("USB:\BOHRUNG.SPF") *
N30 G0 X100 Z100
N40 M30
* If you have set SD 42700 as "USB:\", you only need to enter "EXTCALL ("BOHRUNG.SPF")" alternatively.
The "BOHRUNG.SPF" subprogram stored on the USB memory stick is to be reloaded:
N10 G1 F1000 G94
N20 X=10 Z=10
N30 G0 X50 Z50
...
...
N999999 M17
11.17
Timers and workpiece counters
11.17.1
Runtime timer
Functionality
The timers are prepared as system variables ($A...) that can be used for monitoring the technological processes in the
program or only in the display.
These timers are read-only. There are timers that are always active. Others can be deactivated via machine data.
Timers that are always active
$AN_SETUP_TIME
Time since the last system power-up with default values (in minutes)

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals