I have a 3D-layout with some hydraulic cylinders that is controlled via OPC-UA communication from an external PLC. The signals from the PLC trigger some calculations that is using the actual Simulation time. My problem is that the plugin-update time differs too much for me to have enough accurate results from the calculations. I really want to stay with the OPC-UA protocol if it is possible.
So, is there a way to get a handle of the “Average update time”, and “Average plugin time” so I can compensate for it in a python script?
Thanks in advance.