- Configuring LinuxCNC
- Basic Configuration
- Update: Races through first cycle upon first start up. Fine afterwards.
Update: Races through first cycle upon first start up. Fine afterwards.
- TheTinkeringMechanic1
- Offline
- Senior Member
-
Less
More
- Posts: 50
- Thank you received: 3
01 May 2026 22:30 #346087
by TheTinkeringMechanic1
Update: Races through first cycle upon first start up. Fine afterwards. was created by TheTinkeringMechanic1
Not long ago I finally got some down time with the machine and dug into the issue I was having. I'm posting this for anyone who might have a similar issue of strange happenings where it'll act weird on the first run then act fine after or act fine on the first run then act weird on the next.
This is how I found it: We got a new job and I was programing a radius cut for football shaped rollers that go into omni wheels or mecanum wheels for a robotics company. When I started the program it would follow the radius on the first pass just as programmed, although way too fast. The exact issue I had before. But this time when I ran the same program again I got a warning saying "current point same as endpoint of arc" this told me I lost or had conflicting gcode in my preamble. Namely G18 which is used for circular interpolation needed for a G2/G3 arc. So I started digging into my .INI file and there was a line called [ RS274NGC_STARTUP_CODE = ] Here was string NC codes that conflicted with the preamble I had in the program. I removed these and the problem completely vanished. No more racing on first run, no more weird errors. I hope this helps others who maybe having a similar issue.
This is how I found it: We got a new job and I was programing a radius cut for football shaped rollers that go into omni wheels or mecanum wheels for a robotics company. When I started the program it would follow the radius on the first pass just as programmed, although way too fast. The exact issue I had before. But this time when I ran the same program again I got a warning saying "current point same as endpoint of arc" this told me I lost or had conflicting gcode in my preamble. Namely G18 which is used for circular interpolation needed for a G2/G3 arc. So I started digging into my .INI file and there was a line called [ RS274NGC_STARTUP_CODE = ] Here was string NC codes that conflicted with the preamble I had in the program. I removed these and the problem completely vanished. No more racing on first run, no more weird errors. I hope this helps others who maybe having a similar issue.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Basic Configuration
- Update: Races through first cycle upon first start up. Fine afterwards.
Time to create page: 0.084 seconds