Timers And Workpiece Counters - Siemens SINUMERIK 808D User Manual

Programming and operating manual (milling)
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

N o te
Internal and external subroutines must not contain jump statements such as
.
REPEAT
constructions are possible.
IF-ELSE-ENDIF
Subroutine calls and nested
R ESET, POWER ON
RESET and POWER ON can cause the interruption of internal and external subroutine calls.
Examples
● C a lling 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 Milling")
N30 CALL "//NC:/MPF.DIR/BOHRUNG.SPF"
N40 M30
The "BOHRUNG.SPF" subprogram stored in the NC directory is to be reloaded:
N10 G01 X10 Y20 Z30 F1000
N20 G91 X10 Y10 Z10
N30 M30
● C a lling an external subroutine
The "Main.mpf" main program stored in the NC directory is selected for execution:
N10 G0 X10 Y10
N20 EXTCALL ("USB:\BOHRUNG.SPF") *
N30 G0 X20 Y20
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 G01 X10 Y20 Z30 F1000
N20 G91 X10 Y10 Z10
N30 M30
11.16

Timers and workpiece counters

11.16.1
Runtime timer
Fu n ctionality
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.
Ti mers that are always active
● $ AN_SETUP_TIME
Time since the last control power up with default values (in minutes)
It is automatically reset in the case of a system power-up with default values.
● $ AN_POWERON_TIME
Time since the last control power up (in minutes)
It is reset to zero automatically after each power-up of the control system.
136
and
calls may be used.
CALL
EXTCALL
,
,
,
GOTOF
GOTOB
CASE
FOR
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA6, 09/2017
,
,
, or
LOOP
WHILE

Advertisement

Table of Contents
loading

Table of Contents