Please help - Endless loop
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1537
- Thank you received: 568
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
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
Last edit: 06 Jan 2026 18:27 by RotarySMP.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 495
- Thank you received: 209
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
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1537
- Thank you received: 568
06 Jan 2026 18:52 #341084
by RotarySMP
Replied by RotarySMP on topic Please help - Endless loop
Thanks a lot.
Cheers,
Mark
Cheers,
Mark
Please Log in or Create an account to join the conversation.
Time to create page: 0.149 seconds