Hi,
A simpler way is:
Modbus1.40001 = IF(PushButton1, myValue, Modbus1.40001)Here, as you can see, when the PushButton is not pressed, we just write the current value of the Modbus register back to itself -- thus not really changing anything.
BTW, Pot Remote versus Local in a nutshell tells us where the value of the Pot resides. A remote source sets the value of the Pot to the remote source's value. So, as you discovered: if a Pot's remote source is connected to say Modbus.40002, the Pot will reflect this Value. Whenever the 40002 reister changes, Pot's current value changes to reflect that. Whereas a local (non-remote) Pot's value is whatever the Pot is set to on the Panel. Lookout's Online Help goes into much detail describing this; c
heck it out.
Hope this helps.
Rgds,
Khalid 🙂