CIA405.RECV_EMCY

2019-02-19
2 days ago
  • Reinier Geers - 2019-02-19

    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

     
  • michaelhepiroc - 2 days ago

    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.

     

Log in to post a comment.