ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with...

40
Industrial Ethernet adapter – Dual serial channels INSTALLATION MANUAL 6609-2250 www.westermo.com ED-12 TCP © Westermo Teleindustri AB • 2003 • REV.A Galvanic Isolation Transient Protection Balanced Transmission CE Approved

Transcript of ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with...

Page 1: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

Industrial Ethernet adapter– Dual serial channels

INSTALLATION MANUAL6609-2250

www.westermo.com

ED-12

TCP

©W

este

rmo

Tele

indu

stri

AB

• 20

03 •

REV

.A

GalvanicIsolation

TransientProtection

BalancedTransmission

CEApproved

Page 2: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

2 6609-2250

Contents

1. Introduction ......................................................................................................................................................... 3–5

2. Safety .................................................................................................................................................................................. 5

3. Specification ........................................................................................................................................................ 6–7

4. Maintenance .............................................................................................................................................................. 8

5. Installation .......................................................................................................................................................... 8–195.1 Mounting / Removal ....................................................................................................................................... 85.2 Connections ......................................................................................................................................................... 9

5.2.1 Power (lower right screw terminal) ................................................................................... 105.2.2 CH1: RS-232 Connections (left D-sub connector), DCE .................................... 105.2.3 CH1: RS-422/485 Connections (Upper left screw terminal) ........................... 105.2.4 CH2: RS-232 Connections (right D-sub connector), DCE ................................ 115.2.5 CH2: RS-422/485 Connections (Upper right screw terminal) ....................... 115.2.6 RS-422/485 general advice ......................................................................................................... 125.2.7 10BaseT .................................................................................................................................................... 13

5.3 Configuration ................................................................................................................................................... 135.3.1 DIP switch settings ................................................................................................................. 13–155.3.2 LED’s ........................................................................................................................................................... 16

5.4 Installation of ED-Tool .............................................................................................................................. 175.5 Functional description .................................................................................................................... 18–19

6. Configuration .......................................................................................................................................................... 206.1 First time configuration .......................................................................................................................... 20

6.1.1 Local configuration by ED-Tool or terminal ................................................................ 206.1.2 Remote configuration by ED-Tool or terminal ......................................................... 20

6.2 Configuration by ED-Tool ............................................................................................................. 20–226.3 Configuration by terminal ........................................................................................................... 23–25

6.3.1 Local configuration .......................................................................................................................... 256.3.2 Remote configuration ................................................................................................................... 25

6.4 Configurable parameters .............................................................................................................. 26–286.4.1 Serial interface, CH1 or CH2 .................................................................................................. 296.4.2 Packing algorithm ............................................................................................................................ 306.4.3 Network interface ................................................................................................................... 31–326.4.4 Mode .................................................................................................................................................. 33–356.4.5 MAC address ........................................................................................................................................ 35

7. Application examples ................................................................................................................................ 36

Page 3: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

36609-2250

1. IntroductionThe ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces.The type of serial interface is selectable between RS-232 and RS-422/485.The Ethernetinterface is 10BASE-T and TCP/IP Protocols are implemented for network communica-tion.The ED-12 TCP can provide two remote serial interfaces for a computer connectedthrough a TCP/IP network.To complete the connection to the ED-12 TCP additional software need to be used in acomputer. Different solutions are possible, e.g.:1. Telnet to the ED-12 TCP.

All keystrokes are trans-ferred to remote serialinterface.Any charactersreceived at remote serialinterface are transferredto the computer screen.

2. A COM port redirectorsoftware can be used tocreate up to 255 virtualCOM ports.This software will redirectdata, originally sent to alocal COM port, toremote serial interface ofthe ED-12 TCP. No change of computer appli-cation software is then necessary.

3. Customer written software can be used todirectly access the network interface (socketcompliant) of the ED-12 TCP.A programme example, written in C++,can be found on the ED-Tool CD"\Software\Sample\sample.zip".

Net

wor

k in

terf

ace

Application software

Solution 2

Data to / from COM3Data to / from COM4Data to / from COM5

Data to / from COM255

COM port redirector software

Network

ED-12 TCP

COM3, COM4

ED-12 TCP

COM5, COM6

ED-12 TCP

COM254, COM255

ED-12 TCP

COM7, COM8

Fig 1 ED-12 TCP Virtual COM ports connection

Page 4: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

4 6609-2250

On the network side the ED-12 TCP has two serial server applications implemented.Theservers listen at different local TCP ports.Each serial server application allows remote clients to connect.When a connection is

established any data sent to the server are transmitted at the corresponding serial inter-face CH1 or CH2.Vice versa data received at CH1 or CH2 are packed into a frame andsent to the remote client, see fig 2.The serial channels are possible to configure individually (e.g. individual packing algorithmand data format)It is also possible to direct the two serial servers to the same serial channel, useful forredundant SCADA see fig 3.

CH1Primary SCADA controller

Secundary SCADA controller

ED-12 TCP

TCP/IP

Controller 1(remote client 1)

Controller 2(remote client 2)

ED-12 TCP

CH1

CH2

TCP/IP

Communicating with controller 1

Communicating with controller 2

Fig 2 ED-12 TCP in a TCP/IP network.

Fig 3 ED-12 TCP enabling an old PLC for use in a redundant environment.

Page 5: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

56609-2250

The ED-12 TCP is ideal for use in the industrial environment. It is housed in theWestermo DIN rail box and has a wide range power input, isolated interfaces andenhanced surge/transient protection.The ED-12 TCP is approved for Industrial EMC Immunity and Emission .The ED-12 TCP uses the TCP/IP Internet Protocol Suit (TCP/IP) to transfer data overthe network.TCP/IP is a set of protocols that enables communication across local and wide area net-works and includes protocols such as TCP, UDP, IP ,ARP, RARP, ICMP.Although not allthese protocols are needed for a network data transfer.The ED-12 TCP uses TCP for remote configuration (configuration mode) and for theserial server applications.The ED-12 TCP can be configured both remotely over the TCP/IP network and locallyvia the CH2: RS-232 interface, making the unit very flexible.Local or remote configuration is achieved either by using the ED-Tool Windows‚ soft-ware or by using a terminal programme (e.g. HyperTerminal for local configuration orTelnet for remote configuration).A DIP switch setting also allows the unit to be reset to factory default, if required.

2. Safety

General:Before using this unit, read the manual completely and comply with informationon the unit, and make sure that you understand it fully. Check that your applica-tion does not exceed the safe operating specifications for this unit.

Before installation, maintenance or modification work:Prevent damage to internal electronics from electrostatic discharges (ESD) by dis-charging your body to a grounding point (e.g. use of wrist strap).

Installation:This unit is constructed for professional system use. It should be located in arestricted access area, such as locked cabinet which can only be accessed by serv-ice personnel.Sound installation practice, as defined by applicable local codes or regulations, shallbe followed in every instance in which such practice is applicable.

This unit is defined as class III equipment and shall be separated from hazardousvoltage by double or reinforced insulation.All interfaces must only be connected to SELV or TNV-1 circuits.

!

!

!

Page 6: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

6 6609-2250

3. Specification

Network Interface 10BASE-T. IEEE std 802.3.Data rate 10 Mbit/s, half duplex.Mechanical RJ-45 Modular Jack (ISO/IEC 8877:1992),

Unshielded or shielded (UTP/STP).

Serial Interface CH1 RS-232 or RS-422/485Data rate 300–115 200 bit/s Full, half duplex or simplex.Data format 7–8 Data Bits, Odd, Even or None Parity Bit,

1–2 Stop Bits (2 stop bits when no parity only)Control signals* RTS, CTS, DSR, DCD, DTRTermination** Termination and fail safe, on or offMechanical RS-232: 9-pin female D-sub.

RS-422/485: Screw Terminal,Wire size 0.2 – 2.5 mm2 (AWG 24-12).

Serial Interface CH2 Application modeType RS-232 or RS-422/485Data rate 300–115 200 bit/s Full, half duplex or simplex.Data format 7–8 Data Bits, Odd, Even or None Parity Bit,

1–2 Stop Bits (2 stop bits when no parity only)Control signals* RTS, CTSTermination** Termination and fail safe, on or offMechanical RS-232: 9-pin female D-sub.

RS-422/485: Screw Terminal,Wire size 0.2 – 2.5 mm2 (AWG 24-12).

Configure modeType RS-232.Data rate 19 200 Bit/s.Data format 8 Data Bits, No Parity Bit, 1 Stop Bit.Mechanical 9-pin female D-sub.

Power InterfaceRated voltage 10–60 V DC, polarity independent / 12–30 V AC.Rated current 350 mA, max @ 10 V DC input.Rated frequency 48–62 Hz.Mechanical Screw Terminal, Wire size 0.2 – 2.5 mm2 (AWG 24-12).

Isolation***Power Interface to 4.2 kV DC, 3 kV RMS.all other InterfacesNetwork Interface 2.1 kV DC, 1.5 kV RMS.to serial interfaceSerial CH1 to Not isolated.serial CH2

Page 7: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

76609-2250

Enhanced Transient/Surge ProtectionPower Interface ±4 kV, EN 61 000-4-5:1995 Class 4Network Interface ±2 kV, EN 61 000-4-5:1995 Class 3Serial Interface** ±2 kV, EN 61 000-4-5:1995 Class 3Serial Interface* ±0.5 kV, EN 61 000-4-5:1995 Class 1

* RS-232 only.** RS-422/485 only.*** 50 Hz test voltage applied for 60 sec.

Configuration Remotely over Network or locally at serial interface.Windows based PC-programme or simple terminal programme.

Indicators (LED) TD, RD, CTS, RTS, PWR,TD, RD, RTS, CTS, NET

Environment 5–50°C 5–95% REL non condensing

Dimension 55x100x128 mm (WxHxD)

Weight 0.35 kg

Mounting On 35 mm DIN-rail

Approvals CE

Page 8: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

8 6609-2250

4. MaintenanceNo maintenance is required, as long as the unit is used within the specified conditions.

5. Installation

5.1 Mounting / RemovalBefore mounting or removing the unit:

Prevent damage to internal electronics from electrostatic discharges (ESD) by discharging your body to a grounding point (e.g. use of wrist strap).

Prevent access to hazardous voltages by disconnecting the unit from AC/DCmains supply and all other electrical connections.

MountingThis unit should be mounted on 35 mm DIN-rail which ishorizontally mounted on a wall or cabinet backplate.This unit uses convection cooling. To avoid obstructions tothe airflow around the unit, use the following spacing rules.Recommended spacing 25 mm (1.0 inch) above/below and 10 mm (0.4 inches) left/right the unit.Snap on mounting (figure)

RemovalPress down the black support at the back of the unitusing a screwdriver, see figure.

CLICK!

!

25 mm

Min 10 mm

25 mm

Page 9: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

96609-2250

5.2 ConnectionsCH1 is always used for serial/network conversion, the application. CH2 can be used forthe application or for local configuration, as controlled by switch S1:1 (see 5.3.1).Type of interface (RS-232 or RS-422/485) connected must also be set by switch S1 or S2(see 5.3.1).CH1 and CH2 are not galvanic isolated.Please use a RS-232 isolator (e.g.Westermo MD-52) if earth voltage differences are suspected. An isolator, on permanently connected CH2, is required to maintain theenhanced transient/surge protection.

CH1: RS-422/485Screw terminal

CH2: RS-422/485Screw terminal

CH1: RS-232 D-sub

Power screw terminal

CH2: RS-232 D-sub

NetworkRJ-45 connection

Page 10: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

10 6609-2250

5.2.2 CH1: RS-232 Connections (left D-sub connector), DCE

5.2.3 CH1: RS-422/485 Connections (Upper left screw terminal)

12345

6789

Pin Signal Name*

Number Description V.24 RS-232CDirection** Description

1 DCD 109 CF Out TCP connection established

2 RD 104 BB Out Received Data

3 TD 103 BA In Transmitted Data

4 DTR 108.2 CD In DTR, close TCP connection

5 SG 102 AB In/out Signal Ground

6 DSR 107 CC Out DSR, ED-12 TCP ready

7 RTS 105 CA In Request to Send

8 CTS*** 106 CB Out Clear to Send

9 RI 125 CE – RI, not connected

* Functionality might differ from standard, see chapter 6.4** Direction relative ED-12 TCP.*** Follows DSR (CTS will be deactivated as required by flow control)

RS-232 cable must not exceed 15 m

Terminal Signal Name*

Number Marked on AccordingED-12 TCP to Standard

