General


Format

DNC Format

If you check this box, the machine control data file will be formatted in a manner suitable for use in a Distributed Numerical Control environment. Accordingly these values are set in the postprocessor:

Units of leader

Enter the number of units of leader you require at the beginning of the machine control data file. Units are determined by whether you have designated internal postprocessor representation to be in inches or millimeters.

Units of trailer

Enter the number of units of trailer you require at the end of the machine control data file. Units are determined by whether you have designated internal postprocessor representation to be in inches or millimeters.

Tape readable PARTNO

If you require a tape-readable PARTNO to be output to the machine control data file, check this box. If you do not require one, do not check this box.

Man readable PARTNO

This option gives the user the opportunity to output or suppress the PARTNO information in the machine control data file in a form that when punched in tape is "man readable". Equivalent postprocessor commands:

EOB char at end of each block tape image

This option gives the user the opportunity to control suppression or inclusion of a EOB (End Of Block) character on each machine control data record. Equivalent postprocessor commands:

Output

Rewind STOP code

If you require a rewind stop code to be output at the beginning of the machine control data file, check this box. If you do not require one, do not check this box.

Program number

If you check this box, a Prog # tab will appear and you should go to that tab and setup how the postprocessor will retrieve and output the program number at the beginning of the machine control data file.

Time stamp

If you check this box, a time and date stamp will be output to the machine control data file immediately following the startup data. It will be output in the same format as the operator messages.

Note: for this to be output, you must also have the "Output operator messages to tape file" check box selected on the Operator Messages panel.

Ouput user defined startup blocks

Normally the postprocessor will output the default startup Prep/G-codes checked on this panel at the beginning of the machine control data file. If you would like to create your own startup output blocks, check this box. When you check this box, a Start Prog tab will appear, and in this panel you can set the number of desired startup blocks, up to ten, and enter the desired user defined data.

Note: It is your responsibility to verify the validity of the data you entered. The postprocessor will not validate this data. It is treated like an INSERT statement, and what you see is what you get! The postprocessor will automatically append a sequence numbers to each line if the sequence numbers are active for INSERT statements.

Output user defined end of program blocks

Normally the postprocessor will output only tape trailer and the rewind start code at the end of the machine control data file. If you would like to create your own end of program output blocks, check this box. When you check this box, a End Prog tab will appear, and in this panel you can set the number of desired end of program blocks, up to ten, and enter the desired user defined data.

Note: It is your responsibility to verify the validity of the data you entered. The postprocessor will not validate this data. It is treated like an INSERT statement, and what you see is what you get! The postprocessor will automatically append a sequence numbers to each line if the sequence numbers are active for INSERT statements.

Rewind START code

If you require a rewind stop code to be output at the end of the machine control data file, check this box. If you do not require one, do not check this box.

Misc

Merging post

This option controls whether this option file can be used by the merging postprocessor UNCMRG. Equivalent postprocessor commands:

Use _MCDWT to edit MCD block

Another final tape edit macro feature (similar to _MCDWT) has been added to FIL. It is called _OUTPT and it will be      automatically called by the GPost at any time an output function is called to generate a tape block. To support the _OUTPT macro, three new steps have been added to the GPost:

     The new Intcom location 4667 to enable _OUTPT macro is as follows:

GPost will call this macro just before processing an output block when 4667=1. This edit macro is different from _mcdwt as you are working with output block scalars instead of text and can avoid string parsing. Using this macro you can:

     1. edit the current block with any postf()

     2. output additional blocks with postf(31,19) or filef(4,1,text)

     3. skip the current block

     Note:

     1. only a post or goto command that triggered output including POSTN/cmd can be edited

     2. string output like insert,pprint are by passed

     3. postf(31) is allowed only within _outpt macro

     4. replac/cmd is applied after _outpt macro

     5. you can use any fil command,postf,filef inside this macro

     6. all post commands inside the macro are ignored including INSERT or POSTF(13).

 

For POSTF(31), the number of arguments will depend on task type. Unused ones can be zero. The funtion will return zero in RSLT. For arg1=2, it will either return the current value in the block for A-Z or empty (999999) if that location is not currently loaded for output.

     Funtyp=31, process a task for _outpt macro

 

     rslt = postf(31,arg1,arg2,arg3)

     arg1:      type of output task

                 01=get value from output block

                arg2=location A-Z for 1-26

                 02=set value into output block

                arg2=location A-Z for 1-26

                arg3=value to be set

                 03=clear output block

                all locations will be set to empty

                 19=process current output block

                 20=save current output block

                 21=restore last saved output block

     arg2:      address location of output block A-Z for 1-26

     arg3:      value to be set

     rslt:       value returned

Use _MCDWT to edit MCD block

GPost will call this macro just before writing the MCD block to the punch/tape file when this option is set. The FIL command t1=text/last,4 will return the current block in t1. Using this macro you can:

You can use any FIL command,postf,filef inside this macro. All post commands are ignored including insert or postf(13). A sample _MCDWT.FIL is supplied with your distribution in the CAMLIB directory.

Discard MCD file with a FIL error

When there is a FIL file error, usually the punch/tape (MCD) file is not usable. You can empty the punch/tape with an error message using this option.

 

--------------------------------------------------------------------------------------------------------------------------

generate/optfile.gif Option File Generator Help

Copyright (c) 2005, All Rights Reserved,

 Austin N.C., 505 East Huntland Drive, Suite 480

Austin, TX 78752
www.austinnc.com