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 revision Previous revision
mycnc:subroutines [2020/03/06 14:44]
ivan
mycnc:subroutines [2020/03/06 14:50] (current)
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/03/06 14:50 by ivan