Hi, please if some one can help me if is possible to send command to change only one bit in a modbus register and not modify other register bits. For example if i have one register 0110 0110 1000 0110 and i want to change only the second bit to 0 is is possible to use one Button to send command (something like SetBit? )?
Set a formula for the output channel.
Something like this (not tested): (ushort)Val(101) | ((Cmd > 0 ? 1 : 0) << 2)
There the input channel #101 stores the current value of the register.