EVENT (ENUM)

TYPE EVENT :

THIS enumeration describes all standardized events. An “X” in the table shown below indicates that each CAA PLC supports the respective event. The source OF those events is CB_RUNTIME.

PLC-specific events can be used in the following number areas: 900-999, 1900-1999, 2900-2999, 3900-3999, 4900-4999, 5900-5999, 6900-6999, 7000-7999, ab 10000

The value of each event at the same results in a classification:

  • 1000-1999 CB_ONLINE_EVENTS

  • 2000-2999 CB_INFOS

  • 3000-3999 CB_WARNINGS

  • 4000-4999 CB_RTS_ERRORS

  • 5000-5999 CB_SYSTEM_EXCEPTIONS

  • 6000-6999 CB_INTERRUPTS

  • 7000-7499 CB_IO

  • 8000-9899 CB_FIELDBUS

  • 9900-9999 CB_TIMERS

  • 10000- CB_MANUF_SPEC

Attributes:
qualified_only
InOut:

Name

Initial

Comment

ALL_EVENTS

-1

NO_EVENT

0

START

1000

start command for PLC

STOP

stop command for PLC

BEFORE_RESET

before reset is executed

AFTER_RESET

after reset is executed

ONLINE_CHANGE

Is called after CodeInit() at Online-Change

BEFORE_DOWNLOAD

Is called at the beginning of a program download