Replacing Functions By Subprograms; Overview - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

9.17

Replacing functions by subprograms

9.17.1

Overview

Function
User-specific auxiliary functions (e.g. M101) do not trigger any system functions. They are only
output to the NC/PLC interface. The functionality of the auxiliary function must be implemented
by the user / machine manufacturer in the PLC user program. A description will be provided
as to how a user-specific subprogram call can be configured (replacement subprogram)
instead of the output to NC/PLC interface, which is the default setting.
Function M101 is then still programmed in the part program. However, when executing the
part program, the substitute subprogram is called. Therefore, the NC replaces the function by
a subprogram call. This results in the following advantages:
● When adapting to the production process, an existing, tested and proven part program can
still be used, unchanged. The changes required are then shifted into the user-specific
subprograms.
● The functionality can be implemented within the substitute subprogram with the full
functional scope of the NC language.
● The communication overhead between NC and PLC is not required.
Functions that can be replaced
The following functions can be replaced by subprograms:
Auxiliary functions
M
T
TCA
D
DL
Spindle-related functions during active synchronous spindle coupling
M40
M41 - M45
SPOS
SPOSA
M19
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
Switching functions
Tool selection
Tool selection independent of the tool status
Tool offset
Additive tool offset
Automatic gear stage change
Gear stage selection 1 ... 5
Spindle positioning
Spindle positioning
Spindle positioning
9.17 Replacing functions by subprograms
617

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents