Spindle stop

Spindle stop is programmed with M5.

Programing Example

prg_example

Spindle stop

; Define realtime cycle

#RT CYCLE [...]

  ; external trigger condition

  $IF ONCE V.E.TRIGGER == 1

    ; Command main spindle

    M05

    ; Command counter spindle

    S2[M05]

  $ENDIF

#RT CYCLE END

; ...

; End main program

M30