Hi im trying to make some small changes in a postprocessor for a Fanuc OM system.
If i click on mist in the feeds window in sprutcam i want the postprocessor to generate the M-code M50=airblast on my machine instead of M8=coolant.
The CLDATA is #1 for coolant and #2 for airmist.
This is how it looks now,how should it look for mist=M50 coolant=M8
program CoolNt
if Msp <> Msp@ or M <> M@ then call OutBl
if cld[1] = 71 then Mc = 8 else Mc = 9 ! On/Off coolant
outblock
end
Thanks
Tommy