This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethercat behavior of LRW vs Beckhoff ET1100

Other Parts Discussed in Thread: AM3359

Hi,

Question re AM3359 Ethercat behavior with 1.0.0.5 stack and the LRW read/modify write command.  I have a slave application with the Beckhoff ET1100 and am able to read a digital input and set a digital output based on the value of the digital input within one Ethercat frame.  i.e. if I write a loopback Twincat PLC program that outputs the inverse of a digital input, I can see the digital output toggle at the frame rate (1 Khz).  This tells me that the LRW command is modifying the bit within the same frame as it read the input.   However if I try this same PLC program with a slave using the AM3359 and 1.0.0.5 stack, the output toggles at 1/2 the frame rate, i.e. the bit modify does not happen in the same frame as the bit read.  Should this be expected behavior?

  • Hi,

    Can you please upgrade to 1.0.0.6 or later and let me know whether this issue is fixed. We did fix some issues in EtherCAT firmware for LRW command handling in 1.0.0.6.

    Did you check this by looking at LED toggle or wireshark logs ? Can you please share wireshark logs for the same if possible. For LRW command or LWR command update of register/process data can only happen post end of frame (EOF) once CRC checks are complete.

    In this case LED is controlled by A8 application and surely that should happen within few micro secs after EOF on PDI interrupt.