Moxa Technologies MGate 5102-PBM-PN-T User Manual

Moxa Technologies MGate 5102-PBM-PN-T User Manual

Profibus master-to-profinet gateway

Advertisement

Quick Links

MGate 5102-PBM-PN
PROFIBUS Master-to-PROFINET Gateway
User's Manual
Edition 5.0, March 2018
www.moxa.com/product
© 2018 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-T and is the answer not in the manual?

Questions and answers

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

  • Page 1 MGate 5102-PBM-PN PROFIBUS Master-to-PROFINET Gateway User’s Manual Edition 5.0, March 2018 www.moxa.com/product © 2018 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 © 2018 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

    MGate 5102-PBM-PN Hardware Console (RS-232) Pin Assignment The MGate 5102-PBM-PN uses an RJ45 serial port to connect to PC’s for device configuration. RS-232 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”...
  • 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 (x86/x64), Windows XP (x86/x64), Windows 2003 (x86/x64), Windows Vista (x86/x64), Windows Server 2008 (x86/x64), Windows Server 2008 R2, Windows 7 (x86/x64), Windows 8 (x86/x64), Windows 8.1 (x86/x64), Windows Server 2012, Windows Server 2012 R2, Windows 10 (x86/x64)
  • 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 4. Serial Console Use the Serial Console to configure or verify the status of the MGate through an RS-232 null modem (cross-over) cable. The interface will be the same as the Telnet console. The Serial Console port is located on the front panel of the MGate.
  • Page 14: Profinet Configuration

    MGate 5102-PBM-PN Getting Started To add a GSD file, click the Add button and then input the path to the GSD file. To delete a GSD file, select the GSD file you would like to delete, and then click Remove. PROFINET Configuration Since the MGate handles requests from the PROFINET side sent to PROFIBUS devices, you will need to assign a PROFINET device name to the MGate, and you will also need to assign the MGate device name and IP address...
  • Page 15 MGate 5102-PBM-PN Getting Started Scenario 1: Data Backup First Time Using a New microSD Card 1. Format the microSD card to support FAT file systems through a PC. 2. Power off the MGate and insert the microSD card (ensure that the microSD card is empty). 3.
  • Page 16: Mxstudio

    MGate 5102-PBM-PN Getting Started MXStudio Moxa MXStudio is a network management suite that includes MXview, MXconfig, and N-Snap. MXstudio network management software gives you a convenient graphical representation of your Ethernet network, and allows you to configure, monitor, and diagnose Moxa networking devices. MXview provides an integrated management platform that can manage Moxa’s MGate 5000 series as well as Ethernet switches and wireless APs, and SNMP-enabled and ICMP-enabled devices installed on subnets.
  • 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  Protocol Conversion ...
  • 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 To add or delete a GSD file, click the GSD Management button and a new window will appear. Click Add and assign the path where the GSD is. If you would like to delete a GSD file, click the GSD item and click the Remove icon to delete it.
  • 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: Protocol Conversion

    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: Profibus Settings

    MGate 5102-PBM-PN Configuring MGate Manager Parameter Value Description Device Name <alphanumeric string> Enter the PROFINET server name (if you type the name incorrectly, the connection will fail). Input Data Packing Enable/Disable Selecting Enable will automatically optimize the input data memory usage. For example, two PROFIBUS DI modules set one input address as 0 to 1 (2 bytes), and another input address is 5 to 6 (2 bytes).
  • Page 28 MGate 5102-PBM-PN Configuring MGate Manager Step 1: Add a new GSD file (if necessary) A GSD file is a standard device description file for a PROFIBUS device. It includes all important device information and is provided by the device’s manufacturer. If you want to configure a PROFIBUS device for a ROFIBUS network, import the GSD file into the PROFIBUS network configuration software.
  • Page 29 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 30 MGate 5102-PBM-PN Configuring MGate Manager To add the device to the PROFIBUS network shown in the right panel above, users can drag the device from the left panel and drop it into the right panel. The device will then be shown underneath the network icon depicted in the right panel.
  • Page 31 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 32 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 33 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 34 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 35 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 36 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 37: 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 38 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 to 1025 are reserved for checking PROFIBUS Master or Slave statuses. Output addresses 1024 to 1025 are for changing the PROFIBUS Master status.
  • Page 39 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 40: 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 41 MGate 5102-PBM-PN Configuring MGate Manager Accessible IP Settings These settings are used to restrict access to the module by IP address. Only IP addresses on the list will be allowed access to the device. You may add a specific address or range of addresses by using a combination of an IP address and a netmask, as follows: To allow access to a specific IP address Enter the IP address in the corresponding field;...
  • Page 42 MGate 5102-PBM-PN Configuring MGate Manager System 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 43 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 44 MGate 5102-PBM-PN Configuring MGate Manager E-mail Alert The MGate gateway will send a warning message via SMTP to the E-mail addresses entered under this the E-mail Alert tab. Parameters Value Description Mail server IP address or server name SMTP server's IP address or server name (SMTP) User name/ (an alphanumeric string)
  • Page 45 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 46 MGate 5102-PBM-PN Configuring MGate Manager Miscellaneous Settings Console Settings Configuration 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. Telnet/SSH Enable/Disable The MGate Telnet/SSH function can be enabled or disabled. Serial Console Enable Disable The MGate serial console function can be enabled or disabled.
  • Page 47 MGate 5102-PBM-PN Configuring MGate Manager Notification Message Account Management Parameters Value Description Account admin, user Users can modify the password for different accounts. MGate provides two different level accounts: admin and user. Admin account can access and modify all the settings through the web console.
  • Page 48: Load Default

    MGate 5102-PBM-PN Configuring MGate Manager Login Password Policy Account Password Policy Value Description Minimum length 4-16 Enable password complexity Select how the MGate checks the password’s strength Strength check Password lifetime 90-180 days Set the password’s lifetime period Account Login Failure Value Description Lockout...
  • Page 49: Diagnose

    MGate 5102-PBM-PN Configuring MGate Manager Users may keep the IP address settings to mitigate the burden of network parameter settings. After MGate Manager resets completely, it will automatically execute a Broadcast Search for all MGate units on the LAN. Your MGate gateway will then reappear in the list. ATTENTION Load Default will completely reset the configuration of the unit, and all the parameters you have saved will be erased.
  • Page 50 MGate 5102-PBM-PN Configuring MGate Manager The Diagnose window displays information for the PROFINET and PROFIBUS devices. For PROFINET devices, it will display the status of PLC, Parameters, and I/O Slot. 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.
  • Page 51 MGate 5102-PBM-PN Configuring MGate Manager This information shows the PROFIBUS DP information. Octet 1 (Station_status_1): Value Description Bit 7 Diag.Master_Lock This bit is set if the slave is parameterized by a master. Bit 6 Diag.Prm_Fault This bit is set if the master’s last request is invalid. Bit 5 Diag.Invalid_Slave_Response This bit is set if the master receives an invalid slave response.
  • Page 52: Off-Line Configuration

    MGate 5102-PBM-PN Configuring MGate Manager Octet 4 (Station_status_4): Value Description Bit 0 to 7 Diag.Master_Add The PROFIBUS master address. Octet 5–6: Ident_number, the manufacturer’s identifier number of the slave device. This also can be listed in the GSD file. Octet 7–32: Exg_Diag_data, this is the diagnostic data specified by the slave device. Off-Line Configuration Users can create or modify the configuration file manually through the MGate Manager.
  • Page 53: Upgrade Firmware

    MGate 5102-PBM-PN Configuring MGate Manager Upgrade Firmware The firmware for updating the MGate gateway is archived at www.moxa.com. After downloading the new firmware onto your PC, you can use MGate Manager to upgrade your MGate gateway. Select the desired unit from the list in MGate Manager and click Upgrade Firmware to begin the process.
  • Page 54: Import And Export

    MGate 5102-PBM-PN Configuring MGate Manager Import and Export The Import and Export configuration functions are a convenient way to apply the same settings to units that are located at different sites. You can export the configuration as a file, and then import that configuration file into other units at any time.
  • Page 55 MGate 5102-PBM-PN Configuring MGate Manager 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. Select the file you want to import and then click the OK button. Wait as the MGate Manager configures the target device.
  • Page 56: 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 57 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 58: 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 59: 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 60: 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 61: 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. The I/O Data View function shows information for two data flow directions: input and output. Input refers to the data flow from the PROFIBUS device to the PROFINET controller.
  • Page 62: 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 63: 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.

Table of Contents