Axis_Comp having no effect[SOLVED]

More
1 year 1 month ago - 1 year 3 weeks ago #334380 by CNC4Life
I'm trying to axis comp a machine with a Renishaw ML10 Interferometer. Unfortunately no matter what comp type or file formatting I can come up with I cannot get the system to take effect. The machine is repeating +/- .001mm on every step of the run.

I've been working on this for days and had no luck. I also can't get any feedback from HALSHOW that mentions it in effect or a component related to compensation. My understanding this a rolling backlash table to linuxcnc, hower the values never change. The man pages are extremely sparse, but strait forward. Name a file, stuff it with (Target)  (POS Move) (Neg Move) and select a type 0 or 1.

Please help! I offer cookies of all types.
Last edit: 1 year 3 weeks ago by CNC4Life.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #334381 by CNC4Life
Replied by CNC4Life on topic Axis_Comp having no effect
Also of note the units in the RTL File are um so .001mm. Pass 1 is -5 to -170 and Pass 2 is -170 to -5.

The .zip is a zipped .xls file.

 
 
Last edit: 1 year 1 month ago by CNC4Life.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #334383 by PCW
Replied by PCW on topic Axis_Comp having no effect
Just a guess, but I think your screw compensation table is backwards:

"Compensation files must start with the smallest nominal and be in ascending order to the largest value of nominals"


 
Last edit: 1 year 1 month ago by PCW. Reason: sp

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334416 by andypugh
Replied by andypugh on topic Axis_Comp having no effect
If the comp table is backwards then the interpolator function will only ever read the first value, so you will get a fixed offset, and no apparent compensation.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #334582 by CNC4Life
Replied by CNC4Life on topic Axis_Comp having no effect
I'm happy to say, I was just being dumb and -5  was lowest number in my head except it was negative so it was obviously the highest number.  I also spent a bit of time playing with spreadsheets and the raw RTL file and it was easy make a mistake shuffling data.

So, I wrote a python script to handle the process. (I haven't tested it with an axis going in the positive direction, it should work.) 
  Renishaw_Laser10_with_LinuxCNC

I really hope it helps someone someday.  I've attached my results before and after.
Last edit: 1 year 1 month ago by CNC4Life.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334589 by scotth
Replied by scotth on topic Axis_Comp having no effect
Good to see you have comp working.
The raw error looks very linear, are you sure about your Exp coeff value?

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum