Moxa Tech Note
PROFIBUS Configuration for Moxa MGate 5101-
PBM-MN and Siemens S7-300
Copyright © 2013 Moxa Inc
Released on May 1, 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-300
Moxa Technical Support Team
support@moxa.com
Contents
1. Introduction ................................................................................................. 2
2. Applicable products ...................................................................................... 2
3. System requirements ................................................................................... 2
4. System overview .......................................................................................... 2
5. PLC configuration ......................................................................................... 3
5.1. Create STEP 7 project ............................................................................ 3
5.2. Create a virtual PROFIBUS master device ................................................. 4
5.3. Create PROFIBUS network ...................................................................... 7
5.4. Create PROFIBUS slave device................................................................10
5.5. Create I/O modules ...............................................................................12
6. Moxa’s PROFIBUS device configuration ...................................................... 15
6.1. Install the GSD file ................................................................................15
6.2. Device configuration with MGate Manager ................................................16
7. Communication Test ................................................................................... 19
7.1. Create Variable Table.............................................................................19
7.2. Modify and monitor I/O data ..................................................................21
Moxa Tech Note
PROFIBUS Configuration for Moxa MGate 5101-
PBM-MN and Siemens S7-300
Copyright © 2013 Moxa Inc.
Page 2 of 23
1. Introduction
This application note describes the configuration of Moxa MGate device as a
PROFIBUS DP master to connect to a Siemens S7-300 PLC as a PROFIBUS DP slave.
One word input and one word output data are configured in this example.
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-300 PLC CPU 315-2 PN/DP
Article Number:
6ES7315-2EH14-0AB0
3.2.3
Siemens PLC programming software SIMATIC STEP 7 5.5 + SP2
Moxa PROFIBUS DP master to Modbus TCP
gateway
MGate 5101-PBM-MN 1.0
GSD file for Siemens S7-300 DP slave SIEM8180.GSE 13
Software utility to configure Moxa device MGate Manager 1.6
Modbus TCP master software Modbus Poll 3.60a
4. System overview
In this document, MGate 5101-PBM-MN is used as an example. The system architecture
is shown below.