Hi everyone;
I am trying to set to one the tag “TestActivation” that is HR:23.00.
In the Pro-face PLC is the Bit address 400023.00. When I click on the value from the tag browser
I get this error:
The Communication in the designer is read/write and from the gateway (Opc > OPC connections options) is not set to read only.
Thanks for your support
There should be an error in the gateway logs that might give you more information, like if the device responded with a Modbus ExceptionCode.
Ok, so your Modbus device doesn’t support the function code that allows individual bits to be written to.
You’ll have to use some kind of workaround where you read, mask, and write the whole register back.
One approach using a derived tag is discussed here: Troubles making a Derived Boolean Tag work as a mask for a Short Tag - #2 by Kevin.Herron
Another that uses scripting here: Modbus UA - #5 by Travis.Cox
Ok thanks a lot, I’ll read that