![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| NCPlot G-Code editor / backplotter Discuss NCPlot software here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi Scott, using the "Holes on arc"-Macro for example creates new lines with X- and Y-coordinates. If I want to have a subprogram-call at each position I add manually the line P#### M98 after each coordinate. So I added the variable #50 to the dialog and in the macro after the line X#32 Y#33 the text P O#50 M98 to let the macro create the subprogram-call. But the macro translator comes up with error messages : wrong expression or unknown subprogram Is there a way to let a macro write text into the main program like I described ? Thank you, Richard |
|
#2
| ||||
| ||||
| Hi Richard, There's no way to do this at the moment. I do have some changes planned for the macro translator that I wanted to include in the next update. This includes the ability to insert whatever text you want. This will be good for adding comments or other miscellanous code just like you describe. Thanks, Scott |
|
#3
| |||
| |||
| Hi Scott, I found a way to handle this problem meanwhile: in the macro after the line X#32 Y#33 I add the line X9999 and with search & replace I can change it in the main program to P9999 M98 for example Thank you, Richard |
|
#5
| ||||
| ||||
| Hi Richard, I actually did have this in there during most of the beta process. But it didn't get finished in time for release, so I removed it. All the code is still there, I just need to finish the graphics and re-enable it. Thanks, Scott |
| Sponsored Links |
![]() |
| 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 |
| G code translator for Galil | harrymen | General CNC (Mill and Lathe) Control Software (NC) | 12 | 12-04-2009 03:19 PM |
| Allegro A3986...Stepper Translator | slp_prlzys | General Electronics Discussion | 2 | 06-07-2009 02:59 PM |
| WILDFIRE & 2001 to IGES Translator | 64dodge | PTC Pro/Manufacture | 1 | 01-16-2008 08:56 AM |
| Convert Fanuc Macro to Fadal Macro | bfoster59 | Fadal | 1 | 11-09-2007 12:41 AM |
| DAKENG u-2 16f84 stepper translator | vacpress | PIC Programing / Design | 2 | 12-13-2005 08:58 AM |