# User-specific M/H function in spindle-specific syntax

All user-specific M/H functions (technology information) programmed within the bracket expression are always handled and output spindle-specific.

## Programing Example

Program one spindle "S2” with two user-specific M functions:

N10 S2[M3 REV300 M10 M11](S2 cw rotates at 300 rpm and outputs M10/M11)

N20 M30 (Program end)

## Programing Example

Program two spindles "S” and S2:

N10 S[M10 M11] S2[REV1000 M3 M11] (S executes M10 and M11, S2 rotates)

(at 1000 rpm and outputs M11)

N20 M30 (Program end)

Channel parameter list [1]:

The user-specific M/H functions are defined in P-CHAN-00027 and P-CHAN-00041. The M/H function is not executed in the case of synchronisation mode "0” (NO_SYNCH).

:
# Definition of M functions and synchronisation types
:
# Definition of M functions and synchronisation types
m_synch[1] | 0x00000001 | MOS
m_synch[2] | 0x00000002 | MVS_SVS
: |  |
m_synch[10] | 0x00000002 | MVS_SVS
m_synch[11] | 0x00000008 | MVS_SVS
m_synch[12] | 0x00000004 | MVS_SVS
m_synch[48] | 0x00000008 | MNS_SNS
m_synch[49] | 0x00000002 | MVS_SVS
: | : | :
# Definition of H functions and synchronisation types
h_synch[1] 0x00000001 MOS
h_synch[2] 0x00000001 MOS
: |  |