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;...
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.
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...
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...
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.
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.
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 ...
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.
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.
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.
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.
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.
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 ...
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.
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.
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”...
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.
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.
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.
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.
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.
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.
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.
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...
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.
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...
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...
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.
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.
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...
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...
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”...
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.
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.
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.
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.
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.
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.
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.
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 –...
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