Activating control elements for manual mode

After an axis was prepared for manual mode by G200/G201, this axis can be assigned a logical control element (button/handwheel) by a parameter set. This takes place during activation of an axis.

The default value settings are defined in the axis-specific parameter lists:

          # 1 handwheel, 2 continuous, 3 incremental
          handbetrieb.default.operation_mode   2 # 2 continuous,
          handbetrieb.default.control_element  1 # logical handwheel/key

The default value used is the 0th parameter set (index = 0) of the manual mode parameters.

Every time the manual mode (see Operation mode types) or G200/G201 is reselected, the last known setting of the axes (operation mode, link to control element and parameter set) is restored.

Activating control elements with manual mode

Description

Control unit to manage data to activate a control element and assign it to an axis in manual mode, including flow control of user data.

Data type

MC_CONTROL_HB_ACTIVATION_UNIT, see description Control Unit mit Verbrauchskontrolle

Special features

This control unit can only be used if the CNC is in manual mode or if the axes are enabled for manual mode by an explicit G200/G201.

Otherwise, activation is refused with an error message (e.g. 150048 -> “Impermissible selection of operation mode in continuous jog mode”).

ST path

gpCh[channel_idx]^.hb_mc_control.activation

Access

PLC reads request_r and writes command_w + enable_w

Commanded, requested data

ST element

.command_w

.request_r

Data type

HLI_HB_ACTIVATION, for description, see Section User data on activation

Flow control commanded data

ST element

.command_semaphor_rw

Data type

BOOL

Value range

[TRUE, FALSE]

Special features

Consumption data item

Access

CNC accepts the commanded data if this element has the value TRUE and sets this element to the value FALSE after complete acceptance of the data.

PLC can write data for commanding if this element has the value FALSE. The PLC sets this element to the value TRUE if all data to be commanded is written.

Flow control of requested data

ST element

.request_semaphor_rw

Data type

BOOL

Value range

[TRUE, FALSE]

Special features

Consumption data item

Access

CNC writes the data requested by the GUI if this element is FALSE and then sets this element to TRUE.

PLC reads the data requested by the GUI if this value is TRUE. After the PLC fully accepts the data, the PLC sets this element to FALSE.

Redirection

ST path

.enable_w