Supported platforms: CODESYS 3.5, CODESYS 3.5 SAFETY

 

S_InitErrorLog (FUN)

Description

This function initializes the log data and stores the pointer to the log in library’s internal global variable.

Limitations

MultiTool Creator code template executes this function automatically.

 

In a safety related application this function shall be executed from safety related code since the internal pointer variable is located in safety RAM.

 

Inputs

Input variable name

Data type

Range

Description

i_pErrorLog

ErrorLog

≠ 0

Pointer to log data

Return value

Data type

Description

BOOL

TRUE if initialization is success, FALSE if log pointer is not valid

Errors

No errors.

 

Example code

MultiTool Creator code template includes the log data and initialization.

 

 

See also

 

 

 

Source file topic100589.htm

Last updated 13-Jun-2024