I’ve got an command set up for a modbus device. I can manually execute the command successfully.
It is a heartbeat signal that must change from 0 to 1 every second for communication to work.
How can I automate the command to constantly execute ( write 0/1 to modbus register).
I do not want to have to initiate the heartbeat signal if possible, but always have it running in the background.
You should create an input channel that changes every second, for example: DateTime.Now.Second % 2 and use Automatic Control Module with on change trigger to send a command.