https://ipc2u.com/articles/knowledge-base/the-difference-between-nport-and-mgate-which-should-you-choose/
20:22 26.03.2019
+49 511 807 259-0, sales@ipc2u.com
Cart
Price on request
Discount -
Total:
Favorite products
Call
Authorization
Login:
Password:


Forgot your password? Registration
Forgot your password?
e-Mail::
Forgot your password?
+49 511 807 259-0, sales@ipc2u.com

The difference between NPort and MGate: which should you choose?


Contents:

The difference between NPort and MGate

Engineers often have trouble deciding between NPort and MGate in their work. The answer lies in their specifications - let’s take a look!

NPort - these are serial device servers, i.e. devices that enable the connection of other devices with interface RS-232, RS-422 and RS-485 via Ethernet to your computer (or other device). Data is transferred in its original format and the program runs either with a virtual COM port or in TCP Client-Server mode.


MGate – these are gateways that also enable the connection of devices with interface RS-232, RS-422 and RS-485 to your computer (or other device) via Ethernet. In addition, they are able to convert protocols from Modbus RTU/ASCII to Modbus TCP and vice versa (as well as other protocols). In this case, instead of using a virtual COM port, the connected devices can be reached through the gateway’s IP address using Modbus TCP.


NPort and MGate application examples

Let’s look at a few cases of applying NPort and MGate in practice:

You need to process data from a barcode scanner with RS-485 interface and specific protocol onto your computer using the available software.

In this case, NPort can convert the RS-485 interface to Ethernet without any changes to the transferred data. This requires installation of a virtual COM and specific software. NPort can also work under other modes.


You need to extend the RS-232 interface via Ethernet using a device running a specific protocol, for which the cable length is only 15 meters.

For this, use two NPort devices in pairing mode or TCP Client/Server mode. This allows transfer of data from one COM port to another without any changes to it.


You need to connect an RS-485 module of input-output with Modbus RTU protocol via Ethernet to a remote computer, on which the SCADA system is set up.

The best way to approach this is to use the MGate gateway to convert Modbus RTU to Modbus TCP and RS-485 interface to Ethernet. MGate is especially designed to work with Modbus protocols; moreover, it facilitates the correct interconversion of protocols and minimises risk of data loss.


You need to extend a RS-485 line via Ethernet, through which data will be transferred using the Modbus RTU/ASCII protocol.

Best thing for this is to use two MGate gateways connected to each other.


You need to connect an electricity meter running a Modbus RTU protocol to a computer which lacks a COM port and is situated in the building next to you. The software available only recognises Modbus RTU and does not work with Modbus TCP.

There are two ways of tackling this:

  • Using an NPort to create a virtual COM port on the computer, whereby the protocol remains the same.
  • Using MGate series MB3x70, which supports the Pro COM function for creating the virtual COM port. The protocol remains Modbus RTU.

Now you can confidently decide between using MGate and NPort based on your specific purposes and apply them to your project.

More about Nport and set-up

You can learn more about NPort in this article Choosing NPort.

More about MGate and set-up

You can learn more about MGate in this article Converting protocols via MGate

Use our catalogue to choose your MGate and NPort.


If you have any questions about MOXA products, please telephone us on +357 (25) 752 250 or email at sales@ipc2u.com

Related


Related products


DE-211 DE-211


1xRS-232/422/485 230.4Kbps Industrial Device Server for 10Mb Ethernet

DE-311 DE-311


1xRS-232, RS422/485 230.4Kbps Industrial Device Server for 10/100M Eth

MGate 4101-MB-PBS MGate 4101-MB-PBS


1-port Modbus to PROFIBUS Slave gateway, 12-48VDC, 0...60C

MGate 4101-MB-PBS-T MGate 4101-MB-PBS-T


1-port Modbus to PROFIBUS Slave gateway, 12-48VDC, -40...75C

MGate 4101I-MB-PBS MGate 4101I-MB-PBS


1-port Modbus to PROFIBUS Slave gateway with 2KV Isolation, 12-48VDC,

MGate 4101I-MB-PBS-T MGate 4101I-MB-PBS-T


1-port Modbus to PROFIBUS Slave gateway with 2KV Isolation, 12-48VDC,

https://ipc2u.com/articles/knowledge-base/the-difference-between-nport-and-mgate-which-should-you-choose/
20:22 26.03.2019