Detailed description
2.11 Subroutine call through NC language replacement
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
183
System variable for the transfer parameters of the M, T and D/D functions
The programmed values for the transfer to the replacement subroutine can be read using the
following system variable:
System variable Remarks
$C_T_PROG TRUE if address T has been programmed
$C_T Value of address T (integer)
$C_TE Address extension of address T
$C_TS_PROG TRUE, if address T was programmed with the tool identifier of type
STRING
$C_TS Value of the T address as tool identifier
(string, with tool management only)
$C_D_PROG TRUE if address D has been programmed
$C_D Value of address D
$C_DL_PROG TRUE if address DL has been programmed
$C_DL Value of address DL
$C_M_PROG TRUE if M function was programmed for tool change
$C_M Value of replaced address M (integer)
There are two different cases:
1. The replacement subroutine for the tool change configured with
MD10718 $MN_M_NO_FCT_CYCLE_PAR was called. $C_M
contains the value
MD10715
$MN_M_NO_FCT_CYCLE[$MN_M_NO_FCT_CYCLE_PAR].
2. In the case of a tool change with M code, only one replacement
subroutine was configured for the T and/or D/DL addresses. If the M
code for the tool change is programmed together with one of the
addresses to be replaced, the value of MD22560
$MN_TOOL_CHANGE_M_MODE is transferred to the replacement
subroutine.
$C_ME Address extension of replaced M function