MPCNC help with Homing switches on LPT board

More
16 Jun 2024 15:03 - 16 Jun 2024 15:07 #303111 by dredivan
Hi
I have MPCNC with 5 motors, 5 homing switches (X - dual, Y - dual, Z) and 1 probe swith. Now all work on chines LPT BOB with Mach3. I want to use LinuxCNC with this LPT board.
Here is Mach3 input configuration:
LPT 10 - Homing Y 
LPT 11 - Homing B (X Slave)
LPT 12 - Homing A (Y Slave) and Homing Z
LPT 13 - Homing X
LPT 15 - Probe

Please help, how can I configurate Homing A and Homing Z on same input LPT 12?
 
Last edit: 16 Jun 2024 15:07 by dredivan.

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

More
29 Jun 2024 08:53 #304006 by andypugh
In Stepconf you can only pick one function for each parallel port pin, but that doesn't mean that LinuxCNC doesn't support it.

Create a config with Z-home not allocated, then when the config is finished, edit the HAL file by hand.

You will see a line looking something like:
net home_Y2 parport.0.pin-12-in joint.3.home

Edit that to say
net home_Y2 parport.0.pin-12-in joint.3.home joint.4.home

If you want you can also change the signal name (home_Y2) to something that makes more sense to you.

Also, I am guessing the joint-to-axis allocations, so the numbers above might not be right. Adapt the numbers to suit your actual config.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum