4th axis is running but nothing else

More
07 Jul 2022 04:08 #246773 by spumco
Replied by spumco on topic 4th axis is running but nothing else
I think you're now dealing with computer / parallel port / stepgen frequency issues - something I'm not remotely competent to address.

But you may be trying to spin the steppers too fast, although now that I think about it that would probably be a 'following error' and not realtime delay.  See? not in my wheelhouse.

But can you set - temporarily - ALL the axis & joint values in INI file to the same value as A-axis/Joint3 and see what happens? Just copy everything except the names.  If they start working and turning the same speed as the A-axis motor that might be an instructive result.  Don't forget to set the microstepping on the X/Y/Z drives the same as on A (again, temporarily).

There are some very clever folks on this forum who should be able to help.

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

More
07 Jul 2022 13:51 #246802 by tommylight
Replied by tommylight on topic 4th axis is running but nothing else
Are you sure the step/dir pins are not reversed?
In your hal file the pin 2 is set as dir, in almost all configs it should be step. Same for all axis in your hal.
Can you try changing just one axis to nkrmal pinout, meaning pin 2 step and pin 3 dir and test?

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

More
07 Jul 2022 13:54 #246803 by performax
Replied by performax on topic 4th axis is running but nothing else
I tried that and got no reaction. According to Mach 3 this is the pin config for a MicroProto Controller.

I am starting to think its this PC. It is an old Dell GX620 running a Pentium 4.

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

More
07 Jul 2022 21:03 #246835 by performax
Replied by performax on topic 4th axis is running but nothing else
I dont know what these mean or what a value should be. I am guessing since the largest value in conf wizard is 50000, this computer isnt up to the task?

Any insight appreciated.


Latency test numbers:
Max Jitter
Servo Thread 1527818
Base thread 87784

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

More
07 Jul 2022 21:09 #246836 by tommylight
Replied by tommylight on topic 4th axis is running but nothing else
That does not look good.
What Linux/LinuxCNC version are you using?
In a terminal
uname -a
What does it return?

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

More
07 Jul 2022 23:26 #246842 by performax
Replied by performax on topic 4th axis is running but nothing else
Linux debian 4.19.0-17-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux

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

More
07 Jul 2022 23:42 #246844 by tommylight
Replied by tommylight on topic 4th axis is running but nothing else
You can install the RTAI kernel, should have much better latency:
linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI

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

More
08 Jul 2022 15:51 - 08 Jul 2022 15:55 #246876 by performax
Replied by performax on topic 4th axis is running but nothing else
Max jitter is now 30000. Machine runs much better. steppers are the exact same though. 4th axis works like a champ, in testing on conf wizard. Once I launch mill and try to jog I can almost count the steps on the motor as it seems to be running much slower.

In conf wizard am I only running on hal file? where in axis I am running hal plus ini?
Last edit: 08 Jul 2022 15:55 by performax.

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

More
08 Jul 2022 15:58 #246878 by tommylight
Replied by tommylight on topic 4th axis is running but nothing else
I have to ask this, are you sure you have the scaling and steps per unit set correctly?
Set the velocity higher, say 10 and test again, do not forget to set the jogging slider to the max.

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

More
08 Jul 2022 17:00 #246884 by spumco
Replied by spumco on topic 4th axis is running but nothing else
Maybe I missed this earlier, but what drives are you using?

What, if any, microstep and current settings do you have them set to?

Were you able to pull up your Mach3 settings for comparison?

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

Time to create page: 0.190 seconds
Powered by Kunena Forum