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.
Let’s look at a few cases of applying NPort and MGate in practice:
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.
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.
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.
Best thing for this is to use two MGate gateways connected to each other.
There are two ways of tackling this:
You can learn more about NPort in this article Choosing NPort.
You can learn more about MGate in this article Converting protocols via MGate
If you have any questions about MOXA products, please telephone us on +357 (25) 752 250 or email at firstname.lastname@example.org
1xRS-232/422/485 230.4Kbps Industrial Device Server for 10Mb Ethernet
1xRS-232, RS422/485 230.4Kbps Industrial Device Server for 10/100M Eth
1-port Modbus to PROFIBUS Slave gateway, 12-48VDC, 0...60C