Error from EMC when I add HAL spindleSpeed in pnCC

More
19 Jun 2011 00:26 #10611 by 1:1
Gidday,

Whenever I select to add the hal spindle speed program I get a line as follows:

"addf servo-thread" - which EMC tells me its expecting two arguments from - fair enough!

In context its like this:
addf abs.spindle servo-thread
addf scale.spindle servo-thread
addf lowpass.spindle servo-thread
addf servo-thread
addf near.0 servo-thread
addf hm2_5i22.0.write servo-thread

I've deleted the line and EMC loads now but I wonder if there was meant to be anything in there that omitting like that will bite me in the bum ?

Cheers,
Nick

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

More
19 Jun 2011 01:25 #10612 by cmorley
its a known problem. and omitting it is the proper work around.
Thanks for reporting it. Any other comments on pncconf is welcome.

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

More
07 Oct 2011 01:52 - 07 Oct 2011 01:56 #13724 by NICKKINSMAN
Question on this one, I have this same problem when adding the spindle speed bar pyVCP in PncConf. It allows the add, and notes the overwrite. When I check out the custom.xml file, it has the code there.

EMC works fine prior, but won't load after. I don't see anywhere where the code string referenced above is located to fix?

I've tried to follow A nice Axis wiki which shows the pin and halfile setups, and I added;

net spindle-rpm-filtered => pyvcp.spindle-speed

to the POSTGUI_HALFILE.

However, the wiki does not go on to verify what code you need to get the spindle-rpm-filtered in my Hal file and I am at a loss what code to add there??
I have a quatrature encoder input - A, B & I - I get I would use the I pin, (1 pulse/rev) but not sure how to set it up.

Thanks!
Last edit: 07 Oct 2011 01:56 by NICKKINSMAN.

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

More
07 Oct 2011 05:48 #13728 by cmorley
I'm not understanding which problem you are asking about. What is the error given?

in the about sample its the line :

addf servo-thread

that needs to be removed.
there may be another bug too I will check the log.

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

More
07 Oct 2011 05:55 #13729 by cmorley
In the custom_postgui file you will need to change the scaling setting from .01667 to 60
another bug that has been fixed but not released yet.

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

More
07 Oct 2011 13:18 - 10 Oct 2011 13:40 #13746 by NICKKINSMAN
Thanks - I was making the mistake, after much head scratching, I was ablet to figure it out. For anyone else make sure you check the box 'add HAL components' in PncConf when you select the Spindle speed pyVCP, otherwise the string will not show up in the HAL file. And as an FYI, each time you re-run PncConf, you have to re-delete the 'addf servo-thread' line. AND change the 0.1667 to 60.
Last edit: 10 Oct 2011 13:40 by NICKKINSMAN.

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

More
07 Oct 2011 13:22 #13748 by NICKKINSMAN
OK, I will check out the scaling. I ran into that problem and in tracking it down I ended up changing the spindle scale to 1.0 in the .ini file as it was where I thought the scale error was coming from. I didn't think that could be right though as it must be couting more than 1/rev.

Thanks for the head's up!

PS - I'm not sure who has wiki access, but it would sure be nice if they could add these notes on setting it up in the wiki under pyVCP. It has a great procedure, and goes thoru adding the spindle speed bar very well, but without these details on the bug problem, you are stuck!

Thanks!

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

More
08 Oct 2011 00:30 #13772 by cmorley
Anybody can have Wiki access. You just have to sign up - then your good to go.

Better then changing the wiki would be to release the fixes!

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

More
10 Oct 2011 13:42 #13799 by NICKKINSMAN
I hear you, but in the interim.....and for those who may inherit.......I would agree those who are using now should have it figured out!!

Thanks!
Nick

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

More
10 Oct 2011 19:24 #13813 by cmorley
what Wiki page were you using?

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

Moderators: cmorley
Time to create page: 0.206 seconds
Powered by Kunena Forum