The Modbus Kepware driver has the ability to read a bit of a word. In Kepware you create a boolean tag with a memory reference of something like (40001.1). So now, I’m using the UA Modbus driver and a CSV template to talk to an DL250 PLC. I’m wondering if I can do a similar function.
Page 73 shows how to read a bit of a word but says that I can’t write to a bit of a word.
Could this be added later?
If your’e encoding/decoding an entire word you may want to tkae a look at getBit() and binEnc().
However, I agree that some bitwise operations in the expression language would be nice.