

1.
----------------------------------------------------------------------------
| Command     : ncrset_units                                               |
----------------------------------------------------------------------------
| Description : The command is used for setting the CURRENT working units. |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| units               | inch, mm                     |                     |
----------------------------------------------------------------------------


2.
----------------------------------------------------------------------------
| Command     : ncrset_cur                                                  |
----------------------------------------------------------------------------
| Description : The command is used for setting the CURRENT entity name    |
|               that are used for all the other line mode commands.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| job                 | existing job   name          |                     |
----------------------------------------------------------------------------
| step                | existing step  name          |                     |
----------------------------------------------------------------------------
| layer               | existing layer name          |                     |
----------------------------------------------------------------------------
| ncset               | existing ncset name          |                     |
----------------------------------------------------------------------------


3.
----------------------------------------------------------------------------
| Command     : ncrset_create                                               |
----------------------------------------------------------------------------
| Description : The command is used for creating a new ncset entity.       |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | legal entity name            |                     |
----------------------------------------------------------------------------


4.
----------------------------------------------------------------------------
| Command     : ncrset_delete                                               |
----------------------------------------------------------------------------
| Description : The command is used for deleting an existing NCset.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | existing NCset name          |                     |
----------------------------------------------------------------------------


5.
----------------------------------------------------------------------------
| Command     : ncrset_rename                                               |
----------------------------------------------------------------------------
| Description : The command is used for renaming an existing NCset.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | existing NCset name          |                     |
----------------------------------------------------------------------------
| new_name            |                              |                     |
----------------------------------------------------------------------------


6.
----------------------------------------------------------------------------
| Command     : ncrset_copy                                                 |
----------------------------------------------------------------------------
| Description : The command is used for copying an existing NCset.         |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | existing NCset name          |                     |
----------------------------------------------------------------------------
| target_name         |                              |                     |
----------------------------------------------------------------------------


7.
----------------------------------------------------------------------------
| Command     : ncr_get_current                                         |
----------------------------------------------------------------------------
| Description : The command is used for getting the current ncrset name    |
|               with job/step/layer context. Used in scripts.              |
----------------------------------------------------------------------------
| Response    : a 4 element array: ( job step layer ncset )                |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
----------------------------------------------------------------------------


8.
----------------------------------------------------------------------------
| Command     : ncrset_page_open                                            |
----------------------------------------------------------------------------
| Description : The command is used for opening the package's window.      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


9.
----------------------------------------------------------------------------
| Command     : ncrset_page_close                                           |
----------------------------------------------------------------------------
| Description : The command is used for closing the package's window.      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


10.
----------------------------------------------------------------------------
| Command     : ncr_set_machine                                            |
----------------------------------------------------------------------------
| Description : The command is used for setting the rout machine name, and |
|               some other parameters.                                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| machine             | existing machine name        |                     |
----------------------------------------------------------------------------
| thickness           |                              |                     |
----------------------------------------------------------------------------


11.
----------------------------------------------------------------------------
| Command     : ncr_set_params                                             |
----------------------------------------------------------------------------
| Description : The command is used for setting several NCset parameters.  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| format              | excellon1, excellon2,ati,sm,pda,hitachi ...        |
----------------------------------------------------------------------------
| zeroes              | none, leading, trailing      |                     |
----------------------------------------------------------------------------
| units               | inch, mm                     |                     |
----------------------------------------------------------------------------
| tool_units          | inch, mm                     |                     |
----------------------------------------------------------------------------
| nf1, nf2            | 1-5                          | numbering format    |
----------------------------------------------------------------------------
| decimal             | yes, no                      | decimal output      |
|                     |                              | coordinates         |
----------------------------------------------------------------------------
| modal_coords        | yes, no                      |                     |
----------------------------------------------------------------------------
| single_sr           | yes - for single S&R use a   |                     |
|                     |       step & repeat block    |                     |
|                     | no                           |                     |
----------------------------------------------------------------------------
| sr_zero_set         | yes - use the G93 command    |                     |
|                     |       before the S&R block   |                     |
|                     | no                           |                     |
----------------------------------------------------------------------------
| repetitions         | Repetitions mode: S&R,       |                     |
|                     |   subroutines, etc.          |                     |
----------------------------------------------------------------------------
| drill_layer         |                              |                     |
----------------------------------------------------------------------------
| sr_zero_drill_layer |                              |                     |
----------------------------------------------------------------------------
| break_sr            | yes, no                      | break step & repeat |
|                     |                              | indicator           |
----------------------------------------------------------------------------
| ccw                 | yes, no                      | ccw                 |
|                     |                              | indicator           |
----------------------------------------------------------------------------
| short_lines         | none,box,angle,toolout       | how to treat short  |
|                     |                              | lines (< half toolw)|
----------------------------------------------------------------------------
| press_down          | yes, no                      | pressure foot down  |
|                     |                              | in tool up          |
----------------------------------------------------------------------------
| last_z_up           | 16/17                        | last up command     |
----------------------------------------------------------------------------
| max_arc_ang         | 10-360                       | angle to break arc  |
----------------------------------------------------------------------------
| sep_lyrs            | yes, no                      | split output from   |
|                     |                              | seperate layers for |
|                     |                              | different rotations |
|                     |                              | the layers used are |
|                     |                              | the main layer with |
|                     |                              | rotation suffixes:  |
|                     |                              | e.g.                |
|                     |                              | name90, name180,    |
|                     |                              | name270             |
----------------------------------------------------------------------------
| allow_no_chain_f    | yes, no                      | output eaven if ther|
|                     |                              | are no chained      |
|                     |                              | features,ignore them|
----------------------------------------------------------------------------
| keep_table_order    | yes, no                      | output keeps order  |
|                     |                              | defined in          |
|                     |                              | the NC tool table   |
----------------------------------------------------------------------------


