9 data exchange example—modbus tcp – B&B Electronics GW-7553 - Manual User Manual
Page 49

z DA: Device Address-0x01
z FC: Function Code-0x02:read DI
z SA(Hi): Start Address(Hi byte)-0x00
z SA(Lo): Start Address(Lo byte)-0x00
z NO(Hi): No. Of points(Hi byte)-0x00
z NO(Lo): No. Of points (Lo byte)-0x10
z BC: Byte Count-0x02
4.9 Data exchange example—Modbus TCP
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 GW-7553 and PC by Figure 46.
Figure 46 Wiring diagram between PC and GW-7553
GW-7553 PROFIBUS/Modbus TCP Gateway User Manual (Version 1.00, Dec/2008) PAGE: 49