Motion commands
3.5 S-, T-, M- and B functions
PROC M6_MAKRO
...
N0010
N0020
N0030
N0040
N0050
N0060
3.5.7
M functions
General M functions
The non-specific M functions are defined by the machine manufacturer. A representative
example of the use of of general M functions is available under. Details are available in the
documentation of your machine manufacturer. If an M command is programmed with an axis
motion in the same block, whether the M function is to be executed at the start or end of the
block on reaching the axis position depends on the machine data setting of the machine
manufacturer. Details are available in the documentation of your machine manufacturer.
Table 3- 14
M function
M08
M09
Specification of several M functions in one block
A maximum of five M functions can be programmed in on block. Possible combinations of M
functions and possible restrictions are specified in the documentation of your machine
manufacturer.
Additional auxiliary functions (B functions)
If B is not used as axis identifier, B can be used as extended auxiliary function. B functions
are output to the PLC as auxiliary functions (H functions with the address extension H1=).
Example: B1234 is output as H1=1234.
68
R10 = R10 + 11.11
IF $C_X_PROG == 1 GOTOF N40
SETAL(61000)
IF $C_V == 20 GTOF N60
SETAL(61001)
M17
Other general M functions
Function
Coolant ON
Coolant OFF
;($C_X_PROG)
;programmed variable not
;transferred correctly
;($C_V)
Remarks
These M functions are defined by the machine manufacturer.
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
ISO Milling