12.
----------------------------------------------------------------------------
| Command     : ncr_register                                               |
----------------------------------------------------------------------------
| Description : The command is used for setting the regsitration values.   |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| angle               | 0, 90, 180, 270              |                     |
----------------------------------------------------------------------------
| mirror              | no, yes                      |                     |
----------------------------------------------------------------------------
| xoff, yoff          |                              | offset values       |
----------------------------------------------------------------------------
| version             | 1 - 8                        | coordinates version |
----------------------------------------------------------------------------
| xorigin,yorigin     |                              |                     |
----------------------------------------------------------------------------
| xscale, yscale      | scale factor (def = 1.0)     |                     |
|                     | 0.95 >= factor <= 1.05       |                     |
----------------------------------------------------------------------------
| xscale_o, yscale_o  | scale anchor coordinates     |                     |
|                     | relative to the STEP         |                     |
----------------------------------------------------------------------------


13.
----------------------------------------------------------------------------
| Command     : ncr_order                                                  |
----------------------------------------------------------------------------
| Description : The command is used for setting step & repeat order for    |
|               Auto Rout Manager                                          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| sr_line ,sr_nx      | step & repeat entry (for all | arrays can be seper.|
|          sr_ny      | parameters : >= 1)           | by ;                |
|                     | 0 - for the step overlay     |                     |
----------------------------------------------------------------------------
| serial              | 1, 2, 3,,,- order from start |                     |
|                     |-1,-2,-3,,,- order from end   |                     |
|                     | 0 - no specific order        |                     |
----------------------------------------------------------------------------
| optional            | yes - indicates that the step|                     |
|                     |       should have the '/'    |                     |
|                     |       character for optional |                     |
|                     |       rout                   |                     |
|                     | no - regular mode            |                     |
----------------------------------------------------------------------------
| snake               | yes - use snake order        |                     |
|                     | no  - use zigzag order       |                     |
----------------------------------------------------------------------------
| mode                | one - assign numbering         |                   |
|                             order for one step       |                   |
|                     | tblr, tbrl, - step enumeration | t - top           |
|                     | lrtb, lrbt,   sequence and     | b - bottom        |
|                     | btrl, btlr,   direction        | l - left          |
|                     | rlbt, rltb                     | r - right         |
----------------------------------------------------------------------------
| full                | full step order or partial   |                     |
|                     | according to nx ny           |                     |
----------------------------------------------------------------------------
| nx                  |                              |                     |
----------------------------------------------------------------------------
| ny                  |                              |                     |
----------------------------------------------------------------------------


14.
----------------------------------------------------------------------------
| Command     : ncr_order_def                                              |
----------------------------------------------------------------------------
| Description : The command is used for setting the default step & repeat  |
|               order, which is based only on the step & repeat data.      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


15.
----------------------------------------------------------------------------
| Command     : ncr_order_des                                              |
----------------------------------------------------------------------------
| Description : The command is used for setting the default step & repeat  |
|               order, which is based on the both:                         |
|               - step & repeat data                                       |
|               - step attribute 'out_rout_order'                          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


16.
----------------------------------------------------------------------------
| Command     : ncr_table_open                                             |
----------------------------------------------------------------------------
| Description : The command is used for opening the NCR tool table         |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


