we are trying to publish 11 values, which are read out by Beckhoff terminals via EtherCat, via the node red app. The interval varies between 30 and 3000 ms. The publish interval is set to 20 ms. In addition, the ControlX hangs up at irregular intervals. We assume, that we made an error in the pre processing of the data flow (see attachments), but we can't identify the real cause. In the end, we are trying to achieve an interval time of around 10 ms. Is this theorethically possible? Thank you in advance
Solved! Go to Solution.
The Data Layer nodes are working in your usecase at their maximum performance and the 30ms interval cannot be met deterministic because several other process are interfering (Garbage Collector („Stop The World“), REST API, Backend,…). So the REST ques will sum up and can cause a crash.
Please use an interval >= 100ms that should word properly. As you have running a PLC already you collect in e.g. 10ms, preprocess the data and send in the slower interval.