EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Function Manual

Siemens SINUMERIK ONE MCP 2400.4c
2050 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #687 background imageLoading...
Page #687 background image
Detailed Description
2.11 Subroutine call with M, T, and D functions
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-151
Programming the M function replacement with parameter transfer
The address extension and function value of the M function must be explicitly, i.e.,
constantly, programmed for M function replacements with parameter transfer. An indirection
definition via variables is not allowed.
Permissible programming:
M< function value >
M = < function value >
M[<address extension>] = <function value>
Illegal programming:
M = <variable1>
M[<variable2>] = <variable1>
Boundary conditions
M and T functions for tool change in a block
If, in addition to the M function replacement with parameter transfer, a T function
replacement was configured, the following behavior is applicable in case of a conflict, i.e.,
T and M function for tool change are in one block:
The T function replacement does not take place.
Instead, the T value is made available to the M function replacement via the appropriate
system variable $C_T...
Programming the address T in the M function subroutine to be replaced does not result in
another replacement.
Configuration example of call of subroutine SUB_M6 through M6 with parameter transfer
MD10715 $MN_M_NO_FCT_CYCLE[2] = 6
MD10716 $MN_M_NO_FCT_CYCLE_NAME[2] = "SUB_M6"
MD10718 $MN_M_NO_FCT_CYCLE_PAR = 6
Program example of tool change with M function replacement
PROC MAIN
...
N10 T1 D1 M6
...
N90 M30
PROC SUB_M6
N110 IF $C_T_PROG == TRUE ; Scan whether address T has been programmed
N120 T[$C_TE] = $C_T ; Execute T selection
N130 ENDIF
N140 M[$C_ME] = 6 ; Execute tool change
N150 IF $C_D_PROG == TRUE ; Scan whether address D has been programmed
N160 D = $C_D ; Execute D selection

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals