Writing Tag Values
Posted: Thu Nov 01, 2012 8:34 pm
Is it possible to take a value from a Modbus read only variable and write it to a Modbus write only variable when a button is pressed?
Thanks Mark. It worked great!mark.monroe wrote:The below code fires the ValueChange event for Tag1 whenever it changes. It then copies the value into Tag2. You should also turn on the Always active property of Tag1, so that it always polls the tag.
You should also look at the Data Exchange section of the manual.