# OPCUA driver with Modbus Driver connected by serial port

**URL:** <https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660>\
**Category:** Module Development\
**Created:** [November 26, 2011, 2:36pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660 "2011-11-26T14:36:01Z")\
**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 26, 2011, 2:36pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660/1 "2011-11-26T14:36:01Z")

</div>

I have read the example of Ignition-ModuleSDK-7.2.8\example\ModbusDriver-v2. it is a bout modbus TCP.if I want write a OPCUA driver with ModbusDriver connected by serial port,what can I do,thank you very much.

---

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [November 28, 2011, 2:42pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660/2 "2011-11-28T14:42:30Z")

</div>

You could probably just create an interface to an existing library that can handle serial like [http://jamod.sourceforge.net/](http://jamod.sourceforge.net/)

---

<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 29, 2011, 2:34am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660/3 "2011-11-29T02:34:06Z")

</div>

Thanks,I just 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?
