Input DescriptionΒΆ

Using the Function Block CANOM_RES_ERR it is possible to reset the following Communication Module internal error indications and error counters output via the Function Block CANOM_STAT:

  • STATE_BITS.EVENT
  • STATE_BITS.TIMEOUT
  • BUS_ERR
  • BUS_OFF
  • TOUT_ERR
  • LOST_REC

For explanations of the error indications please refer to the description of the Function Block CANOM_STATE CANOM_STATE.

The reset is initiated by a FALSE->TRUE edge at input EN.

../_images/b6d7dab3e3899e960a33139000eba54e

EN

Data_Type Default_Value Range Unit
BOOL - - -

The Function Block is activated (EN = TRUE) or deactivated (EN = FALSE) via input EN. If the Function Block is active, the current values are available at the outputs. If the Function Block detects a CAN Communication Module with a configured CAN 2.0A protocol at the specified SLOT, this is indicated by DONE = TRUE and ERR = FALSE. The corresponding status information is then available at the Function Block outputs.

SLOT

Data_Type Default_Value Range Unit
BYTE - - -

At input SLOT, the Communication Module slot (module number) is selected to used by the Function Block.

The internal Communication Module always has the module number 0. All external Communication Modules are serially numbered from right to left, starting with module number 1.