Requested and commanded user data

Initial operation mode

Description

Operation mode from which the operation mode is to be changed.

ST path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r

Commanded, requested value

ST element

.from_mode

Data type

UDINT

Value range

Value

Constant

1

HLI_IMCM_STANDBY_MODE

2

HLI_IMCM_AUTOMATIC_MODE

3

HLI_IMCM_MDI_MODE

4

HLI_IMCM_MANUAL_MODE

5

HLI_IMCM_REFERENCE_MODE

 

Special features

This element does not need to be programmed when the operation mode is changed. However, if a value is specified, a check is conducted when the operation mode is changed to establish whether the CNC is actually in the specified operation mode. A warning is issued if this is not the case.

Initial state of operation mode when the operation mode is changed

Description

State within the operation mode from which the state switchover is to occur.

ST path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r

Commanded, requested value

ST element

.from_state

Data type

UDINT

Value range

Value

Significance / constant

0

no significance

1

HLI_IMCM_PROCESS_DESELECTED

2

HLI_IMCM_PROCESS_SELECTED

3

HLI_IMCM_PROCESS_READY

4

HLI_IMCM_PROCESS_ACTIVE

5

HLI_IMCM_PROCESS_HOLD

6

HLI_IMCM_PROCESS_ERROR

Special features

This element does not need to be programmed when the operation mode is changed. However, if a value is specified, a check is conducted when the operation mode is changed to establish whether the CNC is actually in the specified operation mode. A warning is issued if this is not the case.

Target operation mode when the operation mode is switched over

Description

Operation mode to which the system is to switch.

ST Path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r

Commanded, requested value

ST Element

.to_mode

Data type

UDINT

Value range

See “Operation mode actual value on operation mode change” → Value range

Target state when operation mode is changed

Description

Target state within the target operation mode.

ST path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r

Commanded, requested value

ST element

.to_state

Data type

UDINT

Value range

See "Actual value of operation mode state for operation mode change" → value range

If the target state = RESETTING = 15 is specified, a CNC reset is executed explicitly.

This function is available as of the following Build:

V2.10.1033.01 and higher

V2.10.1507.02 and higher

V2.10.1800.04 and higher

Parameters for operation mode change

Description

Parameters for operation mode change.

It may be necessary to specify parameters when commanding an operation mode change to ensure the successful change to a specific state of an operation mode. These parameters are saved in this element.

ST path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r.

Commanded, requested value

ST element

.parameter

Data type

STRING(HLI_IMCM_MODE_STATE_PARAM_STRL)

Special features

The string for the AUTOMATIC operation mode is limited to a maximum of 83 characters.

It is advisable to use the parameters of file paths with longer strings. See P-CHAN-00401 to P-CHAN-00404.

If an operation mode change is commanded, it may be necessary to specify a parameter so that commanding can be executed successfully. The table below lists the cases where this is necessary and what type of parameter needs to be transferred.

If one of the listed state transitions is involved in the operation mode and state change, the corresponding parameter must be specified. Use the "State graph of other operation modes" to determine whether one of the state transitions listed below is executed in the case of a commanded operation mode change.

Meaning of the parameter string in conjunction with the operation mode

The NC kernel only adopts the content of the “parameter” structure element if a state transition is executed from SELECTED to one of the states READY, ACTIVE or HOLD.

Operation mode setpoint

Parameter

Automatic mode

The NC program name as character string.

Manual block

NC block (blocks)

Manual mode

  • no parameter: all axes are activated (G200)
  • explicit activation of specific axes with G200[Axis_1, ...]
  • General NC block sequence comprising several lines,
    e.g. activate a kinematic
    #KIN ID[1] $R$N G200

    $R$N: String denoting line break in IEC61131-3

Homing

  • no parameter: NC program rpf.nc is started
  • explicit selection of axes by manual block (e.g.: G74 X1 Z2 )

Channel number

Description

Number of the channel whose operation mode is to be switched over.

ST path

Commanded value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.command_w

Requested value

gpCh[channel_idx]^.channel_mc_control.mode_and_state.request_r.

Commanded, requested value

ST element

.channel_number

Data type

UDINT

Special features

Not used (only for compatibility with the HÜMNOS standard).