Originally Posted by
blakemachine
It does not recognize M9, G54, G18, V0. or at the end of a tool operation when mastercam post T0200.
I Have to use G50 positioning for this machine at the begining of every tool change.
I want mastercam to NOT post any of thos un-recognizable codes. How can I go about modifying this?
This one worries me
M9 = coolant OFF , what replacement M-code are you using ?
This I understand
G54 = origin ( replaced by G50 X-offset Y-offset)( thess offsets would be filled in by the tool-setter for each tool in the program ? ) ( or do you reference all tools back to T1 and then only need one G50 XZ stated at the beginning of the program )
I assume at the end of each tool should be
Code:
M9 ( coolant OFF )( this code to be replaced )
G97 S0 M5 ( Spindle Stop and set to zero RPM )
G28 G90 U0. T0000 ( move X-axis to home cancelling X-offset )
G28 W0. T0000 ( move Z-axis to home cancelling Z-offset )
M1 ( Opt Stop )
( )
These should not be output ( unless progam is done incorrectly )
G18 = XZ plane ( basic turning plane- doesn't need restating )
V0 = incremental axis parallel to Y ( Y or V are not used )