# Programming in spindle-specific syntax

Spindle-specific syntax offers the advantage that several spindles can be programmed mutually independent in the same NC block.

This is carried out within a bracketed expression attached to the spindle name. Only specific commands are permitted in this bracketed expression and these commands are always handled and executed spindle-specific. The main spindle can only be programmed by its main spindle name (P-CHAN-00053).

Syntax:
<spindle_name> [ [ M3 | M4 | M5 | M19 ] [ REV..] [POS..] { M.. } { H.. } [G74] [G167] [CALLAX | PUTAX ] [ GET_DYNAMIC_DATA ] [G130] [ [G135 | G137] [G136..] ] [FEED_LINK..] [OVERRIDE..] { \ } ] { <spindle_name> [ .. ] }

<spindle_name> | Spindle name according to [1]-3 and P-CHAN-00053
M3, M4, M5, M19 | Spindle M functions
REV=.. | Spindle speed
POS=.. | Spindle position
M=.. | User-specific M functions
H=.. | User-specific H functions
G74 | Homing
G167 | Spindle override 100%
CALLAX | Call spindle axis
PUTAX | Release spindle axis
GET_DYNAMIK_DATA | Adopt new tool dynamic data
G130 | Acceleration weighting
G135, G136=.., G137 | Feedforward control
FEED_LINK… | Spindle feed link
OVERRIDE… | Spindle override
\ | Separator ("backslash") for clear programming of the command over multiple lines.

## Programing Example

Programming in spindle-specific syntax

:

N10 S[M3 REV500 M19 POS45 M18 M15 H20 …] S2[M4 REV5000]

Nxx

:

## Additional information

- The spindle M functions
- Spindle speed (REV)
- User-specific M/H function in spindle-specific syntax
- Homing in spindle-specific syntax (G74)
- Spindle override in spindle-specific syntax (G167)
- Releasing/requesting spindle axes (PUTAX/CALLAX)
- Adopt tool dynamic data (GET_DYNAMIC_DATA/ DEFAULT_DYNAMIC_DATA)
- Commanding spindle feedforward control (G135/G136/G137)
- Spindle feed link (FEED_LINK)
- Programmable spindle override
- Acceleration weighting (G130)