Problems with Vista CNC pendent

More
19 Jan 2022 04:48 - 19 Jan 2022 04:49 #232398 by milu
After upgrading to 2.9 (because I have to), I discovered that I can't get my spindle to operate. Not only does the pendent not work for that function, but G3 from the manual input line has no effect. The hal file for my mill is called xyz.hal and includes this line:

xyz.hal:net spindle-on      => parport.0.pin-01-out

And the pendent hal includes the following:vc-p4s.hal:net spindle.is-on halui.spindle.0.is-on =>  vc-p4s.spindle.is-on =11pt 

I changed xyz.hal to replace "spindle-on" with "spindle.is-on" and now both the pendant and G3/G5 work as expected. Is that the correct fix or is the vista code wrong?

  
Last edit: 19 Jan 2022 04:49 by milu.

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

More
19 Jan 2022 05:48 - 19 Jan 2022 05:50 #232400 by ALittleOffTheRails
Spindle are M codes ;)
Last edit: 19 Jan 2022 05:50 by ALittleOffTheRails.

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

More
19 Jan 2022 05:55 #232401 by milu
Sorry, M3/M5. But same question.

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

More
19 Jan 2022 06:47 - 19 Jan 2022 06:49 #232405 by ALittleOffTheRails
Technically if you are trying to match to the vc-ps.hal, your xyz.hal was wrong. On the other hand if you are trying to match your xyz.hal, the vc-ps.hal was wrong.

As long as the signals are the same name you're good to go.

You could have had.
vc-p4s.hal:net scarey.turny.thing.on halui.spindle.0.is-on => vc-p4s.spindle.is-on
And
xyz.hal:net scarey.turny.thing.on => parport.0.pin-01-out

But it kind of looks silly and hard to read later on.

This will give you a better idea.
linuxcnc.org/docs/master/html/hal/intro.html
Last edit: 19 Jan 2022 06:49 by ALittleOffTheRails.

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

More
19 Jan 2022 06:52 #232406 by milu
the xyz.hal was generated, from scratch by stepconf. It seems really odd that linuxcnc wouldn't be able to operate the spindle using the hal file generated by its own tool. But, its been an odd week.

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

More
19 Jan 2022 07:11 #232409 by ALittleOffTheRails
It's more likely whoever created the vista hal file. Was the vista hal file the one from the vistaCNC site ?

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

More
19 Jan 2022 07:37 #232410 by milu
I think its a bug. I just created a second configuration, using stepconf from scratch (no import) without adding the vistaCNC driver code. It does the same thing. The keyboard can jog the table, but the spindle does not respond to g-code.

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

More
19 Jan 2022 08:28 - 19 Jan 2022 08:34 #232411 by ALittleOffTheRails
Well if you think you have found a bug raise an issue on the github page.

In saying that you will need to provide more info. At the very least the gui you are using.

How are you formatting the M code to turn on the spindle ?

Usually in a case like this it is common practice to attach the hal & ini files.
Last edit: 19 Jan 2022 08:34 by ALittleOffTheRails.

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

More
20 Jan 2022 02:17 #232496 by Jake
Subscribed..... As I have a Vista pendant also.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum