High Quality, Industrial Data Acquisition, and Control Products
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 1
Warranty
All products manufactured by ICP DAS are under warranty regarding
defective materials for a period of one year from the date of delivery to the
original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this
product. ICP DAS reserves the right to change this manual 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 or other right of third parties
resulting from its use.
Copyright
Copyright 2012 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of
their respective companies.
List of Revision
Date Author Version Revision
2012/04/03 Raiden 1.40 Release
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 2
5.3 Memory address configuration of the module…………………………………………...57
5.4 Safe value setting……………………………………………………………………….. 60
5.5 Establish connection with GW-7552……………………………………………………. 62
6. Troubleshooting……………………………………………………. 65
7. Dimensions…………………………………………………………. 66
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 3
1. Introduction
Profibus and Modbus are two kinds of famous protocols and are wildly used in the
fields of factory and process automation. The GW-7552 is a Profibus to Modbus
gateway. By using this module, users can easily put the Modbus devices into Profibus
network.
Figure 1 shows an application example for the GW-7552 module.
Figure 1 Application architecture of the GW-7552 module
The GW-7552 Gateway is specially designed for the slave device of PROFIBUS DP
protocol. In the Modbus protocol application, the GW-7552 can be a Modbus master
device or slave device. The Modbus devices can exchange data with the Profibus
master device via the GW-7552 module.
The main features and specification of GW-7552 are described as below:
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 4
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
COM Port
● Supports Modbus RTU/ASCII format
● Supports Modbus master/slave mode
● Supports safe value setting
● COM Port driver has 1K bytes QUEUE input buffer & 512 bytes QUEUE
output buffer
● Max length of output/input data is 131/128 Bytes
● Built-in self-tuner ASIC controller on RS-422/485 port
● 2500Vrms High Speed iCoupler Isolation Protection for 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 supported by the gateway.
Table 1: Modbus function codes
Code Name Description
01 Read Coil Status Read the ON/OFF status of discrete outputs in the slave
02 Read Input Status Read the ON/OFF status of discrete inputs in the slave
03 Read Holding Registers Read the binary contents of holding registers in the slave
04 Read Input Registers Read the binary contents of input registers in the slave
05 Force Single Coil Write a single output to either ON or OFF in the slave
06 Preset Single Register Write an integer value into a single register in the slave
15 Force Multi. Coils
Write each coil in the sequence of coils to either ON or
OFF in the slave
16 Preset Multi. Registers Write a block of contiguous registers in the slave
1.3 Specification
COM Port specs:
● Serial port - RS-232/RS-422/RS-485
● Serial port interface: 14-pin screw terminal block
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 5
● 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 consumption 2.5W
Module specs:
● Dimensions: 119mm X 72mm X 33mm
● Operating temperature: -25 ~ 75 ºC
● Storage temperature: -30 ~ 85 ºC
● Humidity:5 ~ 95%, non-condensing
● LED Status Indicators(Table 2)
Table 2: LED status indicator
− Shows the power state
PWR LED
− COM Port state: transmit or receive data
ERR LED
RUN LED
− Show error state
− Show communication state of PROFIBUS
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 6
2. Hardware
2.1 Block Diagram of GW-7552
RS-485
DRIVE
Figure 2 Block diagram of GW-7552
2.2 Pin Assignment
Figure 3 Pin assignment of GW-7552
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 7
Table 3 14-pin screw terminal block
Pin 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 of RS-232
10 TX Transmit Data of RS-232
11 GND GND of RS-232
12 - N/A
13 +VS V+ of Power Supply(+10 to +30VDC)
14 GND GND of Power Supply
Table 4 PROFIBUS DB9 Female Connector
Pin Name Description
1 - N/A
2 - N/A
3 B Non-inverting Bus Line
4 ISODE Isolated DE output for use in PROFIBUS
applications where the state of the isolated drive
enable node needs to be monitored.
5 GND Power supply ground for the first node and the last
node
6 VP +5V Power Supply for the first node and the last
node
7 - N/A
8 A Inverting Bus Line
9 - N/A
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 8
2.3 Wiring and Jumper Setting Instructions
S
port
The GW-7552 module supports PROFIBUS to Serial Port communication. It is
recommended to use only one serial port (RS232, RS485 or RS422) of the
Gateway at the same time. The following section describes the necessary steps to
be taken to connect one of the three COM port types to a Modbus network.
2.3.1 RS-232 connection
The RS-232 port of the GW-7552 has got three pins. The wiring of the RS-232
device with the RS232 port of the GW-7552 is shown in figure 4.
GW-7552
RS-232 device
RS-232 COM
Figure 4 RS-232 wiring diagram
2.3.2 RS-422 connection
The RS-422 wiring connection is shown in figure 5.
The GW-7552 gateway can be a Modbus master or Modbus slave in a local RS422 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. The jumpers set the pull high and pull down resistors for the RS-422 port
(Figure 6, Figure 7).
GW-7552
R
-422 port
-
Figure 5 RS-422 connection
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 9
Table 5 Jumper position for the RS-422 port
Pull high/low resistor Condition
Enabled
(default)
Disabled
− The GW-7552 is the master in RS-
422 bus or
− the number of devices connected to
the RS-422 bus is less than 10
− The GW-7552 is a slave in RS-422
bus or
− the number of devices connected to
the RS-422 bus exceeds 10
Figure 6 Configuration of pull high/low resistor for the RS-422 port
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 10
Figure 7 The positions of pull high/low resistors in GW-7552 module
2.3.3 RS-485 connection
The RS-485 wiring diagram is shown in figure 8.
The GW-7552 gateway can be a Modbus master or Modbus slave in a local RS485 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-485 network
device the four jumpers provided by the module has to be set according to Table
6. The jumpers set the pull high and pull down resistors for the RS-485 port
(Figure 9).
GW-7552
-
RS-485
Figure 8 RS-485 connection
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 11
Table 6 Jumper position for the RS-485 port
Pull high/low resistor Condition
Enabled
− The GW-7552 is the master in RS-
(default)
485 bus or
− the number of devices connected
to the RS-485 bus is less than 10
Disabled
− The GW-7552 is a slave in RS-485
bus or
− the number of devices connected
to the RS-485 bus exceeds 10
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 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). As with every
serial bus the rate of safe data transmission in a Profibus network decreases with
increasing distance between master and slave. Table 7 shows the transmission
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 12
rate and range for a cable with the following properties:
1. Impedance :135~165Ω
2. Capacity : lower than 30 pF/m
3. Loop resistance : lower than 110Ω/Km
4. Wire diameter : greater than 0.65mm
5. Core cross-section : greater than 0.34mm
2
Table 7 Transmission rate decreasing with increasing transmission distance
Transmission Rate(Kbps) Transmission Distance per Segment (meter)
9.6; 19.2; 45.45;93.75 1200
187.5 1000
500 400
1500 200
3000; 6000; 12000 100
In order to minimize the reflection effect of signal transmission, both ends (first
node and last node) of a PROFIBUS segment needs to be equipped with an
active terminal resistor as shown in figure10. A standard PROFIBUS connector
is usually already equipped with a terminal resistor. The user 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
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 13
Terminator ON
Terminator OFF
Terminator Switch
Figure 11 PROFIBUS connector
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.
2.4 Setting the Profibus Address
The station address of GW-7552 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. Table 8 shows
three examples of setting the station address by using the dip switch. The dip
switches are accessed by opening the modules housing (Figure 12). Table 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
1 2 3 4 5 6 7 8
1 1 0 0 0 0 0 0 0
10 0 1 0 1 0 0 0 0
DIP SWITCH(SW1)
126 0 1 1 1 1 1 1 0
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 14
Table 9: The Address setting of the GW-7552
Dip Switch Setting Description
1. The address setting of the EEPROM is ignored.
0~125
126-254
255 1. Slave address in the EEPROM is set to 126.
2. The address can not be set by the PROFIBUS configuration
tool.
1. The address setting of the dip switch is ignored.
2. If the address in the EEPROM is 126, the PROFIBUS
configuration tool can set a new address and save it to the
EEPROM.
Figure 12: DIP switch
Each slave must have a unique valid address (1 to 125) in order to be able to
communicate with the master. To change the address by using the configuration
tool it is necessary to first set the address stored in the EEPROM to 126. This is
done by setting the dip switch to 255 in the power off state. Switching the module
on is forcing the module to change its address in the EEROM to 126. In the next
step switch 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 on. The configuration
tool can now assign the slave a new address.
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 15
2.5 LED status indicator
The GW-7552 provides three LEDs to indicate the statuses of the GW-7552
module. The position of LEDs and descriptions are shown in table 10 and figure
13.
Table 10: LED status description
LED Name Status Description
flash
PWR
on
off Power supply has failed.
flash
When the GW-7552 acts as a Modbus slave device and
receiving query message form Modbus master device,
PWR led will flash.
Power supply is ok.
The firmware has loaded.
When the GW-7552 connects with the utility tool, it
will flash fast (flash once about 55ms).
When the GW-7552 has diagnostic message, it will
flash slowly (flash once about 220ms).
ERR
RUN
− Connection error between Profibus master and
on
off
on
off GW-7552 module is not in a data exchange mode.
slave or
− Profibus system has not been configured correctly.
Normal operation
PROFIBUS system has been configured correctly
Data exchange mode
Normal operation.
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 16
Figure 13 LED position
2.6 Normal/Setting Dip Switch
There is a dip switch on the back of the GW-7552 module, as shown in Figure 14.
The dip switch is used to set the GW-7552 module works in operation mode or setting
mode. In the normal situation, it needs to set the dip switch to the “Normal” position.
In this case, the GW-7552 module can communicate with Modbus devices. When the
user sets the dip switch to the “Setting” position, the GW-7552 module can
communicate with the utility tool to set the safe value.
Figure 14 Dip switch of the GW-7552
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 17
PS:
There are two kinds of methods to enable the setting mode of the GW-7552. 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 mode of
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 18
3. Communication protocol transfer theorem
3.1 Profibus data exchange
The GW-7552 is a Profibus DP slave device. The GW-7552 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 exchanges data cyclically between internal DI、DO、AI、AO
data and Profibus master device in data exchange mode, as shown in figure 16.
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 19
Figure 16 Data exchange between Profibus master device and GW-7552
The GW-7552 downloads the parameter and configuration from Profibus master
device to be the module parameters. The GW-7552 and Profibus master device
have different data type and data address, the GW-7552 can transfer different data
format to Profibus master device through module parameters. When the GW-7552
acts as a Modbus master device, it will send DI、AI data to input data area of
Profibus master device and it will save data that receives from Profibus master
、
device to internal DO、AO memory space, as shown in figure 17
18.
Figure 17 the output data of Profibus master device send to the GW-7552
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 20
Figure 18 the input data of Profibus master device receive from the GW-7552
When the GW-7552 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 shown in figure
、
20.
19
Figure 19 the output data of Profibus master device send to the GW-7552
GW-7552 PROFIBUS/MODBUS GATEWAY User Manual (Version 1.40, Apr/2012) PAGE: 21
Loading...
+ 46 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.