190
« on: February 15, 2016, 09:07:51 AM »
Thee are 4 quadrants in CNC work based on X0Y0 being the point of origin. Top Right, Top LEft,Bottom Left,Bottom Rightalso known as Q1,Q2,Q3,Q4.
Q1 = X+ & Y+
Q2 = X- & Y+
Q3 = X- & Y-
Q4 = X+ & Y-
There is also the possiblility that you could work in 1 or MORE quuadrants at teh same time where there would be any comibinations of teh XY values.
MOST people work inside of Q1 for a good reason. Being X+ & Y+ it makes the math VERY easy and very consistant. I suggest you do the same at this point. That would put your POE (point of origin, X0 Y0) at teh lower left of your work and NONE of your work extends out of that quadrant.
Things should make a little more sense at that point math wise.
You are still having a problem with ABS and INC values and how you are using them. You have to keep the 2 values seperate in your head as each has to be treated differently when you use them to move somewhere.
Your % of a move move is still going to bite you in teh rear. You need to get rid of it and work that move out another way.
Strip it all out but teh first X seires of moves, Get that part working correctly and it GOING to teh exact center of X EVERY time and EVERY position inside of Q1 THEN start adding parts back into your routine. One set of equations will work ANYWHERE inside of Q1.
STOP writing to teh DROs you do NOT need to do that. IF you really want to know the value or 2000 or 2001 then learn to use the built in Var monitor.
Also remember that WHERE you stop with G31 is NOT teh same as #2000,#2002.
(;-) TP