Error in PnCConf with 7I76E
- teebee
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
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 or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18528
- Thank you received: 5079
Please Log in or Create an account to join the conversation.
- teebee
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18528
- Thank you received: 5079
Does LinuxCNCs DRO continue to change?
Is there a fault shown on your drives?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
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 or Create an account to join the conversation.
- teebee
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
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 or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18528
- Thank you received: 5079
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 or Create an account to join the conversation.
- teebee
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
- 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 or Create an account to join the conversation.
- teebee
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 481
The errors that I normally got in LinuxCNC are now gone.
So what did you change ?
Please Log in or Create an account to join the conversation.