Diagnostic Code structure for ctrlx IO modules

I'm trying to parse the diagnostic messages that occur on the CtrlX IO Analog Input modules inside the PLC. However, I don't know the structure of the array of bytes that is returned. The manual says it conforms to ETG1020, but I don't have access to that. I tried to convert it to a String, but the data doesn't appear to be ASCII string information. Can someone provide the data structure to expect?

Best reply by cc2go

Hello StephenO

it's not ASCII, it's coded as Diag Code, Flag (Error/Warning/Info), TextID, Timestamp and module specific Parameters.

The Text has to be used with the TextID from the data sheet or ESI file.

View original
1 reply