End position
The following parameters can be accessed via CNC objects to define the end position.
- File offset
- File name
- Program path ID
- Pass counter
They are described below.
File offset | |
Description | Defines the file offset at which point processing is to end. |
Type | SGN32 |
Value range | [0, MAX_SGN32] |
HMI elements | mc_cmd_bs_pos_end_offset_w (write) mc_cmd_bs_pos_end_offset_r (read) |
IndexOffset | 0x54 (write) 0x6C (read) (IndexGroup = 0x000201<ii> where <ii> = channel) |
File name | |
Description | Specifies the file which contains the end position specified by file offset. This means that actual processing end at this point. |
Type | STRING |
Value range | [0, 83] – maximum 84 characters |
HMI elements | mc_cmd_bs_pos_end_name_w (write) mc_cmd_bs_pos_end_name_r (read) |
IndexOffset | 0x53 (write) 0x6B (read) (IndexGroup = 0x000201<ii> where <ii> = channel) |
|
|
Attention
The specified block search filename must be identical with the file started in automatic mode. It also contains any additional specified path.
If an explicit path is specified at program start, the path must also be included in the block search when the filename is specified.
Program path ID | |
Description | The identifier indicates whether the NC program defined by the filename is located on the main program path (HP) or the subroutine path (UP). |
Type | UNS16 |
Value range | 0 - HP (default); 1 - UP |
HMI elements | mc_cmd_bs_pos_end_type_w (write) mc_cmd_bs_pos_end_type_r (read) |
IndexOffset | 0x52 (write) 0x6A (read) (IndexGroup = 0x000201<ii> where <ii> = channel) |
Pass counter end position | |
Description | The pass counter determines the number of times the end position should be passed up to the end of machining, e.g. in loops. |
Type | SGN16 |
Value range | [ 1; MAX_SGN16 ], default 1 |
HMI elements | mc_cmd_bs_pos_end_count_w (write) mc_cmd_bs_pos_end_count_r (read) |
IndexOffset | 0x55 (write) 0x6D (read) (IndexGroup = 0x000201<ii> where <ii> = channel) |