I have some basic queries regarding headers in post-processors.
I'm now customizing p20 gpost Makino FANUC 16M. I want the program to start without "%".
Also I want to print program number and time stamp but doesn't want to execute it.
Current out put from p20
( / CAVITY_ELT_1)
Need to change to below format
;( / CAVITY_ELT_1)
I tried and eliminated G98G80G90G49G17. Help me with your suggestions.
Select the Applications tab-> NC Post Proc-> open you post's option file -> start/end of prog->General
In the output section make sure "Rewind STOP code at beginning of NC code" is not checked. These options can be altered by the FIL file so if this doesn't work you may want to look there.
I've never had all that much success with the parameters. I tend to do this kind of thing by editing the FIL code. For your situation, it would seem that the file you need to modify is "uncx01.f20". You'll need to take a look at the MACHIN and PARTNO sections and reformat the output lines to add the things you want.
For your situation, it might be as simple as adding a
line right before each of the lines that outputs your current date/time and part number data.
I tried adding INSERT as you suggested for part number data. I'm unable to find lines in FIL for date/time.
I get part name in two broken lines as below. Help in resolving this. I'm very new to FIL editing.
; ( / CA
Also getting additional G71 & T6M6 codes.
I don't know why you are getting "G71", it is probably some other setting, maybe in the config options.
The "T6M6" is a tool change. Presumably you are using "Tool 6" and it's changing to it. Can't understand how you see this as a problem.
To format the "part number" and date/time stuff, you might try something like this:
RESULT = POSTF(13)
PN = TEXT/CLW
INSERT/ ';(', PN, ')$'
RESULT = POSTF(13)
TXTLIN = TEXT/ ';(', TIMES, ')$'
This assumes you don't want to do anything else in when the post-processor encounters the part number specification (PARTNO), or the beginning of the program (MACHIN). You might already have some sort of text being output there. Usually things like machine initialization commands, etc.
If you are going to try to do this kind of stuff, you're really going to need to look up the meanings of the commands and understand what is going on in the process. It's kind of confusing and can have horrible consequences if you miss something. Search engines are your friends when you are trying to figure this out.
I assume you got rid of G98G80G90G49G17 by editing Start/End of Program > Start Prog.
Maybe you can try to change Control-Out Alias to add the semicolons:
But be aware this will add semicolon before every operator message!