- Posts: 65
- Thank you received: 4
no option to home just Y axis on gantry with 2 Y motors
- dbotos
- Offline
- Senior Member
-
Less
More
4 years 8 months ago - 4 years 8 months ago #234742
by dbotos
Replied by dbotos on topic no option to home just Y axis on gantry with 2 Y motors
Thinking out loud:
What if I made two home buttons - one for Y1 and one for Y2 and then called them out in the vcp HAL file like this?
and
Or is that just wishful thinking?
What if I made two home buttons - one for Y1 and one for Y2 and then called them out in the vcp HAL file like this?
Code:
net HOME-Y1 <= gladevcp.home_y1_button => halui.joint.1.home
and
Code:
net HOME-Y2 <= gladevcp.home_y2_button => halui.joint.3.home
Or is that just wishful thinking?
Last edit: 4 years 8 months ago by dbotos.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
4 years 8 months ago - 4 years 8 months ago #234786
by Todd Zuercher
Replied by Todd Zuercher on topic no option to home just Y axis on gantry with 2 Y motors
I think the halui.joint.N.home pins for y1 and y2 should be connected to the same button so that it's not possible to activate them independently. I had tested it in a simulation and it was working there. I didn't look through your configuration files to see if I could find your error.
Last edit: 4 years 8 months ago by Todd Zuercher. Reason: Edited to be more specific.
- dbotos
- Offline
- Senior Member
-
Less
More
- Posts: 65
- Thank you received: 4
4 years 8 months ago #234837
by dbotos
Replied by dbotos on topic no option to home just Y axis on gantry with 2 Y motors
Would it help to add a kinstype=BOTH callout to my INI file? I'm assuming that's safe to do since my config has it so that nothing actually moves when it homes.
Is the error and failure to start LinuxCNC because of the homing thing or something about the formatting of the halcmd it's trying to run for gladevcp?
Is the error and failure to start LinuxCNC because of the homing thing or something about the formatting of the halcmd it's trying to run for gladevcp?
- dbotos
- Offline
- Senior Member
-
Less
More
- Posts: 65
- Thank you received: 4
4 years 8 months ago #234842
by dbotos
Replied by dbotos on topic no option to home just Y axis on gantry with 2 Y motors
I just noticed I had the "HALUI = halui" line in my INI file's [HAL] section commented out. Should probably uncomment that since the VCP HAL file is calling out halui pins.
- dbotos
- Offline
- Senior Member
-
Less
More
- Posts: 65
- Thank you received: 4
4 years 8 months ago #234874
by dbotos
Replied by dbotos on topic no option to home just Y axis on gantry with 2 Y motors
I uncommented the "HALUI = halui" line in the INI file's [HAL] section. That had no effect on the error message, but was something that needed to be done anyway.
Then, I added "kinstype=BOTH" to the end of the "KINEMATICS = trivkins coordinates=XYZY" line in the [KINS] section. That got rid of the part of the error message that said:
But the other parts of the error were still there (the warning about forward kinematics handling duplicate coordinate letters and the GladeVCP command error). Is there something wrong with the line that calls out GladeVCP in the INI file's [DISPLAY] section? It currently says:
Then, I added "kinstype=BOTH" to the end of the "KINEMATICS = trivkins coordinates=XYZY" line in the [KINS] section. That got rid of the part of the error message that said:
Code:
Note: Individual axis homing is not currently supported for KINEMATICS_IDENTITY with duplicate axis letter
But the other parts of the error were still there (the warning about forward kinematics handling duplicate coordinate letters and the GladeVCP command error). Is there something wrong with the line that calls out GladeVCP in the INI file's [DISPLAY] section? It currently says:
Code:
GLADEVCP = -u ./dbotos_laser_2_8_vcp.ui
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 8 months ago #234880
by rodw
Replied by rodw on topic no option to home just Y axis on gantry with 2 Y motors
I might be wrong and am too lazy to check the docs but I have a feeling shared joints must start with -1 in the ini file and you have used -2. Try changing that
Time to create page: 0.410 seconds