Hi Reinier, I'm wondering if you managed to get this FB to work?
I was just trying it, and found it not to work, I get an EMCY message in the CodeSys program under the Device Status, but the FB doesn't pick up any EMCY messages from the Bus.
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 Reinier, I'm wondering if you managed to get this FB to work?
I was just trying it, and found it not to work, I get an EMCY message in the CodeSys program under the Device Status, but the FB doesn't pick up any EMCY messages from the Bus.
Cheers.