Optimizing Switch Nodes / OPCUA

Thanks for the responses...I just did a little test with the debug node and it writes "true" on the time that it should (When i hit the button) but I just sometimes get no response for some time..

PLC is a Siemens S7-1200. It uses an OPC UA server. I am not entirely sure about the Server side OS or the resources... I believe we are using Basic256Sha256 and I believe our scan rate is 100ms. In Node-Red I have two Read Client nodes and one Write Client node, and there are about 235 tags but not all writing/reading at the same time... We are using node-red-contrib-opcua nodes for this but am running on a Raspberry Pi (ComfilePi 10.2")

No patterns in particular, but as I said above i did a little test and it writes "true" to the tag at least in the debug panel on time. It does seem like there is a more likely chance of a delay if nothing has been hit in a while. I wonder if it could be slow uptake on the PLC side? Only other thing to report is that we are sending data not only to the dashboard but to a Ubidots cloud service, and sometimes, despite being connected to the internet, some values don't get sent at the rate they should. This is why I asked about the switch node but its sounding more and more like its the PLC/OPC.