This section shows you how to customize the following types of syntaxes
in your PP word table:
The Machining product will resolve the parameters of these syntaxes and syntax sequences and generate the corresponding statements in the APT output. A sample PP word table is delivered with the product in It can be used as a basis for creating user-defined tables. Please refer to PP Tables and Word Syntaxes for more information. |
||
Some NC commands and NC instructions have default values. See
NC Commands and
NC Instructions for syntaxes
and default values.
Please note that this default value is output even when the NC command or NC instruction is not present in the PP table. The example below shows an NC command with explicit definition:
If this output is not required, you must define an empty NC command or NC instruction. For example:
|
||
1. | NC Commands You can define for a given machine tool (i.e. post-processor) PP word syntaxes associated to particular NC commands. An NC command is a machine function such as feedrate declaration (NC_FEEDRATE) or spindle activation (NC_SPINDLE_START). A syntax comprises a major word and one or more syntax elements such as minor words, numerical values, list values and parameters. A syntax that includes lists or parameters is a parameterized syntax (see example below):
|
|
Note that the `&' character indicates a list
and the `%' character indicates a parameter. You can define only one syntax for each NC command. |
||
The following example shows how the NC command NC_DELAY could be used in a Drilling Dwell Delay operation. | ||
2. | Make sure that the PP word table is
referenced by the machine used in the Part Operation and the syntax
associated with the NC_DELAY command is already created as follows:
|
|
3. | Create a Drilling Dwell Delay operation. | |
4. | In the dialog box showing the available
options, set the Dwell mode to Revolutions and enter a numerical dwell
value of `5'. In this case the statement generated in the resulting APT
source will be: If the operation was created with the Dwell mode set to Time Units and a dwell value of `5', the statement generated in the resulting APT source would be:
|
|
1. | NC Instructions You can define for a given machine tool (i.e. post-processor) sequences of PP word syntaxes associated to particular NC instructions. NC instructions are either axial machining operations or auxiliary commands. A syntax comprises a major word and one or more syntax elements such as minor words, numerical values and standard parameters. A set of standard parameters is associated to each NC instruction. Parameters may be combined in arithmetical expressions. A syntax that includes parameters is a parameterized syntax (see example below):
|
|
Note that the `%' character indicates a
parameter. You can define one or more syntax sequences for each NC instruction. |
||
The following example shows how the NC instruction NC_DRILLING_DWELL_DELAY could be used to generate a specific NC data output. | ||
2. | Make sure that the PP word table is
referenced by the machine used in the Part Operation and the syntax
associated with NC_DRILLING_DWELL_DELAY instruction is already created as
follows:
|
|
3. | Create a Drilling Dwell Delay operation. | |
4. | In the dialog box showing the available
options, set:
In this case the NC data output is as follows: CYCLE/DRILL, 25.000000, 500.000000, MMPM, 5.000000, DWELL, 3 |
|
The PP word table is updated with your syntaxes when you save the file. | ||
|