We are trying to use the notation “[Device,bit=1]Variable” in control logix. At first it seems to work but all thoses tags:
“[Device,bit=0]Variable”
“[Device,bit=1]Variable”
“[Device,bit=2]Variable”
I have never seen this syntax. Where did you find it? The OPC item address for a logix bit of a DINT is dot-bit number as a suffix. Like [Device]Variable.0 or [Device]Variable.31.
You could have also used system.opc.writeValue (and the appropriate OPC Item Path), which will work even if you don’t have a tag set up for it in the Tag Browser.