Direction** Description

5 SG – – Not connected

6 T– B Out/In RS-422/485 4-wire Transmitter / RS-485 2-wire T– and R–

7 T+ A Out/In RS-422/485 4-wire Transmitter / RS-485 2-wire T+ and R+

8 R– B’ In RS-422/485 4-wire Receiver

9 R+ A’ In RS-422/485 4-wire Receiver

* Numbered right to left (front view).** Direction relative ED-12 TCP.

Twisted pair cable is recommended

5.2.1 Power (lower right screw terminal)

10–30 V AC (48–52 Hz) or 10–60 V DC must be connected to the ED-12 TCP.The power input is polarity independent, even if – + marked.

– +

9 8 7 6 5 34 2 1

Page 11: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

Pin Signal Name*

Number Description V.24 RS-232CDirection** Description

1 DCD 109 CF – DCD, not connected

2 RD 104 BB Out Received Data

3 TD 103 BA In Transmitted Data

4 DTR 108.2 CD – DTR, not connected

5 SG 102 AB In/out Signal Ground

6 DSR 107 CC – DSR, not connected

7 RTS 105 CA In RTS, not used

8 CTS 106 CB Out CTS, not used

9 RI 125 CE – RI, not connected

116609-2250

5.2.5 CH2: RS-422/485 Connections (Upper right screw terminal)

Terminal Signal Name*

Number Marked on AccordingED-12 TCP to Standard

Direction** Description

5 SG – – Not connected

1 T– B Out/In RS-422/485 4-wire Transmitter / RS-485 2-wire T– and R–

2 T+ A Out/In RS-422/485 4-wire Transmitter / RS-485 2-wire T+ and R+

3 R– B’ In RS-422/485 4-wire Receiver

4 R+ A’ In RS-422/485 4-wire Receiver

* Numbered right to left (front view).** Direction relative ED-12 TCP.

Twisted pair cable is recommended

9 8 7 6 5 34 2 1

5.2.4 CH2: RS-232 Connections (right D-sub connector), DCE

54321

9876

* Functionality might differ from standard, see chapter 6.4** Direction relative ED-12 TCP.

RS-232 cable must not exceed 15 m

Page 12: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

12 6609-2250

5.2.6 RS-422/485 general advice

=Termination

ED-12

Slave unit Slave unit Slave unit

ED-12

Slave unit Slave unit Slave unit

Max 0.3 metre

=Termination

T+

T–

AB AB AB

R+

R–

T+

T–

R– R+ R+T– T– B’ A’ B AT+T+ R–

56789 4 3 2 1

4-wire channel 2

4-wire channel 1

CTSTD RD RTS

CH2: RS-422/485CH1: RS-422/485

CTS PWR TD RD RTS

56789 4 3 2 1

2-wire channel 2*

2-wire channel 1

CTSTD RD RTS

CH2: RS-422/485CH1: RS-422/485

CTS PWR TD RD RTS

Termination recommendationsThe RS-422/485 line must be terminated.The receiver of master and receiver of final busslave shall be terminated.RS-422/485 connection pins can be differently named. For some brands the T+ corre-sponds to A, but other brands might use some other naming convention.If a unit does not work it can help to swap A and B.

Twisted pair cable is recommended

2-wire4-wire

Page 13: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

Contact Signal Name Direction* Description

1 TD+ Out Transmitted Data

2 TD– Out Transmitted Data

3 RD+ In Received Data

4 Not connected

5 Not connected

6 RD– In Received Data

7 Not connected

8 Not connected

136609-2250

5.2.7 10BaseTEthernet 10Base-T Connection (RJ-45 connector),straight function (no crossover)

* Direction relative ED-12 TCP.

CAT 5 cable is recommended.Unshielded (UTP) or shielded (STP) connector might be used.

87654321

5.3 Configuration

5.3.1 DIP switch settings

DIP-switches used to configure the modem are accessable under the lid on top/front of the unit.

Warning!Prevent damage to internal electronics from electrostatic discharges (ESD) by discharging your body to a grounding point (e.g. use of wrist strap),before the lid on top of the modem is removed.

Warning! Do not open connected equipment.Prevent access to hazardous voltages by disconnecting the unit from AC/DCmains supply and all others electrical connections.

NOTE! When configuration via DIP-switches, thesettings of DIP-switches configure the unitonly after a power reset. A settingconfigured by any other methodduring normal operation, overridethe DIP-switch setting. However,at power up, the DIP-switch set-tings have precedence over thesetting configured by any othermethod.

!

!

Page 14: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

Switch block 2Port type Channel 2

14 6609-2250

Switch block 1Port type Channel 1ON

1 2 3 4 5 6 7 8

RS-232

ON

1 2 3 4 5 6 7 8

RS-422/485

Switch block 12- or 4-wire Channel 1ON

1 2 3 4 5 6 7 8

4-wire

ON

1 2 3 4 5 6 7 8

2-wire

ON

1 2 3 4 5 6 7 8

RS-232

ON

1 2 3 4 5 6 7 8

RS-422/485

Switch block 22- or 4-wire Channel 2ON

1 2 3 4 5 6 7 8

4-wire

ON

1 2 3 4 5 6 7 8

2-wire

Switch block 1Termination and fail safeChannel 1

Switch block 2Termination and fail safeChannel 2ON

1 2 3 4 5 6 7 8

Termination and fail safe OFF

ON

1 2 3 4 5 6 7 8

2-Wire Term. ON 120 Ω between T+ and T–Terminal open interpreted as Mark (1)

ON

1 2 3 4 5 6 7 8

4-Wire Term. ON120 Ω between R+ and R–Terminal open interpreted as Mark (1)

ON

1 2 3 4 5 6 7 8

Termination and fail safe OFF

ON

1 2 3 4 5 6 7 8

2-Wire Term. ON 120 Ω between T+ and T–Terminal open interpreted as Mark (1)

ON

1 2 3 4 5 6 7 8

4-Wire Term. ON120 Ω between R+ and R–Terminal open interpreted as Mark (1)

12

34

5S1:1-8Channel 1

S2:1-8Channel 2 IC 2

Page 15: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

156609-2250

Switch block 2Restore default settings CH2 to configure mode

ON

1 2 3 4 5 6 7 8

Normally in this position

ON

1 2 3 4 5 6 7 8

Restore default settings.Procedure: Set and reboot,then reset S2:1 and re-boot.

ON

1 2 3 4 5 6 7 8

CH2:RS-232 used for local config-uration or status information. LEDRD lits during boot.The ED-12 TCP is also forced intomode 1.

Factory settings

ON

1 2 3 4 5 6 7 8

Channel 1S1

ON

1 2 3 4 5 6 7 8

Channel 2S2

Page 16: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

LED Status Indication of

RS-232 selected RS-422/485 selected

CH1:TD OFF Data in = 1, Mark,VTD < –3V. Data in = 1, Mark,VR– > VR+

ON Data in = 0, Space,VTD > +3V. Data in = 0, Space,VR+ > VR–

CH1: RD OFF Data out = 1, Mark,VRD < –5V. Data out = 1, Mark,VT– > VT+

ON Data out = 0, Space,VRD > +5V. Data out = 0, Space,VT+ > VT–

CH1: RTS OFF Deactivated,VRTS < –3V. Always OFF.HW flowcontrol: ED-12 not allowed to transmit.

ON Activated,VRTS > +3V. N.A.HW flowcontrol: ED 12 allowed to transmit.

CH1:CTS OFF Deactivated,VCTS < –5V. Transmitting.HW Flow control: RX buffer full.MODE 8: No data in TX buffer.

ON Activated,VCTS > +5V. Receiving.HW Flow control: RX buffer empty.MODE 8: Data in TX buffer.

PWR OFF No internal power No internal power(external power not connected). (external power not connected).

ON Power OK Power OK.CH2:TD OFF Data in = 1, Mark,VTD < –3V. Data in = 1, Mark,VR– > VR+

ON Data in = 0, Space,VTD > +3V. Data in = 0, Space,VR+ > VR–

CH2: RD OFF Data out = 1, Mark,VRD < –5V. Data out = 1, Mark,VT– > VT+

ON Data out = 0, Space,VRD > +5V. Data out = 0, Space,VT+ > VT–

Flash A short flash directly after a N.A.re-boot indicates that CH2 has been set for local configuration or status information.

CH2: RTS OFF Deactivated,VRTS < –3V. Always OFF.HW flowcontrol: ED-12 not allowed to transmit.

ON Activated,VRTS > +3V. N.A.HW flowcontrol: ED-12 allowed to transmit.

CH2: CTS OFF Deactivated,VCTS < –5V. Transmitting.HW Flow control: RX buffer full.MODE 8: No data in TX buffer.MODE 1:Always OFF.

ON Activated,VCTS > +5V Receiving.HW Flow control: RX buffer empty.MODE 8: Data in TX buffer.

Flashing ED-12 TCP is in configuration mode. N.A.NET OFF Link Test failed (no network).

ON Link Test passed.Flashing Data on Network (traffic).

16 6609-2250

5.3.2 LED’s

Page 17: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

176609-2250

5.4 Installation of ED-ToolThis section describes the installation of ED-Tool.

System Requirements:To install and run the ED-Tool program following requirements are needed.

Minimum:• 386, 486 or Pentium‚ Processor-based personal computer• Microsoft‚ Windows‚ 95/98/Me,Windows NT 3.51/4.0‚

or Windows 2000‚ Windows XP, compatible OS.• 16 MB of RAM for Windows 95/98/Me systems• 24 MB of RAM for Windows NT systems• 32 MB of RAM for Windows 2000/XP systems• CD-ROM drive• 8 MB of space on hard drive • Serial and/or Ethernet network connections• Internet Explorer 5.0 or higher

Recommended:• Pentium processor-based personal computer• 32 MB of RAM

Installation:Remove any previous versions of ED-Tool before installation.

To install ED-Tool• Insert the ED-Tool CD-ROM into the CD-ROM drive• Locate the ‘setup.exe’ file on the ED-Tool CD-ROM.• Run the ‘setup.exe’ and follow the instructions.

Page 18: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

18 6609-2250

5.5 Functional descriptionThe ED-12 TCP can be in either configuration (config) mode or in application (app) mode.Normally the ED-12 TCP is in app mode, where the serial servers are enabled and all configuration settings are readable.To change configuration parameters the ED-12 TCP must first be forced into config mode.This is done automatically by ED-Tool or manually when configuring by terminal. Configmode is indicated by CH2 CTS led flashing.Configurable parameters are listed in chapter 6.4. Shortcut commands can be used tochange Local IP, Gateway or Netmask even in application mode.When in application mode different functionality can be selected by "sub-modes"; Mode 1,Mode 2, etc.

Application modeIn application mode the ED-12 TCP uses two serial servers to transfer data between thenetwork and the serial interfaces CH1 or CH2.After re-boot the servers awaits remote clients to make TCP connections over the net-work.When a connection is established all data received at the network interface will beimmediately transmitted to the corresponding serial interface, CH1 or CH2.Data received from the serial interfaces are buffered into data frames according to thepacking algorithms. Each frame is then transmitted at the network interface to the remoteclient.

The packing algorithm can be configured to transmit data immediately or buffer data untila transmit requirement is fulfilled.The transmit requirement depend on received data atthe serial interfaces and can be:

1. An end of frame character is received.2. An end of frame delay has elapsed since last received character.3. A maximum number of bytes have been received.

Please note that the TCP protocol allows network packets to be split or clumped together, hence override the packing algorithm.

Hardware topology

Page 19: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

196609-2250

The two serial servers only share the Local IP, Netmask, Gateway and Mode parameters.All other parameters can be set individually.However, it is possible to direct both serial servers to serial interface CH1 (mode 1) andlet two remote clients to share the same serial interface. Possible collisions on the sharedinterface CH1 is then handled by the ED-12 TCP.This mode 1 makes it possible to letboth a primary and a stand by SCADA controller to simultaneously access the same serialdevice. See fig 3.

The ED-12 TCP servers can be configured to accept one specific or all remote client IPaddresses.If all remote clients are accepted an established connection will be closed by a new connection request.This will allow a stand by SCADA controller to "overtake" an already established connection.The TCP connections is closed by the remote clients, network error or possibly by a new client making a connection request.

Server status information is always available, remotely by a telnet connection to port 23or locally at CH2, if it is set (by switches S2:1,2,3) for status information.If CH2 is set for local configuration or status information it is not possible to use CH2 forapplication data.CH2 is automatically set for local configuration or status information in mode 1.

