Execution Modes

Access: Execute in batch using one of the following methods:

  1. In the NC Toolbar, click the Execute button..

  2. Select NC Process > Execute from the menu bar.

  3. Click the button from the NC Guide.

  4. Select Execute from the popup submenu.

Toolpath/procedure execution in Cimatron can be performed in either background or foreground mode. By default, all toolpath/procedure execution is in the background, leaving your computer free for other tasks.

In addition, you can also execute externally. See Executing a Toolpath or Procedure for general information on execution.

The Execute dialog is shown here.

Execute Dialog Options

Background Execution

Foreground (Immediate) Execution

Execution Example

To execute a toolpath(s)/procedure(s)

  1. Select the toolpath(s)/procedure(s) to be executed (procedures that do not need to be executed, or those that are already selected for execution, are grayed out) and click the single green arrow.
    Dialog arrow explanations:Dialog arrow explanations:

  2. The selected procedures are moved into the "Selected Procedures" column. (You could also move the entire toolpath into the "Selected Procedures" column, and only those procedures that require execution would be executed).

  3. Select the required execute option in the dialog.

  4. Click OK or Execute & Hide (see below) and the procedures will be executed in sequential order. After execution, the Process Manager will show all procedures as executed.

    Execute & Hide

    Execute the toolpaths in the background and do not display them as they complete. This is suitable for large files in which motion display is time-consuming. The procedure will have a status flag in the Process Manager to indicate that it is hidden.

Note: You can hide the Execute dialog by using the Preferences. Navigate to Tools/Preferences/NC/Environment/Dialogs and select Execution = Simple. In this case, only the procedure(s) that were selected in the NC Process Manager (prior to execution), will be executed.

Execute Dialog Options

The following options are available in the Execute dialog to control the data informing you when procedures have been executed and also to define the execution mode (background or foreground).

Notifications

The following Notification options appear in the Execute dialog and enable you to choose how the system updates you when procedures have been executed.

Notify when ALL procedures have been executed

When all the selected procedures have been executed, an appropriate message is displayed.

Notify when EACH procedure is executed

When each of the selected procedures have been executed, an appropriate message is displayed.

Do not notify

No message is displayed when the procedures have been executed.

 

Immediate Execution

Foreground Execution: Execute the procedure immediately (in foreground execution mode).
When this checkbox is marked, the notification options are disabled and grayed out.

Execution Routing

Background Execution: This option determines the background execution mode. This option is only displayed if you are connected to one or more SuperBoxes; the last used option is saved and used as the default option for the next background execution operation. The options available from the dropdown list are:

Automatic

The system automatically decides which resource to use (the SuperBox or your local computer) to perform the background execution. The system bases its decisions upon resource availability and also performance. If the connected SuperBox(es) are busy or if your local computer is more powerful than the SuperBox(es), then the system will decide to perform the background executions locally, on your computer.

If you are not connected to a SuperBox, all background executions are performed locally on your computer.

SuperBox Only

Perform all the background executions only in the SuperBox.

The Offload Calculation Server (also known as SuperBox) enables the automatic offloading of NC toolpath calculation tasks from all Cimatron seats in a network, thereby freeing up resources of individual work stations. The calculations may also be accelerated, depending on the hardware of the individual work stations.

If you are not connected to a SuperBox, all background executions are performed locally on your computer.

Local Only

Perform all the background executions locally, only on your computer.
Background execution enables you to execute calculation tasks in the background, leaving your computer free for other tasks.

Note: Depending on your computer resources, up to two parallel background executions can be run locally on your computer, when there is no stock dependency.

Background Execution

Background execution enables you to execute toolpaths/procedures in the background, leaving your computer free for other tasks. By default, all toolpath/procedure execution is in the background.

If you are not connected to a SuperBox, all background executions are performed locally on your computer.

If you are connected to one or more SuperBoxes, additional options are available enabling you to control where background executions are performed; see below.

The normal interruption process applies.

