Please help - Endless loop

  • RotarySMP
  • RotarySMP's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
06 Jan 2026 17:38 - 06 Jan 2026 18:27 #341078 by RotarySMP
Please help - Endless loop was created by RotarySMP
Hi Guys,

I must have an endless loop in this program, as LCNC hangs as soon as I load it. 
I have been through it twice, and can't see my error.

The first loop starts at X-4, and loops as it increments up in 8mm steps across to X52, while the second loop starts at Z30, and increments down in 6mm steps, until reaching Z0.

Without LCNC calling the error, may I please request you check this and let me know what I have screwed up, as I can't see it?
Thanks.
Mark
 
Attachments:
Last edit: 06 Jan 2026 18:27 by RotarySMP.

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

More
06 Jan 2026 18:37 #341082 by MaHa
Replied by MaHa on topic Please help - Endless loop
#1 to #30 are used to send variables to a called subroutine, so them are not writeable in the sub. If names given from #31 up, it should work
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
06 Jan 2026 18:52 #341084 by RotarySMP
Replied by RotarySMP on topic Please help - Endless loop
Thanks a lot. 
Cheers,
Mark

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

Time to create page: 0.149 seconds
Powered by Kunena Forum