IEC Counter does't work with tripple speed on FactoryIO

The speed of data transfer between Factory IO and your PLCSIM in not the fast. You cant do nothing with that because its depended about your PC proces, how fast is your procesor and how much ram memory you have. I have the same issue that my encoder is not counting properly because the factory IO is soemtimes adding two or more states of the encoder pulse A and B so the are sended together with one data transfer. That makes my function not recognisisng the actual incremental encoder resolution.
The only thing what you can do is work on the normal speed of the factory io or even decrease it a bit. I tried also the OPC server on TIA Portal and its working the same way.
If you are using the PLCSIM that will be the same on other possible connections.

2 Likes