Supported platforms: CODESYS 2.3, CODESYS 3.5

 

List of Library's Global Variables

CODESYS 2.3CODESYS 2.3

Global Constants

Name of the Constant

Data Type

Default value

Description

G_DO_DIAGFILTERDELAY

WORD

50 (ms)

Delay for enabling the diagnostic after i_Control change.

G_DO_DIAGPROGRAMCYCLES

WORD

3

Number of program cycles run before enabling the diagnostic after i_Control change.

G_DO_SHORTCUT_ERRORDELAY

WORD

0 (ms)

Delay (ms) for shortcut diagnostic error, used in both sinking and sourcing DOD blocks.

G_DO_EXTERNAL_ERRORDELAY

WORD

0 (ms)

Delay (ms) for external voltage diagnostic error

G_DO_NOSUPPLY_ERRORDELAY

WORD

0 (ms)

Delay (ms) for supply voltage diagnostic error

CODESYS 3.5CODESYS 3.5

Library Parameters

Name of the Constant

Data Type

Default value

Description

G_DO_DIAGFILTERDELAY

WORD

50 (ms)

Delay for enabling the diagnostic after i_Control change.

G_DO_DIAGPROGRAMCYCLES

WORD

3

Number of program cycles run before enabling the diagnostic after i_Control change.

G_DO_SHORTCUT_ERRORDELAY

WORD

0 (ms)

Delay (ms) for shortcut diagnostic error, used in both sinking and sourcing DOD blocks.

G_DO_EXTERNAL_ERRORDELAY

WORD

0 (ms)

Delay (ms) for external voltage diagnostic error

G_DO_NOSUPPLY_ERRORDELAY

WORD

0 (ms)

Delay (ms) for supply voltage diagnostic error

 

 

 

Source file topic000879.htm

Last updated 4-Sep-2025