Dual axis homing

More
4 years 1 week ago #254696 by Jurre
Dual axis homing was created by Jurre
Hi,

I am trying to setup homing for my CNC. The Y and Z axis went just fine, but I got some issues with the tandem X axis. On both sides I got a limit switch to prevent potential racking, I use these limit switches as limits and as home position. On X2 the homing works just fine, but on X it doesn't work. I have looked at the HAL show and the limit switch is working fine. When I measure the voltage it is 24V just as it should be. I tried a different input pin but the results are the same. I'm think the issue is somewhere in my HAL or INI files, but I am not sure where. I have set the homing_sequence for both X and X2 to -1 and they both start homing, X just never ends. HAL and INI files are attached. Any help is appreciated!

Jurre

 

File Attachment:

File Name: CNC_V7_2022-10-21.hal
File Size:12.42 KB
 

File Attachment:

File Name: CNC_V7_2022-10-21.ini
File Size:5.06 KB

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

More
4 years 1 week ago #254698 by PCW
Replied by PCW on topic Dual axis homing
net x-home-sw => joint.0.home-sw-in

should be

net min-home-x => joint.0.home-sw-in

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

More
4 years 1 week ago #254942 by Jurre
Replied by Jurre on topic Dual axis homing
It worked. Thank you!

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

More
2 years 11 months ago - 2 years 11 months ago #286623 by vossie001
Replied by vossie001 on topic Dual axis homing - fix
to get it fixed did you generate the initial ini + hal file with PNCconf and then manual change "net x-home-sw => joint.0.home-sw-in" to net min-home-x => joint.0.home-sw-in ?

or was there other settings you also had to fiddle with to get it working?


Rudi
Last edit: 2 years 11 months ago by vossie001.

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

More
2 years 11 months ago - 2 years 11 months ago #286626 by vossie001
If anyone has a working HAL + INI file they can share it would be greatly appreciated so that i can compare to mine and play around with

For XYYZ machine [Dual Y Gantry]
Homes at the top right back.
All XYYZ have their own Min Limit Switch + [Max Limit / Home]
Mesa 7i96s but any mesa sample will help.

I can get the X / Z working successfully with the files generated from PNCconf on linuxCNC 2.9.1.
But the second tandem axis on Y just does it own thing when homing and not stop.
The 2 Y's start nicely together when home all but then the second just keeps going.

Rudi
Last edit: 2 years 11 months ago by vossie001.

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

More
2 years 11 months ago - 2 years 11 months ago #286627 by pommen
Have a look at:
linuxcnc.org/docs/html/config/ini-homing.html#_configuration  
chapter 6.11. HOME_SEQUENCE describes what you need to do.
Your two Y axies(joints) need to homed as synchronized, if i remember correctly.

[JOINT_0]HOME_SEQUENCE = 0
[JOINT_1]HOME_SEQUENCE = -1
[JOINT_2]HOME_SEQUENCE = -1

/Peter
edit: added link
Last edit: 2 years 11 months ago by pommen.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum