# Spindle programming

Spindle programming is possible in realtime cycles. Programming both main and counter spindles is supported.

## Notice

Assigned resources

Spindle jobs from realtime cycles are output over standard CNC mechanisms. As opposed to spindle programming from the decoder context (default response), the system does not wait until there are sufficient resources for commanding. An error is output if there is no buffer space available for realtime commands or if the spindle interface is still occupied with previous jobs.

Programming must take place completely in one block. For example, it is not permitted to first define the direction of rotation with M3 and then program the speed in a subsequent block. M3 and speed must be programmed in the same block.

## Additional information

- Spindle speed and direction for endless turning
- Positioning spindles
- Spindle stop
- PLC spindles