User Tools

Site Tools


mycnc:subroutines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
mycnc:subroutines [2020/03/06 14:44] ivanmycnc:subroutines [2020/03/06 14:50] ivan
Line 28: Line 28:
 {{:mycnc:forum-mar2020-020-vis-subroutine.png}} {{:mycnc:forum-mar2020-020-vis-subroutine.png}}
  
 +Subroutines are called using the following syntax:
 +
 +<code>M98 P[SUBROUTINE NUMBER] L[NUMBER OF REPETITIONS]</code>
 +
 +As can be seen in the code above, this takes the form of 
 +
 +<code>M98 P100 L5</code>
 +
 +The M99 code is used inside the subroutine that is being called to indicate the end of that subroutine. 
  
mycnc/subroutines.txt · Last modified: 2020/12/10 09:09 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki