Supported platforms: CODESYS 3.5, CODESYS 3.5 SAFETY

 

SafeErrorLog library description

Library provides POUs and data structures for error logging which is possible to use within safety related application code.

Library is not intended for implementing safety related functionalities but only for diagnostic and debugging purposes.

 

Purpose is to make it easier to identify which part of the application caused error that might have led to safe state and order of occurrence.

Log data is intended to be stored in application’s non-safety RAM memory so that errors can be triggered from safety and non-safety application code.

 

Library is used by S-Series code template generated by MultiTool Creator to implement local error log.

 

Current library version

1.0.0.0

List of library releases

Library version

Manual version in release

1.0.0.0

SDK 3.6

 

For more details, see Epec extranet for product specific changelog(s).

 

Public functions

POU

Description

S_InitErrorLog

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

S_AddError_BYTE

Function adds new error log line. Additional infos are given with BYTE inputs.

S_AddError_DWORD

Function adds new error log line. Additional infos are given with DWORD inputs.

Dependencies

3S CODESYS libraries

SysCpuHandling

CmpErrors

SysTypes2 Interfaces

 

To see library dependencies with MultiTool Creator, see section Using Libraries with MultiTool Creator.

 

See also

 

 

Source file topic100586.htm

Last updated 19-Dec-2024