# Ignition Serial Module to read data from MOXA Nport 5110

**URL:** <https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [August 20, 2019, 10:28am UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590 "2019-08-20T10:28:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 10:28am UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/1 "2019-08-20T10:28:57Z")

</div>

Hello,  
We have a counter that its output is Modbus RTU (serial) and is connected to a serial-to-Ethernet converter (Moxa nport 5110). A SCADA is reading the data of this counter through the Moxa. Now we should read data of this counter through this moxa in ignition. The question is that can we use Ignition Serial Module to read the data? is it possible that both system (the other SCADA and Ignition) reading simultaneously the data of this counter ?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 20, 2019, 11:31am UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/2 "2019-08-20T11:31:58Z")

</div>

I’ve had some success with the Modbus driver + the serial support module doing exactly this with the Moxa nport (I don’t remember if it was the 5110…). When those two modules are both installed, the Modbus driver offers “Modbus RTU over TCP”. Note that it is fragile – only one SCADA can talk on the serial port, and any framing errors cause brief stalls. Consider a Modbus TCP to Modbus RTU _ **gateway** _ product instead, such as Moxa’s MB3180.

---

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 12:03pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/3 "2019-08-20T12:03:34Z")

</div>

Thanks for your reply. I tried with “Modbus RTU over TCP” and the module is connected but I cannot read any data (the tags shows BAD DATA) while the other SCADA system is reading the values correctly and that’s why I thought I may connect to the MOXA with Ignition Serial Module. When you said it’s fragile, you meant now that the other SCADA system is reading the data I cannot read the data from Ignition simultaneously? about considering other gateway, I cannot replace this MOXA with others because of some limitations and I need to figure out a way to read the data with this MOXA. Do you also have an example or document how to read data with serial module?

---

<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:** [August 20, 2019, 1:02pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/4 "2019-08-20T13:02:22Z")

</div>

You won’t be able to read data from this with the serial, either, if another SCADA system is already polling it.

You can’t have multiple systems accessing a device on same serial line unless you put a real Modbus gateway in front that will mediate access to the serial line.

---

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 1:15pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/5 "2019-08-20T13:15:41Z")

</div>

So there is no way to read the data from this MOXA (either with Modebus RTU over TCP module or Serial Module) if another SCADA is polling the data? the only way is to replace the MOXA to a Modbus gateway (e.g. MGate)?

---

<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:** [August 20, 2019, 1:17pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/6 "2019-08-20T13:17:00Z")

</div>

Yes, that’s correct.

If the other SCADA system has an OPC server you could connect Ignition to that and read the data it’s polling from Modbus indirectly.

---

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 1:20pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/7 "2019-08-20T13:20:11Z")

</div>

Ah OK thanks Kevin. Just for the curiosity: why the Module “Modbus RTU over TCP” is on “Connected” status if it cannot make a proper request (reading the data) to the serial line behind the MOXA?

---

<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:** [August 20, 2019, 1:22pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/8 "2019-08-20T13:22:31Z")

</div>

Because it has an open TCP connection to the MOXA just fine.

It will attempt to read any tags you’ve set up, and might even work occasionally, if the timing allows for the request and response from Ignition to hit the serial line in between the other SCADA system polling. But it will be unreliable.

---

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 1:24pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/9 "2019-08-20T13:24:39Z")

</div>

Thanks @Kevin.Herron

---

<div class="post-metadata">

**Author:** ![alireza.dehghani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@alireza.dehghani](https://forum.inductiveautomation.com/u/alireza.dehghani)\
**Post date:** [August 20, 2019, 4:21pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/10 "2019-08-20T16:21:13Z")

</div>

Just in case, if we replace the current MOXA Nport with MGate MOXA that converts Modbus RTU to Modbus TCP, in this case both Ignition and the other SCADA system can work and read the data of the counter simultaneously without any problem?

---

<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:** [August 20, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/ignition-serial-module-to-read-data-from-moxa-nport-5110/27590/11 "2019-08-20T16:22:53Z")

</div>

Yes, assuming the other SCADA system can be modified to use regular Modbus TCP instead of RTU over TCP.
