# A question about OPCUA module developing

**URL:** <https://forum.inductiveautomation.com/t/a-question-about-opcua-module-developing/3630>\
**Category:** General Discussion\
**Created:** [November 20, 2011, 3:00am UTC](https://forum.inductiveautomation.com/t/a-question-about-opcua-module-developing/3630 "2011-11-20T03:00:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [November 20, 2011, 3:00am UTC](https://forum.inductiveautomation.com/t/a-question-about-opcua-module-developing/3630/1 "2011-11-20T03:00:54Z")

</div>

I have read the example of Ignition-ModuleSDK-7.2.8\example\ModbusDriver-v2.it is difficult to understand,a question:the device use tcp protocol to read the modbus data,but I could’t find any code to get data through tcp socket?where is code to get data from the modbus device?thank you very much.

---

<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:** [November 21, 2011, 7:56pm UTC](https://forum.inductiveautomation.com/t/a-question-about-opcua-module-developing/3630/2 "2011-11-21T19:56:21Z")

</div>

AbstractNioDriver provides the networking bits and pieces. You can see the Modbus driver extends from this and then implements the required createConnectRequest() and messageLength() calls.

This is entirely optional - you can make your own network connections and extend directly from AbstractDriver if you want. (This is also optional; a driver really only needs to implement the Driver interface when all is said and done.)

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [November 22, 2011, 7:25am UTC](https://forum.inductiveautomation.com/t/a-question-about-opcua-module-developing/3630/3 "2011-11-22T07:25:22Z")

</div>

Thank your very much,.  
Can you tell me which code is sending the original data to modubus driver and which code is receiving original data from the modbus driver,thank you.
