M/H functions with optional additional information
With M/H functions, an additive value can be optionally programmed in the NC program and made available to the PLC on the technology interface in combination with the M/H function.
The additive value can be programmed in all user-specific M/H functions and in the internal M functions M00, M01, M02, M17, M29 and M30. The M/H functions can then be used without restriction in both channel-specific and axis-specific programming syntax.
The following M functions may only be programmed without an additive value:
- spindle functions M03, M04, M05 and M19
- gear change functions M40-M45 and
- the subroutine function M6 (if configured as such in P-CHAN-00118)
Syntax: |
M.. [ = <additive_value> ] |
or |
H.. [ = <additive_value> ] |
M.. | User-specific M function |
H.. | User-specific H function |
= <additive_value> | Optional additive value. It can be programmed directly as a negative or positive integer or as a general mathematical expression. |
Programming Example
M/H functions with optional additive information
This additive information can be read in the PLC via the data of the M/H function.
See also [HLI// Data of the M/H function]