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