Renu Electronics GWY-00 User manual

GATEWAY
USER’S
MANUAL

ii
Preliminary
ThankyouforpurchasingGatewayproduct.GatewayisaversatileProtocolconverter/Datasharerwith
WindowsbasedconfigurationSoftware.
This manualwillhelpyouto safely install,configureandoperateGatewayProducts.
Allthesafetywarningsandprecautionsmustbefollowedtoensureproperunitperformanceandpersonal
safety.
Warnings used in this manual:
DANGER
CAUTION
Danger Warnings are used to indicate situations, locations and
conditions that can cause serious injury or death.
Caution Warnings are used to indicate situations and conditions that
cancauseoperatorinjuryand/orunitdamage
!
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 the user is well acquainted with the PLCs / Inverters / Controllers
being used.
Any mechanical or electrical modification to the unit will void all warranties.

iii
Manual Revisions
Ifyoucontactusin reference to this manual, please include the following name and revision number
Name: GatewayUser’sManual
Revision:UMAN\GWY\1104\Rev8
Part Code: URML200
Rev. changedfrom 2 to 3: Note addedon pageno. 9.
Rev. changed from 3 to 4: Communication cables & REPL Prizm addresses are added.
Rev. changedfrom 4 to 5: Sartorius to GWY-00 cable added.
Rev.changedfrom5to6:BaumullerDrivetoGWY-00 cable added.
Rev.changedfrom6to7:BaumullerDrive(2WIRE)toGWY-00cableadded.
Rev.changedfrom7to8:ThomsonTechnologyControllertoGWY-00cableadded.
Rev.changedfrom8to9:Systemrequirementforgatewaysetupsoftwarerevised.
Wehopethatyoufind this manual informative. If additional information or technical assistance is needed
please contact:
RenuElectronicsPrivateLimited
SurveyNo.2/6,
BanerRoad,Pune–411 045
Maharashtra,INDIA
Tel: +91 20 729 2840
Fax: +91 20 729 2839
E-mail:[email protected]
Website:www.renuelectronics.com

Contents
Preliminary .................................................................................................................................. ii
Manual Revisions...................................................................................................................... iii
INTRODUCTION...................................................................................................................... 6
1.1 Purpose of this Manual ......................................................................................................... 7
1.2 Introduction to Gateway........................................................................................................ 7
1.3 Gateway Applications: ........................................................................................................... 8
1.4 Gateway Specifications .......................................................................................................... 9
HARDWARE ............................................................................................................................ 10
2.1 Dimensional Details and Mounting Instructions ............................................................ 11
2.2 Power Requirements.......................................................................................................... 13
2.3 Communication Ports .........................................................................................................14
GETTINGSTARTED .............................................................................................................. 15
3.1 Introduction to Gateway......................................................................................................16
3.2 Gateway Operation - Configuration and Communication .............................................. 16
UNDERSTANDINGGATEWAYFEATURES........................................................................ 18
4.1 Gateway Modes.................................................................................................................... 19
4.1.1 Master-Masterconfiguration 19
4.1.2 Master-Slaveconfiguration 20
4.2 Multi-dropping of Devices using Gateway....................................................................... 22
4.3 Repeat Cycle ........................................................................................................................ 23
4.4 Control Word ........................................................................................................................ 23
4.5 Error Indication Bit ............................................................................................................. 24
4.6 Communication Parameters .............................................................................................. 24
4.6 Status LEDs .......................................................................................................................... 24
TYPICALPROJECTS ............................................................................................................. 25
5.1 Project Setup ........................................................................................................................ 26
5.2 Example 1: PLC to PLC Communication ....................................................................... 26
5.3 Example 2: Higher Level Controller (Modbus master) to PLC (Modbus slave).... 28
5.4 Example 3: PLC (Modbus master) to Other Device (Modbus slave). ...................... 29
CONFIGURATIONSOFTWARE ........................................................................................... 30
6.1 System Requirements:........................................................................................................ 31
6.2 Installation Instructions:..................................................................................................... 31
CABLEDIAGRAMS............................................................................................................... 32
7.1 Wiring Diagrams .................................................................................................................. 33
COMMUNICATIONCABLES FORGWY-00...................................................................... 34
8.1 AB SLC DH485 PORT TO GWY-00 (EC-P-007-00) ..................................................... 35
8.2 AB MICROLOGIX SERIES PLCs TO GWY-00 (EC-P-027A-00) ............................. 36
8.3 A B SLC DF1 PORT TO GWY-00 (EC-P-027B-00) ...................................................... 37
8.4 AROMAT FP0/FPM TO GWY-00 (EC-P-015A-00) ...................................................... 38
8.5 AROMAT FP1 TO GWY-00 (EC-P-015B-00) ................................................................ 39
8.6 AROMAT FP2 TO GWY-00 (EC-P-015D-00) ................................................................ 40
8.7 CALISTO PLC TO GWY-00 (EC-P-090-00) .................................................................. 41
8.8 GE 90 SERIES PLC TO GWY-00 (EC-P-002-00) .......................................................... 42
8.9 GE VERSAMAX PLC TO GWY-00 (EC-P-002B-00).................................................... 43
8.10 GE VERSAMAX PLC TO GWY-00 (EC-P-002A-00).................................................... 44
8.11 IDEC MICRO3 TO GWY-00 (EC-P-025A-00)............................................................... 45
8.12 KEYENCE KV PLC TO GWY-00 (EC-P-018-00).......................................................... 46
8.13 LG MASTER K SERIES PLC TO GWY-00 (EC-P-037-00).........................................47
8.14 MITSUBISHI FX SERIES PLC TO GWY-00 (EC-P-008B-00)................................... 48

8.15 MITSUBISHI FX0 PLC TO GWY-00 (EC-P-008A-00) ................................................ 49
8.16 MODICON MICRO-CONTROLLER TO GWY-00 (EC-P-009B-00) ...................... 50
8.17 MOISTURE ANALYSER TO GWY-00 (EC-P-098-00)................................................. 51
8.18 OMRON CQM1 PLC TO GWY-00 (EC-P-006B-00).................................................... 52
8.19 OMRON CQM/CPM CMOS PORT TO GWY-00 (EC-P-006A-00)........................... 53
8.20 RHEONIC MASS FLOW METER TO GWY-00 (EC-P-091A-00) ............................. 54
8.21 RHEONIC MASS FLOW METER TO GWY-00 (EC-P-091B-00) ............................. 55
8.22 SIEMENS S7-300 SERIES PLC TO GWY-00 (EC-P-077-00)...................................... 56
8.23 SIEMENS STEP 7 MICRO (S7-200) PLC TO GWY-00 (EC-P-029-00) .................... 57
8.24 TELEMECHANIQUE TSX-07/TSX-37 PLC TO GWY-00 (EC-P-026A-00) ............ 58
8.25 TOSHIBA T1 LINK PORT TO GWY-00 (EC-P-046A-00) .......................................... 59
8.26 TOSHIBA T1 PLC TO GWY-00 (EC-P-019A-00) ......................................................... 60
8.27 TOSHIBA T2 LINK PORT TO GWY-00 (EC-P-046B-00) .......................................... 61
8.28 TOSHIBA T2 PLC TO GWY-00 (EC-P-019B-00) ......................................................... 62
8.29 TOSHIBA VF-S7 TO GWY-00 (EC-P-050-00) ............................................................... 63
8.30 METTLER TOLEDO TO GWY-00 (EC-P-103-00)....................................................... 64
8.31 SARTORIUS TO GWY-00 (EC-P-104-00)....................................................................... 65
8.32 BAUMULLER DRIVE (RS485 4-WIRE) TO GWY-00 (EC-P-042A-00) .................. 66
8.33 BAUMULLER DRIVE (RS485 2-WIRE) TO GWY-00 (EC-P-042B-00) .................. 67
8.34 THOMSON TECHNOLOGY CONTROLLER TO GWY-00 (EC-P-117-00)............ 68
COMMUNICATIONCABLES FORGWY-S7...................................................................... 69
9.1 AB MICROLOGIX SERIES PLCs TO GWY-S7 (EC-G7-027A-00) .......................... 70
9.2 A B SLC DF1 PORT TO GWY-S7 (EC-G7-027B-00).................................................... 71
9.3 MODICON MICRO-CONTROLLER TO GWY-S7 (EC-G7-009B-00) ................... 72
9.4 OMRON CQM1 PLC TO GWY-S7 (EC-G7-006B-00) ................................................. 73
9.5 OMRON CQM/CPM CMOS PORT TO GWY-S7 (EC-G7-006A-00) ........................ 74
9.6 SIEMENS STEP 7 MICRO (S7-200) PLC TO GWY-S7 (EC-G7-077-00) ................. 75
9.7 GE 90 SERIES PLC TO GWY-S7 (EC-G7-002-00)........................................................ 76
9.8 SIEMENS S7-300 PLC TO GWY-S7 (EC-G7-077-00) .................................................. 77
9.9 TELEMECHANIQUE TSX-07/TSX-37 PLC TO GWY-S7 (EC-G7-026A-00).......... 78
9.10 AB SLC DH485 PORT TO GWY-S7 (EC-G7-007-00) .................................................. 79
9.11 AROMAT FP0/FPM TO GWY-S7 (EC-S7-015A-00) .................................................... 80
9.12 AROMAT FP1 TO GWY-S7 (EC-G7-015B-00).............................................................. 81
9.13 AROMAT FP2 TO GWY-S7 (EC-G7-015D-00).............................................................. 82
COMMUNICATIONCABLES FORGWY-S8...................................................................... 83
10.1 SIEMENSS7-300SERIESPLCTOGWY-S8(EC-G8-077-00) 84
IBMCABLES .......................................................................................................................... 85
11.1 IBM CABLE FOR GWY-00 & GWY-S8 (IBM 0909-1-00) .......................................... 86
11.2 IBM CABLE FOR GWY-S7 .............................................................................................. 87
TROUBLESHOOTINGGUIDE ............................................................................................. 88
ADDENDUMFORSPECIALGATEWAYMODELS ........................................................... 91
Special Gateway Models............................................................................................................... 92
Communication Ports of Special Gateway Models ................................................................... 96
Configuration of Special Gateway Models:................................................................................ 99
Dimensional Details and Mounting Instructions for Special Gateway Models: ................101
Supported PLC’s List for Special Gateway Models ...............................................................103
INDEX ................................................................................................................................... CIV

6
INTRODUCTION
In this chapter. . . .
PurposeofthisManual
IntroductiontoGateway
GatewayApplications
GatewaySpecifications

7
1.1 Purpose of this Manual
TheintentionofthisOperationManualistoprovideaguideforSafe installation, Configuration and operation
ofGateway.ThismanualisapplicableforGeneral purpose Gateway (Part# GWY-00) units. If your Gateway
Part#isotherthanGYW-00, please refer to ‘Addendum for Special Gateways’ section for hardware specific
details. Functionality of all the Gateway models is same.
ReadthisoperationmanualthoroughlybeforeinstallingandoperatingGateway.
Thisdocumentisbasedoninformation 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.Featuresdescribedhereinmaynotbepresentinallhardwares.RenuElectronicsreservestheright
toupdateinformationin this publication without prior notice.
1.2 Introduction to Gateway
GatewaySeriesprotocolconverters provideinterfacebetweendifferentdeviceshaving differentcommunica-
tionprotocols.Italsoprovidesinterfacebetweensamecommunicationprotocols(Example:Datasharer
betweentwoslaveshavingthesameprotocol).GatewaycommunicateswithPLCs/Inverters/Controllers
using RS232 / RS422 / RS485 (2 / 4 wire) or CMOS serial communication.
ConfigurationofGateway:
EachGatewayhastobeconfiguredusingWindowsbasedconfigurationSoftwarebeforeconnecting it to the
PLC.
NormalOperation:
Connecteach PLC to Gateway viathe PLC’s communications port (correct cablesare required) and the
PLCscaneasilyexchangeinformation.
GWY-00
Y Protocol PLC2
XProtocol
PLC1
GWY-00

8
1.3 Gateway Applications:
Gatewayconnectsonefielddevicetoanotheroveraseriallinkirrespectiveoftheirprotocols.Usercandefine
theblocksof registers to be fetched from one device andtobetransferred to the other.Gatewayunitshave
beenusedinvariousdifferentapplicationsacrossmanyindustries.Thetypicalconfigurationsincludethe
followings:
2. PLC as a Master in Modbus Network
Protocol Converter
Example: GWY-00
by Renu Electronics
Node 1
Drive Motor
Node n
PID Controller
.
.
PLC XProtocol
Protocol Converter
Example: GWY-00
by Renu Electronics
1. PLC to PLC Communication
Y Protocol PLC2PLC1 XProtocol
3.PLC/inverter / Controller as Slaves in Modbus Network
Converter
Example:CNV-01-02-2-00
by Renu Electronics
Node 1
Drive Motor
XProtocol
Node n
PID Controller
Node 2
YProtocol
ZProtocol
PLC
.
.
.
50
RPM
(x10)
0100
A
S
T
R
A
SCADA Software
Example: ASTRA
by Renu Electronics
Modbus
Protocol
RS 232-485
Converter
GWY-00
GWY-00
GWY-00
GWY-00
GWY-00

9
1.4 Gateway Specifications
PowerSupply : 24 VDC +/- 10 %, 100 mA max
Communication : Two ports as follows:
PLC1 : RS232C / RS422 / RS485 / CMOS
ForconfigurationandPLCcommunication
PLC2: RS232C / RS422 / RS485 / CMOS
ForPLCcommunication
Indications : PLC1 LED - for PLC1 port status
OK LED - for Gateway status
PLC2 LED - for PLC2 port status
Temperature : Operating: 0 to 60 °C
Storage: - 40 to 90 °C
Humidity :10% to 90% (Non condensing)
Immunity to ESD :Level3asperIEC1000-4-2
ImmunitytoTransients :Level3asperIEC1000-4-4
RadiatedSusceptibility :Level3asperIEC1000-4-3
Emissions : EN55011 CISPRA
Certifications : UL (pending), CE and CSA
Dimensions : 105mm(L)X40mm(D)X51mm(W) (DINRAILmounting)
Weight : 125 g approximately

10
HARDWARE
In this chapter. . . .
DimensionalDetailsandMountingInstructions
PowerRequirements
Communications

11
2.1 Dimensional Details and Mounting Instructions
Gateway unit can be mounted on a back panel or on a DIN rail or can be left hanging. Each Gateway unit
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:
PLC 1
(RS232/RS485/CMOS)
(RS232/RS485/CMOS)
PLC 2
PLC1
OK
PLC2
RenuElectronics Pvt. Ltd.
SurveyNo. 2/6,BanerRoad,
Pune-411045INDIA
GWY-00
DC+
DC-
EARTH
}24VDC
+/- 10%
C US
LR 109782-2
PENDING
R
FollowingdrawingshowsthedimensionaldetailsofGatewaywithDINrailplate
104.4 mm
40mm
PLC 1
(RS232/RS485/CMOS)
(RS232/RS485/CMOS)
PLC 2
PLC1
OK
PLC2
RenuElectronics Pvt. Ltd.
SurveyNo. 2/6,BanerRoad,
Pune-411045INDIA
GWY-00
DC+
DC-
EARTH
}24VDC
+/- 10%
C US
LR 109782-2
PENDING
R
50.5mm
Screw
Hole
Screw
Hole
GWY-00
DIN rail
plate
DIN rail
clamp Slot for
clamp
DIN rail
clip

12
PLC 1
(RS232/RS485/CMOS)
(RS232/RS485/CMOS)
PLC 2
PLC1
OK
PLC2
RenuElectronics Pvt. Ltd.
SurveyNo. 2/6,BanerRoad,
Pune-411045INDIA
GWY-00
DC+
DC-
EARTH
}24VDC
+/- 10%
C US
LR 109782-2
PENDING
R
Followinstructionsgivenbelow:
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.
Following drawing displays how the unit can be mounted on a back panel:
Followinstructionsgivenbelow:
1. Attach the DIN rail plate to the unit using the clamps on the DIN rail plate.
2. Insert screws in the 4 holes provided on the DIN rail plate.
3. Tighten the screws to secure the unit in the panel.
Followingdrawing displayshowtheunitcanbemountedon the DIN rail:
PLC 1
(RS232/RS485/CMOS)
(RS232/RS485/CMOS)
PLC 2
PLC1
OK
PLC2
RenuElectronics Pvt. Ltd.
SurveyNo. 2/6,BanerRoad,
Pune-411045INDIA
GWY-00
DC+
DC-
EARTH
}24VDC
+/- 10%
C US
LR 109782-2
PENDING
R
PLC 1
(RS232/RS485/CMOS)
(RS232/RS485/CMOS)
PLC1
OK
PLC2
RenuElectronics Pvt. Ltd.
SurveyNo. 2/6,BanerRoad,
Pune-411045INDIA
GWY-00
DC+
DC-
EARTH
}24VDC
+/- 10%
C US
LR 109782-2
PENDING
R
1234567
1234567
1234567
1234567
panel

13
2.2 Power Requirements
Gateway is a 24VDC powered unit. Power should be applied on the PCB Terminal block on the Gateway
unit. Power rating is +24VDC +/- 10%, 100mA max. For specification of non-GWY-00 models, please refer
to‘AddendumforSpecialGateways’.Pleasefollowtheinstructionsgivenbelowwhenmakingpowersupply
connections:
Follow the sticker wiring diagram on the unit which shows terminals for the positive
DC,negativeDCandground.
To make a connection strip about 1/4" (6mm) of insulation of the wire and turn the
connector screw counter-clock wise until the gap is wide open. Insert the wire all
the way in and turn the screw clockwise until it is tight.
Wire lengths should be minimum. Wires should run in pairs with a neutral or
commonpairedwithaliveorsignal wire.
Afuseshouldbeconnectedfromoutsidewherever required for modelsfrom
GWY-01 to GWY-08.
Gateway products are housed in a molded ABS plastic case which eliminates any
electrical shock hazard. Hence Safety ground is not required to be connected to the
chassis of the unit.
The DC ground is not directly coupled to Earth ground internally. The unit is
designedtooperateproperlywhether or not the DC ground is connected to the
Earthground.Wedorecommend,however,that if the DC ground has to be
connected to the Earth ground, the Earth connection should be made to a central
star point as poor site earths can introduce noise into a system.
DonotpowerGatewayandinductiveloadswiththesamepowersupplyeventhough
there is enough immunity in the Gateway to withstand the transients present on
theselines. Avoid using power supplies with largecapacitiveoutputs, which may
cause problems if power is cycled within a short time period. If wiring is to be
exposedtolighteningorsurges,useappropriatesurgesuppressiondevices.
KeepAC,highenergyandrapidlyswitchingDC wiring separate from signal wires.
Connectinghighvoltages or AC power mains to the DC input will makeGateway
unusable and may create an electrical shock hazard to personnel. Such a failure or
shock could result in serious personal injury, loss of life and/or equipment damage.
DCvoltagesourcesshouldprovideproperisolationfrommain AC power and similar
hazards.
!
!
!

14
2.3 Communication Ports
Gateway unit has two communication ports. Both the ports have DB9 type connectors and are compatible
withRS232C,RS422,RS485andCMOSsignallevels.PLC1(alsoknownasCOM1)andPLC2(also known
as COM2) have exactly the same pin outs which are as shown below:
PLC1 / PLC2 ports
TX- (RS422/RS485)
DB9Female
1
5
9
+5VDC*
*(DO NOT USE)
GND
RX+ (RS422/RS485)
RXD (RS232C/CMOS)
TXD (RS232C)
TX+ (RS422/RS485)
TXD (CMOS)
RX- (RS422/RS485)
6
8
9
72
4
5
3
1
6
PinDescription
User can convert RS485 4 wire + Signal Ground system to a 2 Wire + Signal Ground system by shorting
followingsignalsinthecommunication cable:
TX+
TX- A
RX+ B
RX-
SG 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.
Upto 31 Devices can be multi-dropped on RS485 port of Gateway.
Pin Name Signal Level Description
1. TX+ RS422/RS485 DifferentialTransmit+,also referred asTXA
2. TXD RS232 Transmit
3. RXD RS232/CMOS Receive
4. RX+ RS422/RS485 DifferentialReceive+, also referredasRXA
5. GND - Signal Ground common to all signals.
6. +5VDC - DO NOT USE
7. TXD CMOS Transmit
8. TX- RS422/RS485 DifferentialTransmit-, also referredasTXB
9. RX- RS422/RS485 DifferentialReceive-,also referredasRXB

15
GETTING STARTED
In this chapter. . . .
Introduction
GatewayOperation-Configurationand Communication

16
3.1 Introduction to Gateway
GatewayisaProtocolConverter/DatasharerfordeviceslikePLCs,inverters(AdjustableSpeedDrives),
andotherControllers.Gatewayhastwoserialportsthatconnectwithtwodifferentdevices.Thesedevices
sharedatathroughGateway. Gateway communicates with a device togettheinformationrequiredbythe
deviceconnectedontheotherport.ThedevicethatrequiresdataiscalledDestinationDeviceandthedevice
thatprovidesdataiscalledSourceDevice.Informationcouldbe,
-valueofaPLCregister.
- status of a PLC coil.
-CommandfromSourceDevicetoDestinationDevicetoperformanyactionat the destination end.
3.2 Gateway Operation - Configuration and Communication
Gatewaycancommunicatewithanytwodevicesusingappropriatecablesandconfiguration.Microsoft
Windows®basedconfigurationsoftware,GatewaySetup,configurestheGatewayunit.‘Configuration’means
making the Gateway unit work as per system requirements.
Complete configuration for a Gateway using the Gateway Setup is termed as a ‘Project’.AProject consists
of Devices to be attached on two ports, Communication settings for two ports to communicate with two
devices,Registeraddressesfordatatransfer,Conditionsfordatatransferetc.
Gatewaycannowcommunicatewiththespecified devices without any change in the Gateway hardware.To
communicatewithadevice,GatewayneedsCommunicationDriversforthe devices and Gateway - Device
communicationcables.
EachDevicehasauniqueandpredefinedprotocolforcommunication.Gatewaydriverhasthisprotocolto
communicatewiththedesired device.As two devices are connected on Gateway, it requires two drivers for
communication.
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. User
needsaspecialIBMdownloadcablefordownloadingconfigurationin Gateway.
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-00 are as follows:
DB9 Male (Gateway) DB9 Female (IBM)
22
33
55
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.

17
IBMdownloadschemeforGWY-00models:
GatewayneedsFirmware,ProjectandTWOdriverstocommunicate with two devices. Firmware is factory
programmed.IfbothoroneofthedrivershasnotbeendownloadedinGateway,Gatewaypermanentlywaits
for IBM download (indicated by continuous blinking of the OK LED).
Createprojectaspersystemrequirements.SelectPLC1Driver,PLC2DriverandProjectfordownloading.
GWY-00canbeconfiguredbyfollowingmethod.
1. Ifboththedriversaredownloaded,atpowerupGatewaypollsforPLC1/COM1device(OKLED
steady on max upto 5 seconds). If no device is found on this port, Gateway waits for IBM download
on either of the ports (OK LED blinking for 10 seconds). If IBM download is not established,
Gateway will again poll for PLC1 / COM1 device. This sequence continues till either of the
communication is established.
2. If communication with PLC1 / COM1 device is established, Gateway tries to connect with
PLC2 / COM2 device. If this communication is not successful, Gateway polls for IBM download.
Same sequence explained in 1 will be followed, this time for PLC2 / COM2 and IBM.
3. If Gateway has established communication with both the devices, user must first disconnect one of
thedevicetoconfigureGateway.
4. ConnectIBMdownloadcable on any of the ports.
5. DownloadPLC1/COM1driver,PLC2/COM2driverandProject.
Communication
Signals
Power:
+24VDC + 10%
Software will ask user if the Gateway has to be reset. Gateway must be reset unless user wants to
downloadsetupagain.
IMPORTANT:
1. When user wants to establish IBM communication on one port, communication on the other
port should not interrupt IBM communication. It is advised that communication on the other
port be stopped to ensure error free IBM communication.
IBMdownloadschemeforGWY-00 models with Bootblock version 2.00A :
UseSoftwareversion2.00A.SetupcanbedownloadedonPLC1/ Com1portonly.Createproject as per
systemrequirements.SelectPLC1Driver,PLC2DriverandProjectfordownloading.GWY-00 can be
configuredbyeitherofthefollowingtwomethods:
METHODI
1. ConnectconfigurationCableandpowercablestoGWY-00.
2. ApplypowertoGWY-00.
3. DownloadPLC1driver,PLC2driverandprojectwithin 10 secondsafterpower-on.
METHODII
1. Short pins 3 and 4 on PLC1 port of GWY-00 for at least 1 second after power-on. Remove the short.
Now GWY-00 permanentlywaitsforIBMdownload. Connect IBMdownloadcable.
2. DownloadPLC1driver,PLC2driverandproject.
The unit will automatically return to normal operation mode after a download cycle. If the user wants to
performanotherdownloaduserhastobringtheunitbackintoconfigurationmodeusingMethodI or
MethodII.

18
UNDERSTANDING GATEWAY FEATURES
In this chapter. . . .
GatewayModes
Multi-droppingofdevicesusingGateway
RepeatCycle
ControlWord
ErrorIndicationBit
Communicationparameters
Status LEDs

19
4.1 Gateway Modes
Gatewayhastwomodesofoperation:Master-MasterandMaster-Slave.Beforeexplainingthesemodes
furtherMasterandSlaveconceptshouldbeexplained.
Master:
Master is a Device which initiates communication.
Slave:
Slave is Device 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 (PLC1 & PLC2) are master in nature and devices connected on these ports
areslave.GatewayportsinitiatecommunicationwhentheproperGateway-Devicecommunicationcableis
attached. Data is transferred in blocks. This transfer can either be a continuous process or as per require-
ment.Acontrolword(Section 4.4), 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
onedeviceandtransferredtotheotherdevice. The amount of datatobetransferred(Numberofwords)
dependson Block definition in “BlockDefinition 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
Block #2
Block #3
Block #4
Block #n
.
.
.
.
.
When Control word is enabled, it decides which block has to be executed by writing a specific data in the
control word. Please refer to Example 4.1 for description on defining Blocks in Master - Master configuration.

20
Example4.1 Toshiba T series – Modbus Master:
Thisconfigurationcanbe used to makeToshiba PLC function asaModbusMaster. Configure Gateway ports
as: PLC1 Protocol: Toshiba TSeries PLC and PLC2 Protocol: Modbus (Master). PLC1 of Gateway is
configured as Toshiba Tseries master protocol soTseries PLCs can be connected to PLC1 of Gateway.
PLC2port is configured as Modbus master so any Modbus slave device can be connectedon PLC2.
Blocks can be defined as shown in the picture below:
#Words defines number of registers/coils tobe read / written between twodevices.
Block#1:Gatewayreads7words startingfromD0010fromToshibaT1PLCandwritethesesevenwords
datatoModbusslavedeviceinholdingregistersstartingfrom400001.
Block #2: Gateway reads Modbus output coil 000001 and writes it to Toshiba output coil Y002/3.
As this example has only two blocks, Gateway will execute Block #1 after executing Block #2 continuing
thiscycle forever.
Notes:
1) Maximum 255 blocks can be configured in any mode.
2) Multiple bits read / write is not supported except for Toshiba PLC. For other PLC’s single
bit can read / write at a time.
3) In Master-Master configuration, typical time required to execute one block is 75 msec.
approx.
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.
Thismoderequiresmappingregisters/coilsfordatatransfer. Mapping means defining one or multiple
registers / coils 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 / coils of the two devices.
In Block Definition area, # Words Field indicates number of registers / coils to be mapped linearly from the
starting addresses of the Source Device to the Destination Device. Maximum number of registers / coils that
can be mapped is 255, but this does not mean that Master Device has to read / write 255 registers / coils in
one command. For example, if user wants to map register DM0 to DM9, he has to define a single block of 10
registersstartingfromDM0.
In one command Master can read / write registers / coils 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 /
coils to be read / written. Number of registers to be read /written in one command also depends on
-protocolofBOTHthedevices
-BuffercapacityofGateway.
Pleaserefer to Example 4.2 fordescription on defining register / coil maps in Master - Slave configuration.
Table of contents
Other Renu Electronics Gateway manuals

Renu Electronics
Renu Electronics GWY-500 User manual

Renu Electronics
Renu Electronics GWY-900 User manual

Renu Electronics
Renu Electronics GWY-500 User manual

Renu Electronics
Renu Electronics GWY-610 User manual

Renu Electronics
Renu Electronics GWY-920LTE/LTE-S1 User manual

Renu Electronics
Renu Electronics Gateway Instruction manual

Renu Electronics
Renu Electronics GWY-800 Series User manual