
Table of Contents
1. Introduction ......................................................................................................................................... 5
Overview .............................................................................................................................................. 5
Package Checklist .................................................................................................................................. 5
Power Input and Relay Output Pinouts...................................................................................................... 6
LED Indicators ....................................................................................................................................... 6
Dimensions ........................................................................................................................................... 7
Pin Assignments .................................................................................................................................... 7
Modbus (Modbus RTU/ASCII) Pin Assignment .................................................................................... 7
Console (RS-232) Pin Assignment .................................................................................................... 7
Mounting the Unit .................................................................................................................................. 8
Specifications ........................................................................................................................................ 8
Reset Button ......................................................................................................................................... 8
Pull-high, Pull-low, and Terminator for RS-485 .......................................................................................... 9
microSD ............................................................................................................................................... 9
Configuration Methods .......................................................................................................................... 10
2. Quick Configuration Guide .................................................................................................................. 11
Cable Connection ................................................................................................................................. 11
Log in to the Web Console .................................................................................................................... 11
Quick Setup ........................................................................................................................................ 12
System Setup .............................................................................................................................. 12
Select Protocols ........................................................................................................................... 13
Role 1 and Role 2 of MGate 5105-MB-EIP ........................................................................................ 14
Finish .......................................................................................................................................... 15
Basic Settings ..................................................................................................................................... 15
Network Settings ................................................................................................................................. 16
Serial Settings ..................................................................................................................................... 16
Protocol Conversion ............................................................................................................................. 16
EtherNet/IP Configuration ..................................................................................................................... 17
Modbus RTU/ASCII Configuration ........................................................................................................... 19
Modbus TCP Configuration .................................................................................................................... 20
MQTT JSON Broker Configuration ........................................................................................................... 22
MQTT RAW Broker Configuration............................................................................................................ 27
Azure IoT Device Configuration.............................................................................................................. 29
Alibaba Cloud IoT Device Configuration .................................................................................................. 32
I/O Data Mapping ................................................................................................................................ 35
Communication Analysis ....................................................................................................................... 35
I/O Data View ..................................................................................................................................... 37
3. MGate Manager Configuration ............................................................................................................ 38
Installing the Software ......................................................................................................................... 38
Starting MGate Manager ....................................................................................................................... 40
Connecting to the Unit .......................................................................................................................... 41
Modifying the Configuration .................................................................................................................. 42
Configure Device .......................................................................................................................... 43
Network Settings .......................................................................................................................... 44
Serial Settings ............................................................................................................................. 45
Protocol Settings .......................................................................................................................... 46
EtherNet/IP Settings ..................................................................................................................... 47
Modbus RTU/ASCII Settings ........................................................................................................... 49
Modbus TCP Settings .................................................................................................................... 53
I/O Data Mapping ......................................................................................................................... 56
System Settings ........................................................................................................................... 57
Load Default ....................................................................................................................................... 64
Upgrade Firmware ............................................................................................................................... 65
Import/Export ..................................................................................................................................... 66
Export Function ............................................................................................................................ 67
Import Function ........................................................................................................................... 68
GSD Management ................................................................................................................................ 69
Offline Configuration ............................................................................................................................ 69