Error messages 12 Error messages Errors occurring in the NC kernel can be displayed on the HLI interface in order to provide the PLC with the option of responding to the error and logging it. The significance of the individual structure elements is documented in [DIAG]. Each error message is identified by a unique error number and the error messages are documented in [DIAG]. 12.1 Management data of an error message 12.1.1 Error message CNC -> PLC 12.1.2 Error message PLC -> CNC TF5200 | TwinCAT 3 CNC HLI-Interface 175 Version: 1.23 Error message CNC → PLC management data Description This structure contains user data and data for flow control of an error message.
Data type MC ERROR _ ST path gpCh[channel idx]^.mc error _ _ User data Description User data of an error message. ST element .satz r _ Data type HLI ERROR SATZ _ _ Access PLC is reading Flow control of user data Description Validity flag of an error message. ST element .semaphor rw _ Data type BOOL Value range [TRUE = user data is valid, FALSE] Access The CNC sets this value to TRUE if the user data of an error message is written and the error message is then valid. The PLC must set the value of this element to FALSE if the “Redirection” [} 150] element has the value TRUE and the PLC accepted the error message.
Redirection ST element .enable w [} 16] _ Data type BOOL Error message PLC → CNC management data Description This structure contains user data and data for flow control of an error message. Data type LC ERROR _ ST path gpCh[channel idx]^.lc error _ _ User data Description User data of an error message. ST element .satz r _ Data type HLI ERROR SATZ _ _ Access PLC writes Flow control of user data Description Validity flag of an error message. ST element .semaphor rw _