background image

 

GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual 

(Version 1.60, May/2017)

 PAGE: 34 

configure the common parameters to set the communication mode and data format 
by  the  PROFIBUS  configuration  tool.  The  common  parameters  are  described 
below. 

 

 

COM Port baud rate

2400/4800/9600/19200/38400/57600/115200 

 

COM Port parity

None/Even/Odd   

 

COM Port data length

7/8 data bit 

 

COM Port stop bit

1/2 stop bit 

 

Modbus Type

Master/Slave 

 

Modbus Format

RTU/ASCII 

 

I/O Safe Mode

Retain last value/Switch safe value 

 

Byte Order : Little-Endian/Big-Endian 

 

Output Data Mode : Manual/Auto 

 

Modbus Device ID(S)

1~247 

 

Polling Modbus Device Interval(ms) (M)

1~65535ms 

 

Query Message Timeout Value(ms)(M)

1~65535ms 

 
 

  PS

   

a.

 

When stop bit of Com Port is 2, data bit of Com Port must be 7 or else stop bit 
of Com Port will be set to 1. 

b.

 

I/O Safe Mode 

When GW-7552-B / GW-7552-M acts as a Modbus master (Modbus 
Type=Master): 

i.

 

Data exchange between Profibus master and GW-7552-B / GW-7552-M is 
interrupted 

“I/O  Safe  Mode”  will  be  activated  when  the  data  exchange  between 
Profibus  master  and  GW-7552-B  /  GW-7552-M  is  interrupted  (e.g.  no 
physical connection, Profibus master leaves the data exchange mode, etc.). 

 

I/O safe mode = “Switch Safe Value” 
The GW-7552-B / GW-7552-M will set internal DIO and AIO data to 
safe value and send the safe values to the Modbus slave device. 

 

I/O safe mode = “Retain Last Value” 
Internal DIO and AIO data retain last value 

 

ii.

 

Connection between Modbus slave and the GW-7552-B / GW-7552-M is 
interrupted 

 

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” 

Summary of Contents for GW-7552-B

Page 1: ...7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 1 GW 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User s Manual High Quality Industrial Data Acquisition and Control Produc...

Page 2: ...at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents...

Page 3: ...em 19 3 1 Profibus data exchange 19 3 2 Modbus data exchange 22 3 3 Communication protocol transfer 25 4 Communication 30 4 1 Field of application 30 4 2 GSD file 31 4 3 The Configuration of the commo...

Page 4: ...can easily put the Modbus devices into Profibus network 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...

Page 5: ...or PROFIBUS network 3000VDC Isolation Protection on the PROFIBUS side Provide LED indicators Built in Watchdog Mountable on DIN Rail 1 2 Modules Support Only the following Modbus commands are supporte...

Page 6: ...45K 93 75K 187 5K 500K 1 5M 3M 6M 12Mbps Address Setting 0 126 set by DIP switch or EEPROM Power requirement Unregulated 10V 30V DC Power reverse protection Over Voltage brown out protection Power con...

Page 7: ...W 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 7 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...

Page 8: ...n Name Description 1 D Data of RS 485 2 D Data of RS 485 3 N A 4 TX Transmit Data of RS 422 5 TX Transmit Data of RS 422 6 RX Receive Data of RS 422 7 RX Receive Data of RS 422 8 N A 9 RX Receive Data...

Page 9: ...ine 9 N A 2 3 Wiring and Jumper Setting Instructions The GW 7552 B GW 7552 M module supports PROFIBUS to Serial Port communication It is recommended to use only one serial port RS232 RS485 or RS422 of...

Page 10: ...network device the four jumpers provided by the module has to be set according to table 5 The jumpers set the pull high and pull down resistors for the RS 422 port Figure 6 Figure 7 Figure 5 RS 422 co...

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...

Page 12: ...e set according to Table 6 The jumpers set the pull high and pull down resistors for the RS 485 port Figure 9 Figure 8 RS 485 connection Table 6 Jumper position for the RS 485 port Pull high low resis...

Page 13: ...creases with increasing distance between master and slave Table 7 shows the transmission rate and range for a cable with the following properties 1 Impedance 135 165 2 Capacity lower than 30 pF m 3 Lo...

Page 14: ...r therefore only has to switch on the resistor of the devices stationed at the ends of a segment as shown in figure11 Figure 10 PROFIBUS connection Figure 11 PROFIBUS connector The number of stations...

Page 15: ...9 explains which address will be used by the module after power on if the dip switch address setting differs from the address stored in the EEPROM Table 8 Dip switch setting example Station address D...

Page 16: ...the module off and change the dip switch setting to any value from 126 to 254 This step is necessary in order to prevent the module to change its address in the EEPROM to 126 every time it is powered...

Page 17: ...igured correctly off Normal operation PROFIBUS system has been configured correctly RUN on Data exchange mode Normal operation off GW 7552 B GW 7552 M module is not in a data exchange mode Figure 13 L...

Page 18: ...ing mode of the GW 7552 M Figure 14 Dip switch of the GW 7552 B PS 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...

Page 19: ...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...

Page 20: ...2 M and Profibus master device have different data type and data address the GW 7552 B GW 7552 M can transfer different data format to Profibus master device through module parameters When the GW 7552...

Page 21: ...e 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...

Page 22: ...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...

Page 23: ...s 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...

Page 24: ...vices 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 sa...

Page 25: ...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 underst...

Page 26: ...r Modbus and the GW 7552 B GW 7552 M When the GW 7552 B 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...

Page 27: ...GW 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 27 Figure 27 GW 7552 B GW 7552 M master mode flowchart...

Page 28: ...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 re...

Page 29: ...GW 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 29 Figure 29 GW 7552 B GW 7552 M slave mode flowchart...

Page 30: ...ion 4 1 Field of application A master station can be a PLC PC or any other smart device The system can be a mono master system Figure 30 or a multi master system Figure 31 The GW 7552 B GW 7552 M enab...

Page 31: ...DAS companion CD ROM PATH CD PROFIBUS GATEWAY GW 7552 GSD Users can copy the GSD file IPDS0B87 gsd and the Bitmap file ICP_7552 bmp i_7552 bmp into any local destination folder 4 2 1 Example of loadin...

Page 32: ...PAGE 32 Step 2 Choose Install GSD file by clicking the Options button in the Step 7 Manager Figure 32 install GSD file Step 3 Click Browse button to choose where the GSD file located Figure 33 choose...

Page 33: ...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 Th...

Page 34: ...Com Port must be 7 or else stop bit of Com Port will be set to 1 b I O Safe Mode When GW 7552 B GW 7552 M acts as a Modbus master Modbus Type Master i Data exchange between Profibus master and GW 755...

Page 35: ...factor related to the memory allocation Big endian byte order Motorola format allocates more significant byte in lower memory address On the other hand little endian byte order Intel format allocates...

Page 36: ...ut length 0 131 Bytes Input length 0 132 Bytes The modules have module parameters about the communication settings The module parameters are shown in the below A Output Relay Coil module parameters Mo...

Page 37: ...ata address is 40001 40004 and data count is 4 In this case the user can select an Output Register 4 Words module module parameters are shown in the below Output Register module parameters Modbus Slav...

Page 38: ...ges is bigger than 10 the GW 7552 B GW 7552 M will not process other diagnostic message The diagnostic messages have four types They are Module Error System Setting Module Error EEPROM Error and Input...

Page 39: ...c message Profibus lose input data will be send by the GW 7552 B GW 7552 M to the Profibus master c When the GW 7552 B GW 7552 M receives a data output command output byte 0 from system setting module...

Page 40: ...3 when byte 0 is not 0 2 Message refer table 12 3 Description refer table 12 Input module 4 131 Data Receive data EX Input data area in byte 0 byte3 information is 04 03 02 FE 04 means there are 4 dia...

Page 41: ...the Profibus master please refer section 4 5 Diagnostic messages Control bit byte 1 DC bit 0 When this bit is set DC 1 diagnostic messages send by the GW 7552 B GW 7552 M module will all be cleared SM...

Page 42: ...of the GW 7552 B GW 7552 M into the DP Master and then set the parameters Finally change your DP master from Offline state to Operate state While DP Master changes to operate mode GW 7552 B GW 7552 M...

Page 43: ...ion and communication is done by the program Step 7 Manager provided by SIEMENS 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...

Page 44: ...AY User Manual Version 1 60 May 2017 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...

Page 45: ...s 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 Sel...

Page 46: ...le Step 5 Save and compile Now the setting done by the Step 7 has been saved and compiled Step 6 Click PLC Download to download program to PLC Figure 43 Click Download to download the setting into PRO...

Page 47: ...control to N 8 1 4 Open the connection Figure 44 MBRTU Utility Send Command to write DO of the GW 7552 B The user needs to input command 01 0F 00 00 00 10 02 FF FF and click Send Command button to se...

Page 48: ...n 1 60 May 2017 PAGE 48 Figure 45 Send Modbus command output data FF FF Figure 46 Receive 0xFF in the input data area Table 15 Receive 0xFF in the input data area Module Byte Data type Representation...

Page 49: ...x00 NO Lo No Of points Lo byte 0x10 BC Byte Count 0x02 4 8 2 Receiving data from the Profibus master device Send Command to read DI of the GW 7552 B The user needs to input command 01 02 00 00 00 10 i...

Page 50: ...52 B again Now the user can input command 01 02 00 00 00 10 in MBRTU and click Send Command button to send Modbus command 01 02 00 00 00 10 79 C6 again Then MBRTU can receive response message 01 02 02...

Page 51: ...nd trigger output data command in the output data area Table 16 Set output data and trigger output data command Module Byte Data type Representation Value System module Output 0 Byte Hex 0x00 0x01 Out...

Page 52: ...1 60 May 2017 PAGE 52 Figure 49 Send Modbus command to read DI of the GW 7552 B and receive data 0xFE 0xDC PS Modbus command Query message DA FC SA Hi SA Lo NO Hi NO Lo CRC check 01 02 00 00 00 10 79...

Page 53: ...User Manual Version 1 60 May 2017 PAGE 53 DA Device Address 0x01 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 N...

Page 54: ...disk following the path of CD profibus gateway GW 7552 utilities or the web site ftp ftp icpdas com tw pub cd fieldbus_cd profibus gateway GW 7552 utilities Step 2 Execute the Setup exe file to insta...

Page 55: ...7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 55 Figure 51 set the installation path Step 4 Click the Next button to confirm installation Figure 52 Confirm installati...

Page 56: ...56 Step 5 Click the Close button to finish and exit the installation program Figure 53 Installation complete Step 6 After finishing the installation of the Profibus Modbus Gateway Utility users can fi...

Page 57: ...as shown in figure 55 Figure 55 Main window of the utility Main window of the utility has 6 parts they are 1 Menu 2 Com port settings 3 Module state 4 Module parameters 5 Connection status of GW 7552...

Page 58: ...Com8 2 Baud rate 2400 4800 9600 19200 38400 57600 115200 3 Parity None Odd Even 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...

Page 59: ...s configuration They are 1 Space configuration in device 2 Space configuration in profibus 3 Space configuration in modbus as shown in figure 56 Figure 56 The menu of space configuration 5 3 1 Space c...

Page 60: ...PAGE 60 Figure 57 Space configuration in device 5 3 2 Space configuration in profibus The user can select check box of the module to show memory address configuration of I O data area in the Profibus...

Page 61: ...ry address configuration of input modules in Modbus network click Read Output button to show DO AO memory address configuration of input modules in Modbus network 3 Color display The user can discrimi...

Page 62: ...sion 1 60 May 2017 PAGE 62 Figure 59 Space configuration in modbus 5 4 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 s...

Page 63: ...to H button to set all of DI DO to H and click All set to L button to set all of DI DO to L 4 AI O table The user can double click left button of mouse at the value of AI AO to change the value into 0...

Page 64: ...552 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 Step 2 Connect Profibus cable between Profibus master stati...

Page 65: ...7552 M Step 3 Set bit 2 of byte 1 to High in output data area of the Profibus master station set the GW 7552 B GW 7552 M to setting mode please refer section 4 6 2 Output data area and communication c...

Page 66: ...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 Mo...

Page 67: ...ch and section 4 6 2 Output data area and communication command 4 ERR LED indication of the GW 7552 B GW 7552 M is flashing slow It means the GW 7552 B GW 7552 M has diagnostic messages Please check d...

Page 68: ...n 1 60 May 2017 PAGE 68 Item Trouble state Solution changed value of byte 0 to trigger the output command when output data can not send to modbus device in output data area of Profibus master please r...

Page 69: ...BUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 69 7 Dimensions 111 10 5 Back View Top View From View Side View O4 5X4 56 00 25 00 40 50 7 30 88 50 35 30 33 00 72 00 25 00 58 50 72 00 56 00...

Page 70: ...GW 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 70...

Page 71: ...GW 7552 B GW 7552 M PROFIBUS MODBUS GATEWAY User Manual Version 1 60 May 2017 PAGE 71 GW 7552 M...

Reviews: