Activating error filters

Release Note

release_note

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

Activating the filter
Activating the filter

Activating 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

Activating 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

Activating 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