Chris Radek wrote:
> On Tue, Oct 07, 2008 at 08:16:56AM -0500, Stuart Stevenson wrote:
>> Gentlemen,
>>   Upon further investigation I am unable to use the lead screw
>> compensation files we collected.
>>    I adjusted the scale to minimize the compensation magnitude. This
>> allowed me to machine the test article to a 'pretty close'
>> configuration. I have since discovered the lead screw comp is not
>> applied.
>>
>> I have:
>>    1: the latest trunk - cvs and compile yesterday
>>    2: 6.06
>>    3: COMP_FILE = joint0.cmp     -  in the [AXIS_0] section of my .ini file
>>    4: joint0.cmp  -  in the same directory as the .ini file - using
>> triplets of   0.0    0.006  0.0 etc
>>
> 
> Here is the quick test I did and I find that it is working:
> 
> [AXIS_0]
> COMP_FILE=x.comp
> COMP_FILE_TYPE=0
> 
> % cat x.comp
> 0.0 0.0 0.0
> 0.1 0.1 0.095
> 0.2 0.2 0.2
> 
> start emc, put halmeter on axis.0.joint-pos-cmd, mdi:
> g0x0
> x.1 (note halmeter says 0.1)
> x.2
> x.1 (note halmeter says 0.105)
> 

You can also view the compensation value directly.  HAL parameter 
axis.0.backlash-corr is the correction value applied to the command.  In 
Chris's example, it would be 0.005.

If the value of the backlash-corr parameters are always zero, no 
compensation is being applied.  If the value is always either + or - one 
half of the inifile backlash value, then ordinary backlash comp is being 
applied.  If the value varies as the axis moves, then the data is coming 
from the screw comp file.

Your ini file syntax seems correct - that is the same as I am using on 
my lathe X axis, and that works fine.  (The only difference is that I am 
using a type 1 file, where each line has the nominal value and the error 
in each direction, instead of nominal and actual in each direction).

Regards,

John Kasunich



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to