- Posts: 16
- Thank you received: 0
Error in PnCConf with 7I76E
5 years 5 months ago #208921
by teebee
Error in PnCConf with 7I76E was created by teebee
I want to use the Mesa 7i76e together with LinuxCNC to control my lathe. My pc is a 32 bit.
uname -a
Linux debian 4.9.0-8-rt-686-pae #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) i686 GNU/Linux
Connecting the card to the PC works. When I want to run the the Pncconf and test the x axis I get the following error:
"Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pncconf/pages.py", line 1068, in on_xaxistune_clicked
def on_xaxistune_clicked(self, *args): self.t.tune_axis('x')
File "/usr/lib/pymodules/python2.7/pncconf/tests.py", line 463, in tune_axis
if not self.a.check_for_rt():
File "/usr/bin/pncconf", line 1640, in check_for_rt
elif hal.is_rt and not hal.kernel_version == actual_kernel:
AttributeError: 'module' object has no attribute 'kernel_version'"
Is there anyone who can help me with this or do I have the wrong operating system? Are there other ways where I don't have this problem? Thanks in advance.
uname -a
Linux debian 4.9.0-8-rt-686-pae #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) i686 GNU/Linux
Connecting the card to the PC works. When I want to run the the Pncconf and test the x axis I get the following error:
"Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pncconf/pages.py", line 1068, in on_xaxistune_clicked
def on_xaxistune_clicked(self, *args): self.t.tune_axis('x')
File "/usr/lib/pymodules/python2.7/pncconf/tests.py", line 463, in tune_axis
if not self.a.check_for_rt():
File "/usr/bin/pncconf", line 1640, in check_for_rt
elif hal.is_rt and not hal.kernel_version == actual_kernel:
AttributeError: 'module' object has no attribute 'kernel_version'"
Is there anyone who can help me with this or do I have the wrong operating system? Are there other ways where I don't have this problem? Thanks in advance.
Please Log in to join the conversation.
5 years 5 months ago #208933
by PCW
Replied by PCW on topic Error in PnCConf with 7I76E
I think pncconfs test axis feature has some bugs, I would just run LinuxCNC
Please Log in to join the conversation.
5 years 5 months ago #208982
by teebee
Replied by teebee on topic Error in PnCConf with 7I76E
When I run linuxcnc and test the motors there, the motor only moves forward a very short distance (a number of degrees). I have sorted out the circuit, but the problem is not there. This project is the first time I come into contact with CNC. I don't know where the problem lies. I hope to find answers here.
Please Log in to join the conversation.
5 years 5 months ago #209008
by PCW
Replied by PCW on topic Error in PnCConf with 7I76E
Do you get an error message?
Does LinuxCNCs DRO continue to change?
Is there a fault shown on your drives?
Does LinuxCNCs DRO continue to change?
Is there a fault shown on your drives?
Please Log in to join the conversation.
5 years 5 months ago #209009
by andypugh
How did you install LinuixCNC?
When the motor stops moving, is there any error message?
Replied by andypugh on topic Error in PnCConf with 7I76E
teebee wrote: Is there anyone who can help me with this or do I have the wrong operating system?
How did you install LinuixCNC?
When the motor stops moving, is there any error message?
Please Log in to join the conversation.
5 years 5 months ago #209057
by teebee
Replied by teebee on topic Error in PnCConf with 7I76E
Thanks for the answers!
hm2/hm2_7i76e.0: stepgen.01.maxvel is too big for current step timings & position-scale, clipping to max possible
If I change "Continuous" to 0.01mm or smaller the motor rotates in short pieces every time I click. I also find it strange that when I click on the + or - the motor rotates in the same direction every time.
Normally you can find my .hal and .ini file in the attachments. I made this pncconf to test my 2 stepper motors.
When I want to run my x-axis motor on "Continuous" I get the following error:Do you get an error message?
hm2/hm2_7i76e.0: stepgen.01.maxvel is too big for current step timings & position-scale, clipping to max possible
I don't get an error message on my driver.Is there a fault shown on your drives?
If I change "Continuous" to 0.01mm or smaller the motor rotates in short pieces every time I click. I also find it strange that when I click on the + or - the motor rotates in the same direction every time.
I downloaded this version (linuxcnc-stretch-uspace-i386-r13.iso). I installed this version on my PC using RUFUS and a USB stick.How did you install LinuixCNC?
What is LinuxCNCs DRO?Does LinuxCNCs DRO continue to change?
Normally you can find my .hal and .ini file in the attachments. I made this pncconf to test my 2 stepper motors.
Please Log in to join the conversation.
5 years 5 months ago #209092
by PCW
Replied by PCW on topic Error in PnCConf with 7I76E
You have (on the X axis)
STEP_SCALE = 1000000.0
Do you really have 1 nm per step?
Step scale is in units of steps/mm
(or steps/inch with imperial units)
STEP_SCALE = 1000000.0
Do you really have 1 nm per step?
Step scale is in units of steps/mm
(or steps/inch with imperial units)
Please Log in to join the conversation.
5 years 5 months ago #209232
by teebee
Replied by teebee on topic Error in PnCConf with 7I76E
This is indeed not correct.
- I have a stepper motor of 200 steps/rev
- The stepper driver is set to 2000 steps/rev
- Leadscrew metric pitch: 2mm/rev
So if I calculate correctly the motor gives 1000 steps/mm
I changed STEP_SCALE = 1000000.0 to STEP_SCALE = 1000.0
If I now open LinuxCNC and test the X-axis motor, the motor does not work correctly. I have set the distance to 1mm. So normally the motor should turn half a revolution everytime I click.
When I click I feel the motor do something. I think the motor is turning a very small amount. But this is hardly visible to the eye.
Hopefully you understand me and know what I can do about it?
- I have a stepper motor of 200 steps/rev
- The stepper driver is set to 2000 steps/rev
- Leadscrew metric pitch: 2mm/rev
So if I calculate correctly the motor gives 1000 steps/mm
I changed STEP_SCALE = 1000000.0 to STEP_SCALE = 1000.0
If I now open LinuxCNC and test the X-axis motor, the motor does not work correctly. I have set the distance to 1mm. So normally the motor should turn half a revolution everytime I click.
When I click I feel the motor do something. I think the motor is turning a very small amount. But this is hardly visible to the eye.
Hopefully you understand me and know what I can do about it?
Please Log in to join the conversation.
5 years 5 months ago #209233
by teebee
Replied by teebee on topic Error in PnCConf with 7I76E
The errors that I normally got in LinuxCNC are now gone.
Please Log in to join the conversation.
5 years 5 months ago #209234
by Clive S
So what did you change ?
Replied by Clive S on topic Error in PnCConf with 7I76E
teebee wrote: The errors that I normally got in LinuxCNC are now gone.
So what did you change ?
Please Log in to join the conversation.
Time to create page: 0.196 seconds
