Copyright © 2019 Moxa Inc.
Released on March 30, 2019
About Moxa
Moxa is a leading provider of edge connectivity, industrial netw orking, and ne tw ork
infrastructure
solutions for
enabling connec tivity for the Industr ial Internet o f Things. With
over 30 years of industry experience, Moxa has connected more than 50 million
devices
worldwide and has a distribution and service network that reaches cus tomers in more than
70 countries. Moxa delivers lasting business value by empowering industry with reliable
networks and sincere service for industrial communications infrastruct
ures. Information
about Moxa’s solutions is available at
www.moxa.com.
+886-2-8919-1230
+886-2-8919-1231
Connect to Azure IoT Hub with the MGate 5105 Industrial
Protocol Gateway
Moxa Technical Support Team
support@moxa.com
Contents
1. Introduction .................................................................................... 2
2. System Topology ............................................................................. 2
3. Prerequisites ................................................................................... 3
3.1 Modbus Slave Tool ..................................................................................... 3
3.2 Devi ce Exp lore r ......................................................................................... 3
3.3 Create Azure IoT Hub and Device ................................................................ 3
4. MGate 5105 Settings ....................................................................... 4
4.1 Protocol Conversion ................................................................................... 4
4.2 Modbus RTU Master Settings....................................................................... 5
4.3 Azure Device Settings ................................................................................ 5
4.4 Serial Settings .........................................................................................11
5. Modbus Slave Tool Setting ............................................................ 11
6. Device Explorer Settings ............................................................... 12
7. Communication Test ..................................................................... 13
7.1 Device-to-cloud message ..........................................................................13
7.2 Cloud-to-device message ..........................................................................14