Re:comp_file example

More
11 Jul 2010 22:33 #3334 by aike
comp_file example was created by aike
Hi!
I need to compensate X axes. Can anybody help me to show the example of this file?
In Integration Manual there is only menthioned of this file, no example

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

More
14 Jul 2010 00:16 #3349 by BigJohnT
Replied by BigJohnT on topic Re:comp_file example
Look in the Integrator Manual in the axis section of configuring EMC.

John

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

More
14 Jul 2010 02:21 #3351 by aike
Replied by aike on topic Re:comp_file example
I know about COMP_FILE = file.extension, I've also read about 256 points per each axes.
Can you send my the example of one string from file like this:
0.001 0.02 -0.03
where 0.001 - the X offset, 0.02 compensation in forward and -0.03 compensation in reverse.
Is it right or not?

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

More
15 Jul 2010 14:45 #3360 by BigJohnT
Replied by BigJohnT on topic Re:comp_file example
A file holding a compensation structure for the specific axis. The values inside are triplets of nominal, forward and reverse positions which correspond to the nominal position (where it should be), forward (where the axis is while traveling forward) and reverse (where the axis is while traveling back). One set of triplets per line. Currently the limit inside EMC2 is for 256 triplets / axis. If COMP_FILE is specified, BACKLASH is ignored. COMP_FILE values are in machine units.

Example
where the comp takes place, forward comp, backward comp

1.0000 1.0001 0.9999

John

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

More
16 Jul 2010 02:50 #3362 by aike
Replied by aike on topic Re:comp_file example
Thank you for answer.
Going to test.

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

More
22 Apr 2022 06:23 #240854 by jang
Replied by jang on topic Re:comp_file example
Can I know what is the extention of COMP_FILE = file."extention"

I just use file.comp but it didn't work

help me,,,,

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

More
22 Apr 2022 23:04 #240936 by andypugh
Replied by andypugh on topic Re:comp_file example
It should work with any extension. But you need the full filename in the INI file entry.

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

More
27 Apr 2022 05:36 #241352 by jang
Replied by jang on topic Re:comp_file example
my .ini file has 
COMP_FILE=yscrew.comp
COMP_FILE_TYPE=0

and my yscrew.comp file is

10 10.1000 9.9000

but this file is not working 

Should I set other things for using compensation module??

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

More
28 Apr 2022 11:17 #241456 by andypugh
Replied by andypugh on topic Re:comp_file example
You need at least two lines of numbers for a comp file (and preferably a lot more)
If you are only going to use a single value at one point then you might as well just use the BACKLASH entry.

" Points in between nominal values are interpolated between the two nominals."

I can't interpolate if the current commanded position is not between two positions in the comp file.

try:
0 0.10 -0.10
10 10.1000 9.9000

For example. (if this is an inch machine with 10 inches of travel, or a metric machine with 10mm of travel,,,)

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

More
31 Mar 2023 05:53 - 31 Mar 2023 05:56 #267948 by Sviper
Replied by Sviper on topic Re:comp_file example

You need at least two lines of numbers for a comp file (and preferably a lot more)
If you are only going to use a single value at one point then you might as well just use the BACKLASH entry.

" Points in between nominal values are interpolated between the two nominals."

I can't interpolate if the current commanded position is not between two positions in the comp file.

try:
0 0.10 -0.10
10 10.1000 9.9000

For example. (if this is an inch machine with 10 inches of travel, or a metric machine with 10mm of travel,,,)


 

Hello

I control my servo drivers only in pos mode.
This means that the servo driver gets a position from LCNC and drives independently there.
Stegen etc. I do not have in the ini.
Do then the parameters backlash or a comp_file work at all?
#******************************************
[AXIS_X]
MAX_VELOCITY = 130
MAX_ACCELERATION = 850
MIN_LIMIT = 0.0
MAX_LIMIT = 1025.0
BACKLASH = 0.0058


[JOINT_0]
TYPE = LINEAR
HOME_ABSOLUTE_ENCODER = 2
MAX_VELOCITY = 130
MAX_ACCELERATION = 850.0

#******************************************
Last edit: 31 Mar 2023 05:56 by Sviper.

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

Time to create page: 0.152 seconds
Powered by Kunena Forum