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 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...
Page 5
Communication Cables 10.1.1 TOSHIBA VF-S11 TO GWY-500 10.1.2 TOSHIBA T1 LINK PORT TO GWY-500 10.1.3 OMRON MASTER PROFIBUS PORT TO GWY-500 PROFIBUS PORT 10.1.4 SIEMENS MASTER PROFIBUS PORT TO GWY-500 PROFIBUS PORT 10.1.5 NS TO GWY-500 10.1.6 THOMSON TECHNOLOGY CONTROLLER TO GWY-500 10.1.7...
Introduction INTRODUCTION In this chapter..Purpose of this manual Introduction To Gateway GWY-500-B Specifications Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Thank you for purchasing GWY-500 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 Functionality of all the Gateway models is same. Read this User manual thoroughly before installing and operating GWY-500, This document is based on information available at the time of its publication.
Page 8
Connect Profibus Master device to Gateway via Profibus port and serial device (PLC or Inverter) via the PLC’s communi- cations 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 4...
Note3 : GSD file is also provided in the CD along with the Installable software. Note4 : Previously the model name in GSD file was GWY-500 Now it is changed to GWY-XXXXX to support all the products having Profibus port.
Hardware HARDWARE In this chapter..Dimensional Details And Mounting Instructions Communication Port Details LED Status Doc No: UMAN\GWY-500-B\0106 REVISION 4...
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 Communication Port Details GWY-500 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) RX+ (RS422/RS485)
Page 13
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 4...
Page 14
+5V DC 300 Ohm B - Data Line 220 Ohm A - Data Line 300 Ohm Data Ground Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Flashing PLC1 attach error or error while block execution Profibus Green No data received on Profibus Port Flashing Receiving data on Profibus Port Data exchange with Profibus Master Flashing No data exchange with Profibus Master Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 16
Now , if the gateway 500 detects that Profibus master is not present then it stops the block execution and continuously waits for Profibus Master. At this time OK LED is steady on and serial port and Profibus LEDs are off. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
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 4...
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 4...
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 4...
(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 4...
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 4...
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 4...
/ actuators. Introduction To GWY-500 GWY-500 is a communication bridge between Profibus Network interface on one side and various serial protocols on the other side. GWY-500 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 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 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 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 In this chapter..Gateway Modes Repeat Cycle Control Word Error Indication Bits Communication Parameters Default Communication Register Recipes Control word for IDB Diagnostic Profibus Connection Status word Doc No: UMAN\GWY-500-B\0106 REVISION 4...
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 4...
Page 28
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 4...
Page 29
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 4...
- 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 4...
Page 31
GWY-500-B Features Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 32
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 4...
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 4...
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 4...
If response for this register is received from slave then only gateway will start the Profibus initialization. Otherwise GWY-500 would continuously try to establish the communication with external Slave device by sending read request with the “default communication register”.
NOTE: 1) Recipes are only useful for master drivers. 2) All the fields in Recepies i.e. COM Port, Station ID, #Words, Register Address, Value can be changed by user. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
“Control Word for IDB” user can select only the blocks that need to be executed currently. The visible advantage is this will speed up the Block execution and data exchange rate. This feature is useful in Master-Slave mode. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Note : Input Word and Output Word is not applicable in this case This indicates serial status on Profibus side. At power on even the serial communication is not started, the profibus communication is started. The state of GWY-500 is showed in configured Profibus Diagnostic Input Word. State Description...
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 4...
Page 41
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 4...
Page 42
“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. Background communication can be set by PLC1 settings/advanced/Background Communication. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 43
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 4...
In this chapter..Project Setup Connect Toshiba Inverter as Profibus DPV0 Slave on Profibus Network with GWY-500-B Connect Modicon PLC as Profibus DPV0 Slave on Profibus Network with GWY-500-B Connect SCADA Software on Profibus Network Doc No: UMAN\GWY-500-B\0106 REVISION 4...
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 4...
Typical Projects Connect Toshiba Inverter as Profibus DPV0 Slave on Profibus Network with GWY-500 This project reads the parameters of Inverter connected on COM1 and writes the parameters to PLC / Controller con- nected on COM2 and vice versa. COM1 Protocol: Toshiba S11 COM2 Protocol: Profibus Both thses Protocols does not need IDB.
Page 47
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 4...
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 4...
Page 49
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 4...
Page 51
Typical Projects Connect SCADA device on Port1. With the help of GWY-500 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. Block #2 maps 100 words of Modbus starting from 400001 to Profibus starting from I000.
- 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 4...
Creating Project Setup Of GWY-500 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 56
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 4...
Page 57
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 4...
Page 65
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 4...
Page 66
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 4...
Page 67
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 4...
Page 68
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 4...
Creating Project Setup Of GWY-500 with Siemens Profibus Master Open A Simatic Manager You are getting a window with a name [Step 7 wizard:” New Project”] Click on “Next”. Now select proper CPU & MPI add and then click on “Next”.
Page 70
Creating Project Then delete the CPU no. which is present in a window (0) UR comes under Simatic 300-configuration window. You will see a window shown below. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 71
Creating Project Now install GSD file Path of GSD file: “C:\Program Files\Gateway 3.11\GWY-500 (Profibus Gateway)\GSD”. This is the default path. The actual path is where the user has installed Gateway Setup Software. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 72
Creating Project Now drag proper CPU (Siemens CPU) from Hardware Catalog Window to Hardware configuration window. Parameter Setting Network Setting… Transmission Rate – e.g. 12 Mbps. Profile – DP Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 74
Now drag GWY-xxx from Hardware Catalog Window to HW configure Window. Give a proper address to profibus, which should be in between 0-125 because Siemens PLC range is 0-125 whereas VF- S11 Toshiba Inverter range is 0-255. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 75
Now drag GWY-xxx from Hardware Catalog to Netpro window. Click on GWY-xxxx which is shown below, (5) GWY-xxxxx DP-NORM You are getting a table, which is related, with GWY-xxxx. You have to do a program in it. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 76
Creating Project Important Note: A slot has to be filling up from slot no.1. You can’t leave blank slot in between. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 77
Creating Project After completion of program, download that program to PLC (Siemens PLC). Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 78
Creating Project After downloading project to PLC, Go to, Simatic Manager Window Display Accessible Node. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 79
Creating Project Then, Go to, Monitor/Modify Variables. Before it 1st MPI=2 and the click on PLC. You get a window, whose name is, Var_Variable_Table1/2/3 Table1/2/3 Name of a table. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Page 80
Just observe the three windows, which are shown below. From these three windows you will easily find out how a program is done and what is relation of being this three windows together. After this communication should takes place in between PLC and Toshiba inverter via Profibus Option Card. Doc No: UMAN\GWY-500-B\0106 REVISION 4...
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 83
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 4...
Cable Diagrams 10.1.2 TOSHIBA T1 LINK PORT TO GWY-500 GWY-500 SIDE TOSHIBA T1 LINK PORT SIDE 2 mtr. WIRE OUTS DB9 MALE SIGNAL FROM PLC Shield Wire (RS485) Pin # SIGNALS Pin # SIGNALS YELLOW GREEN BLACK WHITE BLUE DB9 MALE...
Cable Diagrams 10.1.3 OMRON MASTER PROFIBUS PORT TO GWY-500 PROFIBUS PORT OMRON SIDE GWY-500 SIDE 2 mtr. DB9 MALE DB9 MALE Shield Wire (RS485) (RS485) SIGNALS Pin # Pin # SIGNALS DB9 MALE Shield Wire to DB9 body PINOUTS Doc No: UMAN\GWY-500-B\0106...
Cable Diagrams 10.1.4 SIEMENS MASTER PROFIBUS PORT TO GWY-500 PROFIBUS PORT SIEMENS SIDE GWY-500 SIDE 2 mtr. DB9 MALE DB9 MALE Shield Wire (RS485) (RS485) SIGNALS Pin # Pin # SIGNALS DB9 MALE Shield Wire to DB9 body PINOUTS Doc No: UMAN\GWY-500-B\0106...
Cable Diagrams 10.1.5 NS TO GWY-500 NS SIDE GWY-500 SIDE 2 mtr. DB9 MALE DB9 MALE Shield Wire (RS232) (RS232) SIGNALS Pin # Pin # SIGNALS DB9 MALE Shield Wire to DB9 body PINOUTS Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Cable Diagrams 10.1.8 YOKOGAWA CONTROLLER TO GWY-500 GWY-500 SIDE YOKOGAWA CONTROLLER SIDE 2 mtr. WIRE OUTS DB9 MALE SIGNAL FROM PLC Shield Wire (RS485) Pin # SIGNALS Pin # SIGNALS YELLOW GREEN BLACK WHITE BLUE DB9 MALE Shield Wire PINOUTS...
Cable Diagrams 10.1.9 AB SLC DH485 PORT TO GWY-500 (EC-P-007-00) GWY-500 SIDE AB SLC SIDE 2 mtr. DB9 MALE 8 PIN MODULAR CONNECTOR Shield Wire SIGNALS Pin # Pin # SIGNALS SHIELD 8 PIN MODULAR CONNECTOR Shield Wire R.H.S. VIEW...
Page 94
Cable Diagrams 10.1.10 AB MICROLOGIX SERIES PLCs TO GWY-500 (EC-P-027A-00) GWY-500 SIDE AB MICROLOGIX SIDE 2 mtr. MINIDIN 8 PIN MALE DB9 MALE (RS232) Shield Wire (RS232) SIGNALS Pin # Pin # SIGNALS DB9 MALE Shield Wire 8 PIN MINIDIN CONNECTOR...
Cable Diagrams 10.1.11 A B SLC DF1 PORT TO GWY-500 (EC-P-027B-00) AB SLC SIDE GWY-500 SIDE 2 mtr. DB9 MALE DB9 FEMALE Shield Wire (RS232) (RS232) SIGNALS Pin # Pin # SIGNALS DB9 MALE DB9 FEMALE Shield Wire to DB9 body...
Page 96
Cable Diagrams 10.1.12 OMRON CQM1 PLC TO GWY-500 (EC-P-006B-00) GWY-500 SIDE OMRON CQM1 SIDE 2 mtr. DB9 MALE DB9 MALE (RS232) Shield Wire (RS232) SIGNALS Pin # Pin # SIGNALS EARTH Shield Wire DB9 MALE PINOUTS Doc No: UMAN\GWY-500-B\0106 REVISION 4...
Need help?
Do you have a question about the GWY-500 and is the answer not in the manual?
Questions and answers