Siemens SINUMERIK 840Di Function Manual page 685

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Configurable time behavior for D/T function replacement
The timing of the call of the replacement subroutine can be parameterized as follows with
(Bit 1 and Bit 2):
MD10719 Bit 1
0
1
0/1
Timing of call at block end MD10719 Bit 1 = 0
After the replacement subroutine has been executed, the interpretation is resumed with the
subprogram line following the line that triggered the replacement operation.
Timing of call at block start MD10719 Bit 1 = 1 and Bit 2 = 0
After the replacement subroutine has been executed, the part program line that controlled
the call of the subroutine is interpreted. The T address and the D or DL address and the
M function for the tool change are no longer processed.
Timing of the call at block start and at block end M10719 Bit 2 = 1
The replacement program is called twice.
Note
Which replacements are to be performed at the block start and which are to be performed at
the block end is up to the user.
System variable $P_SUB_STAT can be used to determine the timing (block start/block end)
of a replacement operation. The system variable $P_SUB_STAT returns for
• Value 0: Replacement subroutine is not active
• Value 1: Replacement subroutine is active, call at block start
• Value 2: Replacement subroutine is active, call at block end
Configuration of transfer of D or DL function to the replacement cycle
The T function replacement permits the use of machine data
MD10719 $MN_T_NO_FCT_CYCLE_MODE for specifying which of the following are to
occur if D or DL and T or programmed simultaneously in a block (Bit 0)
• D or DL must be passed as a parameter to the T replacement cycle
• A call is to be executed before the T replacement cycle
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
MD10719 Bit 2
Timing of call of replacement subroutine
0
At block end (default)
0
At block start
1
At block start and block end
2.11 Subroutine call with M, T, and D functions
Detailed Description
2-149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents