Hi All,
need some help
Just trying to work out how program some Gcode on my fanuc OM VMC with a high speed spindle that attaches to the BT40 tool holder and powered independently.
Basically i don't want the main spindle to start for obvious reasons.

I have tried inserting S0 M3 abd doesnt like that. The code stops at that line.
I have also tried taking that code out and it didnt like that either ...

Any other ways to do this ?????

Heres a sample code im using ......


Thanks in advanced

%
:1248
N20G91G28Z0
N30G40G17G80G49
N40T24
N50G90G54
N60G43Z20.000H24
N70G0X0.000Y0.000S0M3
N80G0X-0.009Y-0.103Z6.000
N90G1Z-0.010F110.0
N100G1Y49.897F900.0
N110X80.871
N120Y-0.103
N130X-0.009
N140G0Z6.000
N150G28G91Z0
N160G49H0

N180M30
%