Direct bit state read from OPC kepserver - Control logix

Hi,
is there a way to read dictly a bit state Kepserver OPC with Allen Bradley PLC???
somethig like that:

-OPC item Path Int:
 ns=2;s=FLM.PLC.Global.U_Eqp_x.U_Eqp_001.S.Bits2

-OPC item Path, bit 15 state:
 ns=2;s=FLM.PLC.Global.U_Eqp_x.U_Eqp_001.S.Bits2.15

Regards

Whether that works or not is up to the OPC server you’re connected.

I think Kepware does support that syntax. Have you tried it?

Yes it is possible.
You’ll have to manually create a TAG inside the KEPServer.
The right connection string is “TAG.nBit”
For example, suppose you have a TAG named “Motor1” and you want the seventh bit, the correct path would be “Motor1.7” remember to set it as a boolean.
Then refresh the OPC Server in Ignition and you should able to see the new TAG.
Drag and drop it inside the Designer and you’re good to go

1 Like