- Posts: 27
- Thank you received: 0
binary works - compilation not smoothly???
8 years 3 months ago #113521
by schorsch
binary works - compilation not smoothly??? was created by schorsch
Hi there,
I have been using linuxcnc for quite a while now. I have a very old Version (2.4.something). I'm using the realtime kernel of an old Linux cnc System. This works really nice.
Now I'm trying to install a 4th axis and wanted to change to the latest linuxcnc (current git master). I also added the rot4thaxiskins from the wiki and adapted the Makefile. Compilation works.
I am using the old ini files (with some apations because ofthe JOINTS Concept and the new kinematics. This works!
But when I am jogging the axis they are not running smoothly…? Did I do thingting wrong during compilation. For me it seems (actually it sounds) that the step-distance is jittering…?
Any hint?
Thanks
Georg
I have been using linuxcnc for quite a while now. I have a very old Version (2.4.something). I'm using the realtime kernel of an old Linux cnc System. This works really nice.
Now I'm trying to install a 4th axis and wanted to change to the latest linuxcnc (current git master). I also added the rot4thaxiskins from the wiki and adapted the Makefile. Compilation works.
I am using the old ini files (with some apations because ofthe JOINTS Concept and the new kinematics. This works!
But when I am jogging the axis they are not running smoothly…? Did I do thingting wrong during compilation. For me it seems (actually it sounds) that the step-distance is jittering…?
Any hint?
Thanks
Georg
Please Log in or Create an account to join the conversation.
8 years 3 months ago #113700
by andypugh
Replied by andypugh on topic binary works - compilation not smoothly???
Are the acceleration settings the same as they were?
High accel and MPG pulses can sound bad.
But if it worked before it should still work.
Maybe the INI doesn't have entries for both the Axis and Joint accel / velocity limits?
High accel and MPG pulses can sound bad.
But if it worked before it should still work.
Maybe the INI doesn't have entries for both the Axis and Joint accel / velocity limits?
Please Log in or Create an account to join the conversation.
8 years 3 months ago #113708
by schorsch
Replied by schorsch on topic binary works - compilation not smoothly???
Hello Andy,
thanks for the quick Reply.
Everything is as it was before.this auto-conversion tool did the Settings for the missing joints itself
I will check the config and upload it later.
from my point of view either the pulses are too short, or they are not in constant intervals. I can check this with an oscilloscope in the next days.
Might it be that I'm running without realtime kernel option somehow??
Thanks
Georg
thanks for the quick Reply.
Everything is as it was before.this auto-conversion tool did the Settings for the missing joints itself
I will check the config and upload it later.
from my point of view either the pulses are too short, or they are not in constant intervals. I can check this with an oscilloscope in the next days.
Might it be that I'm running without realtime kernel option somehow??
Thanks
Georg
Please Log in or Create an account to join the conversation.
8 years 3 months ago #113710
by andypugh
Replied by andypugh on topic binary works - compilation not smoothly???
If you start LinuxCNC from the command line it will tell you if it is using RTAI real-time, POSIX real-time on POSIX non-realtime.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #113965
by schorsch
Replied by schorsch on topic binary works - compilation not smoothly???
Hello Andy et al,
sorry for the late reply, took me one day to repair the power electronics of one axis I destroyed when I was trying to probe the signals...anyhow...working now again.
I figured out that in good working condition my pulses are 50µs long and 3.3V high. In bad working condition they are only 5µs long but some 800-900µs long Signals are in between them. Seems this causes the jitter.
I added a few attachments for the working and non-working cases. You will find the outputs of the startup and the configurations. I'm using the precompiled binary in case of working and the selfmade compilation in case of non-working.
Thanks a lot for your help. Hope you have an idea
Georg
sorry for the late reply, took me one day to repair the power electronics of one axis I destroyed when I was trying to probe the signals...anyhow...working now again.
I figured out that in good working condition my pulses are 50µs long and 3.3V high. In bad working condition they are only 5µs long but some 800-900µs long Signals are in between them. Seems this causes the jitter.
I added a few attachments for the working and non-working cases. You will find the outputs of the startup and the configurations. I'm using the precompiled binary in case of working and the selfmade compilation in case of non-working.
Thanks a lot for your help. Hope you have an idea
Georg
Please Log in or Create an account to join the conversation.
8 years 3 months ago #113984
by andypugh
Replied by andypugh on topic binary works - compilation not smoothly???
Can you give the command-line output all the way from start to exit of LinuxCNC?
Also, what does uname -a say?
Also, what does uname -a say?
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds