I think I get you. Cheers Drbitboy.
So it's like once the shifting is done, D630 is "back-filled" with zeros...well, that's how I like to I think of it.
When the rig is running, the flow rate doesn't vary that much, but the vertical bar is jittery and difficult for the operator to focus on one value and write it down on his checklist.
I guess ultimately, the "fix" could be done in the HMI by slowing down the display rate (although I've not seen a 'sampling rate for display' feature in the HMI, GT Designer3).
Ah, we missed this subtlety. Even 1 second is going to be too jittery. I think the ultimate solution will be to update, in the PLC, the value that will be written to the checklist every 10 seconds. Keep the SFTWL, as it's cleaner than the indexed solution, but add a counter of the S412 rising edges, and only execute the divide-by-ten branch on every tenth edge e.g. see below.
I.e. the D654 value is used only for the operator's checklist.
Thanks for this.
I've not implemented it yet - should be running the oil system in the next day or two. I'll ask the operator if it's still too jittery. Will try the 'counter' code if required.