Supported platforms: CODESYS 2.3, CODESYS 3.5

List of event status and configuration related data types

EL_EventData

CODESYS 2.3CODESYS 2.3

Name of the Member

Data Type

Description

EventType

BYTE

User definable event type

Configuration

BYTE

Event has pop-up, is acknowledgeable

UserLevel

BYTE

User level for e.g. acknowledge

StatusFlags

BYTE

Pop-up, acknowledge etc. statuses

EventCount

WORD

Event count value. Max value 32767

 

 

CODESYS 3.5CODESYS 3.5

Name of the Member

Data Type

Description

EventType

BYTE

User definable event type

Configuration

BYTE

Event has pop-up, is acknowledgeable

UserLevel

BYTE

User level for e.g. acknowledge

StatusFlags

BYTE

Pop-up, acknowledge etc. statuses

PopupTimeStamp

DWORD

Time stamp when popup is shown first time on display

EventCount

WORD

Event count value. Max value 32767

 

 

EL_EventSource

Name of the Member

Data Type

Description

Source

WORD

Source address of the event

pSourceAppConfig

POINTER TO ARRAY [0..32767] OF EL_EventData

Pointer to configuration array

CountOfAppEvents

WORD

Application event array size

pSourceLibConfig

POINTER TO ARRAY [-32768..-1] OF EL_EventData

Pointer to configuration array

CountOfLibEvents

WORD

Library event array size

 

EL_Filter

Name of the Member

Data Type

Description

FilterType

EL_FilterTypes

Filter type: 0 = status, 1 = source, 2 = type, 3 = user level, 4 = Event ID

Operator

EL_FilterOperators

Filter operator

Negation

BOOL

Negation for operator

Arg1

WORD

Range minimum or status

Arg2

WORD

Range maximum or mask

 

EL_FilterOperators (ENUM)

Name of the Member

Value

Description

EL_FOP_AND

0

AND

EL_FOP_OR

1

OR

EL_FOP_XOR

2

Exclusive OR

 

EL_FilterTypes (ENUM)

Name of the Member

Value

Description

EL_FTP_STATUS

0

Filter by event status

EL_FTP_SOURCE

1

Filter by event source

EL_FTP_TYPE

2

Filter by event type

EL_FTP_USERLEVEL

3

Filter by event user level

EL_FTP_EVENTID

4

Filter by event ID

 

EL_EventStatusFlags (ENUM)

Name of the Member

Value

Description

EL_EVENT_STATE

1

Event state

EL_STATE_NOT_ACK

2

State not acknowledged

EL_POPUP_NOT_ACK

4

Pop up not acknowledged

EL_EVENT_TO_LOG

8

Event is logged

EL_EVENT_ACTIVE

16

Event is active

EL_OPTION_EXT_SYSTEM

32

Event contains extended event line

EL_EXT_SYSTEM_FRAME

64

Extended event line

EL_TIMESTAMP_BIT

128

Time stamp

 

EL_Translators

CODESYS 2.3CODESYS 2.3

Name of the Member

Data Type

Description

EventID

WORD

Number of event to be translated

POUindex

WORD

Callback function POU index

Argument

DWORD

Argument for callback POU

Source

BYTE

Source of event to be translated

 

 

CODESYS 3.5CODESYS 3.5

Name of the Member

Data Type

Description

itfTranslator

IEventLogTranslator

Callback interface

EventID

WORD

Number of event to be translated

Argument

DWORD

Argument for callback POU

Source

BYTE

Source of event to be translated

 

 

EL_EventTypeConfigs

CODESYS 2.3CODESYS 2.3

Not supported

 

CODESYS 3.5CODESYS 3.5

Name of the Member

Data Type

Description

EventType

BYTE

Event type

Count

WORD

Count of EventType events

 

 

 

Source file topic000777.htm

Last updated 19-Dec-2024