ICP DAS USA GW-7552-B User Manual

ICP DAS USA GW-7552-B User Manual

Profibus/modbus gateway

Advertisement

Quick Links

GW-7552-B / GW-7552-M
PROFIBUS/MODBUS GATEWAY
User's Manual
High Quality, Industrial Data Acquisition, and Control Products
GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GW-7552-B and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA GW-7552-B

  • Page 1 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User's Manual High Quality, Industrial Data Acquisition, and Control Products GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 1...
  • Page 2 List of Revision Date Author Version Revision 2012/04/03 Raiden 1.40 Release 2013/05/30 Elliot 1.50 Release Add GW-7552-M information. 2017/05/15 Eric 1.60 Update 4.2 , 4.8 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 2...
  • Page 3: Table Of Contents

    5.2 Utility introduction……………………………………………………………………… 57 5.3 Memory address configuration of the module…………………………………………...59 5.4 Safe value setting……………………………………………………………………….. 62 5.5 Establish connection with GW-7552-B / GW-7552-M…………………………………. 64 6. Troubleshooting……………………………………………………. 67 7. Dimensions…………………………………………………………. 69 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 3...
  • Page 4: Introduction

    Figure 1 shows an application example for the GW-7552-B / GW-7552-M module. Figure 1 Application architecture of the GW-7552-B / GW-7552-M module The GW-7552-B / GW-7552-M Gateway is specially designed for the slave device of PROFIBUS DP protocol. In the Modbus protocol application, the GW-7552-B / GW- 7552-M can be a Modbus master device or slave device.
  • Page 5: Features

    The main features and specification of GW-7552-B / GW-7552-M are described as below: 1.1 Features 16-Bit Microprocessor inside with 80MHz ● Siemens SPC3 PROFIBUS controller ● Supports PROFIBUS DP-V0 slave ● PROFIBUS transmission rate detect automatically ● Max transmission speed up to 12M bps for PROFIBUS and 115.2K bps for ●...
  • Page 6  Shows the power state PWR LED  COM Port state: transmit or receive data  Show error state ERR LED  Show communication state of PROFIBUS RUN LED GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 6...
  • Page 7: Hardware

    2. Hardware 2.1 Block Diagram of GW-7552-B / GW-7552-M Figure 2 Block diagram of GW-7552-B / GW-7552-M 2.2 Pin Assignment GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 7...
  • Page 8 Receive Data- of RS-422 Receive Data of RS-232 Transmit Data of RS-232 GND of RS-232 V+ of Power Supply(+10 to +30VDC) GND of Power Supply Table 4 PROFIBUS DB9 Female Connector GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 8...
  • Page 9: Wiring And Jumper Setting Instructions

    Modbus network. 2.3.1 RS-232 connection The RS-232 port of the GW-7552-B / GW-7552-M has got three pins. The wiring of the RS-232 device with the RS232 port of the GW-7552-B / GW- 7552-M is shown in figure 4. GW-7552-B/GW-7552-M RS-232 device...
  • Page 10 2.3.2 RS-422 connection The RS-422 wiring connection is shown in figure 5. The GW-7552-B / GW-7552-M gateway can be a Modbus master or Modbus slave in a local RS-422 network. Depending on whether the gateway acts as a Modbus master or as a Modbus slave and on the number of devices connected to the RS-422 network device the four jumpers provided by the module has to be set according to table 5.
  • Page 11 Figure 6 Configuration of pull high/low resistor for the RS-422 port Figure 7 The positions of pull high/low resistors in GW-7552-B / GW-7552-M module 2.3.3 RS-485 connection The RS-485 wiring diagram is shown in figure 8. The GW-7552-B / GW-7552-M gateway can be a Modbus master or Modbus...
  • Page 12 RS-485 bus is less than 10  The GW-7552-B / GW-7552-M is Disabled a slave in RS-485 bus or  the number of devices connected to the RS-485 bus exceeds 10 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 12...
  • Page 13 Figure 9 Configuration of pull high/low resistor for the RS-485 port 2.3.4 PROFIBUS Connection The PROFIBUS interface of the GW-7552-B / GW-7552-M is a DB9 female connector. The connector uses the standard Profibus 9 pin assignment. It is recommended to use a standard PROFIBUS cable and connector (DB9 male).
  • Page 14 The number of stations in a Profibus network is restricted to 126. According to the PROFIBUS specification up to 32 stations are allowed per segment. A repeater has to be used to link the bus segments. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 14...
  • Page 15: Setting The Profibus Address

    2.4 Setting the Profibus Address The station address of GW-7552-B / GW-7552-M can be set by using either the dip switch or by writing it directly to the EEPROM. The dip switch covers a range from 0 to 255. The valid address range of a Profibus station spans from 0 to 126.
  • Page 16: Led Status Indicator

    2.5 LED status indicator The GW-7552-B / GW-7552-M provides three LEDs to indicate the statuses of the GW-7552-B / GW-7552-M module. The position of LEDs and descriptions are shown in table 10 and figure 13.
  • Page 17: Normal/Setting Dip Switch

    Figure 13 LED position 2.6 Normal/Setting Dip Switch There is a dip switch on the back of the GW-7552-B module, as shown in Figure 14. The dip switch is used to set the GW-7552-B module works in operation mode or setting mode.
  • Page 18 GW-7552-M. Figure 14 Dip switch of the GW-7552-B There are two kinds of methods to enable the setting mode of the GW-7552-B. The user can change the position of the dip switch or set the control bit (please refer section 4.6.2 Output data area and communication command) to enable the setting...
  • Page 19: Communication Protocol Transfer Theorem

    3. Communication protocol transfer theorem 3.1 Profibus data exchange The GW-7552-B / GW-7552-M is a Profibus DP slave device. The GW-7552-B / GW-7552-M is first parameterized then configured and finally it goes into the data exchange mode (Figure 15). Figure 15 State machine of Profibus DP slave device The GW-7552-B / GW-7552-M exchanges data cyclically between internal DI、...
  • Page 20 Profibus master device to 、 internal DO、AO memory space, as shown in figure 17 Figure 17 the output data of Profibus master device send to the GW-7552-B / GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 20...
  • Page 21 Figure 18 the input data of Profibus master device receive from the GW-7552-B / GW-7552-M When the GW-7552-B / GW-7552-M acts as a Modbus slave device, it will send DO、AO data to input data area of Profibus master device and it will save data that receives from Profibus master device to internal DI、AI memory space, as...
  • Page 22: Modbus Data Exchange

    GW-7552-M Figure 20 the input data of Profibus master device receive from the GW-7552-B / GW-7552-M 3.2 Modbus data exchange Modbus protocol belongs to Master-Slave communication and it uses query and response message to arrive at data exchange and device control, as shown in figure 21.
  • Page 23 Figure 21 Data exchange between the Modbus devices and the GW-7552-B / GW-7552-M When the GW-7552-B / GW-7552-M acts as a Modbus master device, it can get query message through module parameter and DO、AO data and send query message to Modbus slave device. It can also receive response message form Modbus slave device and then saving to internal DI、AI memory space, as...
  • Page 24 Figure 22 GW-7552-B / GW-7552-M output data to modbus slave devices Figure 23 GW-7552-B / GW-7552-M receive data from modbus slave devices When the GW-7552-B / GW-7552-M acts as a Modbus slave device, it can receive query message from Modbus master device and then saving to internal DO、AO memory space.
  • Page 25: Communication Protocol Transfer

    Figure 24 The GW-7552-B / GW-7552-M receive data from Modbus master device Figure 25 The GW-7552-B / GW-7552-M output data to Modbus master device 3.3 Communication protocol transfer In section 3.1 and 3.2, we can understand that data exchange is through DI、...
  • Page 26 GW-7552-M acts as a Modbus master device, the data exchange runs continuously between Profibus master、Modbus and the GW-7552-B / GW-7552- 、 M, as shown in figure 26 Figure 26 GW-7552-B / GW-7552-M (master mode) communication protocol transfers GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 26...
  • Page 27 Figure 27 GW-7552-B / GW-7552-M (master mode) flowchart GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 27...
  • Page 28 When the GW-7552-B / GW-7552-M acts as a Modbus slave device, the data exchange runs continuously between Profibus master and the GW-7552-B / GW- 7552-M and the data exchange runs between Modbus master device and the GW- 7552-B / GW-7552-M, when GW-7552-B / GW-7552-M receive query message 、...
  • Page 29 Figure 29 GW-7552-B / GW-7552-M (slave mode) flowchart GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 29...
  • Page 30: Communication

    (Figure 30) or a multi-master system (Figure 31). The GW- 7552-B / GW-7552-M enables the integration of the Modbus devices into a PROFIBUS DP network. Figure 30 Mono-master system GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 30...
  • Page 31: Gsd File

    The parameters(ex: baud rate, message length, number of input / output data and etc. ) of each PROFIBUS DP device are described in a GSD file. The GSD file of the GW-7552-B / GW-7552-M can be form the ICP DAS companion CD-ROM (PATH --> CD: \PROFIBUS\GATEWAY\GW-7552 \GSD\).
  • Page 32 Click “Browse” button to choose where the GSD file located Step 3: Figure 33 choose the path where GSD file located. Step 4: Select the GSD file and click “OK” button. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 32...
  • Page 33: The Configuration Of The Common Parameters

    Figure 34 select the GSD file of the GW-7552-B to install Step 5: Check the window if the GW-7552-B and its details can be found, if yes then GW-7552-B is successfully added. Figure 35 Finish adding the GW-7552-B 4.3 The Configuration of the common parameters GW-7552-B / GW-7552-M has eleven common parameters.
  • Page 34  I/O safe mode = “Switch Safe Value” The GW-7552-B / GW-7552-M will set the internal DI and AI data to safe value and send safe values to Profibus master device.  I/O safe mode = “Retain Last Value”...
  • Page 35 (please refer to section 4.6.2 Data Output Command). e. Modbus device ID is a Modbus address of the GW-7552-B / GW- 7552-M, when the GW-7552-B / GW-7552-M acts as a Modbus slave device.
  • Page 36: The Configuration Of The Modules

    NO. of Relay/Coil(M):8*(n-1)+1 ~ 8*n Bits ● Module Type(M):Read DI/DO ● n=Module size/Byte D. Input Register module parameters: Modbus Slave Device ID (M):0~247 ● Start Address(M):0~65535 ● Module Type(M):Read AI/AO ● GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 36...
  • Page 37 Start Address:The GW-7552-B / GW-7552-M and Modbus slave device exchange data from this starting address. d. NO. of Relay/Coil:It is data size that the GW-7552-B / GW-7552-M and Modbus slave device exchange. e. Module Type:The user can select data type for data exchange by this setting.
  • Page 38: Diagnostic Messages

    Change Word Order:When this setting is “Enable”, the GW-7552-B / GW-7552-M will change the data between the high word and low word for reading easily. g. (M) means the parameter is effective, when Modbus type of GW-7552-B / GW-7552-M is master. 4.5 Diagnostic messages The GW-7552-B / GW-7552-M can show maximally 10 diagnostic messages at the same time.
  • Page 39: I/O Data Exchange

    If the polling speed between the GW-7552-B / GW-7552-M device and the Modbus slave is faster than the data exchange rate between Profibus master and the GW-7552-B / GW-7552-M then the Profibus master will not get all the data from the Modbus slave and therefore a diagnostic message (“Profibus lose input data”) will be send by the GW-7552-B / GW-7552-M to the Profibus master...
  • Page 40 GW-7552-B / GW-7552-M by modify data of output module. Table 14 Output data area Bit Position Module Byte Description Data output command System SM DC Control bit setting module Output module select GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 40...
  • Page 41 (ex: “byte 2”=3, it this byte represent that the user want to trigger data output command of the third module ) GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 41...
  • Page 42: Establish Connection With Gw-7552-B / Gw-7552-M

    GW-7552-B / GW-7552-M proceeds into data exchange state. Users can observe the status indicator LED to know the state of GW-7552-B / GW-7552-M. At the meantime, if there is any error occurs, GW-7552-B / GW-...
  • Page 43: Data Exchange Example

    Step 1: Copy the GSD file and assign the GW-7552-B a valid station address (Please refer to the section 4.2 GSD file). Step 2: Connect the RS-232 port of the GW-7552-B module to a COM port of the PC and the Profibus port to a Profibus master (Figure 37).
  • Page 44 Figure 38 Add GW-7552-B , double click the GW-7552-B icon to choose “Profibus” and check the Profibus address is “1” then click “OK” Figure 39 Click “Parameter Data…” button to open the “Parameter Data” window GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 44...
  • Page 45 Figure 40 Users need to change “Modbus type” to slave for this example and click “OK” button Step 4: Set the GW-7552-B modules, as shown in figure 41 and 42.  Select “System setting” module: “System setting” module always has to be selected otherwise no communication can be established between the gateway and the Modbus network.
  • Page 46 Figure 43 Click “Download” to download the setting into PROFIBUS master 4.8.1 Receiving data from a Modbus master device -- Start the test utility “MBRTU” (figure 44) on the PC. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 46...
  • Page 47 Relay/Coil” module) of the input data area in the variable table of configuration program “Step 7 manager” have been changed to “FF” at this time, as shown in the below. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 47...
  • Page 48 Figure 46 Receive “0xFF” in the input data area Table 15 Receive “0xFF” in the input data area Module Byte Data type Representation Value Input 0 Byte 0xFF Input module Input 1 Byte 0xFF GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 48...
  • Page 49 B8”). In this message, the user can know the value of DI0 & DI1 is “0” in the GW-7552-B. --Send output data to write DI of the GW-7552-B by the Profibus master The user needs to set “0xFE” & “0xDC” in byte 3 & byte 4 of output data area in the variable table of the configuration program “Step 7 Manager”...
  • Page 50 C6” again. Then MBRTU can receive response message (“01 02 02 FE DC F8 41”). In this message, the user can know the value of DI0 & DI1 have changed to “0xFE” & “0xDC” in the GW-7552-B, as shown in figure 47, 48, 49 & table 16.
  • Page 51 Output 0 Byte 0x00 0x01 System Output 1 Byte 0x00 module Output 2 Byte 0x00 → Output 3 Byte 0x00 0xFE Output module → Output 4 Byte 0x00 0xDC GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 51...
  • Page 52 Figure 49 Send Modbus command to read DI of the GW-7552-B / and receive data (0xFE, 0xDC) Modbus command: Query message (Hi) (Lo) (Hi) (Lo) check Response message DATA check GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 52...
  • Page 53  FC: Function Code-0x02:read DI  SA(Hi): Start Address(Hi byte)-0x00  SA(Lo): Start Address(Lo byte)-0x00  NO(Hi): No. Of points(Hi byte)-0x00  NO(Lo): No. Of points (Lo byte)-0x10  BC: Byte Count-0x02 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 53...
  • Page 54: Application Of Utility

    Figure 50 install the utility Step 3: Click the “Next” button to continue. If you want to change the installation destination, click “Browse” button to set the installation path. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 54...
  • Page 55 Figure 51 set the installation path Step 4: Click the “Next” button to confirm installation Figure 52 Confirm installation GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 55...
  • Page 56 Step 6: After finishing the installation of the Profibus/Modbus Gateway Utility, users can find the Utility as shown in the following screen shot. Figure 54 The path of Utility GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 56...
  • Page 57: Utility Introduction

    5.2 Utility introduction By this utility, the user can understand the module address of Profibus、Modbus and the GW-7552-B / GW-7552-M. The utility also support users set safe value easily. It introduces main window of the utility first as shown in figure 55.
  • Page 58 4. Data bit: 8 data bit 5. Stop bit: 1 stop bit 5.2.3 Module state: It can display the number of modules in the GW-7552-B / GW-7552-M and display module parameters in the window of the module parameter by click the module‟s ICON.
  • Page 59: Memory Address Configuration Of The Module

    5.3.1 Space configuration in device: The user can select check box of the module to show memory address configuration of DI/DO/AI/AO in the GW-7552-B / GW-7552-M, as shown in figure 57. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 59...
  • Page 60 The user can select check box of the module to show memory address configuration of I/O data area in the Profibus master station, as shown in figure Figure 58 Space configuration in profibus GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 60...
  • Page 61 Modbus ID is repeat in these modules. The data may be read and written by different modules at this time, it may make the data transmit and device control error easy because address configuration and Modbus ID overlap. GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 61...
  • Page 62: Safe Value Setting

    There are 3 kinds of safe value setting. They are (1) Open a new setting、(2)Load from file、(3)Load from device, as shown in figure 60. Figure 60 The menu of safe value setting GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 62...
  • Page 63 “Input” button to show safe value setting of DI/AI, click “Save to File” button to open “save file dialog” to save safe value setting for backup, click “Save to Device” button to save safe value setting to EEPROM of the GW-7552-B / GW- 7552-M.
  • Page 64: Establish Connection With Gw-7552-B / Gw-7552-M

    Figure 61 Safe value setting 5.5 Establish connection with GW-7552-B / GW-7552-M The connection of Utility and GW-7552-B / GW-7552-M is shown in figure 62. Please follow the steps to establish connection. Step 1: Wire Com Port of PC to RS-232 port of GW-7552-B / GW-7552-M.
  • Page 65 4.6.2 Output data area and communication command). Step 4: Open Utility.exe on PC. Figure 63 Open Utility Step 5: Set Com Port communication setting of Utility (please refer section 5.2.2 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 65...
  • Page 66 Com Port settings) the same as Com Port setting of GW-7552-B / GW- 7552-M(please refer section 4.3 The Configuration of the common parameters) Step 6: Click “Communication=>Connect” button in menu. Figure 64 Communication menu Step 7: Module state shows green in the Utility now, it means the connection is complete.
  • Page 67: Troubleshooting

    Please confirm Setting of Start Address and NO. of Relay/Coil is correct (please refer section 4.4 The Configuration of the modules). f. Please confirm the output data put in correct address and have GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 67...
  • Page 68 0 to trigger the output command, when output data can not send to modbus device in output data area of Profibus master (please refer section 4.6.2 Output data area and communication command). GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 68...
  • Page 69: Dimensions

    7. Dimensions 29.50 O4.5X4 56.00 2-SCREW 25.00 33.00 40.50 Back View 72.00 Side View Top View 56.00 58.50 72.00 From View GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 69...
  • Page 70 GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 70...
  • Page 71 GW-7552-M GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual (Version 1.60, May/2017) PAGE: 71...

This manual is also suitable for:

Gw-7552-m

Table of Contents