beautypg.com

8 data exchange example—modbus rtu – B&B Electronics GW-7553 - Manual User Manual

Page 39

background image

4.8 Data exchange example—Modbus RTU

In this example a Modbus Master device simulated by a PC program sends query
message and receives response message from a PROFIBUS Master via the GW-
7553 gateway.

In the following examples the CIF50-PB PROFIBUS Master card from Hilscher is
used. The configuration and communication is done by the program “SyCon”
provided by Hilscher.

Step 1: Copy the GSD file and assign the GW-7553 a valid station address

(Please refer to the section 4.2 GSD file).


Step 2: Connect the RS-232 port of the GW-7553 module to a COM port of

the PC and the PROFIBUS port to a PROFIBUS Master (Figure 33).

Figure 33 Wiring diagram between PC and GW-7553

Step 3: Set the parameters of the GW-7553. We just need to change

“Modbus Type” to Slave and the default setting is being used in the
other parameters for this example. Please refer to section 4.3 the
Configuration of the common parameters. The users can set
parameters as shown in the below.

GW-7553 PROFIBUS/Modbus TCP Gateway User Manual (Version 1.00, Dec/2008) PAGE: 39