pncconf errors debian 10 buster

More
02 Mar 2022 22:15 #236219 by john_f
I had not used pncconf in the past and now I thought I would try it but I have run into some issues:

1) I invoke the program from the command line  ....$pncconf
2) I select start
3) create a new configuation
4) select forward
5) change the machine name to a new name "testpncconf" and leave all other options in the default state
6) select forward
7) leave all axis GUI settings in default state
8) select forward
9) leave all VCP settings in default state
10) select forward
an error dialog window pops up - see attachment.

for kicks I tried running sudo pncconf and then I was able to make a configuration and save it without error. The issue with that was that then I had
to change the owner of the files from root to my_user_name and move the files from roots home directory.

I was then able to run linuxcnc and select the configuration that I saved except I encountered another error:
in my configuration I selected 7i80HD-Internal Data. The error:

./ClausingCNC.hal:10: parameter or pin 'hm2_7i80hd.0.pwmgnen.pwm_frequency' not found

So here the problem seems to be in the generated hal file where line 10 is:
setp    [HMOT](CARD0).pwmgen.pwm_frequency 200000
note that the generated ini file has the lines: 
[HMOT]
CARD0=hm2_7i80hd.0

but if I edit the ini file so that:
CARD0=hm2_7i80.0

then linuxcnc will start and load the files without errors.

I searched the forum and I didn't see anyone else with these issues. The first one seem seems like it should happen a lot.







 
Attachments:

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

More
21 Mar 2022 07:12 - 23 Mar 2022 22:26 #237883 by tommylight
How did you install LinuxCNC?
Permission issue in the home folder usually mean using sudo where there was no need for it.
>>>>>>>>>Or maybe you used the official ISO and typed in a root password ?
-Edit:
Official 2.8.2 ISO does not ask for root password.
Last edit: 23 Mar 2022 22:26 by tommylight. Reason: correction

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

More
23 Mar 2022 22:13 #238152 by andypugh

Or maybe you used the official ISO and typed in a root password ?

The LinuxCNC ISO doesn't allow you to do that, the root password is pre-seeded as blank so the installer skips it. 
The following user(s) said Thank You: tommylight

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

More
23 Mar 2022 22:25 #238160 by tommylight

Or maybe you used the official ISO and typed in a root password ?

The LinuxCNC ISO doesn't allow you to do that, the root password is pre-seeded as blank so the installer skips it. 


Corrected, thank you.

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

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