CB.Event (ENUM)

This enumeration describes all standardized events of the CAA_Callback.Library. 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, from 10000

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

1000-1999

ONLINE_EVENTS

2000-2999

INFOS

3000-3999

WARNINGS

4000-4999

RTS_ERRORS

5000-5999

SYSTEM_EXCEPTIONS

6000-6999

INTERRUPTS

7000-7499

IO

8000-9899

FIELDBUS

9900-9999

TIMERS

ab 10000

MANUF_SPEC

 

CB.NO_EVENT

0

 

X

CB.ALL_EVENTS

-1

 

X

CB.START

1000

start

X

CB.STOP

1001

stop

X

CB.BEFORE_RESET

1002

before reset

X

CB.AFTER_RESET

1003

after reset

X

CB.SHUTDOWN

1004

shutdown

X

CB.ONLINE_CHANGE

1005

after CodeInit at Online Change

 

CB.BEFORE_DOWNLOAD

1006

before program download

X

CB.TASKCODE_NOT_CALLED

1007

task code will not be called

 

CB.TIMER

1008

scheduler tick (not in case of stop)

 

CB.DEBUG_LOOP

1009

communication timer tick (if PLC is stopped on breakpoint)

X

CB.SCHEDULE

1010

scheduler tick (even at stop)

 

CB.ERR_WATCHDOG

4000

software watchdog

 

CB.ERR_HARDWARE_WATCHDOG

4001

hardware watchdog

 

CB.ERR_FIELDBUS

4002

field bus error

X

CB.ERR_IOUPDATE

4003

E/A error

X

CB.ERR_POWERFAIL

4004

power failure

 

CB.EXCPT_ILLEGAL_INSTRUCTION

5000

invalid instruction

 

CB.EXCPT_ACCESS_VIOLATION

5001

access violation

 

CB.EXCPT_PRIV_INSTRUCTION

5002

privileged instruction

 

CB.EXCPT_IN_PAGE_ERROR

5003

access violation 

 

CB.EXCPT_STACK_OVERFLOW

5004

stack overflow

 

CB.EXCPT_MISALIGNMENT

5005

misalignment

 

CB.EXCPT_ARRAYBOUNDS

5006

array bounds

 

CB.EXCPT_DIVIDEBYZERO

5007

division by zero

 

CB.EXCPT_OVERFLOW

5008

overflow

 

CB.EXCPT_NONCONTINUABLE

5009

not continuable exception

 

CB.EXCPT_NO_FPU_AVAILABLE

5500

no FPU available

 

CB.EXCPT_FPU_ERROR

5501

FPU error

 

CB.EXCPT_FPU_DENORMAL_OPERAND

5502

invalid operand

 

CB.EXCPT_FPU_DIVIDEBYZERO

5503

division by zero

 

CB.EXCPT_FPU_INVALID_OPERATION

5504

invalid operation

 

CB.EXCPT_FPU_OVERFLOW

5505

overflow

 

CB.EXCPT_FPU_STACK_CHECK

5506

FPU-specific exception

 

CB.INTERRUPT_0

6000

 

 

CB.INTERRUPT_1

6001

 

 

CB.INTERRUPT_2

6002

 

 

CB.INTERRUPT_3

6003

 

 

CB.INTERRUPT_4

6004

 

 

CB.INTERRUPT_5

6005

 

 

CB.INTERRUPT_6

6006

 

 

CB.INTERRUPT_7

6007

 

 

CB.INTERRUPT_8

6008

 

 

CB.INTERRUPT_9

6009

 

 

CB.INTERRUPT_10

6010

 

 

CB.INTERRUPT_11

6011

 

 

CB.INTERRUPT_12

6012

 

 

CB.INTERRUPT_13

6013

 

 

CB.INTERRUPT_14

6014

 

 

CB.INTERRUPT_15

6015

 

 

CB.INTERRUPT_255

6255

 

 

CB.AFTER_READING_INPUTS

7000

after reading the inputs

 

CB.BEFORE_WRITING_OUTPUTS

7001

before writing the outputs

 

 

8000-8099

reserved for CAN library

 

 

8100-8199

reserved for Profibus library

 

 

8200-8299

reserved for Ethernet library

 

CB.TIMER_1

9900-9999

reserved for CAA.Timer.lib