Mode 1, 2, 4, 8, 16 and the other configurable parameters are further described in chapter 6.4.

Configuration mode

Local or remote configuration is managed by either a terminal programme or by ED-Tool.ED-Tool is a Windows based set-up programme which provides easy configuration.Configuration is also possible by using terminal programmes (e.g.Telnet for remote configuration or HyperTerminal for local configuration).Local configuration is only possible if the serial interface CH2 has been set for local configuration or status information.This is done by switch S2:1,2,3.

A hardware switch ensures restore of default settings.

Config mode will be entered; automatically by ED-Tool or manually by terminal programme CH2 CTS led flashes at 0.5 Hz when the ED-12 TCP is in config mode.

Page 20: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

20 6609-2250

6. Configuration

6.1 First time configuration

6.1.1 Local configuration by ED-Tool or terminalCH2 has to be set for local configuration before the ED-12 TCP is locally configurable.This is done by setting the switch and re-booting the ED-12 TCP.

6.1.2 Remote configuration by ED-Tool or terminalED-12 TCP is shipped with IP-address 10.0.0.10.Please make sure that 10.0.0.10 is compliant to your network, before ED-12 TCP is connected. Otherwise use serial interface CH2: RS-232 (wich first has to be set for local configuration) to set a valid IP address.A valid IP-address must be compliant with the network in use and not chosen arbitrarily,ask your network administrator when in doubt.The Local IP can be set by ED-Tool, terminal or the IP short cut command (see page23).The ED-12 TCP does not need to be in config mode to change local IP, if the IP short cut command is used.

6.2 Configuration by ED-ToolED-Tool is intended to be used with a number of products.This section describes ED-Tool program start and configuration of the ED-12 TCP usingthe ED-Tool program.Before read, write or reboot can be made, Select type of connection.• Network• Serial com port must be selected from menu ’Tools – Serial – Port’

• When reading configuration from attached unit the type specific (ED-12 TCP) property tab will automatically selected and the field ’Type’ in the Staus bar shows theidentity (ED-12 TCP) of the attached unit.

• When writing configuration to attached unit the valid type specific (ED-12 TCP) property tab shall be selected and none of the parameter fields shall be left empty.

ON

1 2 3 4 5 6 7 8

Channel 2S2

Page 21: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

216609-2250

Program Start:To start ED-Tool• Locate ED-Tool under Program on the Windows Start Menu.• Click on the ED-Tool icon• Or locate the ED-Tool icon on the desktop

After the ED-Tool has been successful opened the user is presented with an empty configuration screen.The user can now get an existing configuration by reading theconfiguration from an ED-12 TCP or by opening a configuration file stored on thesystem. Or the user can set all configuration parameters by hand.To configure an ED-12 TCP the user must set all parameters.After the parameters areset the user can write the configuration to the ED-12 TCP.

Typical configuration procedures:• Read configuration from an ED-12 TCP• Change some parameters• Write configuration to the ED-12 TCP• Reboot• Done

or

• Read configuration from a file• (Change some parameters)• Write configuration to the ED-12 TCP• Reboot• Done

or

• Select the ED-12 TCP property tab• Set parameters• Write configuration to the ED-12 TCP• Reboot• Done

or

• Select the ED-12 TCP property tab• Set parameters• Save configuration to a file• Done

Page 22: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

22 6609-2250

ED-Tool commandsThis section describes the ED-Tool commands to be used together with the product ED-12 TCP.The commands can be executed by a click on a button or by a menu option.The commands are described by there use.

Reads configuration parameters from attached ED-12 TCP.

Writes configuration parameters to attached ED-12 TCP.

ED-12 TCP must be re-booted before any new configuration is activated.

Re-boots ED-12 TCP.

ED-12 TCP property tab including type specific (ED-12 TCP) parameters

General parameters.

Exits ED-Tool.

1

2

3

4

5

. . .

. . .

. . .

. . .

. . .

12 4

35

6

6

Page 23: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

236609-2250

6.3 Configuration by terminalED-12 TCP internal commands must be used to configure by terminal program.

TYPE commandConfiguration parameter values can be read by using the 'type' command. E.g. 'typechip.set↵ ', will list the chip.set file.The 'type' command will list configuration parameters and their values, regardless of theED-12 TCP operating mode (config or app).The parameters/values are stored in two pairs of configuration files; chip.set,-ini,factory.set, -ini. See chapter 6.4.Values used at re-boot are stored in the chip.set, -ini files.The files factory.set, -ini holdsthe factory default values.Please note, the configuration files also contain parameters that must not be changed.

COPY and REBOOT commandsThe 'copy' and 'reboot' commands are used to change ED-12 TCP working mode.Thecontents in ED-12 TCP internal file 'autoexec.bat' decides the mode ED-12 TCP willenter after a re-boot.The 'copy' command is used to copy the ED-12 TCP internal files 'app.bat' or 'config.bat'to 'autoexec.bat',e.g. 'copy config.bat autoexec.bat↵ ' and 'reboot' will force the ED-12 TCP into configmode.Re-boot is achieved by either the 'reboot' command or by switching the power off-on.

EXIT commandTo change configuration parameter values the ED-12 TCP must be in config mode.When in config mode a value change is requested by a [parameter] [value] pair input,e.g. 'datarate 19 200↵ '.When all requested changes have been input the 'exit' command must be used to storethe changes into the configuration files.The 'exit' command also copies app.bat toautoexec.bat ensuring application mode is entered when ED-12 TCP is re-booted.

Short-cut commandsThe short-cut commands are IP (for Local IP only), GATEWAY and NETMASK.They will work regardless of ED-12 TCPbeing in application or configuration mode.Any of these commands followed by a reboot will force a change.E.g. entering "IP 192.168.0.10" followed by a re-boot will set the local IP to 192.168.0.10.

Page 24: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

'ED-12 TCP APPLICATION MODE'

.

.

.

copy config.bat autoexec.bat↵

reboot↵

'ED-12 TCP CONFIGURATION MODE'

>datarate 9600↵ok

>datarate2 9600↵ok

>localip 192.168.12.12↵ok

>localport 9100↵ok

>localport2 9200↵ok

>exit↵........

Copied app.bat to autoexec.bat

Parameters successfully altered!

Re-boot to start ED-12 TCP Application

(Type 'reboot' or power off/on).

ok

>reboot↵

'ED-12 TCP APPLICATION MODE'

.

.

.

24 6609-2250

EXAMPLE 1Example of how to force the ED-12 TCP into config. mode, change some parameters andthen re-boot into application mode with the changed parameters:Please note. CH2: RS-232 has to be set for local configuration before local configurationis possible.

Text in terminal window Explanation

ED-12 TCP re-boots into config mode.

Request a data rate of 9 600 bit/s forCH2

Request local IP address to be192.168.12.12

Request 9100 as local protocol port forCH1 serverRequest 9200 as local protocol port forCH2 server

Establish the requested changes.Updates configuration files and ensuresapplication mode after a re-boot

Re-boot the ED-12 TCP.

Page 25: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

256609-2250

EXAMPLE 2Below follows an example of how to list the current configuration (the type commandcan be executed regardless of ED-12 TCP working mode). Parameters that can bealtered, their allowed values and in which file they appear can be found in chapter 6.4-configurable parameters.

Text in terminal window Explanation

type chip.set↵.

.

.

REMOTEIP= 168.192.12.12

REMOTEPORT= 9000

.

.

.

type chip.ini↵.

.

.

[IP]

ADDRESS=168.192.12.10

NETMASK=255.255.255.0

GATEWAY=168.192.12.1

.

.

.

6.3.1 Local configurationSet CH2 for local configuration by S2:1,2,3 and re-boot.Remove any device connected to serial interface CH1 and connect to ED-12 TCP serialinterface CH2: RS-232 at 19 200 bit/s, no parity, 1 stop bit and no flow control.

6.3.2 Remote configurationStart Telnet and connect to the ED-12 TCP, using the valid IP-address, (default 10.0.0.10)user name and password as set-up at initial configuration.The Telnet connection will be broken at re-boot.A repeated login is required after eachre-boot.

Page 26: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

6.4 Configurable parametersConfigurable parameters are summarised in the following tables.A more detailed descrip-tion follows. Parameter names and valus are case sensitive.

Serial interface

Parameter

Data rate in bitsper second, bps

Number of databits

None, even orodd parity

Number of stopbits

Flow control ON or OFF.

Parametername accepted

DATARATEdataRate, dataratebaude, BAUDE,bps

DATABITSdataBits, databits

PARITYparity

STOPBITSstopBits, stopbits

FLOWCONTROLflowControlflowcontrol

Allowed values

300–115 200

7 or 8

0, 1 or 2no, none, odd, even

1 or 2

0 or 1, NO, no,NONE, noneHW, hw

Apperancein .ini files

Apperance in .set files

DATARATE

DATABITS

PARITY

STOPBITS

FLOWCONTROL

Remark

0=none, 1=odd2=even

Two stop bits onlywhen no parity isselected.

0=NO, 1=HW

26 6609-2250

Channel 1

Data rate in bitsper second, bps

Number of databits

None, even orodd parity

Number of stopbits

Flow control ON or OFF.

DATARATEdataRate, dataratebaude, BAUDE,bps

DATABITSdataBits, databits

PARITYparity

STOPBITSstopBits, stopbits

FLOWCONTROLflowControlflowcontrol

300–115 200

7 or 8

0, 1 or 2no, none, odd, even

1 or 2

0 or 1, NO, no,NONE, noneHW, hw

DATARATE

DATABITS

PARITY

STOPBITS

FLOWCONTROL

0=none, 1=odd2=even

Two stop bits onlywhen no parity isselected.

0=NO, 1=HW

Channel 2

Page 27: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

276609-2250

Parameter

End of FrameCharacter ASCIIvalue

End of FrameDelay in ms

Maximum num-ber of bytes inFrame

Send End ofFrame Character

Parametername accepted

EOFCHARACTEReofChar, eofchareofcharacter

EOFDELAYeofDelay, eofdelay

MAXBYTEFRAMEmaxByteFramemaxbyteframe

EOFCHARSENDeofCharSendeofcharsend

Allowed values

0–256

0–2 550

1–1 500

0 or 1

Apperancein .ini files

Apperance in .setfiles

EOFCHARACTER

EOFDELAY

MAXBYTEFRAME

EOFCHARSEND

Remarks

256 = No EoFCharacter. (EoF charac-ter not used).

0 = No EoF Delay(EoF Delay not used).

This parameter mightbe override by TCP

0 will remove the EoFCharacter before datais sent over network.

Packing algorithm

Channel 1

End of FrameCharacter ASCIIvalue

End of FrameDelay in ms

Maximum num-ber of bytes inFrame

Send End ofFrame Character

EOFCHARACTEReofChar, eofchareofcharacter

EOFDELAYeofDelay, eofdelay

MAXBYTEFRAMEmaxByteFramemaxbyteframe

EOFCHARSENDeofCharSendeofcharsend

0–256

0–2 550

1–1 500

0 or 1

EOFCHARACTER

EOFDELAY

MAXBYTEFRAME

EOFCHARSEND

256 = No EoFCharacter. (EoF charac-ter not used).

0 = No EoF Delay(EoF Delay not used).

This parameter mightbe override by TCP

0 will remove the EoFCharacter before datais sent over network.

Channel 2

Page 28: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

28 6609-2250

Parameter

Local IP Address

Gateway IP Address

Subnet Mask

User Name

User Password

Parametername accepted

ADDRESSlocalIPStr,LOCALIPlocalip, localIP

GATEWAYgatewayIPStrgateway

NETMASKsubnetMaskStrnetmask

USERuserTelnetUserPASSWORDPasswordTelnetPassword

Allowed values

1.0.0.0 - 126.0.0.0128.1.0.0 -191.255.0.0 192.0.1.0 -223.255.255.0224.0.0.0 -255.255.255.254

Dotted decimalnotation

Any name up to 19characters long(no spaces)

Any name up to 19characters long(no spaces)

Apperancein .ini files

[IP]ADDRESS

[IP] GATEWAY

[IP] NETMASK

[TELNET] USER0USER1[TELNET] PASSWORD0PASSWORD1

Apperance in .setfiles

LOCALPORT

Remarks

IP addr. in dotted decimal notation

User name for remoteconfiguration

User name for remoteconfiguration

Local ProtocolPort

LOCALPORT,localPort,localport

1 - 20, 22, 24-7981 - 65535

The protocol port usedin application mode.21,23,80

REMOTEIPRemote IP Address

REMOTEIP,remoteIPStr,remoteIP,remoteip

Above IP addressesand broadcast addr.

255.255.255.255 = All IP accepted

REMOTEPORTRemote Protocol Port

REMOTEPORT,remotePort,remoteport

1 - 65535 Mode 1: Responsetimeout.Otherwise ignored.

LOCALPORTLocal ProtocolPort

LOCALPORT2,localPort2,localport2

1 - 20, 22, 24-7981 - 65535

The protocol port usedin application mode.21,23,80

REMOTEIPRemote IP Address

REMOTEIP2,remoteIPStr2,remoteIP2,remoteip2

Above IP addressesand broadcast addr.

255.255.255.255 = All IP accepted

REMOTEPORTRemote Protocol Port

REMOTEPORT2,remotePort2,remoteport2

1 - 65535 Always ignored,not used

MODEMode MODE, mode 0, 1, 2, 4, 8, 16 0 => Default.1 => Share CH1.2 => RST at TCP-close.4 => Min. networkloading.8 => CTS on TX data16 => Serial break.

Network interface

Channel 1 Server

Channel 2 Server

Page 29: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

296609-2250

6.4.1 Serial interface, CH1 or CH2Serial interface parameters can be set individually for each interface, CH1 and CH2.When CH2 is set for local configuration or status information a fixed format is used:19200 8-N-1.

Port Type (only by switches) The port type is manually selected, between RS-232 or RS-422/485, by DIP-switches S1 or S2.The RS-232 port is physically a 9 pin D-sub connector and RS-422/485 is a screw terminal block.Port type RS-422/485 uses a transceiver supporting both RS-422 and RS-485.2- or 4-wire (half or full duplex) is manually selected by DIP-switches.The transceiver is automatically switched between transmit and receive mode by incoming network data packets.Default port type is RS-232.

Data RateThe data rate can be set from 300 bit/s to 115.2 kbit/s.Default is 19 200 bit/s.

Data BitsSeven (7) or eight (8) data bits can be selected. Eight data bits is default.

ParityNo, odd or even parity can be selected. No parity is default.

Stop BitsTwo (2) stop bits can be set if no parity is selected.Default is one (1) stop bit.

Flow ControlFlow control can be chosen between none or hardware.Hardware flow control is managed by the CTS and RTS signal. CTS is switched off (<–3 V) when the ED-12 TCP serial receive buffer is near full.The buffer size is 5 kB.Serial data from ED-12 TCP will be transmitted if the RTS is on (>3 V).Flow control is ignored for port type RS-422/485.Default, flow control is switched off (none) and the CTS is activated.

Termination and Failsafe (Only by switches)Termination and fail-safe is used for port type RS-422/485 and manually can be switchedon or off.The fail-safe pulls a floating line to idle state (mark, 1, no start bit), hence avoiding spurious signal transitions.Default is termination and failsafe switched off, i.e. all switch pairs off.Please note. A RS-422/485 line must be somewhere terminated (see chapter 5.2.6)

Page 30: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

30 6609-2250

6.4.2 Packing algorithmPacking algorithm parameters can be set individually for each interface, CH1 and CH2.

End of frame character, EoF CharASCII code of character indicating end of frame (0–255).The serial data buffered will besent over network when this character 0–255 is detected (e.g. 13 for Carriage return).256 deactivates this function.Allowed values are 0–256. Default is 256, i.e. deactivated.

End of Frame DelayThe time, after last received character, ED-12 TCP delays until the buffered data frame is sent over network.Allowed values are 0–2550 ms, 1–9 in 1 ms step and 10–2550 in 10 ms step.The valuewill be rounded to the nearest lower step (e.g. 128 =>120 ms, 132 =>130 ms).The value zero (0) deactivates this function, i.e. wait until other criteria is true.Default value is 20 ms.If EoF delay is used with low data rates, it should be set to at least one character time.

Note. Latency has to be added to calculate total delay of data.

Maximum number of bytes/characters in frameThe maximum number of bytes that will be buffered in the data frame.When the dataframe is full the data will be transmitted over network.Allowed values are 1–1500 bytes.Values above 255 are approximate.Default is 1000 bytes.TCP might override this setting.

Transmit end of frame characterInclude end of frame character in Network data packet.Allowed alternatives are yes orno, default is yes.

Page 31: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

316609-2250

6.4.3 Network interfaceGeneral parameters, common for both servers follow;

Local IP address*Local IP address of ED-12 TCP.10.0.0.10 is used as default.

Netmask*The Netmask is used for Subnet addressing.Default is 255.255.255.0.

Gateway IP address*The Gateway IP address is used for indirect delivery of network packets when theRemote IP address is not a part of the Network of Local IP address.When the remoteclient address is at a different network the packet is sent to the gateway IP address,which must belong to a router (gateway).The router will then forward the network packet to it’s destination (remote clientaddress).The network extent is defined by the Local IP address and the Netmask.The Gateway IP address must be on the same net as the local IP, otherwise 0.0.0.0 is used.Default is 10.0.0.10.

User nameUser name for remote configuration and status information over network (telnet login).Default is ed12.

User passwordPassword for remote configuration and status information over network (telnet login).Default is ed12.

* The IP address must be compliant to the attached network.Ask the network administrator when in doubt.

Page 32: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

32 6609-2250

Parameters individual for each serial server follow:

Local Protocol Port*The serial server listen at this local TCP port.The remote client (computer) mustaddress this local port to establish a TCP connection.Allowed values are 1–20, 22, 24–79, 81 - 65535 (>1024 recommended). Port 23 shall beused for configuration and status information only. Port 21 and 80 must not be used.Please observe that ports 1–1024 are “well-known ports”, hence commonly used byother programs (e.g. FTP,Telnet, NETBIOS, mail etc).“well-known ports” should normally not be used by ED-12 TCP.All ”well-known” ports are listed in RFC 1700 (assigned numbers).Default is 9000.

Remote IP address*Required IP address of remote client (computer).The ED-12 TCP will only accept con-nections (clients) with the Remote IP address. Remote IP address 255.255.255.255 willforce the ED-12 TCP to accept any (all) connections.An established connection will be closed by a new connection request, if the Remote IPaddress is 255.255.255.255.If the Remote IP does not equal 255.255.255.255 an established connection will remainestablished and any new connection requests will be refused.Default is 255.255.255.255.

