K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
640
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
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)
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
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:
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.
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.
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
Содержание 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 ...