K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
651
9.15.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
Time that the replacement subprogram is called
•
SPOS
,
SPOSA
The time of the call cannot be set. The replacement subprogram is always called at the block start.
•
M19
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
System variable for transferring 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 652]"). The data refer exclusively to the block, in
which the function to be replaced has been programmed.
MD22080 $MC_AUXFU_PREDEF_SPEC[9]
Bit
Value Meaning
5
1
Output of the auxiliary function before the motion
6
1
Output of the auxiliary function during the motion
7
1
Output of the auxiliary function after the motion
Содержание 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 ...