Block scan for mid-program startup
Application
The Block scan function allows you to start an NC program at any desired NC block. The control factors workpiece machining up to this NC block into the calculations. For example, the control will switch on the spindle before the start.
Related topics
- Creating NC programs
- Pallet tables and job lists
Requirement
- The function must be enabled by your machine manufacturer.
The Block scan function must be enabled and configured by your machine manufacturer.
Description of function
The following information also applies to pallet tables and job lists.
If the NC program was interrupted under the following conditions, the control saves the interruption point:
- The Internal stop button
- Emergency stop
- Power failure
If, while restarting, the control finds a saved point of interruption, then it outputs a message. You can then execute a block scan directly to the point of interruption. The control displays the message when you switch to Program Run operating mode for the first time.
You have the following options for a block scan:
- Block scan in the main program, with repetitions if necessary
- Multi-level block scan in subprograms and touch probe cycles
- Block scan in a point table
- Block scan in pallet programs
At the start of the block scan, the control resets the data, as with a selection of a new NC program. During the block scan you can activate or deactivate Single Block mode.
The Block scan window
- The Block scan window with saved interruption point and open Advanced area
The Block scan window provides the following data:
Row | Meaning |
---|---|
Row number | Row number in the pallet table |
Row number in the pallet table at the time of interruption | |
Program | Path of the active NC program |
Path of the NC program that is active at the time of interruption | |
Block number | Number of the NC block at which program run should start The control proposes the currently selected NC block. You can open the Search column from the Block scan window. |
Number of the NC block that was active at the time of interruption | |
Repetitions | Number of the repetition for mid-program startup if the desired NC block is located within a program-section repeat or a program loop. |
Number of the repetition at the time of interruption if the interruption was located within a program-section repeat or program loop. | |
Point table | Path of the point table Selection by means of a selection window |
Path of the active point table at the time of interruption | |
Point number | Row in the point table |
Active row in the point table at the time of interruption |
Select the interruption point by using the Select last button in the Advanced area.
Performing a single-level block scan
To start in an NC program by using a single-level block scan: | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
Performing a multi-level block scan
If you, for example, start in a subprogram that is called several times by the main program, then use the multi-level block scan. For this, you first go to the desired subprogram call and then continue the block scan. The same procedure is used for called NC programs.
To start in an NC program by using a multi-level block scan: | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
Block scan in point tables
To start in a point table: | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
If you would like to use the block scan function to start in a point pattern, then use the same procedure. Define the desired point for mid-program startup in the Point number field. The first point in the point pattern has the number 0.
Block scan in pallet tables
To start in a pallet table: | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
If the program run of a pallet table has been canceled, the control will suggest the most recently selected NC block of the most recently executed NC program as a point of interruption.
Notes
- Use GOTO only when programming and testing NC programs
- Only use Block scan when executing NC programs
- Use multi-stage mid-program startup to manually navigate to the point of interruption
- Use the Block scan function in multiple steps
- The TNC7 basic can move up to four axes simultaneously. If an NC block commands movement of more than four axes, the control displays an error message. When the control reads such a NC block during the Block scan, it will also display an error message.
- The control only displays the dialogs required by the process in the pop-up window.
- Use the +, -, *, /, (, and ) keys for calculations in the numerical input fields.
- If you use the block scan to start in a pallet table, the control will always execute the chosen row in the pallet table as a workpiece-oriented process. After the pallet table line selected in the Block scan, the control resumes machining according to the defined machining method.
- Even after an internal stop, the control shows the number of repetitions on the LBL tab of the Status workspace.
- The Block scan function must not be used in conjunction with the following functions:
- Touch probe cycles 0, 1, 3, and 4 during the block scan search phase
- HEIDENHAIN recommends switching the spindle on with M3 or M4 after every tool call. That way you avoid problems during program run, such as when restarting after an interruption.