Home
GWY-610 User Manual
Contents
1. TX Shield Wire RX DB9 MALE PINOUTS Fess Doc No UMAN GWY 610 1106 REVISION 2 www comoso com 51 Cable Diagram 8 7 TOSHIBA T2 PLC TO GWY 610 EC P 019B 00 T2 GWY 610 i i im DB9 MALE RS232 DB9 MALE RS232 Shield Wire SIGNALS SIGNALS DB9 MALE Shield Wire PINOUTS Note These details are also applicable to Siemens S7 300 FEB Doc UMAN GWY 610 1106 52 REVISION 2 www comoso com Cable Diagram TOSHIBA VF S11 TO GWY 610 TOSHIBA VF S11 GWY 610 SIDE SIDE 8 PINMODULAR CONNECTOR RS232 Shield Wire SIGNALS Pin 1 2 CMOS TXD VU Shield Wire 8 PIN MODULAR CONNECTOR R H S VIEW PINOUTS FRONT VIEW Pin 1 Mi Pin 8 Left side m Right side Na Cable insert Cable insert end end gt DB9 MALE RS232 SIGNALS CMOS TXD DB9 MALE P
2. Mak cmo ___ ___ I Dem Brem 4 Set ethernet side settings as shown below FELLER 11 Datatype Sap Fore Span Conn Fil vaar ho prend amare Fon PLE rens Doc UMAN GWY 610 1106 40 B REVISION 2 www comoso com Typical Projects 5 Set PLC1 side settings as shown below Ve 74 jeepers Anne ee um Ec Temp Hocker 1 0 loss man Miiat Amm Karpa WE T PLE IE E per ddvence PLE Tr Port PLE Haan comm prj Gateway GWY GX LI hat nal Galirway Fle fies Elhemel PLC Setimas Node Address 1 255 192188 0 15 Port Number epa 1 565535 Fees Doc UMAN GWY 610 1106 B REVISION 2 www comoso com 41 Typical Projects 7 Download the gateway configuration Select All gt gt Download IBM Com por petting COME Now your gateway is configured and ready for communication rens Doc UMAN GWY 610 1106 42 B REVISION 2 www comoso com Configuration Software CONFIGURATION S
3. Signal Ground RS422 RS485 RXD CMOS T XD RX RS422 RS485 TX RS422 RS485 2 TXD CMOS 7 5VDC 6 DO NOT USE w DB9 Female Do not use pin no 6 of PLC1 COM1 Refer our website www renuelectronics com for your specific Cable requirements Ethernet Port Twisted Pair Transmit Output Positive Twisted Pair Transmit Output Negative Pin 3 N 6 NC p EE N NC Twisted Pair Receive Input Positive Twisted Pair Receive Input Negative PASS THROUGH COM1 ETHERNET OK ooo COM1 RS232 RS485 CMOS ETHERNET 1 1 Doc UMAN GWY 610 1106 11 REVISION 2 www comoso com Hardware 2 3 LED Status There are 13 LEDs for status indication LED OFF Flashing ON OFF OFF Flashing ON OFF Flashing ON ETHERNET Green ON OFF ON Pass Through OFF Flashing ON Green Green Green Green Green Green No Firmware IBM Download Communication OK Configuration Ok Configuration Fault No data received COM1 Port Receiving data Port No error in COM1 attach or while block execution attach error or error while block execution Connection is not open with server Connection is open with server No IP conflict IP conflict or Modbus TCP server not atta
4. www comoso com 55 Cable Diagram 8 11 OPTOMUX TO GWY 610 SHIELDS TED TO EARTH GROUND AT ONLY ONE POINT SHIELDS PREVIOUS CPTOMUX ACSA NEXT DPTOMU JX 91 ar Bi i1 or B2 8 12 ETHERNET CABLE Cross Over Cable Connections Hook underneath RJ 45s 1223445 67 8 3 5 amp 8 Ac T Ree Re Tae Tx dr From Ethernet switch to GWY 610 it should be straight cable and from GWY 610 to PC it should be cross over cable reaa Doc No UMAN GWY 610 1106 o6 REVISION 2 www comoso com Cable Diagram 8 13 YOKOGAWA CONTROLLER TO GWY 610 YOKOGAWA CONTROLLER SIDE GWY 610 WIRE OUTS SIGNAL FROM PLC SIGNALS Pin RX YELLOW DB9 MALE Shield Wire RS485 SIGNALS TX GREEN TX SG BLACK RX WHITE TX BLUE TX RX Shield Wire DB9 MALE PINOUTS ires Doc No UMAN GWY 610 1106 57 REVISION 2 ET www comoso com Cable Diagram 8 14 IBM CABLE la PC SIDE ris meme GWY 610 SIDE DB9 FEMALE RS232 SIGNALS Shield Wire
5. DB9 MALE RS232 Pin SIGNALS 1 tiet Wire Fess Doc No UMAN GWY 610 1106 REVISION 2 www comoso com 58
6. Create blocks for data to be shared Set Communication Parameters for both the ports 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 610 1106 44 REVISION 2 www comoso com Cable Diagram CABLE DIAGRAMS In this chapter Communication Cables for GWY 610 Cable for GWY 610 Doc UMAN GWY 610 1106 REVISION 2 ET www comoso com 45 Cable Diagram OMRON CQM CPM CMOS PORT TO GWY 610 EC P 006A 00 la SIDE OMRON CMOS GWY 610 20 CONNECTOR CMOS SIGNALS Pin 2 DB9 MALE Shield Wire CMOS SIGNALS RXD TXD CMOS OO NI O OI CO PO SG TXD CMOS Shield Wire DB9 MALE PINOUTS Doc UMAN GWY 610 1106 REVI
7. 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 Modbus TCP Gateway as Slave Words Bks Slave Port Slave Address Target PLC Target ID 10 Modbus TCP Gabeway as Save 400001 Modbus Gebeway as Master 1 400001 2 10 Modbus TEP Gateway as Slave 400015 Modbus Gabeway as Master 1 400015 cor Meds Puck kaki Dean GkoPe Cria pos Pd iE ME KERE AE E E H a m m LU E Bra iek Cord Bwat Ba TEN EE ET TER EN TT EE IT EI LI Block 1 maps 10 words of Modbus Gateway as Slave starting from 400001 to Modbus TCP Gateway as Slave starting from 400001 Block 2 maps 12 words of Modbus Gateway as Slave starting from 000001 to Modbus TCP Gateway as Slave starting from 000001 Doc UMAN GWY 610 1106 22 REVISION 2 ka WWW comoso com GWY 610 Features In above example request from Modbus Master is executed as follows 1 Modbus Master connected serial 1 sends command to Gateway for setting holding register 400001 2 Gateway searches defined Blocks and checks whether this register is mapped to any Modbus TCP word 3 In example holding register 400001 Modbus Gateway as S
8. Write in External Figure 1 explains the operation of Master Master mode with background communication Doc UMAN GWY 610 1106 31 El REVISION 2 ka www comoso com Note on Communication Drivers Advantages of background communication 1 Better speed For background communication each master driver has 3K internal memory i e 1500 words If background communication is enabled master driver will use inputs from internal database IDB and continuously start fetching data for defined registers in IDB independent to other side driver This all data is stored in internal data memory When request comes from other end external master for mapped registers in gateway projects then data is given from internal memory so time for data fetching from slave device is minimized If IDB is not present then data is fetched by sending command to slave device and then it is transferred to other side device which consumes time and hence speed is low Skip on communication fail This feature is very useful when multiple slaves are connected to gateway This can be settable by user in IDB setup This feature will decide to skip data fetching from specific node if that node in the network is off If any node is off during normal communication gateway will skip this node in next data fetch cycle and gives failure indication by flashing led in RED on master port side i e on COM1 side of gateway and keep its normal
9. 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 mm LE aa E moii Note Please refer IBM Download in section 3 4 Normal Operation TE Modbus TCP Client Server EC Serial Port Pass Through Port HMI Connect Modbus TCP devices to Gateway via Ethernet port and serial device PLC or Inverter via PLC s commu nication port correct cables are required and PLCs can easily exchange information through Ethernet At the same time local HMI can communicate with PLC connected on serial port FEB Doc No UMAN GWY 610 1106 7 4 REVISION 2 t www comoso com Introduction 1 3 GWY 610 Specifications Power LED s Communication Ports 24 V DC 2 5 W 16 LED s for status indication 3 Communication ports with COMI RS232 5422 5485 CMOS COM ETHERNET COMS RS232 Isolation between Comm nio SA ports and Power supply th
10. User can change the status of physical outputs from configured Output word i e Holding Register Important Note 1 Input Word and Output Word configured should not be used in actual project 2 Input Word reading and Output Word modifying should be done separately It should not be done with normal project registers DOUZ Entity PLC2 GWY xxx IP Address 192 168 0 250 Subnet Mask 255 255 255 0 Default Gateway Address 192168 0 1 Input Word 3xxxxx Output W ord 4xxxxx m z Rien Cem ed Coan MORAL Aa Aaa Can Doc No UMAN GWY 610 1106 27 REVISION2 www comoso com GWY 610 Features CASE b Operation in case of Modbus TCP Client 1 Internal memory register 25 0025 is used for Input and Internal memory register 26 IMOO26 is used for Output So 0025 is read only and 0026 is write only 2 While configuring the project user should map Input Word and Output Word to any register of serial driver This way user can access Input Word and Output word eth Sara Dean AL TO as Masher 1 aa Manz 1 1 monn Garay Partem Mexkaum ey Mee 1 DACA wale
11. Attach Phase Ethernet Attach Phase It starts attaching to Ethernet nodes Then according to Modbus TCP Client or Modbus TCP Server driver present in Gateway following is done a In case of Modbus TCP server driver GWY 610 waits for request from external client b In case of Modbus TCP client driver GWY 610 sends request to open connection to external server s and wait for the response If connection is opened successfully ETHERNET LED will lit green Otherwise it Continuously try to open the connection to external server Feng Doc No UMAN GWY 610 1106 17 REVISION 2 LET www comoso com Hardware Ethernet Init Phase Serial Init Phase 1 Ethernet Attach Phase Data Exchange VEM 222 5 Successful F Failure Doc No UMAN GWY 610 1106 18 REVISION 2 V l www comoso com GWY 610 Features GWY 610 FEATURES In this chapter Gateway Modes Repeat Cycle Control Word Error Indication Bits Communication Parameters Default Communication Registers Recepies VOs Doc No UMAN GWY 610 1106 19 REVISION 2 ET www comoso com GWY 610 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 Sla
12. Mester SELECTED PROTOCOL SELECTED PROTOCOL PLC Toshiba T Link Port PL PLC ATU PLC Model Ti PLC Model ATU Click Configure Project button on Toolbar Click Configure Project bution on Toolbar To Configure the Project To Cantigure the Project m m conige Open Proj Upload Siy Frees Doc UMAN GWY 610 1106 36 B REVISION 2 www comoso com 4 Configure the project as shown below Slave Address Target PLC COMUNI TOP Gateway as Slave oo 77 Toshiba T Link Port PLC 1 Modbus TON Gateway as Slave 400020 Toshiba T Link Port PLC 1 Ti Frees Doc UMAN GWY 610 1106 37 REVISION 2 www comoso com Typical Projects 6 Set PLC1 side settings as shown below ar An Ed NNI eg a Wa E rr Omi debe rel a se es N ev er rr vee rJ 7 Download the configuration gateway Select All gt gt Download Com pol reling COME Now your gateway is configured and ready for communication rens Doc UMAN GWY 610 1106 38 REVISION 2 www comoso com Typical Projects Following Gateway examples show detailed setup for common Gateway configurations 6 1 2 Connect Toshiba link port pro
13. configuration software The only way to re establish the connection is as follows 1 Internal Memory register 00021 and 00022 are defined in Modbus TCP Client 2 You can map these register to any other register through gateway set up software 3 If data in 00021 data is 0001 then node 1 is reconnected If in 00021 the data is 0 02 then node 2 is reconnected and so on 4 After node reconnection its user s responsibility to again make the data in corresponding 0002 word as 0x00 Note For more details on configuring the project please refer section 6 1 2 IMO IM15 Control Word for IDB IM16 IM20 Reserved IM21 IM22 Node Reconnection IM23 IM24 Reserved IM25 Input Word 26 Output Word rens Doc UMAN GWY 610 1106 30 zl REVISION 2 ka www comoso com Note on Communication Drivers Note Please refer section 5 1 6 Note Please refer section 4 8 5 1 3 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 next 5 1 4 What is IDB Internal Data Bas
14. data fetching from other nodes If any failed node is again come in the communication network to fetch data from this node user should have to reset the gateway Fail value If communication break occurs between external slaves and gateway due power off of any particular slave then gateway moves specified value in other side mapped register 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 5 1 5 How does Pass Through work Please refer the diagram below Slave Device Mem e Senes Imagine a situation where particular Slave PLC Inverter Drive is connected on COM1 and Ethernet on 2 Now if the user wants to monitor or change parameters of PLC with keypad or any special device that has same communication protocol as PLC without disconnecting it from Gateway then user can use the pass through port ZA mut The pass through port itself is sla
15. 0 Features 4 5 Communication Parameters Communication Parameters of Gateway can be set from configuration Software This enables Gateway to readily communicate 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 simply selecting new communication parameters and downloading the same project can change the communication parameters 4 6 Default Communication Registers Purpose To 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 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
16. 610 driver has this protocol to communicate with the desired device As two devices are connected on GWY 610 it requires two drivers for communication 3 3 Configuration of GWY 610 IBM Download User MUST download Firmware Project PLC1 driver and PLC2 driver in Gateway before installing any system using Gateway User needs a special IBM download cable for downloading configuration in Gateway All configurations can be downloaded only form Serial port Port 1 If any change in the current working project is made user must download the changed project in Gateway om EN ce mi DB9 Male Gateway DB9 Female 2 2 3 3 5 5 1 For downloading Firmware drivers and project switch off the GWY 610 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 RS232 SIGNALS TXD RXD AND GND AS MENTIONED ABOVE 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 Doc No UMAN GWY 610 1106 15 REVISION 2 r ka www comoso com Hardware 3 3 1 When GWY 610 can accept configuration current driver present for PLC1 port is Master e g Modbus Gateway as master First it is check
17. 8 8 TOSHIBA VF S11 TO GWY 610 53 8 9 NS TO GWY 610 54 8 10 THOMSON TECHNOLOGY CONTROLLER TO GWY 610 EC P 117 00 55 8 11 OPTOMUX TO GWY 610 56 8 12 ETHERNET CABLE 56 8 13 YOKOGAWA CONTROLLER TO GWY 610 57 8 14 IBM CABLE 58 FEE Doc No UMAN GWY 610 1106 REVISION 0 ET www comoso com Introduction INTRODUCTION In this chapter Purpose of this manual Introduction Gateway GWY 610 Specifications irem Doc No UMAN GWY 610 1106 6 REVISION 2 www comoso com Introduction 1 1 Purpose of this manual Thank you for purchasing GWY 610 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 610 B or GWY 610 G Functionality of all the Gateway models is same Read this User manual thoroughly before installing and operating GWY 610 This 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 Controllers
18. GWY 610 Ethernet Gateway USER S MANUAL www comoso com This manual is 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
19. INOUTS FEBS Doc No UMAN GWY 610 1106 REVISION 2 www comoso com 53 Cable Diagram NS TO GWY 610 NS SIDE Ss ee GWY 610 SIDE DB9 MALE RS232 SIGNALS Shield Wire DB9 MALE RS232 SIGNALS Shield Wire to DB9 body DB9 MALE PINOUTS Fess Doc No UMAN GWY 610 1106 REVISION 2 www comoso com 54 Cable Diagram 8 10 THOMSON TECHNOLOGY CONTROLLER TO GWY 610 EC P 117 00 THOMSON TECHNOLOGY GWY 610 SIDE la CONTROLLER ew L 8 PIN MODULAR 2 CONNECTOR 85485 Shield Wire DB9 MALE RS485 SIGNALS Pin SIGNALS RX 1 TX RX TX TX RX 8 PIN MODULAR CONNECTOR Shield Wire PINOUTS FRONT VIEW R H S VIEW Pin 1 il 8 Left side Right side SH x Cable insert end Cable insert end DB9 MALE PINOUTS Fes Doc No UMAN GWY 610 1106 REVISION 2
20. LOW RS485 SIGNALS TX GREEN TX BLACK WHITE BLUE TX RX DB9 MALE PINOUTS Shield Wire FEB Doc No UMAN GWY 610 1106 49 REVISION 2 www comoso com Cable Diagram 8 5 TOSHIBA T1 PLC TO GWY 610 EC P 019A 00 TOSHIBA T1 GWY 610 SIDE cH MINIDIN 8 PIN MALE RS232 SIGNALS Shield Wire DB9 MALE RS232 Pin SIGNALS 1 8 MINIDIN CONNECTOR PINOUTS Shield Wire DB9 MALE PINOUTS Doc UMAN GWY 610 1106 REVISION 2 www comoso com 50 Cable Diagram 8 6 TOSHIBA T2 LINK PORT TO GWY 610 EC P 046B 00 GWY 610 DB15 MALE 85485 ATTACH PLC TOSHIBA T2 LINK PORT SIDE la SIGNALS Pin RX Shield Wire A e Lif DB9 MALE RS485 SIGNALS TX 1 2 3 4 5 6 7 8 c 10 TX 11 12 13 14 15 DB15 MALE PINOUTS
21. OFTWARE In this chapter System Requirements Installation Instruction Doc UMAN GWY 610 1106 REVISION 2 ET www comoso com 43 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 configura tions 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 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
22. SION 2 www comoso com 46 Cable Diagram OMRON PLC GWY 610 EC P 006B 00 OMRON CQM1 SIDE GWY 610 SID C n DB9 MALE RS232 Shield Wire SIGNALS EARTH DB9 MALE RS232 SIGNALS TXD RXD Shield Wire DB9 MALE PINOUTS E88 Doc No UMAN GWY 610 1106 REVISION 2 www comoso com 47 Cable Diagram 8 3 AB SLC DF1 PORT TO GWY 610 EC P 027B 00 AB SLC SIDE GWY 610 SIDE 2 DB9 FEMALE DB9 MALE RS232 Shield Wire RS232 SIGNALS SIGNALS DB9 MALE PINOUTS DB9 FEMALE Shield Wire to DB9 body PINOUTS FEB Doc No UMAN GWY 610 1106 48 REVISION 2 www comoso com Cable Diagram 8 4 TOSHIBA T1 LINK PORT TO GWY 610 EC P 046A 00 TOSHIBA T1 LINK GWY 610 SI SIDE ix lt WIRE OUTS DB9 MALE SIGNAL FROM PLC Shield Wire SIGNALS Pin RX YEL
23. Y 610 will communicate STEP 4 Configure Node address Node address should be configured through Source address Destination address through data exchange blocks STEP 5 Configure Node Address IP Address Port Number User should configure Node Address IP Address Port Number for PLCs with which GWY 610 will communicate through Gateway Configuration Software Settings gt Ethernet node table Note User can get the Information required for STEP 2 and STEP 3 through PC as follows 1 Make sure the PC is connected in Network through Ethernet cable 2 Go to command Prompt on PC F868 Doc No UMAN GWY 610 1106 16 4 REVISION 2 LET www comoso com Hardware 3 Type ipconfig all Note After the entire configuration is downloaded in GWY 610 And after power on when OK LED is steady user can ping the unit with GWY 610 s IP address If the response is received to the ping command it means all Ethernet configuration is correct C gt ping IP address of GWY 610 gt 3 5 GWY 610 functionality and corresponding LED behaviour for different phases of GWY 610 The GWY 610 initialization can be divided into three stages 1 Ethernet Initialization Phase Here baud rate is determined by auto negotiation and IP conflict is checked 2 Serial Initialization phase Here the communication parameters are initialized And it s checked whether the external slave is connected on the port 3 Ethernet atta
24. ality and corresponding LED behaviour for different phases of GWY 610 GWY 610 FEATURES 4 1 Gateway Modes 4 1 4 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 Registers 4 7 Recipes 4 8 VOs NOTE ON COMMUNICATION DRIVERS 51 Note On Communication Drivers 5 1 1 How Modbus TCP server driver works 5 1 2 How Modbus TCP Client driver works 5 1 3 How other serial drivers work 5 1 4 What is IDB Internal Data Base 5 1 5 How does Pass Through work 5 1 6 Control Word for IDB TYPICAL PROJECTS 6 1 Project Setup 6 1 1 6 1 2 Connect Toshiba link port protocol PLC e g T1 T2 as Modbus TCP Contents Connect Toshiba link port protocol PLC e g T1 T2 as Modbus TCP Server on Ethernet Network Client on Ethernet Network CONFIGURATION SOFTWARE 7 1 7 2 System Requirements Installation Instruction CABLE DIAGRAMS 8 1 8 2 8 3 OMRON CQM CPM CMOS PORT TO GWY 610 EC P 006A 00 OMRON GWY 610 EC P 006B 00 AB SLC DF1 PORT TO GWY 610 EC P 027B 00 ON NID 11 Fees Doc UMAN GWY 610 1106 El REVISION 0 ET lm WWW comoso com 8 4 TOSHIBA 1 LINK PORT GWY 610 046 00 49 85 TOSHIBA T1 PLC TO GWY 610 EC P 019A 00 50 8 6 TOSHIBA T2 LINK PORT TO GWY 610 046 00 51 8 7 TOSHIBA T2 PLC TO GWY 610 EC P 019B 00 52
25. at present New protocols based on tcp and udp are constantly added e g ethernet ip Contact factory for more information TE e ka Doc No UMAN GWY 610 1106 REVISION 2 www comoso com Hardware HARDWARE In this chapter Dimensional Details And Mounting Instructions Communication Port Details LED Status Feng Doc No UMAN GWY 610 1106 9 REVISION 2 ET www comoso com Hardware 2 1 Dimensional details And Mounting Instructions GWY 610 B unit can be shipped with a separate DIN rail plate which can be attached to the unit if desired User can use the unit with or without the DIN rail plate Following sketch shows dimensional details of Gateway with the DIN rail plate 70 00 0000 5555 O 100 00 V ap e 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 Putthe unit on the DIN rail 4 Push the clip in to secure the unit on the DIN rail Doc No UMAN GWY 610 1106 10 zi REVISION 2 ET aa www comoso com Hardware 2 2 Communication Port Details GWY 610 has three communication ports COM1 Ethernet and Pass Through Port COM1 port is compatible to RS232 RS422 RS485 and CMOS signal levels Pinout of this port is given as follows
26. 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 compo nents 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 this Unit will void all Warranties WWW comoso com INTRODUCTION 1 1 Purpose of this manual 1 2 Introduction to Gateway 1 3 GWY 610 Specifications HARDWARE 2 1 Dimensional details And Mounting Instructions 2 2 Communication Port Details 2 3 LED Status GETTING STARTED 3 1 Introduction to GWY 610 3 2 GWY 610 Configuration 3 3 Configuration of GWY 610 IBM Download 3 3 1 When GWY 610 can accept configuration 3 4 Quick Start To Ethernet 3 5 GWY 610 function
27. ch phase Here it s checked whether the external server is connected on the port The above mentioned phases are executed sequentially Ethernet Initialization phase At power on GWY 610 initializes the Ethernet port Here the OK LED flashes at faster relative to the IBM Down load mode rate While initialization it checks for IP conflict If IP conflict occurs ETHERNET RED LED is lit for a second and then it enters to configuration download mode for 10 seconds After 10 seconds it again checks for any IP conflicts This cycle is repeated till the valid configura tion with valid IP address is downloaded If there is no IP conflict GWY 610 enters the Serial Init phase Serial Init phase Here the GWY 610 starts scanning nodes that are connected on COM1 port OK LED is lit green at this time If GWY 610 does not get response from COM1 port it enters in configuration download mode The OK LED flashes green at this stage It remains in configuration mode for nearly 10 seconds The configuration mode is used for firmware drivers and project download upgrade After 10 seconds it again starts scanning for the node This cycle continues until GWY 610 gets the response from COM1 Other LEDs will remain off till the cycle is repeating After getting response from COM1 port GWY 610 starts communication on the COMM1 port COM1 LED flashes green at this stage and LED is steady green Now the GW 610 enters the Ethernet
28. ched No data received on Pass Through Port Receiving data on Pass Through Port Digital input 0 is ON Digital input 0 is OFF Digital input 1 is ON Digital input 1 is OFF Digital input 2 is ON Digital input 2 is OFF Digital input 3 is ON Digital input 3 is OFF Digital output 0 is ON Digital output 0 is OFF Digital output 1 is ON Digital output 1 is OFF Table continued on next page iF amp 89 Doc No UMAN GWY 610 1106 REVISION 2 12 www comoso com Hardware OFF Digital output 2 is ON Digital output 2 is OFF OFF Digital output 3 is ON ON Digital output 3 is OFF Note For more information please refer section 3 3 1 For more information on LED behaviour refer section 3 5 1 Not all models support I Os and respective LED s Doc No UMAN GWY 610 1106 13 REVISION 2 www comoso com Hardware GETTING STARTED In this chapter Introduction GWY 610 GWY 610 Operation Quick Start To Ethernet GWY 610 Function Doc No UMAN GWY 610 1106 14 REVISION 2 ET www comoso com Hardware 3 1 Introduction to GWY 610 GWY 610 is acommunication bridge between Ethernet interface on one side and various serial protocols on the other side GWY 610 allows serial devices to act as Modbus TCP Client or Modbus TCP slave on Ethernet side it supports serial protocols e g Modbus Maste
29. ck is executed depending on its Repeat Cycle When a bit 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 devices 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 PLC1 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 Just clicking on the check box in the setup software can enable it 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 case of communication error 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 FEBS Doc No UMAN GWY 610 1106 24 REVISION 2 D WWW comoso com GWY 61
30. e Internal Data Base is a concept wherein the data for the registers mapped in the project is fetched internally or to say in the background and the values are maintained internally by the Master Drivers NOTE The Internal database is associated only with Master drivers Let us have a glance at Internal database Please refer the following example 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 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 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 continuous fashion irrespective of block execution of Gateway project Background communication Enable Disable default setting depends on PLC or Device protocol The speed data transfer is improved because of Internal database since it reduces the number of block executions required by the Gateway software Background Read Opera Write Opera Write in Internal Master Driver 3KBytes
31. e Devices connected If the Control Word field is enabled for the control bit chosen in the project block accordingly the number of words in the control field should be taken For example if 36th 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 In the above example number of control bits are 36 So 36 16 2 Number of words in control field 36 16 4 i e Non zero so add 1 in the number of words in the control field so number of words in control field 2 1 3 So number of words in the control field should be chosen as For any block any control bit can be chosen Control Word can only be used 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 control word controls execution of Block 16 When a bit is high 1 corresponding Blo
32. ed that whether device is connected on 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 either is satisfied 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 3 4 Quick Start To Ethernet This section provides quick example on how to get Ethernet running GWY 610 supports Modbus TCP Client as well as Modbus TCP Server at present These settings are for GWY 610 STEP 1 Configure the GWY 610 IP address User should configure IP address for GWY 610 through Gateway setup software PLC2 Settings gt Advanced gt Extended Setup gt IP address STEP 2 Configure Subnet Mask User should configure Subnet Mask for GWY 610 through Gateway setup software PLC2 Settings gt Advanced gt Extended Setup gt Subnet Mask Please note that gwy 610 IP address should be unique STEP 3 Configure Default Gateway Address User should configure Subnet Mask for GWY 610 through Gateway setup software PLC2 Settings gt Advanced gt Extended Setup gt Gateway Address In case of Modbus TCP Client some settings additional to above three are required and are as given below These settings are for PLCs with which GW
33. ed to communicate in place of previous disconnected client 5 Timeout at the TCP client should be greater than Serial timeout no of retry at serial side no Of clients on Ethernet side If number of clients are not known then on safer side assume number Of clients on Ethernet side equal to 5 and set the timeout 6 If timeout is less at TCP client side and before processing the particular query from the client new query is arrived from the same client The previous query is discarded and new is processed 7 If serial communication is beaked due to cable removal or serial device powered off etc exception is sent to Ethernet side The exception code is 0x04 slave device failure 8 If a query from certain existing client is not arrived for two minutes connection is disconnected and new client is allowed in this place Source ID and Destination ID related to Modbus TCP server driver does not have specific meaning 5 1 2 How Modbus TCP Client driver works While configuring the project user should give Node ID IP Address Communication Port of Modbus TCP servers with which Gateway Client would communicate For details refer to section Quick Start Section 3 4 IDB is used for Modbus TCP client Modbus TCP Client can communicate with multiple Modbus TCP servers maximum 32 If connection with any of the servers is failed the particular server is disconnected regardless of Skip on Communication fail setting in Gateway
34. 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 3 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 Cycle 5 Block 1 Block 2 Block 4 ese Doc No UMAN GWY 610 1106 23 REVISION 2 i www comoso com GWY 610 Features 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 Oth Control bit corresponds Oth bit of control word 1 16st Control bit corresponds Ost bit of control word 2 255th Control bit corresponds 15th 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 Just clicking on check box in the setup software can enable it Control Word can be chosen from any of th
35. lave is mapped to 400001 Modbus TCP Gateway as Slave in Block 1 Gateway accepts this command and sets 400001 Modbus TCP Gateway as Slave 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 defined 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 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 as 1 Repeat cycle defines the number of times a Block will be skipped while
36. odbus Gateway as Master PLC2 Protocol Modbus TCP Gateway as master Ma d Word Source ALC Source Address Destination PLC Desnaon C 18 as Master L AD Modbus Gat at Masa 1 16 Modbus TOP Gateway as 1 400020 Hobi Gateway as Master l Anon l n Mou Bn m Laer Hede y 1 Earl eer 1 ia Ne 1 Moin 1 sje DEE com Hei khi og italyen diy Sosa Pe Bere ee E ater doli er d ee DER COE Werin Heg Dtr EFES Orie pe Cr Ll TE ad Mind OLNI Ed MEE YET ie oo o A a T m LA MOi ACS EA Cori i anole Words defines number of registers coils to be read written between two devices Block 1 Gateway reads 10 words starting from 400001 from Modbus and write these 10 words data register starting from 400001 of Modbus TCP Gateway as master Block 2 Gateway reads 1 word starting from 400020 of Modbus TCP Gateway as master and writes it to holding register 400020 of Modbus Gateway as master As this example has only two blocks Gateway will execute Block 1 after executing Block 2 continuing this cycle forever Notes 1 Maxim
37. 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 Load Microsoft Windows based Gateway Setup software Select devices to be connected on two ports Define Blocks for data transfer Set the communication parameters for the selected devices Set conditions for block execution if required Repeat Cycle Control Word etc Apply power to Gateway Download the Project and Communication Drivers into Gateway Remove Configuration Cable from PLC1 Connect Gateway Device cable to Test system e ires Doc UMAN GWY 610 1106 35 REVISION 2 www comoso com Typical Projects 6 1 1 Connect Toshiba link port protocol PLC e g T1 T2 as Modbus TCP Server on Ethernet Network 1 Launch gateway set up software 2 Select GWY 6XX from product list as shown below GW Y 00 Gateway GWY amp XXI Fthernet Gateway Projet Communications Hardware Tert Help i Comi Protocol Protoon i as Master TCP Gabeway as Master Modbue Gebevayy Modbus Beye Toshiba T Link Port PLC am Ti Ta V Series Teshiha ASCH H Tokogawa controler ip THOMSON TECHNOL CONTROLLER Dooma Semans Mikro PLCE Seriesi
38. properties or control sequences at power on to the external Slave Devices Location User can access these Recipes in Settings gt gt Recipes menu In case of some Slaves it is necessary to write configuration 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 in Recepies i e COM Port Station ID Words Register Address Value can be changed by user N N TR NIE arerp DEY ERED ihep l COM Port Station ID Register Address Com 1 400003 This register are initialises with the default values when the device is Power ON Uem Start Doc No UMAN GWY 610 1106 26 EE REVISION 2 www comoso com GWY 610 Features 4 8 VOs Four digital Inputs and four relay outputs are provided for GWY 610 CASE a Operation in case of Modbus TCP Server 1 Input Word should be configured as follows PLC2 settings Advanced Extended setup lnput Word its input register 2 Output Word should be configured as follows its holding register PLC2 settings Advanced Extended setup Output Word 3 User can read the status of physical inputs in configured Input word i e Input Register 4
39. r Modbus Slave and on 2 side has Modbus TCP Client and Modbus TCP Server COM port acts as pass through for COM1 GWY 610 is externally powered from 3 pin terminal block and power is isolated from communication ports Both the communication ports are also isolated from each other It has three communication ports one with Ethernet interface 10 100 Mbps and one serial port with RS232 RS422 2 or 4 wire RS485 300 to 115 2K second serial port with RS232 300 to 115 2 For more details on pass through please refer to section 5 1 5 3 2 GWY 610 Configuration GWY 610 can communicate with serial and Ethernet devices using appropriate cables and configuration Microsoft Windows based configuration software Gateway Setup configures the GWY 610 unit Configuration means making the GWY 610 unit work as per user application Complete configuration for a GWY 610 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 610 can now communicate with the specified devices without any change in the GWY 610 hardware To communicate with a device GWY 610 needs Communication Drivers for the devices and Gateway Device communication cables Each Device has a unique and predefined protocol for communication GWY
40. response for this register is received from slave then only gateway will start the Ethernet initialization Otherwise GWY 610 would continuously try to establish the communication with external Slave device by sending read request with the default communication register Lair d gl Gana Loan Ta Dena Dursa O an TON ARI i 1 Mede a a ned bo best set ard to chack da var War me Da LITT Starting Add NEUEM pa 1 eme rap up Hada idi a bif CO Ge SSE G4 EF ETE qim IE T E m LA F dri Cows isi ee eee Ei Doemowf 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 35 is valid in above case Doc UMAN GWY 610 1106 25 REVISION 2 www comoso com GWY 610 Features 4 7 Recipes Purpose provide user definable write of configuration
41. rough DC DC coupler is 1 KV COM1 PLC1 2 PLC2 Pass Through for COMI 5 to PC for setup download or connects to at runtime Connects to PLC2 at runtime SCADA or local HMI can be connected Isolation between COM 1 and 2 communication ports through Opto isolation is 1KV rms for 1 min Isolation between COM 3 and COM2 communication ports through Opto isolation is 1KV rms for 1 min Digital Inputs Digital Outputs Terminals Ethernet Baud Rate Operating Temperature Storage Temperature Humidity Mounting Dimensions DIN rail Weight Certifications Immunity to ESD Immunity to Transients Immunity to Radiated RF Immunity to Conducted RF Emissions 0 to 5 V DC low 12 to 28 V DC high Relay Outputs 230VAC 2Amp 30VDC 2Amps Coil voltage 24VDC Pluggable Terminals 10 100 Mbps Autodetect 0 to 60 C 20 to 80 C 10 to 90 Non condensing DIN rail or back panel mounting 100mm L X 35mm D X 70mm W 200 gm approx CE with UL certification Level 3 as per IEC1000 4 2 Level 3 as per IEC1000 4 4 Level 3 as per IEC1000 4 3 Level 3 as per IEC1000 4 6 EN55011 CISPRA For more details pass through please refer section Note on communication drivers Note Not all models support digital I Os Note ARP RARP IP TCP UDP Protocols are supported At application layer Modbus TCP server and Modbus TCP clients are supported
42. such noncompliance within the one year 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 reference to this manual please include the following document number Name Ethernet Gateway GWY 610 User s Manual Part Number URML207 Document 4 UMAN GWY 610 1106 Revision Revision 1 14 02 2007 First release Revision 2 12 12 2011 System requirement for gateway setup software revised www comoso com 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 Original 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 war ranty 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
43. tocol PLC e g T1 2 as Modbus TCP Client on Ethernet Network 1 Launch gateway set up software 2 Select GWY 6XX from product list n AE Project Communication Hardware Test Help Product Selection Gwo Gw 58 GWi 100 LonWorks Gateway Port Mutplexer GW Y 30D CAN Gateway sales Gateway Modbus Masher ES Toshiba T Link Port Tl Sees Toshiba Yokogawa controller HOST LINK AB DE 9 THORIN TECHNOLOGY CONTROLLER Optomux wap Mon PLC Series Master Medius Gateway ss SELECTED PROTOCOL SELECTED PROTOCOL PLC Name Toshiba T Link Port PLC PLC Hame ATU PLC Model TI PLC Model FITLI Click Confiqure Project bution an Click Configure Project button on Toolbar Ta Canllgure the Project To Conflqure the Project rens Doc No UMAN GWY 610 1106 39 B REVISION 2 www comoso com Typical Projects 3 Configure the project as shown below 1 b Tink Port PLC 1 ratis Machan TOP am Matter as 1 Tohia Tink Poit PLC IDBFOR COM2 Node Addr Starting Add DataType Words Bits Scaling Fac Skip For Cycle 5 Value n a mm
44. um 255 blocks can be configured in any mode Doc UMAN GWY 610 1106 21 REVISION 2 www comoso com GWY 610 Features 4 1 2 X 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 registers 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
45. ve Slave is Device Device driver which processes Master s query takes necessary action and responds to the query if necessary 4 1 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 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 4 Block 2 Y Block Block 4 Block in When Control word is enabled it decides which block has to be executed by writing a specific data in the control word reas Doc No UMAN GWY 610 1106 20 zl REVISION 2 ka www comoso com GWY 610 Features Let us see the example of Master Master mode as shown in the picture below Configure Gateway ports as PLC1 Protocol M
46. ve port the device connected on pass through port sends particular request on pass through port The request is passed to COM1 port When device on COM1 port responds then the response is passed to pass through port So in GWY 610 pass through port is for COM1 that has same communication protocol as well as same communication parameters as COM1 Note Right now Modbus is implemented on pass through Contact factory for other protocols FEB Doc No UMAN GWY 610 1106 32 REVISION 2 ET www comoso com Note on Communication Drivers 5 1 6 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 0000 to 0015 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 required IDB block Why when is the Control Word for IDB required 51 1 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 onl
47. word LungFa Sora dn Dame Paisie ma ie TEN m EL NT ON IN OON OON EN x fam Doc No UMAN GWY 610 1106 28 B REVISION 2 www comoso com Note Communication Drivers NOTE ON COMMUNICATION DRIVERS FEB Doc No UMAN GWY 610 1106 29 REVISION 2 ET www comoso com Note on Communication Drivers 5 1 Note On Communication Drivers 5 1 1 How Modbus TCP server driver works 1 A FIFO is maintained for clients So that when a query from one client is processed queries from other clients are accepted and stored 2 When the query arrives its stored in respective buffers According to the first come first served the query is processed 3 Maximum five clients are allowed in this scheme If sixth client tries to establish the connection with Gateway we do not allow opening the TCP connection We simply discard the frame When the query is received the client is identified and corresponding FIFO entry is updated Here we just acknowledge the query that we have accepted the query After receiving response from serial side it is sent to TCP client When we send the response to particular client we again update the corresponding FIFO entry 4 When a particular client is disconnected the respective client entry is deleted from FIFO as well as Ethernet TCP structure Another client is then allow
48. y 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 soeed up the Block execution and data exchange rate This feature is useful in Master Slave mode corr mr Ne kann mee aas Hep Mk Ph T ea del E a Fan gel dibbes Zo i 4a Pert Hic L a mimi Pa on Eman Hezin n an Heel Anm Imba ore Ferd Baies or Tanabe Bari bir L vanar Words Bits Scaling Fac SkipFor Cycle Comm Value Node Addr Starting Add DataType a imi g m AR imas n reas Doc No UMAN GWY 610 1106 33 REVISION 2 amp WWW comoso com Typical Projects TYPICAL PROJECTS In this chapter Project Setup FEB Doc No UMAN GWY 610 1106 34 REVISION 2 www comoso com 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
Download Pdf Manuals
Related Search
Related Contents
特記仕様書(変更前)(PDF:528KB) F539.o..-PDF (Page 1) Nokia 108 Dual SIM User Guide Kiss and cry - Espace Malraux 指導の手引き - 日本縫製機械工業会 充電器 BLANCO MIDI 315-U INSTRUCTIONS AND WARRANTY Copyright © All rights reserved.
Failed to retrieve file