Replacement Of Spos, Sposa, M19 (Spindle Positioning) - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Time that the subprogram is called
● M40
The time of the call cannot be set. The replacement subprogram is always called at the
block start.
● M41 ... M45
The call time depends on the configured output behavior of the auxiliary function to the PLC
(see below MD22080):
– Output before or during motion: Subprogram call at the start of the block.
– Output after motion: Subprogram call at the end of the block
MD22080 $MC_AUXFU_PREDEF_SPEC[12 ... 16] (output behavior for M41 ... M45)
Bit
5
6
7
System variable to transfer information
The replacement subroutine is provided with all of the information relevant to the functions
programmed in the block via system variables (see Chapter "System variable (Page 632)").
The data refer exclusively to the block, in which the function to be replaced has been
programmed.
9.17.3.3

Replacement of SPOS, SPOSA, M19 (spindle positioning)

Function
When a coupling is active, the positioning commands (SPOS, SPOSA or M19) of a leading
spindle are replaced by calling a user-specific subprogram (replacement subprogram).
Application example
When machining workpieces in parallel on a double-spindle machine, the spindles are coupled
through a coupling factor not equal to 1. When changing the tool, they must be brought to the
same position. The replacement subprogram opens the coupling, separately positions the
spindles at the tool change position and then recloses the coupling.
Parameterization
Activation
● MD30465 $MA_AXIS_LANG_SUB_MASK, bit 1 = 1
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Value
Meaning
1
Output of the auxiliary function before the motion
1
Output of the auxiliary function during the motion
1
Output of the auxiliary function after the motion
K1: Mode group, channel, program operation, reset response
9.17 Replacing functions by subprograms
631

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents