Reliable write to external devices from Scheduler / Recipes

Sometimes you may encounter situation, when your tasks from scheduler or recipes do not writes data to external devices reliably (due to the communication errors). In the cases, you can use internal registers as a temporarily storage for this values and Lua script to sync the values with external devices.

Please refer to the diagram: