Using 105U/905U-G-PR2 PROFIBUS master gateways with Siemens ET200S distributed I/O system Technical Application Note Purpose This application note describes how to configure a 105/905U-G-PR2 PROFIBUS DP master gateway for use with a Siemens ET200S distributed I/O system. We recommend that you read this document along with the 105/905U-G user manuals for details on powering and programming the gateway. This document assumes that you have a firm understanding of the PROFIBUS DP protocol. a. Start the E-Series configuration utility. b. Create a new project. Add a 105/905U-G gateway and select PROFIBUS master as the protocol. c. Click the newly added gateway and select the PROFIBUS network configuration. d. Choose Install GSD File from the File menu. e. Browse to find the GSD file for the PROFIBUS slave, and click Open. Materials You need the following materials for this application: Siemens ET200S distributed I/O 105/905U-G-PR2 GSD file for ET200S E-Series configuration utility (build 1.78 or higher) RS 232 to DB 9 serial cable (straight through pins 3 and 8) Configuring the 105/905U-G gateway Configuring the 105/905U-G gateway as a PROFIBUS master is a two-step process. First, you need to configure the PROFIBUS network, which sets the links between the PROFIBUS slave devices and the PROFIBUS master gateway. Once this is done, you will configure the fieldbus mappings linking the PROFIBUS data to the radio network. Configuring the PROFIBUS network Follow these steps for each slave you add to the network. 1. Load the GSD file for the PROFIBUS slave into the E-Series configuration utility. Each device in a PROFIBUS network is associated with a GSD file that contains all necessary information about the device. The GSD file is provided with the slave device. The E-Series configuration utility uses GSD files during network configuration. 2. Add the PROFIBUS slave to the network. a. On the PROFIBUS network configuration screen, select the slave device in the left panel and drag it to the network line, as shown in the example below. OR Right click the slave device in the left panel and choose Add to Network from the menu. Select the slave......and drag here
b. Double-click the slave device to display its network settings. c. Set the PROFIBUS address. This address must match the PROFIBUS slave device. If the I/O module is not displayed in the list or is a special type, you can select Universal Module and assign the start address, length type, and custom values, as needed (see the following screen). 3. Add I/O modules to the slave. a. In the left panel of the PROFIBUS network configuration screen, click the + next to the slave device to expand the tree to show the I/O modules installed on the device. b. Drag each I/O module from the left panel to the next available slot on the right. When you drag an I/O module to a slot, all of the addressing is done for you. Make sure that you add all the slots configured for the slave device, including power supplies and configuration slots, if used. The example above shows two digital inputs and two digital outputs are set up for the Siemens-ET 200S [IM151] slave. 4. After adding all the I/O modules, close the window. This returns you to the E-Series configuration utility window. You are now ready to configure the fieldbus mappings. Configuring the fieldbus mappings The gateway has an internal database made up of approximately 4300 16 bit registers. Values from remote radio sites come in via the radio interface and are first stored in the I/O database and then written to the fieldbus interface. Values that are read from the fieldbus Interface are stored in the I/O database and then mapped out the radio interface to remote radio units. The onboard digital I/Os are linked to register locations in the I/O database, which can be read or written to the fieldbus interface or mapped to or from the radio interface. See Figure 1. Figure 1. Gateway Infrastructure 2 Technical Application Note September 2014 www.eaton.com
In the following example, Fieldbus Config (selected in the left-panel) has two mappings one read mapping of two bits and one write mapping of two bits. 2. To see the available registers for the radio interface, click the button next to the I/O Register field in the Radio Interface area. This displays the following screen. The registers are color coded, and you can check the I/O direction at the bottom of the screen. The following example shows that register 4320 has come into the gateway from the fieldbus that was selected as a read command in the example in step 1. 1. To assign a new mapping click New Fieldbus Mapping. To edit a mapping, double-click the mapping entry. The following write mapping example shows I/O register 4306 with an I/O count of 2 (4306 and 4307) is to be written to fieldbus I/O location 0. Registers 4306 and 4307 are the local digital inputs 7 and 8. 3. To see the available registers for the fieldbus interface, click the button next to the I/O Location field in the Fieldbus Interface area. This fieldbus mapping is writing two bits into the first byte location The following read mapping example shows fieldbus I/O location 0 with an I/O count of 2 (0 and 1) is to be read into radio I/O registers location 4320 and 4321, which are the local digital outputs 1 and 2. Typically, the only configuration required for a PROFIBUS slave device is setting the PROFIBUS slave address and provisioning the correct GSD file for the slave device. 4. After completing the mappings, download the configuration to the module using an RS 232 cable, as described in the user manual. Technical Application Note September 2014 www.eaton.com 3
Using online diagnostics for debugging You can diagnose problems on the gateway while it is connected to the PROFIBUS network by connecting to the gateway s RS-232 port and using online diagnostics in the E-Series configuration utility to view the current values in the ELPRO registers. 1. On the E-Series configuration screen, click the PROFIBUS master gateway unit in the left panel. 2. Click Diagnostics. 3. Click Debug I/O. In this example, the fieldbus configuration mapping reads two bits into register locations 4320 and 4321. Selecting this I/O location in the left panel of the I/O Register Selection screen displays the 100 registers. In this example, registers 4320 and 4321 both have hexadecimal value of FFFF, indicating that the inputs on the slave device are on. Digital outputs 1 and 2 should also be on at the gateway. 4. In the I/O Register Selection screen, click Connect. When the E-Series configuration utility connects to the IP address, the message Connected appears. If you do not see this message, check the serial connection. Verify that the correct COM port is selected and the cable is a straight-through serial cable. The values of the registers can be displayed as hexadecimal, decimal or discrete (1 or 0) In this example, fieldbus configuration mapping uses digital inputs 7 and 8 (registers 4306 and 4307 in the gateway) to turn on digital outputs on the slave device. 5. To view values coming from the PROFIBUS slave device, select the I/O register location used in the fieldbus configuration read mapping. 4 Technical Application Note September 2014 www.eaton.com
When the digital inputs are turned on, register locations 4306 and 4307 will show FFFF. The values will be written to the configured fieldbus I/O location, which then turns on the digital outputs on the slave. Eaton s wireless business www.eaton.com/wireless North America & Latin America 5735 W. Las Positas Suite 100 Pleasanton, CA 94588 United States Telephone: +1 925 924 8500 Australia, New Zealand 9/12 Billabong Street Stafford Queensland 4053 Australia Telephone: +61 7 3352 8600 China 955 Shengli Road East Area of Zhangjiang High-Tech Park Shanghai, 201201 China Telephone: +86 21 2899 3600 Southeast Asia 2 Serangoon North Avenue 5 # 06-01 Fu Yu Building, 554911 Singapore Telephone: +65 6645 9888 Europe Hein-Moeller-Straße 7-11 53115 Bonn, Germany Telephone: +49 228 602 5573 Eaton 1000 Eaton Boulevard Cleveland, OH 44122 United States Eaton.com 2014 Eaton All Rights Reserved Printed in USA September 2014 Eaton is a registered trademark. All other trademarks are property of their respective owners.