Read Realtime Errors

This function block can be used to read the number of realtime errors within a specified module since the start of the application.

A realtime error occurs, if at the start of a new realtime cycle the module could not end all of its operations yet.

The input Module is used to specify the module. A value of 0 up to 8 is valid. The output Counter shows the number of realtime errors. The output Err will show an error number.


Name I/O Type(s) Function
Module I WORD Number of the module
Counter O LONG Number of realtime errors in the selected module
Err O WORD Error indicator


Error numbers Result
0 No error
-1 The necessary data structure for diagnosis information could not be initialized.
-300 The input value is invalid.