Does every joint need to config COMP_FILE?
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
01 Sep 2021 06:20 #219310
by curran209
Does every joint need to config COMP_FILE? was created by curran209
I have three axis, if every axis has a backlash, do i need to config COMP_FILE = file.extension for every joint.
it means joint 1 and joint 2 also need to add COMP_FILE = file.extension in ini?
it means joint 1 and joint 2 also need to add COMP_FILE = file.extension in ini?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
02 Sep 2021 21:20 #219466
by andypugh
Replied by andypugh on topic Does every joint need to config COMP_FILE?
I don't know for sure, but I would expect LinuxCNC to use a comp file if one exists, or a backlash number, or nothing, on a joint-by-joint basis.
ie, you can have any combination you want.
ie, you can have any combination you want.
Please Log in or Create an account to join the conversation.
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
07 Sep 2021 07:05 #219819
by curran209
Replied by curran209 on topic Does every joint need to config COMP_FILE?
If joint0, joint1, joint2 compensation density can be set separately , do we need to add these content below and add screwcomp0.dat, screwcomp1.dat, screwcomp1.dat this three files.
"COMP_FILE = screwcomp0.dat
COMP_FILE_TYPE = 0",
"COMP_FILE = screwcomp1.dat
COMP_FILE_TYPE = 0",
"COMP_FILE = screwcomp2.dat
COMP_FILE_TYPE = 0",
[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp0.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
FERROR = 0.050
MIN_FERROR = 0.010
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 20.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
HOME_IS_SHARED = 1
[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp1.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
FERROR = 0.050
MIN_FERROR = 0.010
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 20.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp2.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -8.0
"COMP_FILE = screwcomp0.dat
COMP_FILE_TYPE = 0",
"COMP_FILE = screwcomp1.dat
COMP_FILE_TYPE = 0",
"COMP_FILE = screwcomp2.dat
COMP_FILE_TYPE = 0",
[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp0.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
FERROR = 0.050
MIN_FERROR = 0.010
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 20.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
HOME_IS_SHARED = 1
[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp1.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
FERROR = 0.050
MIN_FERROR = 0.010
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 20.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5
MAX_ACCELERATION = 50.0
COMP_FILE = screwcomp2.dat
COMP_FILE_TYPE = 0
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -8.0
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
07 Sep 2021 11:52 #219843
by andypugh
Replied by andypugh on topic Does every joint need to config COMP_FILE?
I would expect so. Does it work?
Please Log in or Create an account to join the conversation.
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
15 Sep 2021 09:25 #220686
by curran209
Replied by curran209 on topic Does every joint need to config COMP_FILE?
there is no compensation effect,why? I added comp_file as it is descripted in linuxcnc.org/docs/devel/html/config/ini-...t__lt_num_gt_section
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
15 Sep 2021 10:13 #220689
by tommylight
Replied by tommylight on topic Does every joint need to config COMP_FILE?
Please Log in or Create an account to join the conversation.
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
17 Sep 2021 04:55 #220857
by curran209
Replied by curran209 on topic Does every joint need to config COMP_FILE?
don't work
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds