Then build the configuration and imported the generated ESI/XML file into the PLC software, added it to the structure and connected some variables etc.
I then downloaded the project and basic communication is working fine. I also can set the outputs of my DO or AO card (LED is switching and I can measure the voltage), but I can’t see my inputs on both my digital and analog card.
On the DI card channel ten is always set to true, even though there is no wire connected, other channels are always false
On the AI card all values are frozen around zero
What do I miss?
The same setup, just with Profinet (Using X20BC00E3 instead of X20BC00G3) the inputs are working fine, so it must be something in the EtherCAT configuration.
honestly spoken, I haven’t much experience with Ethercat. And I don’t have any Ethercat master to do some testing → maybe someone else here in the Community has some Master (also B&R Ethercat master on B&R PLC should be suitable for a basic test?).
From what you’re describing, it sounds like that there’s something going wrong in the Input register handling / Input image between the filedbus device and the master.
I created the same configuration and checked the output of Automation Studio.
As output, AS generates the configuation files for the Ethercat master, and a HTML based documentation.
I would first recommend to check this generated documentation against the masters configuration in your master environment, if you see any difference in the masters configuration regarding the DataTypes, Size or Offsets.
Regarding the inputs, especially check if the PowerSupply module is handled right because it also has input signals and influences therefore the Input image, which is not the case at your outputs configuration.
And not to forget: please tell us the exact version of Automation Studio you use (I played around with AS4.12.9.18), thanks!
You can share your ESI file here and I can try. If it works on my side then I suppose the issue is not the ESI file and rather your hardware (probably damaged) or the used PLC or program in any way
This also works as expected and I am sorry to tell but I cannot tell why it does not work on your side as it works just fine on my side using a B&R PLC (as we do not own ABB PLCs)