repeat calls to subroutine
- clayton2ndtry
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
25 May 2025 22:36 #329133
by clayton2ndtry
repeat calls to subroutine was created by clayton2ndtry
I would like to call a subroutine some arbitrary number of times. Some gCode variants support M91 Psubroutline Lcount. But not linuxCNC. Any suggestions how to do this? I do not need anything as fancy as a while loop. Juist count executions.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 419
- Thank you received: 176
25 May 2025 23:31 #329137
by MaHa
Replied by MaHa on topic repeat calls to subroutine
Have a look at Fanuc style numbered programs M98 Pn Ln
linuxcnc.org/docs/2.9/html/gcode/o-code....fanuc-style-programs
linuxcnc.org/docs/2.9/html/gcode/o-code....fanuc-style-programs
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds