Siemens SINUMERIK 828D Function Manual page 640

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Parameterization: Behavior regarding D or DL function with simultaneous T function
When D or DL and T functions are simultaneously programmed in a block, the D or DL number is either
transferred as parameter to the replacement subprogram or the D or DL function is executed before calling the
replacement subprogram. The behavior is configurable via:
MD10719 $MN_T_NO_FCT_CYCLE_MODE (Parameterization of the T function replacement)
Bit
Value
Meaning
0
0
The D or DL number is available in the subprogram in the form of a system variable
(initial state).
1
The D or DL number is calculated directly in the block.
Note:
This function is only active if the tool change was configured with M function:
MD22550 $MC_TOOL_CHANGE_MODE = 1
otherwise the D or DL values are always transferred.
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 641]").
The data contained in the system variables refers to the block in which the function to be replaced was
programmed.
Parameterization: Time that the replacement subprogram is called
The call time of the replacement subprogram is set via:
MD10719 $MN_T_NO_FCT_CYCLE_MODE, bit 1 and bit 2
Bit 2
Bit 1
Time that the replacement subprogram is called
0
0
At the end of the block
After the replacement subprogram has been executed, the interpretation is resumed
with the program line following the line that triggered the replacement operation.
0
1
At block start
After the replacement subprogram has been executed, the program line, which
resulted in the replacement subprogram being called, is interpreted. The T address
and the D or DL address and the M function for the tool change are no longer
processed.
1
-
At block start and block end
The replacement program is called twice.
System variable for the call time
System variable $P_SUB_STAT can be used to read whether the substitution is active, and if so, when the
replacement subprogram – referred to the block – was called up:
Value
Meaning
0
Replacement not active
1
Replacement active, subprogram call is made at the block start
2
Replacement active, subprogram call is made at the block end
640
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents