All limit switches on one input with bl-mach3 bob
- Lpkkk
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 5
25 Mar 2024 19:01 #296758
by Lpkkk
Replied by Lpkkk on topic All limit switches on one input with bl-mach3 bob
Update:
I've tried that but it didn't work. Signal was always true. I've gave up with that board. I had also Hy-jk02-m at home, so I've connected this one instead. No issues with this board. I've connected limits same way and It works. The only change is inverting input pin. I haven't got time testing homing yet, probably later today will do it. Thank you very much for all advices, hopefully homing will be OK
I've tried that but it didn't work. Signal was always true. I've gave up with that board. I had also Hy-jk02-m at home, so I've connected this one instead. No issues with this board. I've connected limits same way and It works. The only change is inverting input pin. I haven't got time testing homing yet, probably later today will do it. Thank you very much for all advices, hopefully homing will be OK
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2245
- Thank you received: 481
25 Mar 2024 19:16 #296759
by Clive S
Replied by Clive S on topic All limit switches on one input with bl-mach3 bob
Have you connected 12-24v? to the bob as it requires both 5V + 12-24v
Please Log in or Create an account to join the conversation.
- Lpkkk
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 5
25 Mar 2024 20:51 - 25 Mar 2024 22:07 #296770
by Lpkkk
Replied by Lpkkk on topic All limit switches on one input with bl-mach3 bob
I've powered bl-mach bob with usb only. It works OK without any other power supply. I even done a test cut with it. So I believe 12-24v are for spindle. For spindle I'm using modbus so I could skip that.
Homing is still don't working. During homing x axis joint 1 and 2 limit switch are triggered.
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 1
Is set on all 3 axis, but it doesn't seems to work.
Homing is still don't working. During homing x axis joint 1 and 2 limit switch are triggered.
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 1
Is set on all 3 axis, but it doesn't seems to work.
Last edit: 25 Mar 2024 22:07 by Lpkkk.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2245
- Thank you received: 481
26 Mar 2024 08:21 #296798
by Clive S
Replied by Clive S on topic All limit switches on one input with bl-mach3 bob
I say again the board needs 12-24v for the inputs to function
Please Log in or Create an account to join the conversation.
- Lpkkk
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 5
26 Mar 2024 12:46 #296814
by Lpkkk
Replied by Lpkkk on topic All limit switches on one input with bl-mach3 bob
I've changed Bob yesterday to hy-jk02-m. With this one I don't have that kind of issues.
How can I ignore other switches during homing?
How can I ignore other switches during homing?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4987
- Thank you received: 1455
26 Mar 2024 14:55 - 26 Mar 2024 14:57 #296819
by Todd Zuercher
Replied by Todd Zuercher on topic All limit switches on one input with bl-mach3 bob
Your other board requires the 12v-24v connection for the spindle output AND the inputs to function. The inputs are run through 12v isolation chips, and the inputs will not work without the aux 12v power supplied.
The input terminals will float at around 11v when the 12v-24v power supply is connected to the board. They are switched by being pulled low by connecting the input terminal to the 0v ground reference of the 12v-24v power supply.
The outputs (except for the 0-10v analog spindle output) are all 5v and only require the 5v supplied by the USB plug or one of the 5v terminal connections.
The input terminals will float at around 11v when the 12v-24v power supply is connected to the board. They are switched by being pulled low by connecting the input terminal to the 0v ground reference of the 12v-24v power supply.
The outputs (except for the 0-10v analog spindle output) are all 5v and only require the 5v supplied by the USB plug or one of the 5v terminal connections.
Last edit: 26 Mar 2024 14:57 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4987
- Thank you received: 1455
26 Mar 2024 15:07 #296821
by Todd Zuercher
Replied by Todd Zuercher on topic All limit switches on one input with bl-mach3 bob
To Ignore the limit switches during homing you have to add the following line to each of the [JOINT_N] sections in your config's ini file.I've changed Bob yesterday to hy-jk02-m. With this one I don't have that kind of issues.
How can I ignore other switches during homing?
HOME_IGNORE_LIMITS = YES
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4987
- Thank you received: 1455
26 Mar 2024 15:13 #296822
by Todd Zuercher
Replied by Todd Zuercher on topic All limit switches on one input with bl-mach3 bob
You may also need this line (or change the value from 0 to 1)
HOME_IS_SHARED = 1
Please Log in or Create an account to join the conversation.
- Lpkkk
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 5
26 Mar 2024 17:04 #296824
by Lpkkk
Replied by Lpkkk on topic All limit switches on one input with bl-mach3 bob
Thank you for your explanation Todd. Now it is clear to me.
I've already wrote :
Homing is still don't working. During homing x axis joint 1 and 2 limit switch are triggered.
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 1
Is set on all 3 axis, but it doesn't seems to work.
So I've added mentioned by you but it didn't work.
I've already wrote :
Homing is still don't working. During homing x axis joint 1 and 2 limit switch are triggered.
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 1
Is set on all 3 axis, but it doesn't seems to work.
So I've added mentioned by you but it didn't work.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4987
- Thank you received: 1455
27 Mar 2024 12:29 #296892
by Todd Zuercher
Replied by Todd Zuercher on topic All limit switches on one input with bl-mach3 bob
Just a guess, but changes made to the configs ini or hal files are not live. They are only read when first starting a Linuxcnc configuration. In other words you must restart Linuxcnc for changes made to the ini or hal files to take effect
When you toggle one of the home switches, can you see the input value change in Linuxcnc using either Halmeter or the watch screen in Halshow?
When none of the joints are triggering the home switch is the value of parport.0.pin-15-in "true" or "false" in Halmeter?
If "parport.0.pin-15-in" has the value of "true" when none of the joints are against or triggering the home switches, then you will need to invert that signal by using the pin "parport.0.pin-15-in-not" instead of "parport.0.pin-15-in" in your hal file.
When you toggle one of the home switches, can you see the input value change in Linuxcnc using either Halmeter or the watch screen in Halshow?
When none of the joints are triggering the home switch is the value of parport.0.pin-15-in "true" or "false" in Halmeter?
If "parport.0.pin-15-in" has the value of "true" when none of the joints are against or triggering the home switches, then you will need to invert that signal by using the pin "parport.0.pin-15-in-not" instead of "parport.0.pin-15-in" in your hal file.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.120 seconds