System Variable - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.17 Replacing functions by subprograms
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
MD22080 $MC_AUXFU_PREDEF_SPEC[9]
Bit
5
6
7
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 632)").
The data refer exclusively to the block, in which the function to be replaced has been
programmed.
9.17.3.4

System variable

System variable
$P_SUB_AXFCT
$P_SUB_GEAR
$P_SUB_AUTOGEAR
$P_SUB_LA
$P_SUB_CA
$P_SUB_AXFCT
$P_SUB_SPOS
632
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
Meaning
TRUE, if M40, M41 ... M45 replacement is active
Programmed or calculated gear stage
Outside the replacement subprogram: Gear stage of the master spindle
TRUE, if M40 was active in the block that had initiated the replacement
operation.
Outside the replacement subprogram: Actual setting in the interpreter
Contains the axis name of the leading spindle of the active coupling, which
had triggered the replacement operation.
Note
If the variable is used outside the replacement subprogram, program pro‐
cessing is cancelled with an alarm.
Contains the axis name of the following spindle of the active coupling, which
had triggered the replacement operation.
Note
If the variable is called outside the replacement subprogram, program pro‐
cessing is cancelled with an alarm.
Contains the active replacement types corresponding to MD30465
$MA_AXIS_LANG_SUB_MASK
TRUE, if the SPOS replacement is active
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents