![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| SolidCam Discuss SolidCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am trying to get SolidCam to create 2 files when posting my jobs. I want to post my normal Gcode as well as a tool file that will hold a series of parameters that the main program will read. What I need to know is how to make the GPP file create an additional file. At the moment I have added the following to my GPP file: local string PARAMETERS {nl,'!!open file=' PARAMETERS '.nc!!'} {nl,'%'} {nl,'<PARAMETERS>'} {nl,' TOOL PROG TEST '} {nl} mcode=99 {nl,'M',mcode} {nl,'%'} {nl,'!!close file=' PARAMETERS '.nc!!'} endif This is not working as it just adds the following to the main outputted Gcode !!open file=!! % <PARAMETERS> TOOL PROG TEST M99 % !!close file=.nc!! If anyone could help with what to add or change in the GPP file to get the separate file opening and closing it would be much appreciated Jake T-B |
|
#3
| |||
| |||
| Hi Jake, Try including the full file name in PARAMETERS before the open file command local string PARAMETERS PARAMETERS = 'PARAMETERS.NC' {nl,'!!open file=' PARAMETERS '!!'} {nl,'%'} {nl,'<PARAMETERS>'} {nl,' TOOL PROG TEST '} {nl} mcode=99 {nl,'M',mcode} {nl,'%'} {nl,'!!close file=' PARAMETERS '!!'} The other thing to remember is always convert numbers etc. to strings before tring to output them to text files Bob |
![]() |
| 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 |
| Editing SOLIDCAM std FANUC gpp file | almo0797 | Post Processor Files | 1 | 01-25-2009 10:42 AM |
| Need Help!- How do I open a .nc file and post it in edgecam? | o Lee o | EdgeCam | 3 | 09-23-2008 09:03 AM |
| Cant open DXF file with mc9.1 | CATCH22 | Mastercam | 10 | 01-04-2008 01:46 PM |
| CANT OPEN FILE | reedmiles | BobCad-Cam | 1 | 12-13-2007 12:03 PM |
| Please help. I cant open this dxf file. please | nate | BobCad-Cam | 17 | 01-28-2007 05:08 PM |