Read an error stored on the RAM or EEPROM of the controller

Block to read an error stored on the RAM or EEPROM of the controller, active errors are read from RAM, stored from EEPROM

Description

The block receives an error number (starting at 1) and returns the number of active errors and the requested error data.

Remarks

Declaration

(No initialisation block needed)

Input

An uint8 containing the number of the error in the error list. Can be between 1 and 64.

Output

The four error values along with the total amount of errors is returned.

Output 1
The first output returns the number of total number of active or stored errors. This will be returned as an uint8.
Output 2
The second output returns the error code (ID) of the requested error. This will be returned as an uint16.
Output 3
The third output returns the given parameter of the error. This will be returned as a unit8.

The parameter can be used for the severity of the error. Suggested values are:
10 = minor
15 = standby
20 = critical
Output 4
The fourth output returns the number of times the requested error has occurred (see remarks). This will be returned as an uint8. If this value is 0, then the requested error was not set.
Output 5
The fifth output returns the timestamp of the requested error. The timestamp is in milliseconds after system startup. This will be returned as an uint32.