Hello,
Is there any FB to reset the errors of the ctrlX CORE via PLC?Â
Â
Hello,
Is there any FB to reset the errors of the ctrlX CORE via PLC?Â
Â
Hi,
Â
you can use the Functin Block "DL_WriteNode" out of the "CXA_Datalayer" Library.
Call the FB with " DL_WriteNode.NodeName:= 'diagnosis/confirm/all-errors', " and set the "DL_WriteNode.Execute" on TRUE when you want to reset the Errormessages on the Core. Set the Execute on False with "DL_WriteNode.Done" or "DL_WriteNode.Error".
Â
Short Example out of my Code:
VAR
fbPLC_Reset :DL_WriteNode;Â Â
END_VarÂ
fbPLC_Reset(
Execute:= ,
Done=> ,
Active=> ,
Error=> ,
ErrorID=> ,
ErrorIdent=> ,
ClientId:= ,
NodeName:= 'diagnosis/confirm/all-errors',       // "global clear error" Funktion in ctrlX Datalayer
Value:= );
IF GVL_IO.E15_reset OR GVL_HMI.bReset THEN
   fbPLC_Reset.Execute:=TRUE;
ELSIF fbPLC_Reset.Done OR fbPLC_Reset.Error THEN
   fbPLC_Reset.Execute:=FALSE;
END_IF
Â