Remote Protocol Port The remote protocol port is normally not used, hence ignored.Only in mode 1, the CH1 Remote Protocol Port value is used as the Response Timeout.

* The IP address must be compliant to the attached network.Ask the network administrator when in doubt.

Page 33: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

336609-2250

6.4.4 Mode

Mode 0Mode 0 is the default mode.

Mode 1The ED-12 TCP is able to server one or two different TCP connections simultaneously.Each server communicate to its corresponding serial interface CH1 or CH2, by default.But in mode 1 both servers are communicating to the same serial interface, CH1.Anycollisions at CH1 are handled by the ED-12 TCP. Serial CH2 is automatically set for localconfiguration and status information in mode 1.On the network side different Local Port numbers identifies the two TCP connections.This gives possibilities to use simple serial slaves (PLC, DUC, etc) in a multi-master envi-ronment. E.g. a redundant SCADA system were the secondary master needs to regularlyissue connection requests, at the same time as the primary controller sends its request.The ED-12 TCP will take care of request collisions and return the responses to the cor-rect controller.

TCP/IPNetwork

SerialNetwork

ED-10 PLC

Primary SCADAcontroller A

Secondary SCADAcontroller B

Control Logic

REQ A REQ A

A A A AB

REQ A

REQ B

REQ A

RESPONSETIME

PRIMARYCONTROLLER

REQUEST

PLC

RESPONSE

SECONDARYCONTROLLER

REQUEST

Typical timing graph. Dotted line isNetwork data. Text box is Serial data.

Page 34: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

34 6609-2250

One additional controller request issued during the response time will be queued in theED-12 TCP until the pending response is received or until a response timeout occurs.The pending request (not responded to) will be discarded if a timeout occurs.Normally a controller awaits a response before it issues its next request. If a responsedoes not arrive, in time, to the controller it might repeat the request.If a controller needs to repeat its requests (due to Transaction/Message timeouts) thedelay between the original and the repeated request must at least be the configuredresponse timeout time.Please note. All responses are delayed minimum 20 ms when an ED-12 TCP is

inserted between the Controller and the PLC.The TCP/IP network might introduce additional delays.

In mode 1 all the serial and packing algorithm parameters of CH2 are ignored.The CH1 End of Frame Delay can not be set below 10 ms.Default the CH1 EoF Delay is set to 20 ms. It is recommended to change this to 10 ms.The value of the CH1 Remote Port is used for the Response Timeout.The ResponseTimeout can be set to any value between 50 and 65535 ms, default is 9000 ms.It is recommended to change the Response Timeout (CH1 Remote Port) to 600 ms.Mode 1 is indicated by CH2 CTS led always off and CH2 RD led shortly lits during re-boot.

Mode 2In mode 2 a RST (reset) message is transmitted instead of the FIN message at the net-work interface when a connection is closed. By default the normal FIN close handshakingtakes place.

Mode 4The ED-12 TCP network performance can be optimized for minimum delays or minimumnetwork loading. By default it is optimized for minimum delays which is the recommend-ed setting under normal conditions. But for transfer of large amount of continuous dataat high serial data rate it is recommended to use mode 4 which is optimized for maxi-mum throughput and minimum network loading.

Mode 8Some serial devices requires a control signal to be activated when data shall be transmit-ted, e.g. controlling the carrier signal of a radio modem.In mode 8 the CTS signals will be activated when there are data in the ED-12 TCP serialTX buffers.The CTS will by default (mode 0) be permanently activated, unless HW flowcontrolrequires deactivation.

Page 35: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

356609-2250

Mode 16Mode 16 will force the ED-12 TCP to send a serial break before the data message.The break is minimum one character time long and will be followed by a short idle(mark, 1) before the data is sent.The break will only be sent if the serial TX buffer is empty when network data isreceived.No break is sent in the default mode 0.

6.4.5 MAC addressThe MAC address of the ED-12 TCP can be found on the product label "00 30 56 F" +last 5 digits on IC2, see figure in chapter 4.3.E.g. "SC12 RTOS 0092C2" marked of IC2 gives 00 30 56 F0 92 C2 as MAC address.The MAC can also be found by using DOS command "ARP-a" (a PING has to be per-formed in advance).

Page 36: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

36 6609-2250

7. Application examplesThis application can be achieved using one of the methods described in section 1.

OnTime OnTime

OnTime

OnTimeOnTime

ED-12

GD-01

R-208

R-208 R-208

R-208 R-208ED-12

Ethernet

RS-232/422/485

Ethernet Redundant Ring100 Mbit/s

Control Logic

Control Logic

Larm

ED-20

TD-33

TD-33

ED-20PPP ROUTERSerial Interface

Page 37: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

OWN COMMENTS

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

Page 38: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

38 6609-2250

OWN COMMENTS

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

.....................................................................................................................................................................................................................

Page 39: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232
Page 40: ED-12 6609-2250 REV6609-2250 3 1. Introduction The ED-12 TCP is an Industrial Ethernet Adapter with two serial interfaces. The type of serial interface is selectable between RS-232

T03

-038

9 •

6609

-225

003

.07

Mäl

artr

yck

AB

, E

skils

tuna

, S

wed

enWestermo Teleindustri AB • SE-640 40 Stora Sundby, Sweden

Phone +46 16 42 80 00 Fax +46 16 42 80 01E-mail: [email protected]

Westermo Web site: www.westermo.com

Westermo Teleindustri AB have distributors in several countries, contact us for further information.

Westermo Data Communications LtdUnit 14 Talisman Business Centre • Duncan RoadPark Gate, Southampton • SO31 7GAPhone: +44(0)1489 580 585 • Fax.:+44(0)1489 580586E-Mail: [email protected]

Westermo Data Communications GmbHGoethestraße 67, 68753 WaghäuselTel.: +49(0)7254-95400-0 • Fax.:+49(0)7254-95400-9E-Mail: [email protected]

Westermo Data Communications S.A.R.L.9 Chemin de Chilly 91160 CHAMPLANTél : +33 1 69 10 21 00 • Fax : +33 1 69 10 21 01E-mail : [email protected]

Subsidiaries