HAL Connections
I tried to connect it according to the manual.
It could not be complete by my poor skill about linux though it could be shown into a tab.
gnipsel.com/linuxcnc/gladevcp/gladevcp03.html
If I could do it, I would connect them to EMC action Run and action (all) home with new buttons like the way.
Please let me know that too.
Regard
Please Log in or Create an account to join the conversation.
I attached them on this again.
Please Log in or Create an account to join the conversation.
Did you use the Stepconf Wizard to generate your configuration?
If so change
net spindle-state gladevcp.hal_led1 <= motion.spindle-on
to
net spindle-on gladevcp.hal_led1
John
Please Log in or Create an account to join the conversation.
Your line
net spindle-state <= motion.spindle-on
is conflicting with another HAL command
net spindle-on <= motion.spindle-on.
The solution is to re-use the spindle-on signal, ie change your postgui file entry to
net spindle-on gladevcp.hal_led1
It will then crash at the next line, because I suspect that motion.spindle-speed-out is also already net-ed.
The next line in the postgui HAL needs to read (at a guess)
net spindle-speed gladevcp.hal_meter1
(though I am not entirely sure what signal name stepconf will have chosen for the spindle speed)
Please Log in or Create an account to join the conversation.
Hi all,
I tried to connect it according to the manual.
It could not be complete by my poor skill about linux though it could be shown into a tab.
gnipsel.com/linuxcnc/gladevcp/gladevcp03.html
If I could do it, I would connect them to EMC action Run and action (all) home with new buttons like the way.
Please let me know that too.
Regard
That is a tutorial and relies on you using the supplied configuration files from the tutorial.
John
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
I was going to do it.
I mean, done.
Now I found that I took a mistake about hal_led1.
It moved. Sorry so much.
"net spindle-on gladevcp.hal_led1"
but hal_meter1 was not moving.
I could also do it about hal_meter1.
It was correct below.
"net spindle-cmd gladevcp.hal_meter1"
I left a mistake for someone.
Thank you.
shine
Please Log in or Create an account to join the conversation.
It will be able to count the number of times to be turned on by hal_ led?
How should I do it as setting if possible?
Please give advice to me.
Regard.
shine
Please Log in or Create an account to join the conversation.
It will be able to count the number of times to be turned on by hal_ led?
Possibly. You could use a hal encoder module counter mode, for example. Or add some code to the Glade.
There might even be a counter as a Glade Hal widget. (I haven't used Glade much yet)
Please Log in or Create an account to join the conversation.