CODESYS - the IEC 61131-3 automation software

ETC_CO_SdoRead4 outputs error on xExecute=FALSE
Page 1 of 1

Author:  Omar Ampyx [ Tue Apr 02, 2019 1:00 pm ]
Post subject:  ETC_CO_SdoRead4 outputs error on xExecute=FALSE

Hi all,

I normally ready SDO parameters every cycle using ETC_CO_SdoRead4. However this function block generates ETC_CO_TIMEOUT error right after a network recovery.

Using the trend tool (see attached) I noticed that the FB's output xError becomes TRUE when input xExecute is FALSE. This is unexpected since I assumed that on xExecute=FALSE all the outputs should be FALSE (like the behaviour of the PLCOpen blocks).

I currently solved the problem by re-triggering the block once again in the same cycle (see attached) but I still think this is not how ETC_CO_SdoRead4 should behave. Am I missing something?

Thank you in advance, Omar

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited