Hilscher. Application example of PROFIBUS to Modbus In this example the GW-7552 acts as a Modbus slave device. When the GW-7552 module receives a write DO Modbus command from PC’s COM Port, the GW-7552 module can send the message to the input data area of PROFIBUS master station.
Page 2
The GW-7552 is a slave device of PROFIBUS DP protocol. The station address of GW-7552 can be set by dip switch. The dip switch can be seen by open the cover, as shown in the below. The range of dip switch is 0~126, here we set GW-7552 module’s dip switch to 1.
4. Software configuration GSD file Please copy the GSD file (IPDS0B87.gsd) and the Bitmap file (ICP_7552. bmp , i_7552.bmp) from the CD of the GW-7552 module into the Profibus configuration tool. File->CopyGSD (Directory: --> CD:\PROFIBUS\ GATEWAY\GW-7552\GSD\) the example of how to load GSD file Here, we use the hilscher CIF50-PB PROFIBUS communication interface to show how to load GW-7552’s GSD file step by step.
Page 4
Please refer to user manual section 4.3 The Configuration of the common parameters. Double click Click <Parameter Data> 7552’s icon to enter the button to enter the Parameter Slave configuration dialog Data dialog GW-7552 PROFIBUS/MODBUS GATEWAY Quick Start User Guide (Version 1.00) PAGE:4...
Page 5
In this example, we configure a “system setting module”, an “Output Relay/Coil--2 Byte module” and an “Input Relay/Coil--2 Byte module”, as follows. Double click GW-7552’s icon to Configure module and click OK enter Slave configuration dialog button GW-7552 PROFIBUS/MODBUS GATEWAY Quick Start User Guide (Version 1.00) PAGE:5...
Page 6
When the user finishes the configuration and saves setting in the PROFIBUS master station successfully, the 'RUN' LED indicator of GW- 7552 is turned on. That shows the GW-7552 working in the data exchange mode. Click <Online->Download> to download the setting into PROFIBUS master station 5.
Page 7
(” 01 02 02 00 00 B9 B8”). In this message, the user can know the value of DI0 & DI1 is “0” in the GW-7552. --Send output data to write DI of the GW-7552 by the Profibus master The user needs to set “0xFE”...
Page 8
Byte 0x00 → Output 2 Byte 0x00 0xFE Output module Output 3 Byte → 0x00 0xDC Send Modbus command to read DI of the GW-7552 and receive data (0xFE, 0xDC) GW-7552 PROFIBUS/MODBUS GATEWAY Quick Start User Guide (Version 1.00) PAGE:8...
Need help?
Do you have a question about the GW-7552 and is the answer not in the manual?
Questions and answers