Home
GWY-500 (Profibus Gateway) USER`S MANUAL
Contents
1. 2 mtr I RS 3 8 PIN MODULAR CONNECTOR n SIGNALS Pin Pin SIGNALS 1 1 TX B 2 2 m 3 3 4 4 RX 5 5 SG SHIELD 6 6 SG 7 7 8 TX i UL y 8PINMODULARCONNECTOR Shield Wire RX FRONT VIEW a DB9 MALE Tsi Pin 1 Pin 8 Na n n Cable insert Cable insert rC AQ Doc UMAN GWY 500 B 0106 REVISION 5 93 Cable Diagrams 10 1 10 AB MICROLOGIX SERIES PLCs GWY 500 EC P 027A 00 GWY 500 SIDE AB MICROLOGIX SIDE T l 2 mtr qd z MINIDIN 8 PIN MALE DB9 MALE RS232 Shield Wire RS232 SIGNALS Pin A Pin SIGNALS 1 1 SG 2 2 TXD 3 3 RXD RXD 4 4 5 a 5 SG 6 6 TXD 7 7 8 8 TT DB9 MALE 8 PIN MINIDIN CONNECTOR Shield Wire PINOUTS PINOUTS Doc UMAN GWY 500 B 0106 REVISION 5 94 Cable Diagrams 10 1 11 AB SLC DF1 PORT TO GWY 500 EC P 027B 00 BBoSEIeoIBE GWY 500 SIDE rr 1 cmi 2 mtr DB9 FEMALE
2. CLEAR Supper E Dea Mode OFF Auro dudo rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 64 Creating Project You can change the baud rate in Bus Parameter tab 7 Ditwenrkt tom cormitesi eight mev cpr CX Prafibus 1 C11W PRMZ1 PROFIBUS Master Configuration KE elf SB Fie Edt Devis Took Window Help B 1 Device Setup Hase Setup Bus Parameters Stawa Arsa Baud Fist 1500 Bass Lance ELLEN Optimize 35 HER N 3 2 bu ad 45 45 Slot ime Min Slave Intervet Min Statim m Min Slave Interv 16532 ms Station Delay ol Respondes 5 Target Rotalion Time Quiet Time 0 Max Limit F Setup Time 1 Highest Upelate Factor 1 Poli Timeout 10 ms Dats Control Tame i ms Emer Log In Omron master some area is assigned for Input Input to Master and Output output from master Doc No UMANNGWY 500 B 0106 REVISION 5 65 Creating Project In case of this project itis 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 em comibesi eight now cpr CX Prefibus 1 C31W PRAMZ1 PROFIB
3. PID Controller 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 cau e Doc No UMAN GWY 500 B 0106 REVISION 5 Introduction 1 3 Note1 GWY 500 Specifications Power 24 V DC 2 5 W LED s 3 3 LED s for status indication Communication Ports 2 Communication ports with COM RS232 5422 R8485 CMOS COM Profibus DPVO Slave 2 Wire RS485 Isolation between communication ports and Power supply through DC DC coupler is 1 KV PLC1 Connects to PC for setup download or connects to PLC1 at runtime COM2 PLC2 Profibus DPVO Slave 2 Wire RS485 Isolation between ports through opto isolation is 1KV rms for 1 min Profibus Baud Rate 9 6k 19 2 45 45k 93 75k 187 5 500 1 5M 3M 6M 12M Bit s Autodetect GSD File Supplied in the Installable Software CD GSD File Name i RENU0A0E GSD I O data 100 Word Input 100 Word Output Profibus Slave ID 0 125 ID should be provided through Gateway Setup Software PLC2 Settings Advanced Operating Temperature 0 to 60 Storage Temperature 20 to 80 C Humidity i 10 to 90 Non condensing Mounting DIN rail or back panel mounting Dimensions DIN rail 105mm L X 40mm D X 51mm W Weight 125
4. Internal Database 100 words Output Memory 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 assumes this driver as a master driver as it is master to 200 words internal memory Note Profibus detects baud rate automatically So baud rate field in PLC2 Settings of Gateway software does not have meaning specific meaning Source ID and Destination ID related to Profibus driver does not have specific meaning Profibus ID is set by Gateway configuration software PLC2 settings Advanced How other serial drivers work Example1 Toshiba ASD In drivers like Toshiba ASD s single parameter is read at a time It does not allow multiple parameters read So in case of Toshiba ASD s driver concept of Internal Database is not used 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 rC AQ B Doc No UMAN GWY 500 B 0106 REVISION 5 40 Note on Communication Drivers Let us have a glance at Internal database Please refer the following example idbh prj Gateway GW Y 5O0D Prafibus DP Slave P ex m m u Ready Doc No UMAN GWY 500 B 0106 REV
5. 2400 OMRON Comporation 01 01 20080 Comoration 910 2020 OMRON ep rente Vi 20020 OMRON Coaporstion COMLPATZ 2000 OMRON BF 20040 OMRON Corporation Eom 200241 OMRON Comporation PRT1CUM 1899 1 Comporation lt y Update iratai GSD Files Add Device Emor Log renu Doc UMAN GWY 500 B 0106 REVISION 5 56 Creating Project 2 Then user should form the network that consists of master and slave module Select the module Add Device to the network Unnamed CX Profibus Device Catalogue Fle Device Took Window Hep A pjalm 46 3 MrHetwcik Danica Types 2 C2DUHW PRTZ VI 20000 OMRON Companion VIO 20020 OMRON Corporation VIO 20020 OMRON Cosponation COMIPRTZI viO 20000 OMRON Corporation cstwPAMZ P 0101 20044 OMRON Corporation pruni VL 20020 OMRON Corporation y G 100 2005 1 Renu Electronics Pvt Ud AL PRTICOM 19887 OMRON Corporation Help Update retell GSE Files Add Device Udi initio reny Doc No UMAN GWY 500 B 0106 REVISION 5 57 Creating Project Dy bworki lem comes eight CX Profilus Fie Edt Deke Took Windom Help P 1 DEITw FRMZI PROFIBUS Master B 2 Gwrs5o0B em Log renu Doc UMAN GWY 500 B 0106
6. Certifications i CE with UL certification Immunity to ESD Level 3 as per IEC1000 4 2 Immunity to Transients Level 3 as per IEC1000 4 4 Immunity to Radiated RF Level 3 as per IEC1000 4 3 Immunity to Conducted RF Level 3 per IEC1000 4 6 Emissions EN55011 CISPRA If Toshiba VF S11 Inverter is connected at COM1 of GWY 500 station number is detected automatically at power ON and that station number is assigned as a Profibus Slave ID Note Note3 Note4 Inverter ID Can be set from 0 99 Once You install Gateway Setup Software you will find GSD file at C Program Files Gateway 3 XX GWY 5o0o0 Profibus Gateway GSD This is the default path The actual path is where the user has installed Gateway Setup Software GSD file is also provided in the CD along with the Installable software 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 Note5 rC AQ Profibus detects baud rate automatically So baud rate field in PLC2 Settings of Gateway software does not have meaning specific meaning Source ID and Destination ID related to Profibus driver does not have specific meaning Profibus ID is set by Gateway configuration software PLC2 settings Advanced Doc No UMAN GWY 500 B 0106 REVISION 5 9 Hardware HARDWARE In this chapter Dimensional Details And Mounting Instructions Communication Port
7. 1 MET m SIMATIC 300 BH PIE ECTS cg CPU 300 mg CPU 312 gg CPU 312 IFM gg CPU 312 gg CPU 313 28 CPU 313C gg CPU 313 2 DP gg CPU 313C 2 gg CPU 314 gg CPU 314 IFM gg CPU 314C 2 DP gg CPU 314 2 m cg CPU 315 a CPU 315 2 DP f 315 2AF00 0 B0 315 24F01 04B80 315 2 02 0 0 mg 6ES7 315 24F03 04B0 57 315 2 82 0 H 6 57 315 24F83 04B0 5 31 52A8100480 io Doc No UMAN GWY 500 B 0106 REVISION 5 72 Creating Project 0 UR PR FIBLIS 1 OP master system 1 Slot Hoe Module Order number Firmware MFI address addre rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 73 Creating Project 07 Now drag GWY xxx from Hardware Catalog Window to HW configure Window A PROFIBUS DP E Additional Field Devices E General 5 8 1 0 EL Gateway Begg ATV3I ATS48 H WAY me aes Ree Begg DP RS232C Link E Begg DP DP Coupler 1 PLC e BS Compatible PROFIBUS DP Slave ir ELLE ecc i m ST a MM 1 yi H S sores ani j rece ae o Lac Dm toc do ecr le CG Give a proper address to profibus which should be betw
8. After the Project is defined Drivers for required devices and Project should be downloaded Gateway can now communicate with the Profibus DP Slave devices and serial devices e g PLC or SCADA 3 3 GWY 500 Configuration GWY 500 can communicate with serial and Profibus devices using appropriate cables and configuration Microsoft Windows based configuration software Gateway Setup configures the GWY 500 unit Configuration means making the GWY 500 unit work with the application Complete configuration for a GWY 500 using the Gateway Setup is termed as a Project A Project consists of Devices to be attached on two ports Communication settings for two ports to communicate with two devices Register addresses for data transfer Conditions for data transfer etc GWY 500 can now communicate with the specified devices without any change in the GWY 500 hardware To communicate with a device GWY 500 needs Communication Drivers for the devices and Gateway Device communication cables Each Device has a unique and predefined protocol for communication GWY 500 driver has this protocol to communicate with the desired device As two devices are connected on GWY 500 it requires two drivers for communication 3 4 Configuration of GWY 500 IBM Download User MUST download Project PLC1 driver and PLC2 driver in Gateway before installing any system using Gateway Gateway can accept drivers and configuration data on either of the ports Us
9. Compare Configuration Observe Diagnosis Additional Functions Export to HTML Properties mm J Error Log 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 renu Doc No UMAN GWY 500 B 0106 REVISION5 P Creating Project 8 2 Setup Of GWY 500 with Siemens Profibus Master 01 Open A Simatic Manager gt You are getting a window with a name Step 7 wizard New Project gt Click on Next gt Now select proper CPU amp add and then click on Next gt Again click Next gt Now if you want to change project name you can change otherwise remains as it is and then click on Finish gt You are getting a window with lots of options Like gt Simatic 300 station CPU 315 2 DP 1 Name of selected CPU S7 Program etc Now click on Simatic 300 station gt Now double click on Hardware 02 Now you are getting a window with a name Simatic 300 configuration S7 Pro 31 S7 Pro 31 Name of a file iha FPW Lim Site Smis a wawa Cii Ee pem ae fe Lr mu ad Wah TK PT Bassi Can TB lil TEMATIC PU Salary reng a Doc No UMAN GWY 500 B 0106 REVISION 5 69 Creating Project 03 Then delete the CPU no which is pre
10. Firmware System EB UD Was Input Internal Database 100 words Output Memory Doc No UMAN GWY 500 B 0106 REVISION 5 23 Getting Started On COMI side it supports serial protocols e g Modbus Mastre Modbus Slave and on COM side it has Profibus DPVO Slave Protocol Profibus Slave uses internal memory It is divided into two parts Input Area and Outptut Area Profibus master writes data in Output Area and reads the data from Input Area With Gateway project it is possible for serial devices to read the data from 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 DPVO network interface 9 6Kbps to 12 Mbps and serial port with 232 RS422 2 or 4 wire RS485 300 to 115 2K Microsoft Windows based configuration software Gateway Setup helps user to configure Gateway unit Configuration means making the Gateway unit work as per the system requirements The complete configuration for a unit is termed as Project Project comprises of device names Register addresses condition for block execution etc Block may contain information like copy number of words from one device to other device and conditions for copy if any Gateway transfers data between two devices by execution of blocks
11. e g overtemperature or low voltage 2 Module related diagnostics These messages indicate that a fault is present in a specific I O range e g an 8 bit output module of a station 3 Channel related diagnostics These messages indicate an error at an individual input or output e g short circuit on output 5 PROFIBUS DP provides effective protection functions against parameterisation errors or failure of the transmission equipment Time monitoring is provided atthe DP master and at the DP slaves The monitoring interval is specified during the configuration 1 Protection mechanism at the master The 1 master monitors data transmission of its active slaves with the Data Control Timer Aseparate control timer is used for each slave This timer expires when correct data transmission does not occur within the monitoring interval 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 5 21 Getting Started At the slave 3 1 3 5 Network States 1 Protection mechanisms at the slave The slave uses the watchdog control to detect failures of the master or the transmission line If no data communication with the master occurs within the watchdog control interval the slave automatically switches its outputs to the fail safe status This mechanism can be e
12. GWY 500 SIDE LI 2 mtr _ WIRE OUTS DB9 MALE SIGNAL FROM PLC Shield Wire RS485 SIGNALS Pin Pin SIGNALS YELLOW 1 TX TX GREEN 2 SG BLACK 3 RX WHITE 4 RX TX BLUE 5 SG 6 7 8 TX 9 RX Shield Wire DB9 MALE PINOUTS rC AQ REVISION 5 Doc No UMAN GWY 500 B 0106 86 Cable Diagrams 10 1 3 OMRON MASTER PROFIBUS PORT GWY 500 PROFIBUS PORT OMRONSIDE GWY 500 SIDE ES C a Tee N 2 mtr H epo DB9 MALE DB9 MALE RS485 Shield Wire RS485 SIGNALS Pin Pin SIGNALS 1 1 2 2 B 3 3 B 4 4 SG 5 5 SG 6 6 7 7 A 8 8 A 9 9 U V Shield Wire to DB9 body BINCUTS rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 87 Cable Diagrams 10 1 4 SIEMENS MASTER PROFIBUS PORT TO GWY 500 PROFIBUS PORT SIEMENS SIDE GWY 500 SIDE e C p ae 2 mtr
13. Installation Instruction rC AG Doc UMAN GWY 500 B 0106 REVISION 5 52 Configuration Software 7 1 System Requirements System Requirement for Gateway setup software are Windows Version Microsoft Windows XP 2000 Windows 7 VISTA 32 64 bits Processor PENTIUM or higher Hard disk Space 5 MB or more Serial Mouse Required RAM 64 MB or more Display resolution 800 X 600 VGA or better Display colors 16 bit color 7 2 Installation Instruction Use the following procedure to install the Microsoft Windows based Gateway setup software This installation shows the procedure to install the software from a CD Disk on drive E On machines with different drive configurations change the names as needed It is recommended that a backup disk of the Gateway setup software disk be created and stored in a safe place 1 Launch the Windows operating system 2 Insert the setup CD into CD drive 3 Point to the start button then click RUN 4 In the command line box enter E Disk1 setup exe Click OK This will launch the Gateway installer 5 Follow the instructions to complete setup EL Gateway Project Each Gateway must be configured before connecting it to the PLC Gateway configuration software allows the following 1 Create a new Gateway project Select protocols for both communication ports of gateway Create blocks for data to be shared Set Communication Parameters for both the ports
14. Profibus slave driver Any Serial Driver ateway 1 Firmware System PO WORHSTRBEI n 3K Internal Database 100 words Output Memory 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 rC AG Doc UMAN GWY 500 B 0106 REVISION 5 28 GWY 500 B Features Let us see the example of Master Master mode as shown in the picture below Configure Gateway ports as PLC1 Protocol Modbus Gateway as Master PLC2 Protocol Profibus master master meaode prj Gateway GW Y 500 Prafibus DP Slave File Communication Hardware Test Helo Black No Words Bks Source PLC Source ID Source Address Destination PLC Destination ID Destination Address Comment L 00016 ModbusiGstew 1 900001 Frafis L 1000 1 z DDDT6E Prof bus l 0000 400021 1 TDS COMI Address Starting Addr DataType Scaling Factor Skip Fora Comm Fal Fal Value 400001 Word 3 d es 65535 P 7 T By Save Choe Error Indi Control PLC Set PLCZ2 Set Add Mie Irast Block Remove Com Download Upload Raady 3t Words defines number of registers coils to be
15. holding register 400001 is mapped to 1000 in Block 2 Gateway accepts this command and sets 1000 If Master sends a command to read write a register coil not defined in any Block then Gateway sends exception response to master NOTES 1 If multiple registers are to be read or written in one command then all the registers have to be de fined in one Block 2 As Gateway Setup Software is common for both the Gateway Modes titles in the Block Definition Area may not be appropriate when using Gateway in Master Slave mode e g Source ID Source PLC Destination PLC 3 Maximum 255 blocks can be configured in any mode 4 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 rC AG Doc UMAN GWY 500 B 0106 REVISION 5 32 GWY 500 B Features 4 2 Repeat Cycle User can control Block execution by using the Repeat Cycle field This number decides whether the Block will be executed in each cycle Larger the number lower the priority of the Block Range for Repeat Cycle setting is 1 99 Repeat Cycle 1 Highest priority Repeat Cycle 99 Lowest priority Repeat cycle is important when using Gateway in Master Master mode If Gateway is used in Master Slave mode Repeat Cycle field should be kept as 1 Repeat cycle defines the number of times a
16. 15 m 8 16 H 18 19 20 Shield Wire DB9 MALE PINOUTS rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 97 Cable Diagrams 10 2 IBM Cables 10 2 1 CABLE FOR GWY 500 PCSIDE GWY 500 SIDE 1 2 mtr 2 MG ER Li j DB9 FEMALE DB9 MALE RS232 Shield Wire RS232 SIGNALS Pin Pin SIGNALS 1 1 RXD 2 2 TXD TXD 3 3 RXD 4 4 SG 5 z 5 SG 6 6 7 7 8 8 9 y 9 Shield Wire DB9 FEMALE PINOUTS REVISION 5 Doc UMAN GWY 500 B 0106 DB9 MALE PINOUTS
17. CX Profibus 2 GW 200 8 Configuration x ZU Edt Devices Took ndoa Help Diela Al tpl 1 PROFIBUS Masten 2 2 6 1 500 8 1 word Out hom master 2 Out from 4 words irom mastai voids Dia naher T smart Pli d Mirm recon Out kom masier 16 prods In boa master H m Ener Log renu Doc UMAN GWY 500 B 0106 REVISION 5 62 Creating Project 4 Now configure Profibus master module as shown below D work1 om_com Vest_eight_nov cpr CX Profibus File Edit View Device Tools Window Help MyNetwork El fi 1 CJTw PRM21 PROFIBUS M ass 2 GWY 50D B Add Device Delete Device Rename Go Online Go Offline Upload Parameters Download Parameters Channel Functions Offline Parameter Online Parameter Compare Configuration Observe Diagnosis Additional Functions Export to HTML Properties kasu Error Log eng Doc No UMAN GWY 500 B 0106 REVISION 5 63 Creating Project TH Fia Edt Ceia Took Window D a Device Setup Maner Setup Bus Parameters Slave Area Acton to PLE Made Tranaisun Cancel Mode To PROGRAM C Keep Curent Mode Keep Cument Mode me
18. DES MALE FRONT VIEW R H S VIEW PINOUTS Pin 1 Pin 8 Left side Right side NS Bm Cable insert Cable insert end end Doc No UMAN GWY 500 B 0106 REVISION 5 90 Cable Diagrams 10 1 7 OPTOMUX TO GWY 500 COMI PLC1 RS232 RS485 CMOS SHIELDS TIED TO EARTH GROUND AT ONLY ONE POINT SHIELDS Lim PREVIOUS OPTOMUX NEXT 81 or B2 Bi or B2 renu Doc No UMAN GWY 500 B 0106 REVISION 5 91 Cable Diagrams 10 1 8 YOKOGAWA CONTROLLER TO GWY 500 YOKOGAWA CONTROLLER SIDE GWY 500 I gt 2 mtr WIRE OUTS DB9 MALE SIGNAL FROM PLC Shield Wire RS485 SIGNALS Pin Pin SIGNALS RX YELLOW 1 TX TX GREEN 2 SG BLACK E 3 RX WHITE 4 RX TX BLUE 5 SG 6 7 8 TX 9 RX Shield Wire DB9 MALE PINOUTS rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 92 Cable Diagrams 10 1 9 SLC DH485 PORT TO GWY 500 EC P 007 00 AB SLC SIDE GWY 500 SIDE
19. Details LED Status renu Doc UMAN GWY 500 B 0106 REVISION 5 10 Hardware 2 1 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 DIN rail plate also has the provision to screw the unit to the back panel Following drawing shows how to attach the DIN rail plate to the unit 40 Slot for DIN rail clamp clamp GWY 500 DIN A Follow instructions given below 1 Attach the DIN rail plate to the unit using the clamps on the DIN rail plate 2 Pull out the clip of the plate 3 Put the unit on the DIN rail 4 Push the clip in to secure the unit on the DIN rail GWY 500 unit is shipped with a separate DIN rail plate which has to be attached to the unit if needed User can use the unit with or without the DIN rail plate Following sketch shows mounting details of GWY 500 with the DIN rail plate Doc No UMAN GWY 500 B 0106 REVISION 5 11 Hardware 50 6 mm gt 108 mm 4 29 in Prosa 14 2 2 Communication Port Details GWY 500 has two communication ports COM1 and COM2 COM port is compactible to RS2
20. Set Control Word Optional Set Error Indication Bit etc Optional 2 Downloading Download Project Download drivers 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 UMAN GWY 500 B 0106 T REVISION 5 53 Creating Project PROFIBUS MASTER SETUP In this chapter Setup of GWY 500 B withOmron Profibus master Setup of GWY 500 B withSiemens Profibus master renu Doc No UMAN GWY 500 B 0106 REVISION 5 54 Creating Project 8 1 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 Copyright 2003 Corporation This program is protected by U S and International copyright laws Allrights reserved Advanced Iadostrial Automation reny Doc No UMAN GWY 500 B 0106 REVISION 5 55 Creating Project 1 First install the GSD file for Profibus slave module View Device Catalogue Install GSD file Unnamed CX Profibus Device Catalogue fm x 0 Device Took Window m x Aela
21. block accordingly the number of words in the control field should be taken For example if 36 Control bit is chosen to control the block then number of words in the Control Word field should be 3 Number of control bits 16 Number of control words If Number of control bits 96 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 5 33 GWY 500 B Features In the above example number of control bits are 36 So 36 16 2 Number of words in control field 3692616 4 i e Non zero so add 1 in the number of words in the control field so number of words in control field are 2 1 3 So number of words in the control field should be chosen as 3 For any block any control bit can be chosen Control Word can only be used in Master Master mode since no continuous data transfer takes place in Master Slave mode data transfer only takes place on Master s request When the Control Word is disabled Block execution is totally controlled by Repeat Cycle settings When the Control Word is enabled Block execution is controlled using discrete bits of that word Bit 0 in control word controls execution of Block 1 Bit 1 in control word controls execution of Block 2 Bit 15 in control word controls execution of Block 16 When bit is high 1 corresponding Block is executed depending on its Repeat Cycle When b
22. to slaves e g minimum time between two slave poll cycles specification of the inputs and outputs and consistency of the data Configurator The device data base file of each device is loaded in the configurator and downloaded to the master device Refer to the Operation Manual of the PROFIBUS DP Master Unit for usage of the GSD file in the master s configuration software GSD files are usually supplied with each unit Alternatively GSD files can be downloaded from the Internet either from the manufacturer s site or from the GSD library of the PROFIBUS Nutzerorganisation at http www profibus com 3 1 5 Profiles Exchanging devices To enable the exchange of devices from different vendors the user data has to have the same format The PROFIBUS DP protocol does not define the format of user data it is only responsible for the transmission of this data The format of user data may be defined in so called profiles Profiles can reduce engineering costs since the meaning of application related parameters is specified precisely Profiles have been defined for specific areas like drive technology encoders and for sensors actuators 3 2 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 COM2 COM1 Profibus slave driver Any Serial Driver ateway
23. to the user as well as the system and device behaviour of the various PROFIBUS DP device types are specified in the user interface Transmission medium RS 485 transmission technology or fibre optics are available for transmission RS 485 transmission is the most frequently used transmission technology Its application area includes all areas in which high transmission speed and simple inexpensive installation High speed inexpensive are required Twisted pair shielded copper cable with one conductor pair is used Easy installation The RS 485 transmission technology is very easy to handle Installation of the twisted pair cable does not require expert knowledge The bus structure permits addition and removal of stations or step by step commissioning of the system without influencing the other stations Later expansions have no effect on stations which are already in opera tion Transmission speeds between 9 6 kbit s and 12 Mbit s can be selected One unique transmission speed is selected for all devices on the bus when the system is commissioned Cable length The maximum cable length depends on the transmission speed The specified cable lengths are based on type A cable The length can be increased by the use of repeaters The use of more than 3 repeaters in series is not recommended 3 1 2 Device Types PROFIBUS distinguishes between master devices and slave devices Master devices Master devices determine the data communication on the bus A
24. 32 RS422 RS485 CMOS signal levels Pinout of this port is given as follows PLC1 1 Signal Ground 5422 5485 i RX RS422 RS485 5422 5485 cq RXD RS232C CMOS TXD CMOS lt TXD 992320 5VDC 6 TX RS422 RS485 DO NOT USE DB9 Female Do not use pin no 6 of PLC1 COM1 Hefer our website www renuelectronics com for your specific Cable requirements rC AG Doc No UMAN GWY 500 B 0106 REVISION5 ia Hardware Pin Description Pin Name Signal Level Description 1 RS422 RS485 Differential Transmit also referred as TXA 2 TXD 232 Transmit 3 RS232 CMOS Receive 4 RX RS422 RS485 Differential Receive also referred as RXA 9 GND Signal Ground common to all signals 6 5VDG DO NOT USE 7 TXD CMOS Transmit 8 TX 5422 RS485 Differential Transmit also referred as TXB 9 RX RS422 5485 Differential Receive also referred User can convert RS485 4 wire Signal Ground system to a 2 Wire Signal Ground system by shorting following signals in the communication cable TX A RX B RX SG Note If user has attached shield to Earth on Device end leave the shield open on Gateway end If user has connected shield to Signal Ground on Device end connect shield to Signal Ground on Gateway end A and B are polarit
25. 7 System Display Accessible Nodes CPU Messages Display Force Values Monitor Modify Variables Doc No UMAN GWY 500 B 0106 REVISION 5 79 Creating Project 14 Give the proper Input word IW and Output word OW addresses which corresponds to the program created in GWY software and program created for Profibus 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 pues Vane eters i Heb E address pie status varwe uoditr IW NEC u IW Cice DP didis jj cad 15 After this communication should takes place in between PLC and Toshiba inverter via Profibus Option Card renu Doc UMAN GWY 500 B 0106 REVISION5 Applications APPLICATIONS In this chapter Possible Applications using GWY 500 B renu E Doc No UMAN GWY 500 B 0106 REVISION 5 81 Applications 9 1 Possible Applications of GWY 500 B 1 PLC To PLC Communication X Protocol Profibus DP Protocol Profibus Master 2 PLC as a Slave in Profibus Network Profibus DP Protocol X Protocol PLC Profibus Master PID Controller 3 PLC Profibus Master as a Slave in Modbus Network Modbus Protocol PLC Profibus Mast
26. Block will be skipped while executing Blocks in a sequential manner Block will not be executed for Repeat Cycle 1 cycles So if Repeat Cycle for a Block is 1 it will be executed in each cycle whereas if Repeat Cycle is 2 then this Block will NOT be executed in alternate cycles For example suppose Blocks are defined with following Repeat Cycles Block 1 Repeat Cycle 1 Block 2 Repeat Cycle 2 Block 3 Repeat Cycle Block 4 Repeat Cycle 4 After power up Cycles will be executed as follows Cycle 1 Block 1 Block 2 Block 3 Block 4 Cycle 2 Block 1 Cycle 3 Block 1 Block 2 Cycle 4 Block 1 Block 3 Cycle 5 Block 1 Block 2 Block 4 4 3 Control Word Another way of controlling Block execution is by use of the Control Words 16 control words i e 255 control bits are available by which user can control 255 blocks Control bit corresponds O bit of control word 1 16 Control bit corresponds O bit of control word 2 255 Control bit corresponds 15 bit of control word 16 By default 0 to 255 control bits are mapped to 1 to 256 blocks User can change value of the control bit Control Word can be enabled or disabled in Gateway Configuration Normally Control Word is disabled for a New project It can be enabled just by clicking on check box in the setup software Control Word can be chosen from any of the Devices connected If the Control Word field is enabled for the control bit chosen in the project
27. DB9 MALE RS232 Shield Wire RS232 SIGNALS Pin Pin SIGNALS 1 1 RXD 2 2 TXD TXD 3 3 RXD 4 4 SG 5 5 SG 6 6 7 7 8 8 9 9 DB9 FEMALE Shield Wire to DB9 body d Sine PINOUTS rca Doc No UMAN GWY 500 B 0106 REVISION5 95 Cable Diagrams 10 1 12 OMRON 1 PLC TO GWY 500 EC P 006B 00 e OMRON 1 GWY 500 SID C SIDE EL ri r3 2 mtr 5 n DB9 MALE DB9 MALE RS232 Shield Wire RS232 SIGNALS Pin f Pin SIGNALS EARTH 1 1 TXD 2 x 2 TXD RXD 3 3 RXD 4 4 5 5 SG 6 6 7 7 8 8 SG 9 9 Shield Wire DB9 MALE PINOUTS Doc No UMAN GWY 500 B 0106 t REVISION 5 96 Cable Diagrams 10 1 13 OMRON CQM CPM CMOS PORT TO GWY 500 EC P 006A 00 e OMRON CMOS GWY 500 SID SIDE A 2 mtr B Er OMRON 20 PIN 9 CONNECTOR CMOS Shield Wire CMOS SIGNALS Pin d Pin SIGNALS 1 1 2 3 2 4 6 TXD CMOS 7 4 8 9 5 SG SG 10 zu 11 6 12 13 7 TXDCMOS 14
28. GWY 500 Profibus Gateway USER S MANUAL COPYRIGHT NOTICE 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 Ltd equipment is prohibited without the specific written permission of Renu Electronics Pvt Ltd SERVICE If service is required then pack the unit in its original packaging container or if unavailable any suitable rigid container If a substitute container is used surround the unit with shock absorbing material damage in shipment is not covered by the warranty Include a letter with the unit describing the difficulty and Hardware Revision and Software Version Send to the following address Renu Electronics Pvt Ltd Survey No 2 6 Baner Road Pune 411045 India All returns will be tested to verify customer claims of noncompliance with the product warranty Improper return packaging which makes verification impossible will void the warranty If noncompliance is verified and is not due to customer abuse or the other exceptions described with product warranty Renu Electronics Pvt Ltd will at its option repair or replace the Product returned to it freight prepaid which fail to comply with the foregoing warranty provided Renu Electronics Pvt Ltd is notified of such noncompliance within the one ye
29. ISION 5 41 Ea Note on Communication Drivers According to the project defined in Gateway software the Gateway software automatically generates its own IDB Gateway drivers use this IDB for optomized communication as explained below 1 Registers required for a project are grouped in a block of registers calculation based optimized block and entire block is read By Gateway in one cycle instead of reading individual registers 5 words from 400001 10 words from 400010 18 words from 400020 are grouped in one block Please refer the first block IDB FOR 1 25 words from 300001 3 words from 300025 are grouped in one block Please refer second block IDB FOR 1 These blocks are uploaded read in continuous fashion in the background by Gateway driver and data is stored in internal database memory So time required for read cycle is optimized 2 Write operations are on comparison basis Since all the registers data is already present in internal database memory of Gateway driver every time before performing write operation data is compared with the internal memory data In this way unnecessary write operations can be avoided The PLC2 driver uses this data whenever needed according to gateway project The Internal database is associated only with Master drivers Every Master driver has its own internal database of 3KBytes Data fetched by the master driver from external slave device is loaded into its internal memory in c
30. OTOCOL PLC Profibus PLC Madbus Gateway as Slave PLC Model ATU PLC Model 51 Click Configure Project button on Toolbar Cilek Configure Project button on Toolbar To Configure the Project To Configure the Project COM Protocol Modbus Slave Protocol Profibus DPVO Slave rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 m Typical Projects master slave made prj Gateway GWY 500 Prafibus DP Slave File Edt view Communication Hardware Helo L DOLDU Gsen 1 300001 Profibus L 1 z 1 L 1 FOR COMI um 7 um a By Clee Control PLCI Set PLCZ Set Add Inert Bock Remove Cmm Download Upload Raady 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 42 maps 100 words of Modbus starting from 400001 to Profibus starting from 1000 Note 1000 is the first word of Input Area in Internal Memory of Profibus driver 0000 is the first word of Output Area in Internal Memory of Profibus driver rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 51 Configuration Software CONFIGURATION SOFTWARE In this chapter System Requirements
31. REVISION5 Sg Creating Project 3 Profibus slave module is configured as follows a In Configuration tab configure the Input and Output modules iom eight nov cpr CX Profibus Fie View Deea Took Windom Help Di jejej al ME 1 21 PROFIBUS Master m a Devi reny Doc No UMAN GWY 500 B 0106 REVISION 5 59 Creating Project b In Parameter tab keep it to common Dworki camWest eight now cpr CA Profibus 2 GWY 500 H Configuration dl Device ew 5008 1 PROFIBUS path shu Vendor Ren Pt Lid Configuration Parameter Group renu Doc No UMAN GWY 500 B 0106 REVISION 5 60 Creating Project c In Group tab assign the group for the slave for global commands 7 camWesi eight now cpr CX Profibus 7 GWY 500 B Configuration mI File Device Took Window Heb X 1 CHWAFRIMZI PROFIBUS Master TE gw mod GSD File 650 23 2 Gwv 5008 Mirador Electronics Pt Lid Ideni Mumber Corfiguration Pasaneter Group he Group 1 Grup Group 2 Group 6 Group 2 Group Group 4 Group 8 ww Error Log User Administrator Doc No UMAN GWY 500 B 0106 REVISION 5 61 Creating Project Dworki comWesi eight now cpr
32. System Requirements Installation Instruction PROFIBUS MASTER SETUP 8 1 Setup Of GWY 500 with Omron Profibus Master 8 2 Setup Of GWY 500 with Siemens Profibus Master APPLICATIONS 9 1 Possible Applications of GWY 500 B CABLE DIAGRAMS 10 1 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 OPTOMUX TO GWY 500 10 1 8 YOKOGAWA CONTROLLER TO GWY 500 10 1 9 AB SLC DH485 PORT TO GWY 500 EC P 007 00 10 1 31 A B SLC DF1 PORT GWY 500 EC P 027B 00 10 1 10 MICROLOGIX SERIES PLCs TO GWY 500 027 00 10 1 12 OMRON CQM1 PLC TO GWY 500 EC P 006B 00 10 1 13 OMRON CQM CPM CMOS PORT TO GWY 500 EC P 006A 00 10 2 IBM Cables 10 2 1 IBM CABLE FOR GWY 500 Introduction INTRODUCTION In this chapter Purpose of this manual Introduction To Gateway GWY 500 B Specifications renu Doc No UMAN GWY 500 B 0106 REVISION 5 Introduction 1 1 Purpose of this manual 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 Thi
33. Topps Waaa 28 Ps DB9 MALE DB9 MALE RS485 Shield Wire RS485 SIGNALS Pin Pin SIGNALS 1 1 2 2 B 3 3 B 4 4 SG b 5 SG 6 6 7 7 A 8 8 A 9 9 y Shield Wire to DB9 body eine rca Doc No UMAN GWY 500 B 0106 REVISION 5 88 Cable Diagrams 10 1 5 NS GWY 500 NS SIDE GWY 500 SIDE cs n un DB9 MALE DB9 MALE RS232 Shield Wire RS232 SIGNALS Pin SIGNALS 1 1 TXD 2 2 TXD RXD 3 3 RXD 4 4 5 5 SG 6 6 7 7 8 8 SG 9 J 9 Shield Wire to DB9 body ICE rC AQ Doc No UMAN GWY 500 B 0106 REVISION5 89 Cable Diagrams 10 1 6 THOMSON TECHNOLOGY CONTROLLER TO GWY 500 THOMSON TECHNOLOGY GWY 500 SIDE e CONTROLLER x 2 mtr 8 PIN MODULAR DB9 MALE CONNECTOR RS485 Shield Wire RS485 SIGNALS Pin SIGNALS 1 1 TX 2 2 TX 3 3 TX 4 4 RX GND 5 5 SG 6 6 7 7 8 8 TX 9 RX 8 PIN annan Shield Wire
34. US Master Configuration O D 6 122 ial 1 EJIW PRM21 PROFIBUS Master Device Setup Setup Bus Parameters Slave 2 Gwy 5008 cau Doc No UMAN GWY 500 B 0106 REVISION 5 66 Creating Project User can test the configuration by clicking the Test Tab Dibwnrkiiom camWesi eight CX Profibus 1 CJ1W PRMZ1 PROFIBUS Master Configuratian File wie Device Took Window D 1 CH PRMZT PROFIBUS Master 3 2 0 5008 OMAROM Corporason Descriptio Version w Error Log User Achrirustrslni After TEST you should see the following in the Device Information OMRON Corporation This is fixed text indicating the Manufacturer ofthe PROFIBUSDP Master Unit Description This string will contain the name of the Unit i e CJ1W PRM 21 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 5 67 Creating Project 5 Download the parameters in PLC D Wwork1Yom eight nov cpr CX Profibus File Edit View Device Tools Window Help D alela t MyNetwork Be Add Device Delete Device Rename Go Online Go Offline Upload Parameters Download Parameters Channel Functions Offline Parameter Online Parameter
35. a master master communication relationship In addition to logical peer to peer data transmission PROFIBUS DP provides multi peer communication 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 20 Getting Started 3 1 3 2 Data Throughput Transmission time 3 1 3 3 Diagnostic Functions Extensive diagnostics Device related diagnostics Module related diagnostics Channel related 3 1 3 4 Protection Mechanism Time monitoring At the master rC AQ At 12 Mbit s PROFIBUS DP requires only about 1 ms for the transmission of 512 bits of input data and 512 bits of output data distributed over 32 stations The figure below shows the typical PROFIBUS DP transmission time depending onthe number of stations and the transmission speed The data throughput will decrease when more than one master is used 250 Baud Rate Bus cycle time m s 5 5 Slaves The extensive diagnostic functions of PROFIBUS DP enable fast location of faults The diagnostic messages are transmitted over the bus and collected at the master These messages are divided into three levels 1 Device related diagnostics These messages concern the general operational status of the whole device
36. ar warranty period ASSISTANCE This manual is designed to provide the necessary information for trouble free installation and operation of your new Gateway product However if you need assistance please call Renu Electronics Pvt Ltd at 91 20 27292840 or visit our web site at www renuelectronics com MANUAL REVISION If you contact us in refference to this manua please include the following document number Name Profibus Gateway GWY 500 B User s Manual Part Number URML204 Document UMAN GWY 500 B 0106 Revision Revision 5 10 11 2005 First Release 19 01 2006 GSD file location is specified Revision 1 17 03 2006 GSD file location is specified GSD file model name is changed Communication and IBM cable details are added Revision 2 14 02 2007 GWY 500 features Default Communication Register Recipes Control word for IDB diagnostic Information added Cable details for thomson controller optomux ABDF1 Hostlink amp yokogawa are added Revision 3 08 10 2007 Setup of Profibus Option Card with Siemens Profibus Master is revised Section 8 2 NS to GWY 500 cable connections are revised System requirement for gateway setup software revised Warranty Certificate For New product This product is warranted against defects in materials and workmanship for a period of 12 months from the date of shipment to Buyer For Rectified Products Any product that will be replaced will have Warranty for 6 months or upto Orig
37. col Modbus Master Protocol Profibus DPVO Slave Doc No UMAN GWY 500 B 0106 REVISION 5 48 Typical Projects master master meaode prj Gateway GW Y 500 Prafibus DP Slave File Communication Hardware Test Helo 00016 Medbus Gabew 1 400001 Profibus L 00016 Profibus I 0000 MocbusiGatewa 1 DEFOR LOHI Node Noda Address Starting Addr DataType __ Scaling Factor Skip For Skip on Comm Fai Wahe Nm Wed i o o 88536 A T 7 T E By Save Chose Error Indi Control PLC Set Set Add Inest Block Remove Com Download Upload Ready The block execution of the project is as follows 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 rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 49 Typical Projects 6 4 Connect SCADA Software on Profibus Network Gateway GWY 50DiPrafibus DP Slave Project Communication Hardware Test Help Cami Proteal Prabacal Modbusaseway Maste Profibus ModbunlGaterray as Slave METH BTU Toshiba T Lirik Port PLC Toshiba ASD SELECTED PROTOCOL SELECTED PR
38. ection 4 3 present in device on either side enabled from Gateway Setup Software can control the block execution When control word is disabled then block transfer is a continuous process A block of data is fetched from one device and transferred to the other device The amount of data to be transferred Number of words depends on Block definition in Block Definition Area in Configuration Software One block is executed at a time A cycle consists of execution of blocks from 1 to n Execution of blocks is performed as follows Block 1 Y Block 2 Y Block 3 Y 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 B Doc No UMAN GWY 500 B 0106 t REVISION 5 27 GWY 500 B Features Note on Gateway Profibus drivers Gateway Profibus driver uses 200 words of internal memory 100 words for input and 100 words for output as per profibus specification This memory is divided into two parts Input Area and Outptut Area The first word of Input area is 1000 and the first word of Output area is 0000 Pofibus master writes data in Output Area and reads the data from Input Area With Gateway project itis possible for serial devices to read the data from Output Area and also they can write the data in Input Area This memory is shared memory for Profibus master devices and Gateway firmware system as shown bellow COM2 COM1
39. een 0 125 because Siemens PLC range is 0 125 whereas VF 11 Toshiba Inverter range is 0 255 rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 74 Creating Project 08 Then go to Option Configure Network You are getting a window with a name Netpro S7 pro 31 S7 Pro 31 Name of a file If Catalog window not appears on screen the click a button that is present at the left side of exclamation mark 09 Now drag GWY xxx from Hardware Catalog to Netpro window HI Meurs mes Opin Hein uw mici s sio d en Ta e connection table please m module capable mf n conection dete DPE mp ar apglirstian 10 Click on GWY xxxx which is shown below 5 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 5 75 Creating Project E opes LU nieeisal Duk from i er anda fom Slot 4 Module Order number Address Q words M from Dui inam 1 16 words Out from maste 10 41 1 Da or 2 16 words In to master 10 41 p 1 word ilo mas in in maz T Important Note words ifm mas 3 Aslot has to be filling up from slot no 1 You can t leave blank slot in between Swords m
40. er HMI Software ASTRA by Renu Electronics Modbus Master renu Doc No UMAN GWY 500 B 0106 REVISION 5 82 Applications 4 Add I O to your PLC Node Profibus DP Protocol Modbus Protocol Profibus Master Node Eagle Analog I O Example Eagle0800 by Renu Electronics Images not to scale Doc No UMAN GWY 500 B 0106 REVISION 5 83 Cable Diagrams CABLE DIAGRAMS In this chapter Communication Cables for GWY 500 IBM Cable for GWY 500 rC AG Es Doc No UMAN GWY 500 B 0106 REVISION 5 84 Cable Diagrams 10 1 Communication Cables 10 1 1 TOSHIBA VF S11 TO GWY 500 TOSHIBA VF S11 GWY 500 SIDE P 2 mtr 8 PIN MODULAR DB9 MALE CONNECTOR CMOS Shield Wire CMOS SIGNALS Pin Pin SIGNALS 1 1 SG 2 2 RXD 3 3 RXD 4 4 CMOS TXD 5 5 SG 6 6 7 7 CMOS TXD 8 8 8 PIN MODULAR CONNECTOR 7 9 PINOUTS Shield Wire FRONT VIEW R H S VIEW DB9 MALE Left side Right side N B Cable insert m end Doc No UMAN GWY 500 B 0106 REVISION 5 85 Cable Diagrams 10 1 2 TOSHIBA T1 LINK PORT TO GWY 500 TOSHIBA T1 LINK a SIDE
41. er is satisfied If current driver present for PLC1 port is Slave e g Modbus Gateway as Slave If Port1 of Gateway is Slave all the configurations should be downloaded Only once for 10sec at power on Note Make sure that OK LED is blinking when you start downloading the configuration in Gateway Doc No UMAN GWY 500 B 0106 REVISION 5 25 GWY 500 B Features GWY 500 B FEATURES In this chapter renu Doc UMAN GWY 500 B 0106 T REVISION 5 Gateway Modes Repeat Cycle Control Word Error Indication Bits Communication Parameters Default Communication Register Recipes Control word for IDB Diagnostic Profibus Connection Status word 26 GWY 500 B Features 4 1 Gateway Modes Gateway has two modes of operation Master Master and Master Slave Before explaining these modes further Master and Slave concept should be explained Master Master is a Device device driver which initiates communication Slave Slave is Device Device driver which processes Master s query takes necessary action and responds to the query if necessary 41 1 Master Master Configuration In this mode both Gateway ports are master in nature and devices connected on these ports are slave Gateway ports initiate communication when the proper Gateway Device communication cable is attached Data is transferred in blocks This transfer can either be a continuous process or as per requirement A control word S
42. er needs a special IBM download cable for downloading configuration in Gateway All configurations can be downloaded only form Serial port Port 1 The other port is dedicated for Profibus Slave Port 2 If any change in the current working project is made user must download the changed project in Gateway Pin details of IBM download cable for GWY 500 B are as follows DB9 Male Gateway DB9 Female 2 2 3 3 5 rC AG Doc No UMAN GWY 500 B 0106 REVISION5 oa Getting Started 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 3 For the first time download all firmware drivers and project IMPORTANT NOTE AS GATEWAY HAS MULTIPLE SIGNALS ON ITS COMMUNICATION PORTS IBM CABLE FOR GATEWAY MUST HAVE ONLY THREE 5232 SIGNALS TXD RXD AND GND AS MENTIONED ABOVE NOTE 9 9 PIN CORE CABLE SHOULD NOT BE USED If you are using usb to serial converter then please connect IBM cable to serial port of converter 3 4 1 When GWY 500 can accept configuration If current driver present for PLC1 port is Master e g Modbus Gateway as Master First it is checked that whether device is connected on port1 If device is connected it continues normal operation If device is not connected it checks for IBM download mode for 10sec This sequence continues until eith
43. eserved 4 Data Exchange 4 10 Profibus Connection Status word This indicates Profibus status on serial side One internal memory register is added Profibus Driver IMOO00 Its read only word User can map this register while configuring the project Data in 0000 Description 0001 External Profibus Master is communicating with GWY 500 0000 No Communication cau Doc No UMAN GWY 500 B 0106 REVISION 5 38 Note on Communication Drivers NOTE ON COMMUNICATION DRIVERS rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 39 Note on Communication Drivers 5 1 Note On Communication Drivers How Gateway Profibus Slave driver works Gateway Profibus driver uses 200 words of internal memory 100 words for input and 100 words for output as per profibus specification This memory is divided into two parts Input Area and Outptut Area The first word of Input area is I000 and the first word of Output area is O000 Pofibus master writes data in Output Area and reads the data from Input Area With Gateway project itis possible for serial devices to read the data from Output Area and also they can write the data in Input Area 1000 is Input to Profibus Master O000 is Output from Profibus Master This memory is shared memory for Profibus master devices and Gateway firmware system as shown bellow COM2 COM1 Profibus slave driver Any Serial Driver Gateway 1 Firmware System s
44. etting Started GETTING STARTED In this chapter Introduction To Profibus Introduction To GWY 500 B GWY 500 B Operation renu Doc No UMAN GWY 500 B 0106 REVISION 5 Getting Started 3 1 Introduction To Profibus PROFIBUS is a vendor independent open fieldbus standard for a wide range of applications in manufacturing process and building automation Vendor independence and openness are guaranteed by the PROFIBUS standard EN 50170 With PROFIBUS devices of different manufacturers can communicate without special interface adjustments The PROFIBUS family consists of three compatible versions High speed PROFIBUS DP DP stands for Decentralised Periphery It is optimised for high speed and low cost interfacing especially designed for communication between automation control systems and distributed I O at the device level Process Automation PROFIBUS PA PA stands for Process Automation It permits sensors and actuators to be connected on one common bus line even in intrinsically safe areas It permits data communication and power supply over the bus using 2 wire technology according the international standard IEC 1158 2 Higher level PROFIBUS FMS FMS stands for Fieldbus Message Specification This version is the general purpose solution for communication tasks at a higher level Powerful services open up a wide range of applications and provide great flexibility It can also be used for extensive and complex communication
45. his Unit will void all Warranties Contents INTRODUCTION 1 1 Purpose of this manual 1 2 Introduction to Gateway 1 3 GWY 500 Specifications HARDWARE 2 1 Dimensional details And Mounting Instructions 2 2 Communication Port Details 2 3 LED Status GETTING STARTED 3 1 Introduction To Profibus 3 1 1 Protocol Architecture 3 1 2 Device Types 3 1 3 PROFIBUS DP Characteristics 3 1 3 1 Bus Access Protocol 3 1 3 2 Data Throughput 3 1 3 3 Diagnostic Functions 3 1 3 4 Protection Mechanism 3 1 3 5 Network States 3 1 4 Device Data Base Files 3 1 5 Profiles 3 2 Introduction To GWY 500 3 3 GWY 500 Configuration 3 4 Configuration of GWY 500 IBM Download 3 4 1 When GWY 500 can accept configuration GWY 500 B FEATURES 4 1 Gateway Modes 4 1 1 Master Master Configuration 4 1 2 Master Slave Configuration 4 2 Repeat Cycle 4 3 Control Word 4 4 Error Indication Bit 4 5 Communication Parameters 4 6 Default Communication Register 4 7 Recipes 4 8 Control word for IDB 4 9 Diagnostic 4 10 Profibus Connection Status word NOTE ON COMMUNICATION DRIVERS 5 1 Note On Communication Drivers TYPICAL PROJECTS 6 1 6 2 6 3 6 4 Project Setup Connect Toshiba Inverter as Profibus DPVO Slave on Profibus Network with GWY 500 Connect Modicon PLC or other Modbus Slave devices as Profibus DPVO Slave Profibus Network with GWY 500 B Connect SCADA Software on Profibus Network CONFIGURATION SOFTWARE 7 1 7 2
46. inal Product Warranty period whichever is greater The warranty is limited to repair or replacement of the defective unit at the option of the manufacturer This warranty is void if the product has been altered misused dismantled or otherwise abused ALL OTHER WARRANTIES EXPRESSED OR IMPLIED ARE EXCLUDED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE MAINTENANCE amp SERVICE There are no parts that can be serviced by the user Service should be performed on a unit substitution basis only Do not attempt to remove replace or service any printed circuit board components or any hardware software related with display product If problem within the display product occurs contact the factory for service information or repair 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 We are always open to new ideas and improvements So please let us know your ideas and comments IMPORTANT Gateway Products are intended to be Protocol Converters Data Sharer devices that can also take control actions on request of device being connected It is assumed that user is well acquainted with the PLC Inverters Controllers being used Any Mechanical or Electrical Modification to t
47. isters that can be mapped is 255 but this does not mean that Master Device has to read write 255 registers in one command In one command Master can read write registers from one Block only so if multiple registers are to be read written using a single command Words also limits the maximum number of registers to be read written Number of registers to be read written in one command also depends on 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 rC AG Doc UMAN GWY 500 B 0106 REVISION 5 30 GWY 500 B Features master slawe meode prj Gateway GWY 5DO Prafibus DP Slave P a 7 T m By Sav Chose nd Control PLCI Set PLCZ Set Add Block Remove IBM Cnm Download Lipinad Raady Doc No UMAN GWY 500 B 0106 REVISION 5 31 GWY 500 B Features Block 1 maps 100 words of Modbus starting from 300001 to Profibus starting from 0000 Block 2 maps 100 words of Modbus starting from 400001 to Profibus starting from 1000 In above example request from Modbus Master is executed as follows 1 Modbus Master connected on serial port COM1 sends command to Gateway for setting holding register 400001 2 Gateway searches defined Blocks and checks whether this register is mapped to any Profibus word In example
48. it is low 0 execution of corresponding Block is disabled 4 4 Error Indication Bit This feature enables detection of communication breaks during error free communication between Gateway and two de vices Communication breaks can occur due to no cable connection wire faults device power failure at both ends of Gateway An Error bit can be designated in each external device connected to Gateway Using this bit fault at the end can be reported to PLC2 Device and fault at PLC2 end can be reported to PLC1 Device When communication error occurs on PLC1 Gateway sets error bit in PLC2 device Error Indication Bit can only be used in Master Master mode In Master Slave mode any error can easily be detected by a communication time out on the Master Error indication bit can be enabled using Gateway configuration software Normally Error bit is disabled for a New project It can be enabled just by clicking on the check box in the setup software Error indication bit can be enabled in both or any one of the Devices connected to Gateway Error Indication bit is OFF to indicate error free communication In case of communication error on PLC2 Gateway sets error bit on PLC1 port and vice versa Note If error indication bit is a bit of a bit addresable word then don t use that word in project mapping 4 5 Communication Parameters Communication Parameters of Gateway can be set from configuration Software This enables Gateway to readily c
49. l 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 Lii em EM LINE SIT CS Ian rg Jefault Communication Registers Default Communication Registers Com Com2 Station ID Register Address Words Station ID Register Address Words 1 400001 1 Note This register is used to test communication with the device to a see if device is connected and to check if settings are proper Cancel PE POR mn Lisa Palate Mao po Clin A m Tm E wm E E Clu mia Com 2 tet is 1 This is implemented only for master drivers that support IDB 2 First register present in first row of IDB is taken as default communication register 3 The no of words field for default communication register are 1 user can change the value to maximum of 255 whichever is applicable Doc No UMAN GWY 500 B 0106 REVISION 5 35 GWY 500 B Features 4 7 Recipes Purpose provide user definable write of configuration properties or control sequences at power on to the external Slave Devices Location User can access these Recipes in Settings Recipes menu In case of some Slaves it is necessary to write c
50. master can send messages without an external request as long as it holds the bus access right the token Masters are also called active stations in the PROFIBUS standard DPM1 DPM2 There are two types of master devices DP master class1 DPM1 and DP master class2 DPM2 ADPM1 is a central controller which exchanges information with the decentralised stations i e DP slaves within a specified message cycle DPM2 devices are programmers configuration devices or operator panels They are used during com missioning for configuration of the DP system or for operation and monitoring purposes Slave devices Slave devices are peripheral devices Typical slave devices include input output devices valves drives and measuring transmitters 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 5 19 Getting Started 3 1 3 PROFIBUS DP Characteristics 3 1 3 1 Bus Access Protocol Layer 2 Medium Access Control Token passing Polling procedure Multi peer communication rC AG Doc No UMAN GWY 500 B 0106 T REVISION 5 Active stations DPMI DPM2 Lap a Master devices Y PROFIBUS Passive stations The bus access protocol is implemented by layer 2 This protocol also includes data security and the handling of the transmission protocols and me
51. nabled or disabled for each individual slave Also access protection is available for the inputs and outputs of the DP slaves operat ing in multi master systems This ensures that direct access can only be performed by the authorised master For other masters the slaves offer an image of their inputs and outputs which can be read by any master even without access rights PROFIBUS DP distinguishes four different network states Off line Stop Clear Operate Auto Clear 1 Off line Communication between all DP participants is stopped 2 Stop Communication between DPM1 and DP slaves is stopped Only communication between DPM1 DPM2 is possible 3 Clear DPM 1 master attempts to set parameters check the configuration and subsequently perform data exchange with its associated DP slaves The data exchange comprises reading the inputs of the DP slaves and writing zero s to the outputs of the DP slaves 4 Operate master exchanges data with its assigned slaves inputs are read and outputs are written Beside this the 1 cyclically sends its local status to all assigned DP slaves with a multicast message at a configurable time interval When an error occurs during the data transfer phase of the DPM1 the Auto Clear configuration setting determines the subsequent actions If this parameter is set to false the DPM1 remains in the Operate state If set to true the DPM1 switches the outputs of all assig
52. ned DP slaves to the fail safe state and the network state changes to the Clear state 3 1 4 Device Data Base Files GSD file rC AG Doc No UMAN GWY 500 B 0106 T REVISION 5 To achieve straightforward configuration of a PROFIBUS DP network the characteristic features of a device are specified in a file This file is called a GSD file Ger testammdaten file The language of the GSD file is expressed with the last letter from the extension GS Default GSD English GSE Deutsch GSG Italian GSI Portugees GSP Spanish GSS 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 22 Getting Started General section 1 General specifications This section contains the vendor name the device name hardware and software release versions station type and identification number protocol specification and supported baud rates DP master section 2 DP master related specifications This section contains all parameters which only apply to DP master devices e g maximum memory size for the master parameter set maximum number of entries in the list of active stations or the maximum number of slaves the master can handle DP slave section 3 DP slave related specifications This section contains all specification related
53. ojects TYPICAL PROJECTS In this chapter renu Doc No UMAN GWY 500 B 0106 REVISION 5 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 44 Typical Projects 6 1 Project Setup This Chapter explains how a simple Gateway project can be created and tested To develop a Gateway system select appropriate Gateway model depending on the system requirements A new project can be created as follows 1 Define the Gateway System 1 1 Protocol of Device s connected to PLC1 1 2 Protocol of Device s connected to PLC2 2 Load Microsoft Windows based Gateway Setup software 3 Select devices to be connected on two ports 4 Define Blocks for data transfer 5 Setthe communication parameters for the selected devices 6 Set conditions for block execution if required Repeat Cycle Control Word etc 7 Apply power to Gateway 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 rC AQ Doc UMAN GWY 500 B 0106 REVISION 5 45 Typical Projects 6 2 Connect Toshiba Inverter as Profibus DPVO Slave on Profibus Network with GWY 500 This
54. ommuni cate with any device Communication parameters for PLC1 and PLC2 ports can be configured independently This feature allows changes in 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 rC AG Doc No UMAN GWY 500 B 0106 3 REVISION 5 34 GWY 500 B Features 4 6 Default Communication Register Purpose provide flexible Attach Sequence This register is used to test communication with the device to see if device is connected and to check if settings are proper Location User can access these register in Settings gt gt Default Communication Register menu This feature is useful when external slave device does not allow single read operation or does not respond to any particular register For example Some energy meters allow reading in multiple of 16 registers only Previously for Modbus Driver only holding register 400001 was read for attach But if a particular device does not respond to 400001 then the initialization will fail What does the Default Communication Register do After power up default communication register is the first register that is fetched by the master driver from the slave device If response for this register is received from slave then only gateway wil
55. onfiguration properties or control sequences at power on Drives Inverters generally require this kind of sequence After power on before Gateway Project Block execution starts Recipes blocks will be executed and the specified value will be written into the specified registers NOTE 1 Recipes are only useful for master drivers 2 All the fields Recepies i e COM Port Station ID Words Register Address Value can be changed by user Sie theses mania Fallas pe d Fama HET KF all Recipes Port Station ID Register amp ddress Value Comi 1 400003 65535 m gt Note To insert delete row right click on the table This register are initialises with the default values when the ok device is Power ON OK A gt w S In Eria rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 36 GWY 500 B Features 4 8 Control word for IDB Purpose To provide user s control over the IDB block execution during run time 16 internal memory registers are added in each master driver IMOOO0 to IM0015 Bits of these registers will control 255 IDB block executions If bit value is 1 then IDB block will execute and if it is 0 then IDB block will not execute Initially at power on all internal memory register will have value OxFFFF so all IDB block will execute After communication is totally established user can change internal memory data to execute re
56. ontinuous fashion irrespective of block execution of Gateway project 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 rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 42 Note on Communication Drivers Background Read Operation Write Operation Write in Internal Memory Master Driver Internal DPVO Driver Database Write in External serial device Figure 1 explains the operation of Master Master mode with background communication At power on each master driver will get all inputs from their internal database Setup and according to that information starts fetching and loading data into its internal database memory irrespective of execution of project blocks The master driver will read all the data and load it into the internal database memory But in case of write operation each master driver will check the data available in the internal memory with the new data to be written 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 rC AQ Doc UMAN GWY 500 B 0106 REVISION 5 43 Typical Pr
57. project reads the parameters of Inverter connected on COM1 and writes the parameters to PLC Controller con nected on and vice versa Gateway GWY 500 Prafibus DP Slave Project Communication Hardware Test Help Comi Protocol Com Proboool Modbus Gates os Master Moabin Sat array as Tava Toshiba Port FLC Toshiba 511 DRINE SELECTED PROTOCOL SELECTED PROTOCOL PLC Toshiba ASD PLC Profibus PLC Model Toshiba 511 DRIVE PLC Model IPVO 51 Click Configure Project button on Toolbar Click Configure Project button on Toolbar To Configure the Project Configure the Project COM Protocol Toshiba S11 Protocol Profibus Both thses Protocols does not need IDB rC AG Doc No UMAN GWY 500 B 0106 REVISION 5 46 Typical Projects Galeway GWY CKI Pile Eck Communicetion Fiandwene Test L m m HR Close ind Control PLCI Set PLET Set Dod Remove BAC Downibad Upload The block execution of the project is as follows Block The current output frequency of the inverter is read and updated in 1000 Block 2 The current output power of the inverter is read and updated in 1001 Block 3 The Acceleration time1 of the inverter is read and updated in 1002 Block 4 The Decelaration time1 of the in
58. quired IDB block Why when is the Control Word for IDB required S1 M1 52 2 Let us assume the User has defined different Blocks in the Project Master Slave Mode that gives rise to 20 blocks in IDB of M1 as this is a Master Driver Now if the external Master M2 requires execution of only few of those 20 IDB blocks then using the 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 renu Doc No UMAN GWY 500 B 0106 REVISION 5 37 GWY 500 B Features 4 9 Diagnostic bailia janm Fruiko gij WOLD aiken PLC Advance Satting PLCE Serving Each Gibursl sho Probu 5 lation Ha d poa Comm LE m ih m oom diem iti ima ritus Dea Note Input Word and Output Word is not applicable this case This indicates serial status on Profibus side t 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 1 Scanning nodes on serial side 2 IBM Download mode 3 R
59. read written between two devices 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 As this example has only two blocks Gateway will execute Block 1 after executing Block 2 continuing this cycle forever Notes 1 Maximum 255 blocks can be configured in any mode rC AQ Doc UMAN GWY 500 B 0106 REVISION 5 29 GWY 500 B Features 4 1 2 Master Slave Configuration In this mode one of the Gateway ports is a master and other is the slave so the devices connected on these ports are slave and master respectively Blocks do not control data transfer in this mode Data transfer takes place only when Master Device connected on slave port of Gateway sends a request to read write data This mode requires mapping registers for data transfer Mapping means defining one or multiple registers in the Slave Device corresponding to one or multiple registers coils in the Master Device Mapping can be done using the Block definition area so in this mode any Block is used for mapping registers of the two devices In Block Definition area Words Field indicates number of registers to be mapped linearly from the starting addresses of the Source Device to the Destination Device Maximum number of reg
60. s document is based on information available at the time of its publication While efforts have been made to be accurate the information in this document may not cover all the details or variations in hardware or software Features described herein may not be present in all hardwares Renu Electronics Pvt Ltd reserves the right to update information in this publication without prior notice 1 2 Introduction to Gateway Gateway is a Protocol Converter Data sharer for devices like PLCs inverters Adjustable Speed Drives and other Control lers Gateway has two serial ports that connect with two different devices These devices share data through Gateway Gateway communicates with a device to get the information required by the device connected on the other port The device that requires data is called Destination Device and the device that provides data is called Source Device Information could be value of a PLC register status of a PLC coil Command from Source Device to Destination Device to perform any action at the destination end Configuration Of Gateway y sg g m THE os s 255 9 ae e 32 Se D i39 25205 5 EN gt 12 H w 5 gt o e ou 83 Note Please refer IBM Download in section 3 4 Doc UMAN GWY 500 B 0106 REVISION 5 Introduction Normal Operation Profibus DP Protocol TES X Protocol PLC Profibus Master Node n
61. s indication Bicolor LEDs status OK Green No Firmware Flashing IBM Download Both side COM1 and COM2 communication OK Red PLC1 Green OF No data received on PLC1 Port Configuration Ok Configuration Fault FF N FF N FF b Profibus No data received on Profibus Port N FF N Flashing Receiving data on Profibus Port Data exchange with Profibus Master No data exchange with Profibus Master rC AQ Doc No UMAN GWY 500 B 0106 REVISION 5 15 Hardware Note Atpower on OK LED is steady ON for approximately 5 seconds Here it sends requests to device connected on serial port If a device connected on serial port is not detected OK LED blinks for 10 seconds and again steady for approximately 5 seconds as Profibus Gateway Gateway 500 sends requests to serial ports device This process is continued until a device connected on serial port is detected If that device is detected Profibus port is initialised After successful Profibus initialisation gateway 500 starts exectuting the project blocks At this point Ok LED is steady ON serial port and Profibus LED are blinking 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 renu Doc UMAN GWY 500 B 0106 T REVISION 5 16 G
62. s tasks Uniform bus access PROFIBUS DP and PROFIBUS FMS use the same transmission technology and a uniform bus protocol access protocol Thus both versions can be operated simultaneously on the same cable However FMS field devices cannot be controlled by DP masters or vice versa Note It is not possible to exchange one of these family members by another family member This will cause faulty operation The rest of this section only describes PROFIBUS DP Protocol architecture 3 1 1 Protocol Architecture OSI The PROFIBUS protocol architecture is oriented on the OSI Open System Interconnection reference model in accordance with the international standard ISO 7498 Layer 1 physical layer of this model defines the physical transmission characteristics Layer 2 data link layer defines the bus access protocol Layer 7 application layer defines the application functions DP Extentions DP Basic Functions User Interface Layer 7 Application Layer 6 Presentation Layer b Session Layer 4 Transport Layer 3 Network Layer 2 Data Link Layer Field Bus Data Link FDL 1 Physical Layer RS 485 Fiber optics Doc UMAN GWY 500 B 0106 REVISION 5 18 Getting Started Layer 1 2 and user PROFIBUS DP uses layers 1 and 2 and the user interface Layers 3 to 7 are not interface defined This streamlined architecture ensures fast and efficient data transmission The application functions which are available
63. sent in a window 0 UR comes under Simatic 300 configuration window 04 You will see a window shown below Mee AC Deue 7 la ARIE 57 0901 z x EHATE A usta GALE PE San AO la E E PEU ka MATE 42 bimbe aci renu E Doc No UMAN GWY 500 B 0106 REVISION 5 36 Creating Project 05 Now install GSD file Eoma WA Oa buen m Moe Window Help Customize Ctri Alt E ES Modulo BE 5 Specify Module EE Configure Network PROBE Symbol Table Ctrl alt T i Report System Error PE aae one 2 aC IC PC fum Edit Catalog Profile Update Catalog Install New GSD Import Station GSD 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 reny Doc No UMAN GWY 500 B 0106 REVISION 5 71 Creating Project 06 Now drag proper CPU Siemens CPU from Hardware Catalog Window to Hardware configuration window Parameter Setting Network Setting 01 Transmission Rate e g 12 Mbps 02 Profile DP Hann bemi bom Wia elle SIL mule
64. ss i mak In a E ward p anade SSS EES ESS 22S E Swords Tb receta Link A F DP DP Couple cau e Doc No UMAN GWY 500 B 0106 REVISION 5 76 Creating Project 11 After completion of program download that program to PLC Siemens PLC ni View Options Window Help Download ETE qr renu Doc No UMAN GWY 500 B 0106 REVISION 5 77 Creating Project 12 After downloading project to PLC Go to Simatic Manager Window gt PLC Display Accessible Node View Options Window Help Access Rights Download Upload Upload Station Copy RAM to ROM Download user program to memory card Save Project on Memory Card Retrieve Project From Memory Card Manage M7 System Display renu Doc UMAN GWY 500 B 0106 T REVISION 5 Creating Project 13 Then Go to PLC gt 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 gt Name of a table Access Rights Download Upload Upload Station Copy RAM to ROM Download user program to memory cat d Save Project on Memory Card Retrieve Project from Memory Card Manage M
65. ssages The Medium Access Control MAC specifies the procedures which determine when a station is permitted to transmit data A token passing procedure is used to handle the bus access between master devices and a polling procedure is used to handle the communication between a master device and its assigned slave device s The token passing procedure guarantees that the bus access right the token is assigned to each master within a precisely defined time frame The token message a special message for passing access rights from one master to the next master must be passed around the logical token ring once to each master within a specified target rotation time Each master executes this procedure automatically A user can only change the target rotation time but is not recommended The polling or master slave procedure permits the master which currently owns the token to access its assigned slaves The picture below shows a possible configuration The configuration shows three active stations masters and six passive stations slaves Token Passing Slave devices The three masters form a logical token ring When an active station receives the token message it can perform its master role for a certain period of time During this time it can communicate with all assigned slave stations in a master slave communication relationship and a DPM2 master can take the initiative to communicate with DPM1 master stations in
66. verter is read and updated in 1003 Block 5 The output voltage of the inverter is read and updated in 1004 Block 6 The current of the inverter is read and updated in 1005 Block 7 The error history code of the inverter is read and updated in 1006 Block 8 The value of is set as command frequency of the inverter Block 9 According to the value of O001 the inverter is Run Stop 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 0004 the direction Forward Reverse of the inverter is changed Doc No UMAN GWY 500 B 0106 REVISION 5 47 Typical Projects 6 3 Connect Modicon PLC or other Modbus Slave devices as Profibus DPVO Slave on Profibus Network with GWY 500 B Gateway GWY 300 Prafsbus DP Slave Project Communication Hardware Test Help Protocol Com Protecal Modbus Gatesray nz Master RTU EX EY ModbustiGsterray os Seven Toshiba T Link Port PLC Toshiba SELECTED PROTOCOL SELECTED PROTOCOL PLC Madbus Gateway Master PLC Profibus PLC Model ATU PLC Model DPI SLAVE Click Configure Project button on Toolbar Click Configure Project button on Toolbar Configure the Project Configure the Project m Configure Open Proj Upload Pr Upload Sy Back Raady COM Proto
67. y 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 REVISIONS is Hardware Profibus DP Slave Data Ground RTS TTL Direction control for repeaters A Data Line 1 B Data Line 8 6 Shield Functional Ground 45V DC Supply Voltage for terminator resistance DB9 Female Data Line The Profibus user group recommends the following color coding for the data signal lines A Data Line Green B Data Line Red These data signal lines must be connected to the corresponding signal terminals or pins at the master unit and other stations i e A to A B to B RTS The signal RTS TTL signal relative to Data Ground is meant for the direction control of repeaters in case repeaters without self control capability are used 5 DC Data Ground The signals 5 DC and Data Ground are meant to power an externally mounted bus terminator The powering of the 220 O termination resistor ensures a defined idle state potential on the data lines To ensure proper functioning up to the highest baud rate each bus segment has to be terminated at both ends of the cable 5V DC 300 Ohm B Data Line 220 Ohm A Data Line 300 Ohm Data Ground renu Doc UMAN GWY 500 B 0106 T REVISION 5 14 Hardware 2 3 LED Status There are 3 Bicolor LEDs for statu
Download Pdf Manuals
Related Search
Related Contents
TAFCO WINDOWS D3218V Instructions / Assembly 取扱説明書 - 山田照明 Operating Instructions - VEGAFLEX 61 - 4 ? 20 mA/HART four-wire greywater reuse in sewered, single household residential premises (stxs – stxct – stxbp – stxctbp) manuel d`installation et d User manual - Uricha Ver 2.3-CT Manfrotto MMCOMPACT-BK Laser engraving machine Samsung 128 GB 2,5'' SSD 830-serien SATA III Desktop Bruksanvisning Teaching Cash Register Copyright © All rights reserved.
Failed to retrieve file