Start position

The following parameters can be accessed via CNC objects to define the start position.

They are described below.

File offset

Description

Defines the file offset at which point processing is to continue.

Type

SGN32

Value range

[0, MAX_SGN32]

HMI elements

mc_cmd_bs_pos_start_offset_w            (write)

mc_cmd_bs_pos_start_offset_r             (read)

IndexOffset

0x50 (write)

0x68 (read)

(IndexGroup = 0x000201<ii> where <ii> = channel)

File name

Description

Specifies the file which contains the start position specified by file offset. This means that actual processing continues at this point.

Type

STRING

Value range

[0, 83] – maximum 84 characters

HMI elements

mc_cmd_bs_pos_start_name_w             (write)

mc_cmd_bs_pos_start_name_r              (read)

IndexOffset

0x4F     (write)

0x67     (read)

(IndexGroup = 0x000201<ii> where <ii> = channel)

Attention

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_start_type_w                (write)

mc_cmd_bs_pos_start_type_r                 (read)

IndexOffset

0x4E     (write)

0x66     (read)

(IndexGroup = 0x000201<ii> where <ii> = channel)

Pass counter start position

Description

The pass counter determines the number of times the start position should be passed up to the final start, e.g. in loops.

Type

SGN16

Value range

[ 1; MAX_SGN16 ], default 1

HMI elements

mc_cmd_bs_pos_start_count_w             (write)

mc_cmd_bs_pos_start_count_r              (read)

IndexOffset

0x51     (write)

0x69     (read)

(IndexGroup = 0x000201<ii> where <ii> = channel)