On Fri, 13 Nov 2020 at 00:19, Ralph Stirling
<ralph.stirl...@wallawalla.edu> wrote:
>
> I was reading the docs on remapping, and got to
> wondering if the o<subroutinename> call syntax
> discussed in:
> http://linuxcnc.org/docs/html/remap/remap.html
> could be used directly in G-code programs.

Yes. Though oddly the docs don't mention it in the subroutine section.
http://linuxcnc.org/docs/html/gcode/o-code.html#ocode:subroutines

I tested with:

O<subroutine> SUB
(DEBUG, #1)
O<subroutine> ENDSUB

O<subroutine> CALL [22]
M2





-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to