- Posts: 44
- Thank you received: 1
config two motor on gantry axis (Y) to square the machine
6 years 9 months ago #154779
by rogerxue
Hi, I've read that you can use gantrykins to link two joints to a single axis, but also read that with the latest, it's no longer needed.
So what should I do? I use 2.7.15, and willing to upgrade to any version if necessary.
I have two limit switch on Y, and I want to take advantage of that to square gantry to the table
thanks
So what should I do? I use 2.7.15, and willing to upgrade to any version if necessary.
I have two limit switch on Y, and I want to take advantage of that to square gantry to the table
thanks
Please Log in or Create an account to join the conversation.
6 years 9 months ago #154780
by Clive S
Replied by Clive S on topic config two motor on gantry axis (Y) to square the machine
You will need to update to V2.8/2.9 as that will give you the ability to have more than one joint on an axis
Please Log in or Create an account to join the conversation.
6 years 9 months ago - 6 years 9 months ago #154781
by AgentWD40
Replied by AgentWD40 on topic config two motor on gantry axis (Y) to square the machine
Can you set the zero offset to be different for each *joint's* limit switch?
eg. to rack the gantry to square the left side of the gantry needs to zero at the limit switch while the right side of the gantry needs to back off the limit switch by a couple mm. Is that possible in the software or do the switches need to be physically adjusted?
[Edit]
Doing some research. Please tell me if I have this correct:
Each joint will have it's own HOME and HOME_OFFSET values in the ini file. These correspond to pncconf's "Home Position Location" and "Home Switch Location" axis config fields respectively. To accomplish racking of the gantry one only needs to adjust the HOME_OFFSET for the appropriate joint. That sound right? HOME needs to be the same value for joints on the same axis, right?
linuxcnc.org/docs/html/config/ini-homing.html#_home_offset
[Edit #2]
The docs note that something to watch out for is that the HOME_OFFSET has to be between MIN_LIMIT and MAX_LIMIT. Is this the joint or axes' min/max limits? In the example above if the right side of the gantry needs to back off 2mm to rack square, the HOME_OFFSET for that joint needs to be -2mm and the MIN_LIMIT = -2mm + -0.001 ? What about the axis' min_limit?
eg. to rack the gantry to square the left side of the gantry needs to zero at the limit switch while the right side of the gantry needs to back off the limit switch by a couple mm. Is that possible in the software or do the switches need to be physically adjusted?
[Edit]
Doing some research. Please tell me if I have this correct:
Each joint will have it's own HOME and HOME_OFFSET values in the ini file. These correspond to pncconf's "Home Position Location" and "Home Switch Location" axis config fields respectively. To accomplish racking of the gantry one only needs to adjust the HOME_OFFSET for the appropriate joint. That sound right? HOME needs to be the same value for joints on the same axis, right?
linuxcnc.org/docs/html/config/ini-homing.html#_home_offset
[Edit #2]
The docs note that something to watch out for is that the HOME_OFFSET has to be between MIN_LIMIT and MAX_LIMIT. Is this the joint or axes' min/max limits? In the example above if the right side of the gantry needs to back off 2mm to rack square, the HOME_OFFSET for that joint needs to be -2mm and the MIN_LIMIT = -2mm + -0.001 ? What about the axis' min_limit?
Last edit: 6 years 9 months ago by AgentWD40.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
6 years 9 months ago #154787
by Todd Zuercher
Replied by Todd Zuercher on topic config two motor on gantry axis (Y) to square the machine
Yes
and
Yes
Home (or home position) sets the point where the axis will rapid to and park at the end of the home cycle. Home Offset sets the value given to the point where the home switch is triggered.
So if your switch is at the negative end of travel, and you set the Home Offset = -10
and Home = 0 the joint will home to the switch and rapid move to 10 units away from the switch and that point will = 0.
If two slaved joints are set up, one with a Home offset of -10 the other with -10.253. Both joints will move to their switches, touch off, (which ever one finishes it's touch first will then wait for the other), then both joints will rapid together to the Home = position.
and
Yes
Home (or home position) sets the point where the axis will rapid to and park at the end of the home cycle. Home Offset sets the value given to the point where the home switch is triggered.
So if your switch is at the negative end of travel, and you set the Home Offset = -10
and Home = 0 the joint will home to the switch and rapid move to 10 units away from the switch and that point will = 0.
If two slaved joints are set up, one with a Home offset of -10 the other with -10.253. Both joints will move to their switches, touch off, (which ever one finishes it's touch first will then wait for the other), then both joints will rapid together to the Home = position.
Please Log in or Create an account to join the conversation.
6 years 9 months ago #154790
by rogerxue
Replied by rogerxue on topic config two motor on gantry axis (Y) to square the machine
Thanks, how do I update to 2.9? do I need to compile myself?
Please Log in or Create an account to join the conversation.
6 years 9 months ago #154792
by Clive S
This might help you forum.linuxcnc.org/38-general-linuxcnc-q...s/34817-updating-2-8
Replied by Clive S on topic config two motor on gantry axis (Y) to square the machine
rogerxue wrote: Thanks, how do I update to 2.9? do I need to compile myself?
This might help you forum.linuxcnc.org/38-general-linuxcnc-q...s/34817-updating-2-8
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds