K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
636
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
9.15
Replacing functions by subprograms
9.15.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 subroutines.
• 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
Switching functions
T
Tool selection
TCA
Tool selection independent of the tool status
D
Tool offset
DL
Additive tool offset
Spindle-related functions during active synchronous spindle coupling
M40
Automatic gear stage change
M41 - M45
Gear stage selection 1 ... 5
SPOS
Spindle positioning
SPOSA
Spindle positioning
M19
Spindle positioning
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...