o<m25> sub
(PRINT, o<m25>)

M64 P0 ; Move Carousel out

M66 P1 L3 Q5 ; check for carousel out sensor
o100 if [#5399 LT 0]
    M65 P0 ; switch off atc out solenoid
    (abort, ATC not in position)
o100 endif

(PRINT, o<m25> endsub)
o<m25> endsub [1]

M2
