- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Error from EMC when I add HAL spindleSpeed in pnCC
Error from EMC when I add HAL spindleSpeed in pnCC
19 Jun 2011 00:26 #10611
by 1:1
Error from EMC when I add HAL spindleSpeed in pnCC was created 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:
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
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.
19 Jun 2011 01:25 #10612
by cmorley
Replied by cmorley on topic Re:Error from EMC when I add HAL spindleSpeed in pnCC
its a known problem. and omitting it is the proper work around.
Thanks for reporting it. Any other comments on pncconf is welcome.
Thanks for reporting it. Any other comments on pncconf is welcome.
Please Log in or Create an account to join the conversation.
- NICKKINSMAN
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 0
07 Oct 2011 01:52 - 07 Oct 2011 01:56 #13724
by NICKKINSMAN
Replied by NICKKINSMAN on topic Re:Error from EMC when I add HAL spindleSpeed in pnCC
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!
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.
07 Oct 2011 05:48 #13728
by cmorley
Replied by cmorley on topic Re:Error from EMC when I add HAL spindleSpeed in pnCC
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.
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.
07 Oct 2011 05:55 #13729
by cmorley
Replied by cmorley on topic Re:Error from EMC when I add HAL spindleSpeed in pnCC
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.
another bug that has been fixed but not released yet.
Please Log in or Create an account to join the conversation.
- NICKKINSMAN
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 0
07 Oct 2011 13:18 - 10 Oct 2011 13:40 #13746
by NICKKINSMAN
Replied by NICKKINSMAN on topic pyVCP error in EMC add HAL spindleSpeed PnCConf
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.
- NICKKINSMAN
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 0
07 Oct 2011 13:22 #13748
by NICKKINSMAN
Replied by NICKKINSMAN on topic Adding pyVCP spindle speed bar in PnCConf and HAL
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!
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.
08 Oct 2011 00:30 #13772
by cmorley
Replied by cmorley on topic Re:Adding pyVCP spindle speed bar in PnCConf and HAL
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!
Better then changing the wiki would be to release the fixes!
Please Log in or Create an account to join the conversation.
- NICKKINSMAN
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 0
10 Oct 2011 13:42 #13799
by NICKKINSMAN
Replied by NICKKINSMAN on topic Adding pyVCP spindle speed bar in PnCConf and HAL
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
Thanks!
Nick
Please Log in or Create an account to join the conversation.
10 Oct 2011 19:24 #13813
by cmorley
Replied by cmorley on topic Re:Adding pyVCP spindle speed bar in PnCConf and HAL
what Wiki page were you using?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Error from EMC when I add HAL spindleSpeed in pnCC
Time to create page: 0.762 seconds