Schaublin 125-CNC retrofit.

  • RotarySMP
  • RotarySMP's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Apr 2026 16:30 #345110 by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
I tried running just the turret.comp under halrun, and have the same result as Andy. It works.
 

But when I call it from my custompostgui.hal, it errors out. See attached error logs.
Cheers,
Mark
 
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 Apr 2026 17:10 #345112 by tommylight
Replied by tommylight on topic Schaublin 125-CNC retrofit.
You still have the:
.turret.hal:1: Unknown command ''
error, there is something on the first line of that file causing the error.
Try running it through a dos/win to Linux script, might be some strange character there.
The following user(s) said Thank You: RotarySMP

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

More
03 Apr 2026 17:44 #345118 by andypugh
Replied by andypugh on topic Schaublin 125-CNC retrofit.

If I fall back on somehing like 2.8.4 buster ISO, do I loose your latest macros layout?

I think that it should work as long as you have GTK3
The following user(s) said Thank You: RotarySMP

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

  • RotarySMP
  • RotarySMP's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Apr 2026 17:54 #345119 by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

You still have the:
.turret.hal:1: Unknown command ''
error, there is something on the first line of that file causing the error.
Try running it through a dos/win to Linux script, might be some strange character there.

 

Yeah, I see that too.

I tried a few different ways to identify and remove strange characters, and even completely rewrote the code by hand into visual code studio. It compiles without error and runs without error in Halrun, but only fails as part of a full linuxcnc start.

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

More
03 Apr 2026 17:54 #345120 by Aciera
Replied by Aciera on topic Schaublin 125-CNC retrofit.
Are looking at the right file? The error is in 'turret.hal' (ie the hal file) NOT 'turret.comp' (the component)
The following user(s) said Thank You: RotarySMP, tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 Apr 2026 18:06 #345122 by tommylight
Replied by tommylight on topic Schaublin 125-CNC retrofit.

Are looking at the right file? The error is in 'turret.hal' (ie the hal file) NOT 'turret.comp' (the component)

Yes, this.
The following user(s) said Thank You: RotarySMP

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

  • RotarySMP
  • RotarySMP's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Apr 2026 18:35 #345125 by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
Oh. Doh!!!!!

Thanks a lot. I was so focused on the comp, I missed the obvious.
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 Apr 2026 19:06 #345126 by tommylight
Replied by tommylight on topic Schaublin 125-CNC retrofit.
Blame this on me, despite me writing this a few posts back:

You still have the:
....

I was convinced the comp issue is separate from this one, and was wondering why are you testing the comp since it is not mentioned in the error report...
Should have raised a flag ... or a smoke signal, wold have probably been more useful.

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

  • RotarySMP
  • RotarySMP's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Apr 2026 19:17 #345127 by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
I really needed a slap upside the head! :)

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

Moderators: piasdom
Time to create page: 0.168 seconds
Powered by Kunena Forum