Example 2b: Programming an axis-specific M function in DIN syntax
Compatibility mode
Axis-specific M and H functions require a compatibility mode. This permits the axis-specific output in existing CNC programs without changing the syntax:
The channel parameters
P-CHAN-00039 (m_default_outp_ax_name[MNr]) or
P-CHAN-00025 (h_default_outp_ax_name[HNr])
can define the axis-specific output of an M or H function as default. A channel-specific output then no longer takes place.
Parameter
P-CHAN-00039 | Designation of the axis to which the M function with the number MNo is output |
P-CHAN-00025 | Designation of the axis to which the H function with the number HNo is output |
Programming Example
Axis-specific M function in DIN syntax
Initialisation in the channel parameter list:
m_synch[25] | 0x0002 |
m_default_outp_ax_name[25] | X |
