ProbeBasic Spindle connection (No Speed indicated, no control possible)

More
18 Oct 2024 21:47 #312552 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:
# 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?
Attachments:

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

More
19 Oct 2024 00:20 #312567 by Lcvette
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.

More
19 Oct 2024 05:32 - 19 Oct 2024 05:53 #312576 by tsaG
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
net spindle-actual-rpm  =>  qtpyvcp.spindle-encoder-rpm.in
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.
Last edit: 19 Oct 2024 05:53 by tsaG.

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

More
19 Oct 2024 09:46 #312585 by Lcvette
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.

More
19 Oct 2024 12:12 #312597 by tsaG
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.

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

More
19 Oct 2024 20:04 #312631 by Lcvette
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.

More
20 Oct 2024 06:39 #312650 by tsaG
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).

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

More
20 Oct 2024 16:15 #312690 by Lcvette
Linux docs for hal things, probe basic docs for the rest

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

Moderators: KCJLcvette
Time to create page: 0.069 seconds
Powered by Kunena Forum