![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am using Turbocnc to cut a part. M98 P0100 L1 This line returned "A unique N word is required". I add n1 to the front of the line. N1 M98 P0100 L1 Now the error message "A target line (0 word) is required." I cannot find any info on the format of M98. I understand it is calling a sub. |
|
#2
| ||||
| ||||
| Your subroutine needs to start with the same line number as the P address in your M98 command line. The L1 means one repeat, which in most cases means you are not getting much mileage out of having a subroutine. M98 P100 L1 . . . N100 more gcode here M99 (return to main)
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
| It's in the docs that are included with the download. Use "O" instead of "P", and it doesn't use an "L" N005 M98 O100 (call sub on line N100) ... ... ... N100 (subroutine) .... .... .... M99 (return from sub)
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DSTV file format? | ABC123 | General CAM Discussion | 7 | 01-16-2009 05:37 AM |
| fadal format 1 | bthomps5 | Fadal | 11 | 03-13-2005 11:38 AM |
| If I want to post drawings..what format? | millberg | DIY-CNC Router Table Machines | 2 | 02-26-2005 01:21 PM |
| Another lost newbie looking for help | noid | Stepper Motors and Drives | 0 | 12-29-2004 10:00 AM |
| convert smartcam to dxf format? | imfool | General CAM Discussion | 4 | 03-23-2004 09:15 PM |