Invoking Background Execution

Background execution is invoked, by default, during the normal execution process:

  1. When the execution is activated while no procedure is being edited; the Execute dialog (shown above) is displayed - select the required options (do not select the Immediate Execution checkbox).

  2. When the execution is activated while a procedure is being edited; select Save & Calculate from the popup menu:

  3. If you are connected to a SuperBox, additional options are displayed in the Execute dialog enabling you to control where background executions are performed, as shown below:

    These options are only displayed if you are connected to one or more SuperBoxes. See the Execute Dialog options above, for parameter explanations.

Note: Depending on your computer resources, up to two parallel background executions can be run locally on your computer, when there is no stock dependency.

Foreground (Immediate) Execution

Foreground execution enables you to execute toolpath/procedures on your local computer in the foreground. The advantage of doing this is that the execution is not dependent on other processes (in the SuperBox or local background processes) and takes place immediately.

Foreground execution does not affect SuperBox execution processes. Local background executions continue to execute in parallel with foreground executions; in this case, background execution results are available only after all immediate foreground execution is completed (this includes the Execution Monitor and also all messages to the Output Pane).

The normal interruption process applies.

Important Note: The name Immediate Execution refers to the immediacy of the execution and also the current immediate status of the Cimatron session.
Foreground execution takes place immediately irrespective of any other background executions (hence the name Immediate Execution). When an Immediate Execution is requested, the system takes a "snap shot" of the current Cimatron session and performs the foreground execution based on this "snap shot" status. This means that if other procedures are being executed in the background (even procedures that come before the current procedure in the toolpath), these procedures are regarded as being suspended (though they are not in fact suspended) by the foreground execution and the execution commences immediately based on the current stock status.
For example, say a toolpath has a stock and three procedures and the first two procedures are currently being executed in background mode. If the third procedure is then sent for immediate execution, the system takes the current situation, regards the first two procedures as suspended (they are not in fact suspended and their execution continues in the background) and the foreground execution commences based on the current stock status.

Invoking Foreground (Immediate) Execution

Immediate execution can be invoked during the normal execution process in the following ways:

  1. When the execution is activated while a procedure is not being edited:
    Select the Immediate Execution checkbox in the Execute dialog:

  2. When the execution is activated while a procedure is being edited:
    The following methods can be used to invoke immediate execution:

    • The default option, available for all procedures.
      Select the Save & Calculate Immediately option from the popup menu:

    • An additional option enables you to force immediate execution for the following procedures:
      Pocket, Profile, Connection, Transformation, Drill, Auto Drill
      In the Tools > Preferences > NC > General Preferences, select the Save & Calculate checkbox. The Save & Calculate option from the popup menu can now be used to force immediate execution for the above mentioned procedures.

Execution Example

The Process Manager below shows a toolpath (TP_MODE2) containing some procedures, some of which are already executed as indicated by the status flag. Two other procedures (a Volume Milling and a Surface Milling procedure) are suspended, as indicated by the flag. The remaining stock of another procedure has been modified and the procedure may need to be re-executed (this is indicated by the  flag).

In the NC Toolbar, click the Execute button . Other ways to execute in batch:Other ways to execute in batch:

  1. Select NC Process > Execute from the menu bar.

  2. Press the button from the NC Guide.

  3. Select Execute from the popup submenu.

The Execute Dialog appears. In the "Available Procedures" column, the toolpath and its procedure are listed. Move all procedures you want to execute into the "Selected Procedures" column. You can only move suspended procedures, since there is no need to execute procedures that are already executed.

Select the procedures to be executed (procedures that do not need to be executed are grayed out) and click the single green arrow.

In this example, three procedures are moved into the "Selected Procedures" column. (You could also move the entire toolpath into the "Selected Procedures" column, and only those procedures that require execution would be executed.)

Press OK and the three procedures are executed. After execution, the Process Manager will show all procedures as executed.

During execution, cutter motions will be calculated and displayed in the graphic area.

 

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.