ProbeBasic Spindle connection (No Speed indicated, no control possible)
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
18 Oct 2024 21:47 #312552
by tsaG
ProbeBasic Spindle connection (No Speed indicated, no control possible) was created by tsaG
Hey!
I am currently trying to get my machine running. My current issue is that I can not get the connection between my spindle (A BD600 via VFDmod over RS485) working in ProbeBasic. I can change the speed of the spindle using GCODE, so I can confirm that it works. However, I can not see the speed in BasicProbe nor can set the Speed. I think I am missing any HAL connection. My machine hal (iHSV57.hal) is currently a mess but I attached it as well.
My BD600.hal looks as following:
Does anyone know the correct connection? Is there any documentation available?
I am currently trying to get my machine running. My current issue is that I can not get the connection between my spindle (A BD600 via VFDmod over RS485) working in ProbeBasic. I can change the speed of the spindle using GCODE, so I can confirm that it works. However, I can not see the speed in BasicProbe nor can set the Speed. I think I am missing any HAL connection. My machine hal (iHSV57.hal) is currently a mess but I attached it as well.
My BD600.hal looks as following:
# Load VFDmod for spindle control
loadusr -W vfdmod bd600.ini --debug
# Spindle Speed Command (From LinuxCNC to VFDmod)
net spindle-speed-cmd spindle.0.speed-out => vfdmod.spindle.rpm-in
# Spindle Speed Feedback (From VFDmod to LinuxCNC and GUI)
#net spindle-speed-in spindle.0.speed-in <= vfdmod.spindle.rpm-out
# Spindle Direction Control (Forward and Reverse)
net spindle-cw spindle.0.forward => vfdmod.control.run-forward
net spindle-ccw spindle.0.reverse => vfdmod.control.run-reverse
# Spindle Enable/Disable (Start/Stop)
#net spindle-enable spindle.0.on => vfdmod.control.run
# Spindle "At Speed" Feedback
net spindle-at-speed <= vfdmod.spindle.at-speed
# VFD Communication Status
net spindle-comm-ok <= vfdmod.rs485.is-connected
Does anyone know the correct connection? Is there any documentation available?
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
19 Oct 2024 00:20 #312567
by Lcvette
Replied by Lcvette on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
You need to go through the config docs and make sure you're getting the signal and if you're getting the signal and everything is set properly in hal look in the post GUI hal file at the bottom and there's a spindle connection for actual readout, make sure that connection reflects what you have and your main hal file and in the settings tab in probe basic select actual RPM
Please Log in or Create an account to join the conversation.
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
19 Oct 2024 05:32 - 19 Oct 2024 05:53 #312576
by tsaG
Replied by tsaG on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
Thank you! I managed to connect the line and get the actual RPM in the postgui file. However, I am not able to set the speed in the box.
Is there any additional documentation except for this one here?
kcjengr.github.io/probe_basic/machine_co...tion-for-probe-basic
However, as I can control it now with my GCode, its actually sufficient for me but it would still be nice to be able to command the speed by hand.
Is there any additional documentation except for this one here?
kcjengr.github.io/probe_basic/machine_co...tion-for-probe-basic
net spindle-actual-rpm => qtpyvcp.spindle-encoder-rpm.in
Last edit: 19 Oct 2024 05:53 by tsaG.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
19 Oct 2024 09:46 #312585
by Lcvette
Replied by Lcvette on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
tholse fields are read outs not user entries, to set the speed you use mdi, S#### M3/4
Please Log in or Create an account to join the conversation.
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
19 Oct 2024 12:12 #312597
by tsaG
Replied by tsaG on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
Ah, got it. I thought the textfield with the white background would allow to enter a number.
Another question: Are there more information on the Spindle Load indicator? I guess I am missing the HAL connection there as well.
Another question: Are there more information on the Spindle Load indicator? I guess I am missing the HAL connection there as well.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
19 Oct 2024 20:04 #312631
by Lcvette
Replied by Lcvette on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
the hal pin for the load insicator is spindle-load-indicator, just connect in hal as with any other connection, you will need to feed it the analog and give it a scale. the indicator scale in the ui is 0-150%
Please Log in or Create an account to join the conversation.
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
20 Oct 2024 06:39 #312650
by tsaG
Replied by tsaG on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
Great, thanks. I will look into it. Is there any documentation about all the HAL files?
I see that I am also missing some other connections and configurations.
Buttons like „go to zero“ or „go to G30“ are not working (yet).
I see that I am also missing some other connections and configurations.
Buttons like „go to zero“ or „go to G30“ are not working (yet).
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
20 Oct 2024 16:15 #312690
by Lcvette
Replied by Lcvette on topic ProbeBasic Spindle connection (No Speed indicated, no control possible)
Linux docs for hal things, probe basic docs for the rest
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.069 seconds