Spindle speed and direction for endless turning

Endless spindle turning can take place by simultaneously programming M3/M4 and

.

Programing Example

prg_example

Endless turning

; Define realtime cycle

#RT CYCLE [...]

  ; external trigger condition

  $IF ONCE V.E.TRIGGER == 1

    ; Command main spindle

    M03 S1000

    ; Command counter spindle

    S2[M03 REV=1000]

  $ENDIF

#RT CYCLE END

; ...

; End main program

M30