First things first, thank you all for sharing this opc ua contribution, it has been very useful!
I've been testing the capacities and limitations of Siemens Controllers (S7-1500) and I've found something that can be an issue of the opcua node.
The idea was to see how many data I could loose, so I created an overflow of the queue size.
My PLC1515F was set as:
Sampling interval: 100ms
Publishing interval: 3000ms
My Node-RED OPC UA Client flow was set as:
Subscription
Interval: 100ms
Knowing the characteristics of this PLC being able to queue 10 values, I created a variable that has its value changed each 200ms, from 1 to 15. I'm expecting to loose 5 of the values in each of the publishing time.
The variables were written into a csv file and the results showed each 3s "package" had 9 values instead of 10 as it was supposed to. See table below:
Hello everyone,
First things first, thank you all for sharing this opc ua contribution, it has been very useful!
I've been testing the capacities and limitations of Siemens Controllers (S7-1500) and I've found something that can be an issue of the opcua node.
The idea was to see how many data I could loose, so I created an overflow of the queue size.
My PLC1515F was set as:
My Node-RED OPC UA Client flow was set as:
Knowing the characteristics of this PLC being able to queue 10 values, I created a variable that has its value changed each 200ms, from 1 to 15. I'm expecting to loose 5 of the values in each of the publishing time.
The variables were written into a csv file and the results showed each 3s "package" had 9 values instead of 10 as it was supposed to. See table below:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
CLIENT_HOUR | VARIABLE | VALUE | Qty -- | -- | -- | -- 10:12:26354 | s="simulationBlock_DB"."test" | 12 | 9 values 10:12:26355 | s="simulationBlock_DB"."test" | 13 10:12:26355 | s="simulationBlock_DB"."test" | 14 10:12:26355 | s="simulationBlock_DB"."test" | 15 10:12:26355 | s="simulationBlock_DB"."test" | 1 10:12:26355 | s="simulationBlock_DB"."test" | 2 10:12:26355 | s="simulationBlock_DB"."test" | 3 10:12:26355 | s="simulationBlock_DB"."test" | 4 10:12:26355 | s="simulationBlock_DB"."test" | 5 10:12:29409 | s="simulationBlock_DB"."test" | 12 | 9 values 10:12:29409 | s="simulationBlock_DB"."test" | 13 10:12:29409 | s="simulationBlock_DB"."test" | 14 10:12:29409 | s="simulationBlock_DB"."test" | 15 10:12:29409 | s="simulationBlock_DB"."test" | 1 10:12:29409 | s="simulationBlock_DB"."test" | 2 10:12:29409 | s="simulationBlock_DB"."test" | 3 10:12:29409 | s="simulationBlock_DB"."test" | 4 10:12:29409 | s="simulationBlock_DB"."test" | 5