Hi, I am looking for a simple way to change G-code so that on every instance of a rapid (G0) there is an M31 before, and an M32 aft.
For Example
This:-
G1 X290.0702 Y301.1827
G0 X282.9471 Y302.4629
G1 X283.0283 Y302.9148
Ends up as this:-
G1 X290.0702 Y301.1827
M31
G0 X282.9471 Y302.4629
M32
G1 X283.0283 Y302.9148
I hope I haven’t overlooked the obvious. Any ideas much appreciated as hand editing is a long process on 50,000 lines. I am not sure how to modify the post processor as I have not got to grips with the language style.
Thanks,
Dwight