Optimizing Node Red Flow

Sorry, I didn’t answer your question. This is running on a RIO. By control strategy, you mean like CODESYS or something similar, right? I would love to be doing this in CODESYS, but its not available yet for RIO. On a RIO only Node Red is available, right?

I installed the node shown in that post, but it looks like that is only for groov view, and I want scratchpad.

I think a better place for me to start is here:

In this post Ben explains how to use a scratch pad API to write multiple values at same time.

Or is there a better way?

Thanks,
-Caleb