i try to use CIA405.RECV_EMCY But don't get any massage.
TonCheck(in:= NOT tonCheck.Q , pt:=T#100MS); IF TonCheck.Q THEN mxCheck_EM:=TRUE; END_IF
Recieve_Emcy(NETWORK:=1 , ENABLE:= mxCheck_EM , TIMEOUT :=10 , CONFIRM => Confirm_EMCY , ERROR => CIA405_Error, DEVICE =>CIA_Device, ERRORINFO => CIA405_Emcy_Code );
IF CIA405_Error > 0 THEN ....... Give massage
IF Confirm_EMCY THEN mxCheck_EM:=FALSE; END_IF
Anyone with a working Exaple ? Thanks
Hi, please check this example here: https://store.codesys.com/canopen-example.html
BR Edwin
Edwin, Thanks ! But i don't get any responce . Its an machine with version 3.5sp6p4
On my analyser i see 082h 21 71 20 00 00 00 00 00
Stay's the emergency massage til i read it ? or should i read it every cycle ?
Log in to post a comment.
i try to use CIA405.RECV_EMCY
But don't get any massage.
TonCheck(in:= NOT tonCheck.Q , pt:=T#100MS);
IF TonCheck.Q THEN mxCheck_EM:=TRUE; END_IF
Recieve_Emcy(NETWORK:=1 , ENABLE:= mxCheck_EM , TIMEOUT :=10 ,
CONFIRM => Confirm_EMCY , ERROR => CIA405_Error, DEVICE =>CIA_Device, ERRORINFO => CIA405_Emcy_Code );
IF CIA405_Error > 0 THEN ....... Give massage
IF Confirm_EMCY THEN mxCheck_EM:=FALSE; END_IF
Anyone with a working Exaple ? Thanks
Hi,
please check this example here:
https://store.codesys.com/canopen-example.html
BR
Edwin
Edwin,
Thanks ! But i don't get any responce . Its an machine with version 3.5sp6p4
On my analyser i see 082h 21 71 20 00 00 00 00 00
Stay's the emergency massage til i read it ? or should i read it every cycle ?