17.
----------------------------------------------------------------------------
| Command     : ncr_table_close                                            |
----------------------------------------------------------------------------
| Description : The command is used for closing the NCR tool table         |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


18.
----------------------------------------------------------------------------
| Command     : ncr_table_reset                                            |
----------------------------------------------------------------------------
| Description : The command is used for reseting a temporary nc-table, that|
|               is set by the 'ncr_table_set' command.                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


19.
----------------------------------------------------------------------------
| Command     : ncr_cre_rout                                               |
----------------------------------------------------------------------------
| Description : The command creates the rout  and NC files.                |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


20.
----------------------------------------------------------------------------
| Command     : ncr_auto_all                                               |
----------------------------------------------------------------------------
| Description : The command must be called after the machine name was set, |
|               and it automatically sets the whole NC-set. This is done   |
|               based on the machine file parameters, and on the user      |
|               defined hooks.                                             |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| create_rout         | yes - create the rout  files |                     |
|                     | no  - only set the params    |                     |
----------------------------------------------------------------------------


21.
----------------------------------------------------------------------------
| Command     : ncr_ncf_export                                             |
----------------------------------------------------------------------------
| Description : The command is used for exporting the NC files to an       |
|               external directory.                                        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| dir                 | directory path               |                     |
----------------------------------------------------------------------------
| name                | file name                    |                     |
----------------------------------------------------------------------------


22.
----------------------------------------------------------------------------
| Command     : ncr_report                                                 |
----------------------------------------------------------------------------
| Description : The command is used for ncr report                         |
|                                                                          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| path                | directory path               |                     |
----------------------------------------------------------------------------


23.
----------------------------------------------------------------------------
| Command     : ncr_cre_layer                                              |
----------------------------------------------------------------------------
| Description : The command creates a step layer that contains all the     |
|               routs.                                                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| layer               | output layer name            |                     |
----------------------------------------------------------------------------
| profile_outline     | yes - add the profile        |                     |
|                     |       outline                |                     |
|                     | no  - no profile             |                     |
----------------------------------------------------------------------------
| transform           | yes - perform layer transformation                 |
|                     | no  - not perform (default)                        |
----------------------------------------------------------------------------


24.
----------------------------------------------------------------------------
| Command     : ncr_table_set                                              |
----------------------------------------------------------------------------
| Description : The command is used for adding table entries.              |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| index               | index of entry               |                     |
----------------------------------------------------------------------------
| type                | chain, drill                 |                     |
----------------------------------------------------------------------------
| step_name           | name of step                 |                     |
----------------------------------------------------------------------------
| chain               | # of chain                   |                     |
----------------------------------------------------------------------------
| chain2              | second subchain of the same chain                  |
----------------------------------------------------------------------------
| size                | size of tool                 |                     |
----------------------------------------------------------------------------
| comp                | compensation none/right/left |                     |
----------------------------------------------------------------------------
| path                | path of chain                |                     |
----------------------------------------------------------------------------
| count               | count of drills              |                     |
----------------------------------------------------------------------------
| flag                | >= 0                         |                     |
----------------------------------------------------------------------------
| cw                  | no, yes                      |                     |
----------------------------------------------------------------------------
| tool_size           | size of tool (user)          |                     |
----------------------------------------------------------------------------
| duplicate           | no, yes                      | indicates if the    |
|                     |                              | entry represents a  |
|                     |                              | duplicate chain     |
----------------------------------------------------------------------------
| parent              | parent serial (-1 if none)   |                     |
----------------------------------------------------------------------------
| comp_factor         | compensation factor          |                     |
----------------------------------------------------------------------------
| spindle_speed       | in rpms                      |                     |
----------------------------------------------------------------------------
| feed_rate           | inch/min                     |                     |
----------------------------------------------------------------------------
| spiral              | none,sw,machine              |                     |
----------------------------------------------------------------------------
| mode                | rout, drilll                 |                     |
----------------------------------------------------------------------------
| group               | new,same                     |                     |
----------------------------------------------------------------------------
| order               | order index                  |                     |
----------------------------------------------------------------------------
| optional            | yes - indicates that the chain|                    |
|                     |       should have the '/'    |                     |
|                     |       character for optional |                     |
|                     |       rout                   |                     |
|                     | no - regular mode            |                     |
----------------------------------------------------------------------------


25.
----------------------------------------------------------------------------
| Command     : ncr_table_apply                                            |
----------------------------------------------------------------------------
| Description : The command is used for applying the nc-table that was     |
|               created by the line mode command - 'ncr_table_set'.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
