# Direct bit state read from OPC kepserver - Control logix

**URL:** <https://forum.inductiveautomation.com/t/direct-bit-state-read-from-opc-kepserver-control-logix/21873>\
**Category:** General Discussion\
**Created:** [January 14, 2019, 8:45pm UTC](https://forum.inductiveautomation.com/t/direct-bit-state-read-from-opc-kepserver-control-logix/21873 "2019-01-14T20:45:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.sanchez](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@c.sanchez](https://forum.inductiveautomation.com/u/c.sanchez)\
**Post date:** [January 14, 2019, 8:45pm UTC](https://forum.inductiveautomation.com/t/direct-bit-state-read-from-opc-kepserver-control-logix/21873/1 "2019-01-14T20:45:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 14, 2019, 8:53pm UTC](https://forum.inductiveautomation.com/t/direct-bit-state-read-from-opc-kepserver-control-logix/21873/2 "2019-01-14T20:53:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [January 15, 2019, 7:20am UTC](https://forum.inductiveautomation.com/t/direct-bit-state-read-from-opc-kepserver-control-logix/21873/3 "2019-01-15T07:20:22Z")

</div>

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
