System Errors Accessed

This section describes how to read the error codes in your project. These codes are defined in the Error Codes section of this site.

The variables are- sErrorMessageCritical, sErrorMessageNonCritical.

Variable Access

To access these variable, install the device P2CDS622_SystemTags, by right-clicking on Device and Add Device > Miscellaneous.

Then add the device and connect to the P2CDS-622.

The variable in the IO Mapping space is of an Array of Bytes. This ARRAY can be converted to a STRING by creating a variable in your project of type STRING` and assigning this variable in the IO Mapping. It automatically converts the array to a string.

An example value for this string is shown below (“No Errors Detected” or “E023202: Module Missing”).

alternate text

alternate text