Motorsports-X
Hot Rolled
- Joined
- Nov 22, 2014
- Location
- Texas
Is there a parameter that forces cutter comp cancel when g91 is commanded? I dont do much hand programming anymore, but I was messing around and wrote a quick "copy and paste" snippet of code since The computers were already being used for something else.
as you can see, it just steps .10 in y and repeats for a quick facing op, but for some reason, when the control switches back to G90 and makes the X move (x-.625) it moves the y to the non compensated position first (before it makes the x move.) if you keep going this causes a .6" step over instead of a .1" step.
anyone got any ideas how to prevent that y move??
(yes,, i know you can use m52.. and i know you can use can cycles.. but this was a quick five lines of code and a few ctrl+c/ctrl+v's...easy)
Code:
%
O0500;
T14M06;
G90G17G43H14;
S2637M03;
G121G0Z2.0;
X-1.1Y.40M8;
Z.0:
G91;
G01F46.67;
X10.10;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
as you can see, it just steps .10 in y and repeats for a quick facing op, but for some reason, when the control switches back to G90 and makes the X move (x-.625) it moves the y to the non compensated position first (before it makes the x move.) if you keep going this causes a .6" step over instead of a .1" step.
anyone got any ideas how to prevent that y move??
(yes,, i know you can use m52.. and i know you can use can cycles.. but this was a quick five lines of code and a few ctrl+c/ctrl+v's...easy)