Re:comp_file example

More
4 years 6 months ago #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
4 years 6 months ago #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
4 years 6 months ago #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
3 years 7 months ago - 3 years 7 months ago #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?
Code:
#****************************************** [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: 3 years 7 months ago by Sviper.

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

More
3 years 7 months ago #267959 by andypugh
Replied by andypugh on topic Re:comp_file example
Compensation can certainly work on position mode systems, it is commonly used on open-loop stepper systems.

In fact it is probably more common on such systems, as closed-loop velocity-mode systems generally have scales on the axes and automatically compensate for backlash and deflection.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum