© 2013 Moxa Inc.
Released on January 3, 2013
About Moxa
Moxa manufactures one of the world’s leading brands of device networking solutions. Products include seria
l
boards, USB
-to-serial hubs, media converters, device servers, embedded computers, Ethernet I/O servers,
terminal servers
, Modbus gateways, industrial switches, and Ethernet-to-fiber converters. Our products are key
components of many networking applications, including industrial automation, manufacturing, POS, and medical
treatment facilities.
How to Contact Moxa
Tel: +886-2-8919-1230
Fax:
+886-2-8919-1231
Web: www.moxa.com
Email
: info@moxa.com
PROFIBUS Configuration for Moxa MGate 5101-PBM-MN
and Siemens S7-1200
Moxa Technical Support Team
support@moxa.com
Contents
1. Introduction ....................................................................................................................... 2
2. Applicable Products .......................................................................................................... 2
3. System Requirements ....................................................................................................... 2
4. System Overview ............................................................................................................... 3
5. PLC Configuration ........................................................................................................... 4
5.1. Create a new project ............................................................................. 4
5.2. Create a PROFIBUS slave device ............................................................ 5
6. Moxa’s PROFIBUS device configuration ....................................................................... 8
6.1. Install the GSD file ................................................................................ 8
6.2. Device configuration with MGate Manager ............................................. 9
7. Communication Test ....................................................................................................... 11
7.1. Execute Modbus Poll as the Modbus TCP master device ....................... 11
7.2. Modifying and monitoring I/O data ..................................................... 12
Moxa Tech Note
PROFIBUS Configuration for Moxa MGate 5101
-PBM-MN and Siemens S7-1200
Copyright © 2013 Moxa Inc.
Page 2 of 13
1. Introduction
This tech note describes how to configure a Moxa MGate device as a PROFIBUS DP
master to connect to a Siemens S7-1200 PLC as a PROFIBUS DP slave. We illustrate
the procedure by configuring data for one word input and one word output.
2. Applicable Products
Product Line Model Name
MGate 5000 series MGate 5101-PBM-MN
MGate 5101I-PBM-MN
MGate 5101-PBM-MN -T
MGate 5101I-PBM-MN -T
3. System Requirements
Description Model/File Name
Version
Siemens S7-1200 PLC CPU 1212C AC/DC/Rly 2.0
Siemens S7-1200 PROFIBUS module CM 1242-5 1.0
Siemens PLC programming software TIA Portal V11
Moxa PROFIBUS DP master to Modbus TCP
gateway
MGate 5101-PBM-MN 1.0
GSD file for Siemens S7-1200 DP slave SI01818E.GSD 1.0
Software utility to configure Moxa device MGate Manager 1.6
Modbus TCP master software Modbus Poll 3.60a