WHB04B-6 wheel does not run
I'm trying to implement an MPG WHB04B-6 on a machine, I've followed some well-known tutorials as well as the documentation about it, I'll tell you... loading and configuring the receiver ok, testing via terminal ok too, but once the file is created .hal of the MPG with its respective call in the INI, the first thing that has caught my attention is that a lot of signal errors have been appearing that are already linked when starting the machine.
To make some first tests and see that the steering wheel works I have been deactivating lines with "#" to be able to turn on the machine. Once I get it, I open the HAL configuration and test the buttons and others, everything is fine, I press, they work, the homming makes the machine start home, start starts the program, the axis and step selectors do what is expected, etc. but when turning the wheel doesn't move or do anything.
I attach the .hal file of the wheel to see if you can help me, I don't know if the error comes from one of the lines that gave me an error is the one that links the machine.is-on signals.
Please Log in or Create an account to join the conversation.
I don't know what it should really link with, in the HAL configuration they appear but referred to joint not axis.
Some help?
Thx.
Please Log in or Create an account to join the conversation.
# "selected axis" signals
#####net pdnt.axis.X.select whb.halui.axis.x.select halui.axis.x.select
#####net pdnt.axis.y.select whb.halui.axis.y.select halui.axis.y.select
#####net pdnt.axis.Z.select whb.halui.axis.z.select halui.axis.z.select
#####net pdnt.axis.A.select whb.halui.axis.a.select halui.axis.a.select
net pdnt.axis.X.select whb.halui.axis.x.select
net pdnt.axis.y.select whb.halui.axis.y.select
net pdnt.axis.Z.select whb.halui.axis.z.select
net pdnt.axis.A.select whb.halui.axis.a.select
And run linuxcnc in terminal. You can see some issues direct and open second terminal and type
sudo tail -f /var/log/messages
Please Log in or Create an account to join the conversation.
I will look at it carefully. A priori, everything seems very different from the documentation file and somewhat complicated , I see that you even have a mux. What I will look at are the posts you have attached (great idea, I'm writing it down). Nothing conflicts with the HAL file? I see that you have lines that I had to comment out, such as halui.machine.is-on and the like.
Please Log in or Create an account to join the conversation.
Same as "halui.machine.is-off". Usually is this Pin used in your first level *.hal and that the reason why you get trouble here. So disable this line in the other *.hal file or write "whb.halui.machine.is-on" at this place too.
net machine.is-on halui.machine.is-on whb.halui.machine.is-on
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
ini, io, axis, mpg, spindle, pyvcp, and post_gui. Not so easy to look all over but I like it short.
Please Log in or Create an account to join the conversation.
What driver stick are you referring to? if I do that in the second terminal it returns this:And run linuxcnc in terminal. You can see some issues direct and open second terminal and typesudo tail -f /var/log/messagesPlug in your driver stick. You will see direct message log from kernel or driver errors
"tail: cannot open '/var/log/messages' for reading: No such file or directory
tail: no files remaining"On the other hand, reading the file that you have attached (thank you very much), as far as I can understand, everything related to wheel jogging is done through the ilowpass and mpgsteps pins that you have created, should I do the same?
As a detail and in case it is relevant, the machine in particular is a gantry type, with dual Y axis, joint1 and joint2, although I see that the jogging is aimed at the axis.
Thx.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Really the only thing I would need to know is how and with which I have to link the jog signals.
As you will have seen I am a complete ignorant in HAL, I am completely lost.
Please Log in or Create an account to join the conversation.