Page 2
This manual is a publication of Renu Electronics Pvt. Ltd. and is provided for use by its customers only. The contents of the manual are copyrighted by Renu Electronics Pvt. Ltd.; reproduction in whole or in part, for use other than in support of Renu Electronics Pvt.
NOTE : Renu Electronics Pvt. Ltd. is dedicated to providing complete customer service and customer satisfaction. If you have any comments or criticisms about how to improve the product features/reliability, Please make a note of the problem/improvement and notify us.
Note On Communication Drivers TYPICAL PROJECTS Project Setup Connect Toshiba Inverter as Profibus DPV0 Slave on Profibus Network with GWY-500-B Connect Modicon PLC or other Modbus Slave devices as Profibus DPV0 Slave on Profibus Network with GWY-500-B Connect SCADA Software on Profibus Network...
INTRODUCTION INTRODUCTION INTRODUCTION In this chapter..♦ Purpose of this manual ♦ Introduction To Gateway ♦ GWY-500-B Specifications Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Thank you for purchasing GWY-500-B Product from Renu Electronics Pvt. Ltd.. The intention of this User Manual is to provide a guide for Safe installation, Configuration and operation of GWY-500-B. Functionality of all the Gateway models is same.Read this User manual thoroughly before installing and operating GWY-500-B, This document is based on information available at the time of its publication.
Page 7
Connect Profibus Master device to Gateway via Profibus port and serial device(PLC or Inverter) via the PLC’s communica- tions port (correct cables are required) and the PLCs can easily exchange information with the Profibus-DP devices. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Emissions EN55011 CISPR A Note1 : If Toshiba VF-S11 Inverter is connected at COM1 of GWY-500-B, station number is detected automatically at power ON and that station number is assigned as a Profibus Slave ID. Inverter ID Can be set from 0-99.
HARDWARE HARDWARE HARDWARE In this chapter..♦ Dimensional Details And Mounting Instructions ♦ Communication Port Details ♦ LED Status Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Dimensional details And Mounting Instructions GWY-500 -B unit can be mounted on a back panel or on a DIN rail or can be left hanging. It comes with a separate DIN rail plate when it is packed. User will have to attach the DIN rail plate to the unit if it has to be mounted on a panel or DIN rail. If it has to be left hanging, make sure to screw the cables to the DB9 connectors on the Gateway unit.
HARDWARE HARDWARE Communication Port Details Gwy-500-B has two communication ports COM1 and COM2. COM1 port is compactible to RS232/ RS422/ RS485 and CMOS signal levels. Pinout of this port is given as follows: PLC1 / COM1 Signal Ground RX- (RS422/RS485)
Page 12
Signal Ground on Device end, connect shield to Signal Ground on Gateway end. A and B are polarity insensitive. Twisted pair cable should be used for Rs485 Network. Upto 31 Devices can be multi-dropped on RS485 port of Gateway. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 13
+5V DC 300 Ohm B - Data Line 220 Ohm A - Data Line 300 Ohm Data Ground Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Flashing PLC1 attach error or error while block execution Profibus Green No data received on Profibus Port Flashing Receving data on Profibus Port Data exchange with Profibus Master Flashing No data exchange with Profibus Master Doc No: UMAN\GWY-500-B\0106 REVISION 0...
GETTING STARTED GETTING STARTED GETTING STARTED In this chapter..♦ Introduction To Profibus ♦ Introduction To GWY-500-B ♦ GWY-500-B Operation Doc No: UMAN\GWY-500-B\0106 REVISION 0...
User Interface Layer (7) Application Layer (6) Presentation Layer (5) Session Layer Not Defined (4) Transport Layer (3) Network Layer (2) Data Link Layer Field Bus Data Link (FDL) (1) Physical Layer RS-485 / Fiber optics Doc No: UMAN\GWY-500-B\0106 REVISION 0...
They do not have bus access rights and they can only acknowledge received messages or send messages to the master when requested to do so. Slaves are also called passive stations. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
(broadcast and multicast). Broadcast communication: An active station sends an unacknowledged message to all other stations (masters and slaves). Multicast communication: An active station sends an unacknowledged message to a predetermined group of stations (masters and slaves). Doc No: UMAN\GWY-500-B\0106 REVISION 0...
If the master’s Auto_Clear mode is enabled, the DPM1 exits the ’Operate’ state, switches the outputs of all assigned slaves to fail-safe status, and changes to its ’Clear’ state. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
The GSD files are prepared individually by the vendor for each type of device, according to a fixed format. Some parameters are mandatory, some have a default value and some are optional. The device data base file is divided into three parts: Doc No: UMAN\GWY-500-B\0106 REVISION 0...
/ actuators. Introduction To GWY-500-B GWY-500-B is a communication bridge between Profibus Network interface on one side and various serial protocols on the other side. GWY-500-B allows serial devices to act as Profibus Slave on Profibus Network.
Output Area and write the data in Input Area of Profibus Slave. GWY-500-B is externally powered from 3 pin terminal block and power is isolated from both communication ports. Both the communication ports are also isolated from each-other. It has two communication ports, one with Profibus-DPV0 network interface (9.6Kbps to 12 Mbps) and serial port with RS232 / RS422 / 2 or 4 wire RS485 (300 to 115.2K).
GETTING STARTED GETTING STARTED Pin details of IBM download cable for GWY-500-B are as follows: DB9 Male (Gateway) DB9 Female (IBM) 1.For downloading Firmware,drivers and project switch off the GWY-500-B unit. 2.Power ON the unit again.Ok LED starts blinking. This means that unit is in download mode.
GWY-500-B FEATURES GWY-500-B FEATURES GWY-500-B FEATURES In this chapter..♦ Gateway Modes ♦ Repeat Cycle ♦ Control Word ♦ Error Indication Bits ♦ Communication Parameters Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Execution of blocks is performed as follows, Block #1 Block #2 Block #3 Block #4 Block #n When Control word is enabled, it decides which block has to be executed by writing a specific data in the control word. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 26
Gateway firmware system and external profibus master both act as a master on this memory. Though Gateway Profibus driver is slave with respect to external profibus master device, Gateway firmware system as- sumes this driver as a master driver as it is master to 200 words internal memory. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 27
400020. As this example has only two blocks, Gateway will execute Block #1 after executing Block #2 continuing this cycle forever. Notes: Maximum 255 blocks can be configured in any mode. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
- protocol of BOTH the devices - Buffer capacity of Gateway. Now let us take the example of Master-Slave mode. Configure Gateway ports as: PLC1 Protocol - Modbus (Gateway as Slave) PLC2 Protocol - Profibus. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 29
GWY-500-B FEATURES GWY-500-B FEATURES Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 30
Maximum 255 blocks can be configured in any mode. In Master - slave mode, If somebody mapped read only registers at destination end to any registers at source end, it’s users responsibility that these registers are not going to be written by master. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Number of control bits / 16 = Number of control words. If Number of control bits % 16 != 0 (Non-zero so add 1 in the number of words in the control field) then Number of control words = Number of control words + 1 Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Baud rate, Number. of stop bits, Parity etc. at any time without downloading the driver for that particular device. After the driver for a particular device is downloaded, the communication parameters can be changed simply by selecting new communication parameters and downloading the same project. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Example2: Toshiba PLC Since drivers like Toshiba PLC, Modbus allow multiple register reading in one block, in this case concept of Internal Database* is used. * Note: Concept of Internal database (IDB) is explained on next page. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 35
NOTE ON COMMUNICATION DRIVERS NOTE ON COMMUNICATION DRIVERS Let us have a glance at Internal database. Please refer the following example. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 36
“Background communication Enable/Disable” default setting depends on PLC or Device protocol. The speed of data transfer is improved because of Internal database since it reduces the number of block executions required by the Gateway software. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 37
If the data in the internal memory is same as the new data, then Gateway software will skip the write command. In case of different data, master driver will initiate the write command. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
8. Download the Project and Communication Drivers into Gateway. 9. Remove Configuration Cable from PLC1 Connect Gateway - Device cable to PLC1 10. Test system. Following Gateway examples show detailed setup for common Gateway configurations: Doc No: UMAN\GWY-500-B\0106 REVISION 0...
TYPICAL PROJECTS TYPICAL PROJECTS Connect Toshiba Inverter as Profibus DPV0 Slave on Profibus Network with GWY-500-B This project reads the parameters of Inverter connected on COM1 and writes the parameters to PLC / Controller con- nected on COM2 and vice versa.
Page 41
Block#10: The value of O002 is set as Acceleration time1 of the inverter. Block#11: The value of O003 is set as Decelaration time1 of the inverter. Block#12: According to the value of O004, the direction (Forward/ Reverse) of the inverter is changed. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
TYPICAL PROJECTS TYPICAL PROJECTS Connect Modicon PLC or other Modbus Slave devices as Profibus DPV0 Slave on Profibus Network with GWY-500-B COM1 Protocol: Modbus Master COM2 Protocol: Profibus DPV0 Slave Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 43
Block #1: Gateway reads 16 words starting from 400001 from Modbus and write these 16 words data to internal memory of Profibus (Input area). Block #2: Gateway reads 16 words starting from O000 in internal memory of Profibus (Output area) and writes it to holding register starting from 400020. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 45
TYPICAL PROJECTS TYPICAL PROJECTS Connect SCADA device on Port1. With the help of GWY-500-B SCADA device can act as Profibus DP Slave on Profibus Network. Block #1 maps 100 words of Modbus starting from 300001 to Profibus starting from O000.
- Download new firmware, if required (only for upgrading). 3. Upload Project. The existing project in the gateway module can be viewed/edited. 4. Upload System Data. This option enables viewing of version number, status of firmware, drivers used, and boot block. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
CREATING PROJECT CREATING PROJECT Setup Of GWY-500-B with Omron Profibus Master For Profibus communication, user needs the software Cx-Profibus. You need to enter the password as “password” (default), you can also change that. The steps for configuration of Profibus network are as follows...
Page 50
CREATING PROJECT CREATING PROJECT 1 First install the GSD file for Profibus slave module. View – Device Catalogue – Install GSD file Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 51
CREATING PROJECT CREATING PROJECT 2 Then user should form the network that consists of master and slave module. Select the module - Add Device to the network Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 53
CREATING PROJECT CREATING PROJECT 3 Profibus slave module is configured as follows. (a) In Configuration tab, configure the Input and Output modules. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 54
CREATING PROJECT CREATING PROJECT (b) In Parameter tab, keep it to common. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 55
CREATING PROJECT CREATING PROJECT (c) In Group tab, assign the group for the slave, for global commands. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 59
CREATING PROJECT CREATING PROJECT • You can change the baud rate in Bus Parameter tab. • In Omron master, some area is assigned for Input (Input to Master) and Output (output from master). Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 60
In case of this project, it is CIO3300 for Input and CIO3200 for output. The type of PLC and communication port, Baud Rate should be specified in Device setup tab Configure – Device Type – Settings Configure – Network Type – Settings Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 61
This is fixed text, indicating the Manufacturer of the PROFIBUSDP Master Unit. Description This string will contain the name of the Unit, i.e. CJ1W-PRM21 or CS1W-PRM21. Firmware Version This string displays the firmware version, currently in the PROFIBUS-DP Master Unit. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 62
CREATING PROJECT 5 Download the parameters in PLC. 6 When The Slave starts communicating with master, the COMM led gets on. 7 User can watch the area CIO3200 and CIO3300 with help of CX- Programmer Doc No: UMAN\GWY-500-B\0106 REVISION 0...
CREATING PROJECT CREATING PROJECT Setup Of GWY-500-B with Siemens Profibus Master 1 If the slave is not of Siemens family, you need to install the GSD file for it. H/W configuration – Option – Install New GSD You can see the GSD file in Additional Field Devices in Hardware Catalog.
Page 64
2 Next step is to form the Profibus Network. Refer Hardware Catalog for selecting the devices: (a) In Rack 0, slot 2, user should enter CPU (i.e. Siemens Master) (b) Slave module is added in front of Master module. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 65
CREATING PROJECT CREATING PROJECT 3 You can see the configuration in Hardware Configuration - Option – Configure Network Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 66
CREATING PROJECT CREATING PROJECT 4 Download the configuration to PLC. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Page 67
CREATING PROJECT CREATING PROJECT 5 After downloading is complete, and communication is established, the BF and SF LED goes off. 6. You can monitor the variables as PLC – Monitor/Modify variables. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
APPLICATIONS APPLICATIONS Possible Applications of GWY-500-B 1.PLC To PLC Communication X Protocol Profibus-DP Protocol PLC1 PLC2 Profibus Master 2. PLC as a Slave in Profibus Network Node 1 Motor Drive X Protocol Profibus-DP Protocol PLC (Profibus Master) Node 2 Node n PID Controller 3.
Page 71
APPLICATIONS APPLICATIONS 4. Add I/O to your PLC Node 1 EAGLE-0800 Profibus-DP Protocol Modbus Protocol Profibus Master Node n EAGLE-0800 Eagle Analog I/O Example: Eagle0800 by Renu Electronics * Images not to scale. Doc No: UMAN\GWY-500-B\0106 REVISION 0...
Need help?
Do you have a question about the GWY-500 and is the answer not in the manual?
Questions and answers