Moxa Technologies MGate 5102-PBM-PN series User Manual

Moxa Technologies MGate 5102-PBM-PN series User Manual

Profibus master-to-profinet gateway
Hide thumbs Also See for MGate 5102-PBM-PN series:

Advertisement

Quick Links

MGate 5102-PBM-PN
PROFIBUS Master-to-PROFINET Gateway
User's Manual
Edition 4.0, February 2017
www.moxa.com/product
© 2017 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MGate 5102-PBM-PN series and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies MGate 5102-PBM-PN series

  • Page 1 MGate 5102-PBM-PN PROFIBUS Master-to-PROFINET Gateway User’s Manual Edition 4.0, February 2017 www.moxa.com/product © 2017 Moxa Inc. All rights reserved.
  • Page 2 MGate 5102-PBM-PN PROFIBUS Master-to-PROFINET Gateway User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2017 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc.
  • Page 3: Table Of Contents

    Table of Contents Introduction ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 Product Features ..........................1-2 Hardware ............................2-1 Power Input and Relay Output Pinouts ....................2-2 LED Indicators ............................ 2-2 Dimensions ............................2-3 Pin Assignments ..........................2-3 PROFIBUS Pin Assignment ......................2-3 Console (RS-232) Pin Assignment ....................
  • Page 4: Introduction

    Introduction Welcome to the MOXA MGate 5102-PBM-PN series product line. The MGate 5102-PBM-PN is an industrial Ethernet gateway for PRFIBUS and PROFINET network communication. To integrate the existing PROFIBUS slave devices into a PROFINET network, the MGate 5102-PBM-PN acts as a PROFIBUS master and exchanges data with PROFIBUS slave devices;...
  • Page 5: Overview

    MGate 5102-PBM-PN Introduction Overview The MGate 5102-PBM-PN series is a product line of protocol gateways that provides users with the following features: Protocol conversion between PROFIBUS and PROFINET MGate 5102-PBM-PN series products can be used to connect PROFINET and PROFIBUS devices to remotely maintain PROFIBUS devices.
  • Page 6: Hardware

    Hardware The following topics are covered in this chapter:  Power Input and Relay Output Pinouts  LED Indicators  Dimensions  Pin Assignments  PROFIBUS Pin Assignment  Console (RS-232) Pin Assignment  Mounting the Unit  Specifications  GSDML...
  • Page 7: Power Input And Relay Output Pinouts

    MGate 5102-PBM-PN Hardware Power Input and Relay Output Pinouts Shielded DC Power DC Power Relay Relay DC Power DC Power Common Ground Input 2 Input 2 output output Input 1 Input 1 LED Indicators Color Description PWR1 Green Power is on Power is off PWR2 Green...
  • Page 8: Dimensions

    MGate 5102-PBM-PN Hardware Dimensions Pin Assignments PROFIBUS Pin Assignment The MGate 5102-PBM-PN uses a female DB9 serial port to connect to PROFIBUS devices. Signal Name N.C. N.C. PROFIBUS D+ Signal common N.C. PROFIBUS D- N.C.
  • Page 9: Console (Rs-232) Pin Assignment

    Mounting the Unit The MGate 5102-PBM-PN series is designed to be attached to a DIN rail or mounted on a wall. For DIN rail mounting, push down the spring and properly attach it to the DIN rail until it “snaps” into place. For wall mounting, install the wall mount kit (optional) first, and then screw the device onto the wall.
  • Page 10: Gsdml

    MGate 5102-PBM-PN Hardware Serial Signals (Serial Console) Connector: 8-pin RJ45 RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND Software Configuration Options: Windows Utility, Serial Console, Web Console (HTTP/HTTPS), Telnet/SSH Console Utilities: MGate Manager for Windows 2000, Windows XP/2003/Vista/2008/7 x86/x64 Physical Characteristics Housing: Metal Weight: 500 g...
  • Page 11: Getting Started

    Getting Started This chapter provides an overall guide to configuring the MGate 5102-PBM-PN step by step. The following topics are covered in this chapter:  Connecting the Power  Connecting PROFIBUS Devices  Connecting PROFINET Devices  First Time Use ...
  • Page 12: Connecting The Power

    MGate 5102-PBM-PN Getting Started Connecting the Power The MGate 5102-PBM-PN can be powered by connecting a power source to the terminal block, as follows: 1. Loosen or remove the screws on the terminal block. 2. Turn off the power source and then connect a 12–48 VDC power line to the terminal block. 3.
  • Page 13: Mgate Manager

    MGate 5102-PBM-PN Getting Started 3. Text Mode Console You may use a Telnet/SSH Console over an Ethernet network to configure the MGate or check its status. Use a Telnet tool such as HyperTerminal or PuTTY to log in to the MGate with the Telnet or SSH protocol. With this method, the IP address of the MGate must be configured correctly.
  • Page 14: Gsd Files

    MGate 5102-PBM-PN Getting Started GSD Files Each PROFIBUS device has its own GSD (General Station Description) file. The GSD file contains relevant parameter settings, including vendor name, model name, revision, etc. The PROFIBUS master can control the PROFIBUS device according to the GSD file. Since the MGate 5102-PBM-PN plays the role of PROFIBUS master, it should import the GSD files from all PROFIBUS slaves beforehand.
  • Page 15: Profibus Configuration

    Card The MGate 5102-PBM-PN series gateway is equipped a microSD card slot for easy configuration. The microSD card stores the system configuration settings, GSD files, and system data log. There are 4 scenarios for using the microSD card: data backup, duplication, mass deployment, and replacement.
  • Page 16: Mxstudio

    MGate 5102-PBM-PN Getting Started Scenario 4: Replacement Replacing a Malfunctioning MGate Device 1. Replace the malfunctioning MGate device with a new MGate device. 2. Insert the existing microSD card into the new MGate device. 3. Power on the new MGate device. 4.
  • Page 17: Configuring Mgate Manager

    Configuring MGate Manager The following topics are covered in this chapter:  Installing the MGate Manager Software  Starting MGate Manager  GSD Management  Connecting to the Unit  Configuration  Basic Configuration  Network Settings  PROFINET Settings ...
  • Page 18: Installing The Mgate Manager Software

    MGate 5102-PBM-PN Configuring MGate Manager Installing the MGate Manager Software The following instructions show how to install MGate Manager, a utility for configuring and monitoring MGate 5102-PBM-PN units over a network. 1. Insert the Documentation and software CD into the CD-ROM drive, and then locate and run the following setup program to begin the installation process: MGM_Setup_[Version]_Build_[DateTime].exe (The latest version could have the following format: MGM_Setup_Verx.x.x_Build_xxxxxxxx.exe.)
  • Page 19 MGate 5102-PBM-PN Configuring MGate Manager 4. When the Select Additional Tasks window appears, check the Create a desktop icon checkbox if you would like to create an MGate Manager shortcut on your desktop, and then click Next to continue. 5. Click Next to start installing the software files. 6.
  • Page 20: Starting Mgate Manager

    MGate 5102-PBM-PN Configuring MGate Manager 7. A message will indicate that the MGate Manager has been successfully installed. Check the Launch MGate Manager checkbox if you would like to launch MGate Manager at this time, and then click Finish. Starting MGate Manager MGate Manager is a Windows Utility that is used to configure MGate 5102-PBM-PN units.
  • Page 21: Gsd Management

    MGate 5102-PBM-PN Configuring MGate Manager Changing the Language Settings To run MGate Manager in a different language, click Language to change the language setting. A dialog box showing the available languages will appear as shown below. When you click OK, the MGate Manager interface will immediately switch to your chosen language. After changing to a different language, all of the text in the MGate Manager interface will use the newly selected language (except for the “Language”...
  • Page 22: Connecting To The Unit

    MGate 5102-PBM-PN Configuring MGate Manager Connecting to the Unit Before configuring your MGate, install MGate Manager on your PC and then connect the PC to the MGate unit. Two methods are available for establishing a connection with the MGate: Broadcast Search and Specify IP Address.
  • Page 23: Configuration

    MGate 5102-PBM-PN Configuring MGate Manager Configuration Once your MGate unit is located, an entry for the unit will be displayed in the MGate Manager user interface. Select it by clicking on it, and then click the Configuration button to open the configuration window. Five configuration tabs should be visible: Basic, Network, PROFINET, PROFIBUS and System.
  • Page 24: Basic Configuration

    MGate 5102-PBM-PN Configuring MGate Manager Basic Configuration Click the Basic tab to update the Server Settings and Time Settings. Server Settings Parameter Value Description Server Name <alphanumeric string> Choose a name that can help you identify the unit, such as the function or serial number of the unit.
  • Page 25: Network Settings

    MGate 5102-PBM-PN Configuring MGate Manager ATTENTION First time users should select the time zone first. The console will display the “real time” according to the time zone compared to GMT. If you would like to modify the real time clock, select “Local time.” The MGate’s firmware will modify the GMT time according to the Time Zone.
  • Page 26: Profinet Settings

    MGate 5102-PBM-PN Configuring MGate Manager DNS Server Parameter Value Description DNS Server 1 0.0.0.0 The IP address of the primary domain name server. (or other 32-bit number) DNS Server 2 0.0.0.0 The IP address of the secondary domain name (or other 32-bit number) server.
  • Page 27 MGate 5102-PBM-PN Configuring MGate Manager Adding New PROFIBUS Slave Devices to the PROFIBUS Network 1. Add a new GSD file (if necessary) 2. Load PROFIBUS Settings window. 3. Add new device into PROFIBUS network. 4. Configure the PROFIBUS address. 5. Configure the I/O module 6.
  • Page 28 MGate 5102-PBM-PN Configuring MGate Manager Step 2: Load PROFIBUS Settings window To further configure the PROFIBUS, click the PROFIBUS Settings button. The new configuration window for PROFIBUS network will pop out. Step3: Add new device to PROFIBUS network If users have already added the GSD file of the PROFIBUS device into MGate Manager correctly, users will see the devices listed in the left panel tree.
  • Page 29 MGate 5102-PBM-PN Configuring MGate Manager To remove the device from the PROFIBUS network (depicted at the top of the right panel in the figure above), select the device and press the Delete key. AutoScan Function The MGate Manager Utility also provides a PROFIBUS automatic scanning function so that the MGate device can automatically gather information about the PROFUBUS slaves that are connected to the network.
  • Page 30 MGate 5102-PBM-PN Configuring MGate Manager Step 4: Configure the PROFIBUS device address and other parameters if necessary. Selecting a device will show its parameter configuration window in the bottom panel. In the configuration window, you can select different tabs to configure the detailed parameters for each device, including the PROFIBUS master.
  • Page 31 MGate 5102-PBM-PN Configuring MGate Manager Step 5: Configure the I/O module for the specific PROFIBUS slave device you want to access. To configure the PROFIBUS I/O modules for a specific slave device, select the device from the top of the right panel and click the I/O Data tab in the bottom panel.
  • Page 32 MGate 5102-PBM-PN Configuring MGate Manager Now, users can configure the device parameters, including the slave address and I/O modules. To configure each I/O module in detail, users can double click the I/O module and the configuration dialog will be displayed. In the dialog box, users can configure the internal memory address Offset and Fault values.
  • Page 33 MGate 5102-PBM-PN Configuring MGate Manager Step 7: Save the configuration and exit the PROFIBUS Settings function. To save the PROFIBUS network configurations, you must click the Save button on the toolbar so that all settings will be stored on the MGate device. The MGate device will save the new settings and reboot to activate the settings.
  • Page 34 MGate 5102-PBM-PN Configuring MGate Manager Fault Value Configuration in the PROFIBUS Output Module In some applications, users need to define how to respond to the PROFIBUS output when the PROFINET side malfunctions. This is defined as the Fault value. MGate Manager provides an option for each PROFIBUS I/O module to handle such situations.
  • Page 35: Time Settings

    MGate 5102-PBM-PN Configuring MGate Manager NOTE If you want the PROFIBUS output to keep the last value when the PROFINET device encounters a problem, you can set this timeout value to zero. PROFIBUS Parameters Several parameters for the PROFIBUS interface can be configured manually. These parameters are shown on the configuration page depicted in the figure below.
  • Page 36: Data Exchange Between Profinet And Profibus

    MGate 5102-PBM-PN Configuring MGate Manager SYNC and FREEZE Settings SYNC transfers the previous output value in data_exchange. The following output data will be stored but not transferred until the next SYNC command or UNSYNC command. FREEZE transfers the last input value in data_exchange. The following input data value will be stored in a special buffer and will not be transferred.
  • Page 37 MGate 5102-PBM-PN Configuring MGate Manager Internal Memory Address The MGate 5102-PBM-PN supports up to 1024 bytes of input and 1024 bytes of output data. Input addresses 1024-1025 are reserved for checking PROFIBUS Master or Slave statuses. Output addresses 1024-1025 are for changing the PROFIBUS Master status.
  • Page 38 MGate 5102-PBM-PN Configuring MGate Manager First select Slave ID (3) and add 10 bytes to input modules for Slot 1. Then, add 5 bytes to Slot 2. After adding 10 bytes to (3) and 5 bytes to (3), the memory will be allocated from input addresses 0–9 and 10–14. Now select Slave ID (4) and add 10 bytes to Slot 1 in (4) and 5 bytes to Slot 2 in (4) so that the memory will be allocated for input addresses 15–24 and 25–29.
  • Page 39: System Settings

    MGate 5102-PBM-PN Configuring MGate Manager Finally, reselect Slave ID (3) and add 20 bytes to (3) so that the memory will be allocated from input addresses 30–49. The memory is now reserved as: Input address 0–9 10–14 15–24 25–29 30–49 50–1023 I/O devices PROFIBUS...
  • Page 40: Log Settings

    MGate 5102-PBM-PN Configuring MGate Manager Log Settings This setting allows the MGate firmware to record important events for future verification. The recorded information can only be displayed in the Web Console. Please refer to Web Console Configuration in Chapter 5. The available information that can be recorded includes the following events: Parameters Event...
  • Page 41 MGate 5102-PBM-PN Configuring MGate Manager Auto Warning (Relay Output) Auto Warning will be triggered in the event of a power failure or when Ethernet links are disconnected. When a checked trigger condition occurs, the MGate gateway will open the circuit of the relay output and trigger the Fault LED to start blinking.
  • Page 42: Snmp Trap

    MGate 5102-PBM-PN Configuring MGate Manager Parameters Value Description From E-mail username@domain.name To show the sender’s e-mail address address To e-mail username@domain.name Four e-mail recipients can be added to the list address 1–4 SNMP Trap The MGate gateway supports Simple Network Management Protocol (SNMP). Parameters Value Description...
  • Page 43: Snmp Agent

    MGate 5102-PBM-PN Configuring MGate Manager SNMP Agent The SNMP Agent tag allows users to adjust the SNMP related setting. Users can adjust these functions according to the SNMP setting. LLDP Settings The MGate gateway supports Link Layer Discovery Protocol (LLDP). Parameters Value Description...
  • Page 44: Console Settings

    MGate 5102-PBM-PN Configuring MGate Manager Miscellaneous Settings Console Settings Parameters Value Description HTTP/HTTPS Enable/Disable Enables or disables the Web Console. For security concerns, users can either enable the HTTPS or disable all settings, but not both, and only access the configurations from Telnet/SSH or utility. Telnet/SSH Enable/Disable Enables or disables the Text Mode Console.
  • Page 45: Load Default

    MGate 5102-PBM-PN Configuring MGate Manager Load Default If you would like to clear all the settings on the MGate gateway, the Load Default button can help you reset the unit to the factory default values. Click Load Default and review the confirmation message. Note that if you reset the MGate to the factory default values, all the stored information and parameters will be erased permanently.
  • Page 46: Diagnose

    MGate 5102-PBM-PN Configuring MGate Manager Diagnose The MGate provides status information for troubleshooting, especially for PROFIBUS slave devices. The PROFIBUS Diagnostic Information provides the status of each slave device and the diagnostic data retrieved from each PROFIBUS slave. In most applications, the MGate gateway will connect several PROFIBUS slaves at the same time.
  • Page 47 MGate 5102-PBM-PN Configuring MGate Manager For PROFIBUS devices, it will display all configured devices. Users can double click the slave device, and it will display detailed information for the selected device. This information shows the PROFIBUS DP information. Octet 1 (Station_status_1): Value Description Bit 7...
  • Page 48: Off-Line Configuration

    MGate 5102-PBM-PN Configuring MGate Manager Value Description Bit 1 Diag.Station_Not_Ready This bit is set if the slave is not ready for data exchange. Bit 0 Diag.Station_Non_Existent This bit is set if the slave cannot be reached. Octet 2 (Station_status_2): Value Description Bit 7 Diag.Deactivated...
  • Page 49: Upgrade Firmware

    MGate 5102-PBM-PN Configuring MGate Manager A dialog box will appear. Click the OK button for the desired MGate device to proceed to the next step. Users can choose “Create new configuration” or “Load existing configuration” to edit configurations. The file for “Load existing configuration”...
  • Page 50: Import And Export

    MGate 5102-PBM-PN Configuring MGate Manager As the firmware is written to the unit, the progress is displayed in the window. Once the firmware has been successfully written onto the unit, click Exit to close the Upgrade Firmware window. MGate Manager will automatically execute a Broadcast Search for all MGate units on the LAN. Your MGate gateway will reappear in the list.
  • Page 51 MGate 5102-PBM-PN Configuring MGate Manager If you export the configuration file successfully, a confirmation message will pop up. The configuration file will be saved as an *.ini file On the other hand, it can also import your target unit to duplicate the same settings. Select the target unit first and click the Import button to import.
  • Page 52: Web Console Configuration

    Web Console Configuration The MGate 5102-PBM-PN provides a Web Console for easy configuration, but it does not support all the functions in MGate Manager. However, the Web Console is a simple way to log into the MGate gateway. Users can use a Web browser such as Microsoft Internet Explorer or Google Chrome to access the Web Console. The following topics are covered in this chapter: ...
  • Page 53 MGate 5102-PBM-PN Web Console Configuration To connect to the MGate Web Console, open a Web browser and enter the MGate IP address. http://<MGate IP address> https://<MGate IP address> On the first page, users need to specify the account and password. Only two types of users are supported: admin and user.
  • Page 54: Profibus

    MGate 5102-PBM-PN Web Console Configuration Directory Function Note SNMP Agent See SNMP Agent section. See LLDP Settings section. LLDP Settings System Management Console Settings See Console Settings section. - Misc. Settings Change Password See Console Settings section. System Management PROFIBUS Control See the section below.
  • Page 55: Profibus Control

    MGate 5102-PBM-PN Web Console Configuration If you want to add a device to the MGate gateway, you can drag the slave device to the list on the right side. Once you add the device to the MGate gateway, you can further edit the related settings by clicking on the Edit button.
  • Page 56: Ping

    MGate 5102-PBM-PN Web Console Configuration Ping This function is for network testing. The MGate gateway will send an ICMP packet through the network to the specified host. Users can see the result in the Web Console immediately. This function is only available in the Web Console and Text Mode Console.
  • Page 57: I/O Data View

    MGate 5102-PBM-PN Web Console Configuration I/O Data View This page displays the internal memory information for input and output data transfers, and displays the updated values for communication verification. This function is only available in the Web Console and Text Mode Console.
  • Page 58: Profibus Live List

    MGate 5102-PBM-PN Web Console Configuration You can also click on the PROFIBUS input slot (highlighted in blue in the box on the right). The corresponding PROFINET input slots will be highlighted to show the relation between the PROFIBUS and PROFINET sides. PROFIBUS Live List This page displays the available PROFIBUS devices on the network.
  • Page 59: Text Mode Console Configuration

    Text Mode Console Configuration The MGate 5102-PBM-PN provides a Text Mode Console via serial interface, Telnet, and SSH protocol. The user interface is the same as those in all Text Mode Consoles. However, note that the Text Mode Console does not provide all configuration items as provided in MGate Manager.
  • Page 60 MGate 5102-PBM-PN Text Mode Console Configuration Function Note Basic See Overview section. See Network Settings section. Network See Log Settings section. System – Warning See Auto Warning (Relay Output) section. System - Email See E-mail Alert section See SNMP Trap section System - Trap System –...

Table of Contents