Activating error filters

Release Note

release_note

The function is available as of CNC Build V3.00.xx.

Activating the filter
Activating the filter

Activate error filter rules - platform

Description

Here, the individual error filters can be activated/deactivated by the 32-bit mask according to their activation bits.

For example, the following rule is activated by setting the first bit (command_w = 0x00000001):

error_filter[0].activation_bit         0x1

Data type

MC_CONTROL_UNS32_UNIT, see description of control unit

Unit

[-]

Access

PLC reads request_r + state_r and writes command_w + enable_w

ST path

gpPform^.error_filter

Commanded and requested value

ST element

.command_w

.request_r

Data type

UDINT

Return value

ST element

.state_r

Data type

UDINT

Redirection

ST element

.enable_w

Activate error filter rules - channel

Description

Here, the individual error filters can be activated/deactivated by the 32-bit mask according to their activation bits.

For example, the following rule is activated by setting the first bit (command_w = 0x00000001):

error_filter[0].activation_bit         0x1

Data type

MC_CONTROL_UNS32_UNIT, see description of control unit

Unit

[-]

Access

PLC reads request_r + state_r and writes command_w + enable_w

ST path

gpCh[channel_idx]^.head.error_filter

Commanded and requested value

ST element

.command_w

.request_r

Data type

UDINT

Return value

ST element

.state_r

Data type

UDINT

Redirection

ST element

.enable_w

Activate error filter rules - axis

Description

Here, the individual error filters can be activated/deactivated by the 32-bit mask according to their activation bits.

For example, the following rule is activated by setting the first bit (command_w = 0x00000001):

error_filter[0].activation_bit         0x1

Data type

MC_CONTROL_UNS32_UNIT, see description of control unit

Unit

[-]

Access

PLC reads request_r + state_r and writes command_w + enable_w

ST path

gpAx[axis_idx]^.head.error_filter

Commanded and requested value

ST element

.command_w

.request_r

Data type

UDINT

Return value

ST element

.state_r

Data type

UDINT

Redirection

ST element

.enable_w