Hi,
I have a channel that acts as a counter. I need to have the value of the channel reflected in a MODBUS device. Right now I am able to get the counter to work and have the value of the channel to go up or have the value of the MODBUS register be displayed in my scheme.
I have set my channel to “calculated/output” and gave it a formula to add 1 every second (EverySec(() +> Val() + 1)) and I have another channel to output the value to MODBUS (data()).
If I deactivate the counter formula the value from the MODBUS register is passed through and displayed.
Is there a way to make a formula to add one to the value of the MODBUS register every second and then display that value in my scheme?
Thanks