Hello James, I would always recomend the libraries and functions provided for your specific use case (in this case CXA_Ethercatmaster.IL_ECATSoeRead). Most of them already have checks, timeouts and examples included in them and are much easier to implement. However not all Datalayer Nodes have a PLC library or FB´s. For this case you could build your own FB´s using CXA_Datalayer. (Just to clarify: EoE (EthernetOverEtherCAT) as mentioned in the title has nothing to do with both cases) Edit/Followup: I just saw that you want to read the SoE Drive status word (S-0-0135). This is a realtime variable which can be read in realtime through the "DataLayer_Realtime" object of the ctrlX Core in PLC-Engineering. Please take a look at the documentation for more information. Realtime Data from the EtherCAT bus can be read once the EtherCAT-Master (and the Slaves) are in State "SafeOp" or "Op". Both CXA_Datalayer and CXA_Ethercatmaster do not access the data in realtime.
... View more