# OPCUA driver with Modbus Driver connected not by TCPIP

**URL:** <https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668>\
**Category:** Module Development\
**Created:** [November 30, 2011, 5:25am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668 "2011-11-30T05:25:20Z")\
**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 30, 2011, 5:25am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668/1 "2011-11-30T05:25:20Z")

</div>

I want to know how the example code of OPCUA driver with Modbus TCP Driver to be adapted for one which is not based on TCP IP.  
AbstractNioDriver provides the networking bits and pieces. so | must extend directly from AbstractDriver other than AbstractNioDriver . how can implement the Driver interface to send and receive data?

---

<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 30, 2011, 6:37am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668/2 "2011-11-30T06:37:29Z")

</div>

You’ll need to write your own “AbstractSerialDriver” that would sit between AbstractModbusDriver and AbstractDriver. You will need to find your own serial library to do this; Ignition does not currently come with any support for serial communications.

There’s an open-source library called rxtx ([rxtx.qbang.org/wiki/index.php/Main\_Page](http://rxtx.qbang.org/wiki/index.php/Main_Page)), as well as a commercial ones available.

---

<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:** [December 1, 2011, 8:16am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668/3 "2011-12-01T08:16:45Z")

</div>

Thanks for your reply,if I want to realize the fuction :sendMessage and receiveMessage of  
Interface Request in OPCUA driver programing ,I must use the AbstractNioDriver which is send and receive data by TCPIP,is it true?
