You are on page 1of 122

6F8C0879

Integrated Controller V Series


model 2000 Ethernet Module
Operation Manual

Dec 31, 2003


Important Information

No patent liability is assumed by TOSHIBA Corporation with respect to use of information, illustrations,
circuits, equipment or examples of application in this publication.

TOSHIBA Corporation reserves the right to make changes and improvements to this publication and/or
related products at any time without notice. No obligation shall be incurred other than as noted in this
publication.

This publication is copyrighted and contains proprietary material. No part of this book may be reproduced,
stored in a retrieval system, or transmitted, in any form or by any means — electrical, mechanical,
photocopying, recording, or otherwise — without obtaining prior written permission from TOSHIBA
Corporation.

PROSEC, TOSLINE and TOSDIC are trademarks or registered trademarks of TOSHIBA Corporation.

IBM is a registered trademark of International Business Machines Corporation.


Microsoft, MS-DOS, Windows and Windows NT are registered trademarks of Microsoft Corporation in the
U.S.A. and other countries.
Ethernet is a registered trademark of Xerox Corporation.
DeviceNet is a trademark of the Open DeviceNet Vender Association, Inc.

 TOSHIBA CORPORATION 2000-2003. All rights reserved


Safety Precautions
This manual contains important information for the operator to operate this product safely and correctly
and avoid bodily injury and property damage.
Grasp the meanings of the following marks and their descriptions before reading this manual.

Hazard Classifications

Indicates a potentially hazardous situation which, if not avoided,


WARNING could result in serious injury or death.

Indicates a potentially hazardous situation which, if not a avoided,


CAUTION can result in minor or moderate injury, or property damage. It can
also be used to alert against unsafe practices.

Note: 1. Serious injury means loss of sight, injury, burns (high temperature, low temperature), electrical
shock, fracture, or intoxication which leaves aftereffects or requires hospitalization or need to
go to the hospital for a long time.
2. Injury means hurt, burn, or electrical shock which does not require hospitalization or going to
the hospital for a long time.
3. Property damage means extended breakdown of assets and materials.

Notation of Markings

Indicates a "may not" mark.


Prohibited The concrete forbiddance is indicated with a pictograph or wording.

Indicate a mandatory action that you should never fail to do.


Mandatory The concrete content is indicated inside or near the circle with a
pictograph or wording.

Indicates a caution.
Caution The concrete content is indicated inside or near the triangle.

Note: The description of forbiddance, mandatory, and caution marks are subject to change, depending
on the labels on the main unit.

6F8C0879 i
1. Checking the Warning Labels on the Main Unit
Make sure warning markings are attached on the main unit.
If any of them are missing or the wording is illegible, contact Toshiba's Service Department.

2. Precautions on Installation

WARNING

Mandatory
Be sure to ground the equipment.
Operation without grounding may cause
accidental fire or shock.

CAUTION

Mandatory
Mandatory Improper the installation or writing of the
Avoid the following locations when system can cause not only insufficient
installing or storaging the equipment. performance but also malfunction and
• Locations where there is dust, salinity, or ion failure of the equipment
particles
• Locations where there are corrosive gases
(SO2, H2S) or flammable gases
• Locations where vibration or shock occurs
Mandatory
beyond the allowance
• Locations where there is condensation due Install the equipment at a place where
to sharp temperature variations maintenance and inspection are easy to do.
• Locations where the ambient temperature Otherwise, recovery from failure may take
exceeds the allowance range much more time, leading to a serious
• Locations where the relative humidity accidents.
exceeds the allowance range
• Locations where the equipment is exposed
to direct sunlight
• Locations where strong electric radiation or
magnetic field is generated Forbidden
Do not cover the hole of the equipment, and the
ventilator/air inlet of the system.
Otherwise, overheating, etc. can cause fire
or malfunction.

ii model 2000 Ethernet Module Operation Manual


3. Safety Precautions on Maintenance and inspection

WARNING

Mandatory Mandatory
Turn off power removing or connecting any Turn off power removing any modules after
modules, boards, or devices. installing.
Otherwise, it can cause electrical shock, or Otherwise, exposed conductive parts of wire
machine damage. or on the rear of terminal blocks can cause
electrical shock.

CAUTION

Forbidden Mandatory
Be careful not to hit or fall off the equipment by Place any modules or boards removed from
accident. the unit on a conductive mat or conductive bag
Excess shock can cause failure. (containing a spare board, etc.) on an
grounded desk.
Otherwise, static electricity can damage
components of the module.

Mandatory
Touch a grounded metal part to discharge the
static electricity on your body before touching
the equipment. Forbidden
Otherwise, charged static electricity on your Do not apply benzene and thinner when clean-
body can cause malfunction or failure. ing the equipment.
Otherwise, it can cause deformity or discolora-
tion the panel or case of the equipment.

Mandatory
Use soft cloth to clean the equipment.
Use water-dipped and squeezed cloth to
clean it if dirty.
Leaving the equipment dirty can cause
mistaken or malfunction.

6F8C0879 iii
4. Precautions During Parts Replacement

WARNING

Mandatory
Turn off power of the equipment before
replacing the power fuse or warning fuse.
Otherwise, it can cause electrical shock or fire.

5. Precautions During Daily Use

WARNING

Mandatory Mandatory
Apply power of the specified ratings (voltage Turn off power immediately if the ambient
fluctuation range, frequency, output rating, temperature or internal temperature exceeds
etc.) in User's manual. beyond normal range or if failure is occurred
Otherwise, it can cause malfunction, machine in the equipment.
damage or fire due to overheat. Contact Toshiba for repairing.
Operation under such situation can cause fire
or electrical shock.

CAUTION

Forbidden Forbidden
Do not touch any components, terminals, Do not forcibly bend or pull or distort the power
connectors, or printed circuit boards in the cord and other cables. Otherwise, they can be
module. cut off or cause overheat.
Otherwise, it can cause the IC or LSI or the
like to be broken by static electricity, resulting
in failure or malfunction.
Also, the edge of components can cause
injury.

iv model 2000 Ethernet Module Operation Manual


Forbidden Forbidden
Do not disassemble or modify the equipment. Do not enter wire scrapes or other foreign
Otherwise, it can cause malfunction or failure. debris into the equipment.
Also, do not insert metal parts into them.
They can cause fire or accidents.

6. Safety Precautions on Disposal

WARNING CAUTION

Forbidden Mandatory
Do not throw lithium batteries into fire. Observe local regulations for disposal of the
Otherwise, they can explode. lithium batteries or the product (Base unit
and modules).

6F8C0879 v
Limitation of Applications
The equipment has been designed and manufactured for use in an industrial environment.
However, the equipment is not intended to be used for systems which can endanger human life
(Note 1).
Consult Toshiba if you intend to use the equipment for a special application which involves human
life and has great influence on the maintenance of the public function (Note 2). This is why such
application requires special care on the operation, maintenance, and control of the system (Note 3).

(Note 1) The systems which can endanger human life are life maintenance systems, equipment
installed in the surgery, and other medical equipment.
(Note 2) The systems which involve human life and have great influence on the maintenance of the
public function mean the main control system of a nuclear power plant, safety and
protection system of a nuclear power facility, transport operation and control systems for
mass transportation, control systems of aviation and space systems, and other systems
and subsystems where safety is critical.
(Note 3) "Special care" means to build a safety system (foolproof design, fail safe design,
redundancy design, etc.) in full consultation with Toshiba's engineers.

Immunity
Toshiba is not liable for any loss caused by fire, earthquake, action by a third party, or other
accidents, or the operator's intentional or accidental misuse, incorrect use, or use under abnormal
condition.
Toshiba is not liable for any incidental loss caused by the use or non-use of this product, such as
loss of business profits, suspension of business, or loss or change of data on memory.
Toshiba is not liable for the loss caused by an operation contradictory to any of the instructions
stated in this manual.
Toshiba is not liable for the loss caused by an incorrect operation in combination with other
equipment.
Toshiba is not liable for the loss caused by a malfunction in combination with an application program
made by the customer.

NOTE:
Use cellular phones and PHSs at least one meter away from the working equipment, transmission
cables, and I/O bus cable. Otherwise, the system can malfunction.

vi model 2000 Ethernet Module Operation Manual


Preface

This manual describes the interface module EN6** (called EN6 module in the manual)
which connects Ethernet serving as a trunk LAN for the Integrated Controller V Series to
the system bus in the Integrated Controller, and also the hardware of the EB6** (called
the EB6 module), presenting an overview, installation and operating procedures, and
instructions for maintenance and inspection.
The EN6 and EB6 are available in the following types, which vary depending on the
interface.
• EN611: Module for 10BASE5 single bus
• EN621: Module for 10BASE5 dual bus, line A (main module)
• EN631: Module for 10BASE2 single bus
• EN641: Module for 10BASE2 dual bus, line A (main module)
• EB621: Module for 10BASE5 bus, line B (used in combination with EN621)
• EB641: Module for 10BASE2 bus, line B (used in combination with EN641)
• EN651: Module for 100BASE-TX/10BASE-T single bus
• EN651A: Module for 100BASE-TX/10BASE-T single bus
• EN661: Module for 100BASE-TX/10BASE-T dual bus
Be sure to read first the Safety Precautions for you to use the equipment in the correct
way.

Related Document
• Monitoring and Control Network Ethernet Installation and Wiring Manual (6F8C0880)

6F8C0879 vii
Be Sure To Observe The Following
Observe the following to ensure the safety of the operator in using the equipment and to
keep it in normal operating condition.

1. Carefully read the Operation Manual before use.


2. Avoid installing or keeping the equipment at any of the places or in the environment
mentioned below.
(1) Very dusty place
(2) Place where corrosive gases (SO2, H2S, etc.) are generated
(3) Place where the product may be exposed to vibration or shock
(4) Environment of low or high temperature deviating from the conditions for instal-
lation specified herein.
(5) Very humid place
3. If the ambient temperature or the internal temperature of the equipment has arisen
too high, or if the equipment has developed a fault, stop using it, switch power off,
and contact the nearest Toshiba service station.
4. Do not open the case of the equipment while it is in operation except when setting
the switches.
5. Do not attempt to modify the equipment.
6. Take care not to drop the EN7 module during transit.

viii model 2000 Ethernet Module Operation Manual


CONTENTS
1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 Names of Parts and their Functions . . . . 7

3 Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 Switch Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1.1 Switch Setting Procedures . . . . . . . . . . . . . . . . . . . 14
3.1.2 Host ID setting switches (HOST-ID) . . . . . . . . . . . 15
3.1.3 Operation mode setting switches (MODE) . . . . . . . 16
3.2 Network Parameter Setting . . . . . . . . . . . . . . . . . . . . 19
3.2.1 Network ID and subnet mask setting . . . . . . . . . . . 21
3.2.2 Station address (Host ID) setting . . . . . . . . . . . . . . 23
3.2.3 Multicast address summary . . . . . . . . . . . . . . . . . . 24
3.2.4 Setting with Engineering tool . . . . . . . . . . . . . . . . . 25
3.2.5 Setting with Engineering Tool 2 . . . . . . . . . . . . . . . 33
3.2.6 Multicast address setting . . . . . . . . . . . . . . . . . . . . 40
3.2.7 Settings for multicast routing network . . . . . . . . . . 41
3.2.8 Ethernet link speed and duplex setting . . . . . . . . . 43
3.2.9 Default gateway IP address (Router IP address)
setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

4 Installation and Wiring . . . . . . . . . . . . . . 47


4.1 Installation (Installing in the Base Unit) . . . . . . . . . . . 48
4.2 Ethernet Cable Connection . . . . . . . . . . . . . . . . . . . . 49
4.2.1 10BASE5 (EN611, EN621, EB621) . . . . . . . . . . . . 49
4.2.2 10BASE2 (EN631, EN641, EB641) . . . . . . . . . . . . 50
4.2.3 100BASE-TX/10BASE-T (EN651, EN651A,
EN661) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.3 Drop Cable Connection for Line B Modules . . . . . . . 52
4.4 Serial Communication Port (RS-232C) Cable
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.5 12 VDC Power Cable Connection . . . . . . . . . . . . . . . 54
4.6 Module Replacement . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.6.1 10BASE5 (EN611, EN621, EB621) . . . . . . . . . . . . 55
4.6.2 10BASE2 (EN631, EN641, EB641) . . . . . . . . . . . . 56
4.6.3 100BASE-TX/10BASE-T (EN651, EN651A,
EN661) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

5 Operation . . . . . . . . . . . . . . . . . . . . . . . . . 59
5.1 Check Before Operation . . . . . . . . . . . . . . . . . . . . . . 60
5.2 Starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

6F8C0879 ix
CONTENTS
5.3 Stopping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

6 Maintenance and Inspection . . . . . . . . . 61


6.1 Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.1.1 Daily inspection . . . . . . . . . . . . . . . . . . . . . . . . . . .62
6.1.2 Periodic inspection . . . . . . . . . . . . . . . . . . . . . . . . .63
6.2 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.3 Expendable Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

7 Application Interface . . . . . . . . . . . . . . . 67
7.1 Socket Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.1.1 Structure of single Ethernet socket information . . .68
7.1.2 Structure of dual Ethernet socket information . . . .70
7.1.3 Socket information reference method . . . . . . . . . .71
7.1.4 Socket information generation timing . . . . . . . . . . .72
7.2 Transmission Line Diagnosis Information . . . . . . . . . . 74
7.2.1 Transmission line diagnosis information structure .74
7.2.2 Transmission diagnosis information reference
method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
7.2.3 Transmission line diagnostic frame structure . . . . .76
7.3 EN module state information . . . . . . . . . . . . . . . . . . . 77
7.4 Restrictions on Use . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.4.1 Restrictions on port numbers . . . . . . . . . . . . . . . . .78
7.4.2 Restrictions on single Ethernet sockets and dual
Ethernet sockets . . . . . . . . . . . . . . . . . . . . . . . . . .78

A Specifications . . . . . . . . . . . . . . . . . . . . . 79

B Dimensions . . . . . . . . . . . . . . . . . . . . . . . 83

C Related Products . . . . . . . . . . . . . . . . . . 85

D Decimal-hexadecimal Conversion
Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

E Sample Programs . . . . . . . . . . . . . . . . . . 89

F Return Code List . . . . . . . . . . . . . . . . . . 101

G Option switch List . . . . . . . . . . . . . . . . 105


x model 2000 Ethernet Module Operation Manual
Chapter 1 General

The Ethernet module EN6** (called the EN6 module in this manual) and EB6** (called
the EB6 module in the manual) are devices for connecting controllers of the Integrated
Controller V Series to the monitoring and control network Ethernet (conforming to
IEEE802.3) for that series.
The 10BASE5 and 10BASE2 interfaces are available to the EN6 modules, and each of
these interfaces comes in the single bus type and dual bus type. Up to four EN6 modules
can be installed per base unit.
In a system of dual transmission line configuration, use a module (EN621 or EN641) for
line A in combination with a module (EB621 or EB641) for line B.
External views of the EN6 and EB6 modules, the Ethernet features and system
configuration examples are shown below.
• EN611: Module for 10BASE5 single bus
• EN621/EB621: Modules for 10BASE5 dual bus
• EN631: Module for 10BASE2 single bus
• EN641/EB641: Modules for 10BASE2 dual bus
• EN651: Module for 100BASE-TX/10BASE-T single bus
• EN651A: Module for 100BASE-TX/10BASE-T single bus
• EN661: Module for 100BASE-TX/10BASE-T dual bus

6F8C0879 1
Chapter 1 General

CD
AB
EF
789

01 2

34 56

CD
AB
EF
789

01 2

34 56

Figure 1-1 EN6 Module Front View

2 model 2000 Ethernet Module Operation Manual


Features of Ethernet (10BASE5, 10BASE2)
The monitoring and control network Ethernet for the integrated controller V series can 1
expand the segments and extend the maximum transmission distance using an electric
repeater or an optical repeater.
A system which includes both 10BASE5 and 10BASE2 permits connection of each
network using a hub.
Features of Ethernet (100BASE-TX, 10BASE-T)
The maximum transmission distance can be extended by connecting one controller to
another with a hub and connecting one hub to another.
The Ethernet module offers the following features.

• The Ethernet has two types of transmission path: 10BASE5 and 10BASE2.
• High reliability can be achieved by redundant transmission path configuration.
• Multihost and multiport functions are available on the system buses.
• Send/receive requests from two or more hosts can be processed on the Ethernet, and
send/receive requests from the hosts to two or more Ethernet modules can be
processed.
• Group broadcast is enabled by the multicast transmission function.
• TCP/UDP/IP, PCMP, and IRCP are supported as standard protocols, which are
compatible with not only those protocols of general Ethernet devices but also with
those of the Toshiba small-scale monitoring and control system TOSDIC-CIE 1200
and the programmable controller PROSEC T series.
• The relay function permits direct relay of transmitted messages between the modules
of other Ethernet network. (Future)

Note: PCMP : Process Control Message Protocol


IRCP : Internet Redundant Control Protocol

6F8C0879 3
Chapter 1 General

FA personal computer

Monitoring and control network Ethernet

Repeater

Integrated controller

Figure 1-2 Example of System Configuration

FA personal computer

LAN card installed inside

Ethernet

Base unit Base unit


PS S0 S1 S2 S3 S4 PS S0 S1 S2 S3 S4
S2/L2/C2-CPU
S2/L2/C2-CPU
S2/L2/C2-CPU

S2/L2/C2-CPU
S2/L2/C2-CPU
S2/L2/C2-CPU
PIF*

PIF*
EN6
EN6

EN6
EN6
PS*

PS*

(Up to four EN6 modules can be installed per chassis.)

Figure 1-3 Example of Ethernet Module Installation

4 model 2000 Ethernet Module Operation Manual


Software configuration
Software configuration realizes the transmission operation of EN*** module is as
1
follows.

V controller user program

Controller Function Block

module (USEND_T, URCV_T)

V controller firmware

Station bus

EN*** firmware

SNMP
Ethernet
TCP/UDP/IP
module
10BASE5, 10BASE2
100BASE-TX/10BASE-T

• Function Block:
Controller user programs perform the Ethernet transmission using function
blocks. There are mainly two transmission function blocks that perform sending
operation and receiving operation called USEND_T, and URCV_T, respectively.
And application programs are constructed using these function blocks.
• TCP: Transmission Control Protocol
This protocol performs transmission by establishing the connection (virtual
communication circuit) before transmitting with destination node. Transmission
reliability is raised by packet sequence control, packet retransmission, flow
control, and so on.
• UDP: User Datagram Protocol
This protocol performs transmission per datagram unit. It is possible to fast
transmit, because no connection is needed. However, not having the control
function like data retransmission, implementation is needed in the upper layer
program.
• IP: Internet Protocol
This protocol performs datagram type transmission. Data is transmitted per
datagram unit based on IP addresses. Unicast, broadcast, and multicast
transmission are supported.
• 10BASE5
Transmission speed is 10Mbps. Max 500 m per segment. Bus topology.
• 10BASE2
Transmission speed is 10Mbps. Max 185 m per segment. Bus topology.
• 100BASE-TX
Transmission speed is 100Mbps. Max 100 m per segment. Star topology.
• 10BASE-T
Transmission speed is 10Mbps. Max 100 m per segment. Star topology.

6F8C0879 5
Chapter 1 General

SNMP (Simple Network Management Protocol)


1 Ethernet modules support the SNMP agent function. Ethernet modules transmit the
own information in response to the query of management system (manager).
Supported information is shown below.

• System group:
System group provide system and management information.
• Interfaces group
Interfaces group provides hardware interface information.
• Address Translation group:
Address Translation group provides information between IP address physical
address.
• IP group:
IP group provides IP status information.
• ICMP group:
ICMP group provides ICMP status information.
• TCP group:
TCP group provides TCP status information.
• UDP group:
UDP group provides UDP status information.
• SNMP group:
SNMP group provides SNMP status information.

6 model 2000 Ethernet Module Operation Manual


Chapter 2 Names of Parts
and their Functions

The front panels of the Integrated Controller model 2000 Ethernet modules and their
explanations are shown in figure 2-1 and figure 2-2.

EN611 EN621/EB621
module for 10BASE5 module for 10BASE5
single bus dual bus

Status indicator LED Status indicator LED


• RUN • RUN
• HLTH • HLTH
• L-A • L-A
• L-B

Serial communication port (RS-232C)


• TOOL
Ethernet connector for (10BASE5) line A
• EN-A

Drop cable connector CN1 for line-B module

12 VDC power connector CN2


• 12 Vdc
• 0V

Power LED
• PWR

Ethernet connector for (10BASE5) line B


• EN-B

Drop cable connector CN1 for line-B module

12 VDC power connector CN2


• 12 Vdc
• 0V

Figure 2-1 Modules for 10BASE5 (EN611, EN621, EB621)

6F8C0879 7
Chapter 2 Names of Parts and their Functions

EN631 EN641/EB641
module for 10BASE2 module for 10BASE2
single bus dual bus
2 Status indicator LED Status indicator LED
• RUN • RUN
• HLTH • HLTH
• L-A • L-A
• L-B

Serial communication port (RS-232C)


• TOOL

Ethernet connector for (10BASE2) line A


• EN-A

Drop cable connector CN1 for line-B module

Power LED
• PWR

Ethernet connector for (10BASE2) line B


• EN-B

Drop cable connector CN1 for line-B module

Figure 2-2 Modules for 10BASE2 (EN631, EN641, EB641)

8 model 2000 Ethernet Module Operation Manual


EN651 EN661
module for 100BASE-TX/10BASE-T module for 100BASE-TX/10BASE-T
single bus dual bus

Operation mode setting switches


2
Serial communication port (RS-232C)
• TOOL
Status indicator LED
• RUN
• HLTH

Ethernet connector for line A


• EN-A
Transmission status indicator LEDs for line A
• L-A
• LINK-A

Ethernet connector for line B


• EN-B
Transmission status indicator LEDs for line B
• L-B
• LINK-B

Figure 2-3 Modules for 100BASE-TX/10BASE-T (EN651, EN661)

EN651A
module for 100BASE-TX/10BASE-T
single bus

Status indicator LED


• RUN
AB
CD • HLTH
EF
789

01 2

34 56

CD
AB
Station address (Host ID) setting switches
EF
789

01 2

34 56

Operation mode setting switches

Serial communication port (RS-232C)


• TOOL
Ethernet connector for line A
• EN-A
Transmission status indicator LEDs for line A
• L-A
• LINK

Figure 2-4 Modules for 100BASE-TX/10BASE-T (EN651A)

6F8C0879 9
Chapter 2 Names of Parts and their Functions

The functions of these parts are shown below.


(1) Status indicator LEDs
These LEDs display operating status, etc. as shown in Table 2-1.
Table 2-1 Status Indicator LEDs and the Meanings of their Indications Name of LED
2 Name of
Display Normally
LED
RUN Hardware operation display
(green) ON: Running ON
Blink: Watchdog timer (Hardware error detecting function) disabled
OFF: Down
HLTH Module status display
(green) ON: Operation normal ON
Blink: Network parameter setting mode (Set using RUN mode setting
switch:See Chapter 3.)
OFF: Down
L-A Ethernet bus A status display
(green) ON or blink: Transmitting ON or blink
OFF: Transmission stopped
L-B Ethernet bus B status display (EN621 and EN641 only)
(green) ON or blink: Transmitting ON or blink
OFF: Transmission stopped

(2) Transmission status indicator LEDs


These LEDs are with the Ethernet connectors of EN651, EN651A, and EN661.
Table 2-2 Transmission Status Indicator LEDs and the Meanings of their Indications Name of LED
Name of
Display Normally
LED
L-A Ethernet status display of bus A
(yellow) ON or blink: Transmitting ON or blink
OFF: Transmission stopped
LINK-A Ethernet status display of bus A
(green) ON: Hardware connected normally ON
OFF: Hardware connected abnormally
L-B Ethernet status display of bus B (EN661)
(yellow) ON or blink: Transmitting ON or blink
OFF: Transmission stop
LINK-B Ethernet status display of bus B (EN661)
(green) ON: Hardware connected normally ON
OFF: Hardware connected abnormally

(3) Ethernet Connectors (EN-A, EN-B)


These are Ethernet communication ports. Connect AUI cables to them in case of the
EN611, EN621, EB621 (10BASE5) modules, or coaxial cables to them in case of the
EN631, EN641, EB641 (10BASE2) modules, or twisted pair cables to them in case of
the EN651, EN661 (100BASE-TX, 10BASE-T) modules, or twisted pair cables to
them in case of the EN651, EN651A, EN661 (100BASE-TX/10BASE-T) modules.

10 model 2000 Ethernet Module Operation Manual


(4) Serial communication port RS-232C (TOOL)
This is the RS-232C port for tool/debugger. The connector is the 9-pin D-sub type. It
may be used for tool or debugger as selected with the 8-bit DIP switch (operation
mode setting switch) in the module.
Normally, the module is used in tool mode (Do not change the setting). 2
(5) Drop cable connector CN1 for line-B modules
This is an 8-P modular connector to connect the main modules (EN621 and EN641)
to the line-B modules (EB621 and EB641) in a dual Ethernet transmission line
configuration.
(6) 12 VDC power connector CN2 (+12 VDC, 0.5 A maximum)
The EN611, EN621, and EB621 (10BASE5) require a separate external power
supply of 12 VDC for AUI transceivers.
The external power to be supplied to the AUI transceivers is received at this
connector. The connector is a 2P type. Use a special power cable of +12 VDC.
(Standard length: 0.5 m)
Each AUI transceiver consumes 0.5 A maximum, so a power source capable of
supplying 0.5 A or more is necessary for each module.

Signal Name Description


12Vdc 12 VDC input Applicable modules
0V (12.0VDC±5%) • EN611
• EN621
• EB621

Note 1: The modules are protected with a fuse inside.


Note 2: In using a system of dual transmission line configuration, be sure to con-
nect separate power sources to the 12 VDC power connectors CN2 on the
EN621 and EB621 (Line A/Line B). In cases where it is not possible to use
separate power sources, wire the power cable in such a way that the
EN621 and EB621 can be separately switched off. It is recommended that
each module be provided with a separate power cable.

(7) Operation mode setting switches


Refer to Chapter 3 Setting.

6F8C0879 11
Chapter 3 Setting

Warning
• For safety, be sure to check that the base unit has been switched off before installing EN6
modules in it or removing them from it.
• For safety, do not touch the insides of the product except for the switches.
• For safety, do not disassemble the product.

Caution
• The static charged in the human body may cause the product to fail. Discharge the static
from the human body before setting the switches.
• In setting the switches, spread the electroconductive bag which contained the product or an
electroconductive mat, and place the product on it. Failure to observe this will damage the
product by the static.
• A strong force or other stress to the insides of the products may cause trouble. In setting the
switches, be careful not to touch the parts other than the switches with the tools or the like.
• In setting the switches, do not change other than the necessary settings. The wrong setting
will prevent the product from normal operation.
• Be sure to set an IP address type and a host ID.
• If the network parameters are downloaded to the EN6 module, be sure to restart it. The
parameters will not be valid unless it is restarted.
• Verify transmission at the application level using the transmission protocol.
• Do not use reserved ports No.10000 and 48000 in user application software. Use ports No.
1024 to No.65535 for user applications except for the reserved ports.
• If you have any question, contact the Toshiba service office concerned.

6F8C0879 13
Chapter 3 Setting

3.1 Switch Setting


Before installing EN6 modules in the base unit, set the switches which determine an EN6
module operation mode and host ID. These switches are inside the EN6 module.
The switch setting procedures are described below. Figure 3-3 shows the locations of
the switches.

3 3.1.1 Switch Setting Procedures


The EN6 module has the switches inside, so the switch cover on the right side panel (see
figure 3-1) must be removed before setting these switches.
To set the switches, follow the steps in the following sequence.
(1) Pull the cover in the right side panel by the top (triangle mark).
(2) Remove the switch cover from the product.
(3) Set the switches.
Carefully read the section 3.2 Network Parameter Setting.
(4) Place the removed switch cover back on the product.
Fasten the cover with the screw, using a screwdriver that fits the screw as when
removing it. Be careful not to overtighten the screw. Overtightening may damage the
screw threads, causing the screw to turn freely.

(1) (2) (3)

In the case of EN651, EN661.

(1) (2) (3)

Figure 3-1 Switch Setting Method

14 model 2000 Ethernet Module Operation Manual


3.1 Switch Setting

3.1.2 Host ID setting switches (HOST-ID)


The product has in it the hexadecimal rotary switches that are used to set a host ID to
determine an IP address on the Ethernet. Set a host ID in the range of 1 to 126 allocated
to a system during the process of its building, using HEX (hexadecimal) code. Allocate
different from others in value to each of the nodes in the system. (See Appendix D
Decimal-hexadecimal Conversion Table.)
Use a small screwdriver for setting them.
3
Table 3-1 Host ID Setting
Name Location Setting Default (before shipment)
Host ID H Set value: 01 to 7E (h) 01 (h)
L H (High address): 0 to 7 (h) or a value determined for
L (Low address): 0 to F (h) the system

Note: (h) means hexadecimal

01 2 01 2
Set a host ID in HEX (hexadecimal code).
EF EF If the address is 28, for example, it corresponds to
3456
CD

3456
CD

H L
1C in hexadecimals.
AB

AB

789 789
Therefore, set the H rotary switch to 1 and the L to
C.
Class C (general) corresponds to 172.16.64.28 in
this example.

Figure 3-2 Host ID Setting

6F8C0879 15
Chapter 3 Setting

3.1.3 Operation mode setting switches (MODE)


The product has in it the 8-bit DIP switches that determine EN6 module operation. Use a
small screwdriver for their setting.
Each of these switches is described in Table 3-2.
Table 3-2 Operation Mode Setting Table (EN611, EN621, EN631, EN641)
Default
3 Switch No. Name Function Setting (Before
shipment)
1 M0 Operation mode M1 M0 Operation M1=off

off off Normal M0=off


2 M1 off on Reserve (Normal setting)
on off Download
on on Test program
3 SL RS-232C function on : Debugger, off : Tool off
selection
4 GW Relay function (future) on : Provided, off : None off
5 S0 Spare 0 Unused off
6 IPF IP address restriction on : Free, off : Restricted off
(Note)
7 IP0 IP address type IP1 IP0 Operation IP1=off

off off Class B (General) IP0=off


8 IP1 off on Reserve (Class B
setting)
on off TOSDIC-CIE 1200
on on Set from tool

Note: This mode is valid for EN611 and EN631 only. (Not applicable to EN621 and
EN641 dual systems. If this mode is used, it is valid for line A only, provided that
a single socket interface is employed.)

16 model 2000 Ethernet Module Operation Manual


3.1 Switch Setting

There are two 4-bit DIP switches in the front and side panel of EN651 and EN661. Each
of switches for EN651 and EN661 is described in Table 3-3

Table 3-3 Operation Mode Setting Table (EN651, EN661)


Default
Switch No. Name Function Setting (Before
shipment)
Front 1 DL Download on:Download off 3
Panel 2 IPF IP address restriction on : Free, off : Restricted off
(Note)
3 IP0 IP address type IP1 IP0 Operation IP1=off

off off Class B (General) IP0=off


off on Reserve (Class B
setting)
4 IP1 on off TOSDIC-CIE 1200
on on Set from tool
Side 1 M0 Operation mode M1 M0 Operation M1=off
Panel
off off Normal M0=off
off on Reserve (Normal setting)
2 M1 on off Reserve
on on Memory clearance
3 SEL Spare 0 Reserve
4 GW Relay function (future) on : Provided, off : None

Note: This mode is valid for EN651 only. (Not applicable to EN661 dual systems. If this
mode is used, it is valid for line A only, provided that a single socket interface is
employed.)

Table 3-4 Operation Mode Setting Table (EN651A)


Default
Switch No. Name Function Setting (Before
shipment)
1 M0 Operation mode M1 M0 Operation M1=off

off off Normal M0=off


off on Download (Normal setting)
2 M1 on off Test program
on on Reserve
3 SL Debug on : WDT invalid, off : WDT valid off
4 GW Relay function (future) on : Provided, off : None off
5 S0 Spare 0 Unused off
6 IPF IP address restriction on : Free, off : Restricted off
7 IP0 IP address type IP1 IP0 Operation IP1=off

off off Class B (General) IP0=off


off on Reserve (Class B
setting)
8 IP1 on off TOSDIC-CIE 1200
on on Set from tool

6F8C0879 17
Chapter 3 Setting

Operation Mode
• Normal: The EN6 module is operated in standard condition.
• Download: Used for downloading firmware to the EN6 module program ROM
(flash PROM). This mode is set in upgrading the firmware version.
• Test Program: Used for operating the test program. Never use this mode.

3
IP Address Type
• Class B (General): Used for connecting an Ethernet of integrated controllers or a
general Ethernet.
• TOSDIC-CIE 1200: Used for connecting a TOSDIC-CIE 1200 Ethernet. (The system
operates according to the data set in the flash PROM.)
• Setting from Tool: Used for operating the EN6 modules with the network
parameters set from the Engineering tool.

operation mode setting switches

Station address (host ID) setting


switches

In the case of EN651, EN661.

Figure 3-3 Locations of Switches (EN611 to EN641, EN651, EN661)

18 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

3.2 Network Parameter Setting


Set network parameters using the operation mode setting switches and host ID setting
switches.
For the switch setting procedures, refer to Table 3-1, Table 3-2 , Table 3-3 , and Table 3-
4.
Set the following network parameters on the EN6 module.
• IP address type
3
• Host ID
• Multicast address group
Be sure to set an IP address type and a host ID. Set a multicast address group in case of
using multicast transmission.
There are two IP address types, Class B (general) and CIEMAC 1200, in the EN6
module, but an arbitrary type can also be set using the Engineering Tool.
If controllers are dualized, register both parameters of primary and secondary controller
from configuration editor of engineering tool. Selection of primary and secondary is
performed on "comm. partner" of parameter setting window. (Refer to 3.2.4 Setting with
Engineering tool (4).)

6F8C0879 19
Chapter 3 Setting

IP address setting
Set network parameters by the kink of IP address used. Setting procedures are as
follows.

Start

Use dual network.


3 Single network is
used.
N

Y
Go to (1)
Use default IP address of
N EN module.
Free IP address
is used.

Integrated controller N
Y
standard setting is
used.
Y

Refer to IP address free Refer to class B (integrated Refer to TOSDIC-CIE


setting. controller standard setting). 1200 setting.

(1)

Use default IP address of


N EN module.
Free IP address
is used.

Integrated controller N
Y
standard setting is
used.
Y

Refer arbitrary setting. Refer to class B (integrated Refer to TOSDIC-CIE


controller standard setting). 1200 setting.

20 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

3.2.1 Network ID and subnet mask setting

Class B (General) Setting (Integrated Controller Standard Setting)


Set the IP address type to Class B (general) using the operation mode setting switches.
This is the standard setting for an integrated controller system. This setting is also used
in connecting to a general Ethernet.
Network ID : 172.16.64.xx
(xx means a value representing the positions of the host ID setting 3
switches “1 to 126”)
Subnet mask : 255.255.192.0
In a system of dual bus modules, B-bus network information will be as follows:
Network ID : 172.16.128.xx
(xx means a value representing the positions of the host ID setting
switches “1 to 126”)
Subnet mask :255.255.192.0

TOSDIC-CIE 1200 Setting


Set the IP address type to TOSDIC-CIE 1200 using the operation mode setting switches.
This setting for connection to a TOSDIC-CIE 1200 system.
TOSDIC-CIE 1200 has a redundant 10BASE2 transmission path.
A-bus network ID : 192.00.xx
(xx means a value representing the positions of the host ID setting
switches “1 to 62”)
Subnet mask : 255.255.255.192
B-bus network ID : 192.00.xx+128
(xx means a value representing the positions of the host ID setting
switches “1 to 62”)
Subnet mask : 255.255.255.192

6F8C0879 21
Chapter 3 Setting

Arbitrary setting
Set the IP address type to [Setting from Tool] using the operation mode setting switches.
This enables arbitrary setting with the engineering tool, and the network ID has priority
over the value set with the host ID setting switches. This setting is done with connecting
RS-232C cables to EN6 module.
In using a redundant transmission path after setting the IP address type to [Setting from
Tool], set the subnet mask as follows.
3 Class B: 255.255.192.0
Class C: 255.255.255.192
Set IP addresses for the A-bus with the tool.
In using this setting, connect the system to the network after the setting.

(Ex. 1) Class B
In the case of network ID of 172.20.0.0 and station address (host ID) of 03h, IP
address is as follows. In this example, station address (host ID) range is 1 to 126.
A bus IP address: 172.20.64.3
B bus IP address: 172.20.128.3
The setting range is 172.16.64(128).xx to 172.31.64(128).xx (xx: station address
(host ID)). The third value of IP address is only 64 for A bus and only 128 for B bus.
(In the case of single bus, it is same to A bus IP address.)

(Ex. 2) Class C
In the case of network ID of 192.168.32.0 and station address (host ID) of 03h, IP
address is as follows. In this example, station address (host ID) range is 1 to 62.
A bus IP address: 192.168.32.67 (67 = 64 + 3)
B bus IP address: 192.168.32.131 (131 = 128 + 3)
The setting range is 192.168.0.64(128)+xx to 192.168.255.64(128)+xx (xx: station
address (host ID). The forth value of IP address is 64+xx for A bus and 128+xx for B
bus. (In the case of single bus, it is same to A bus IP address.)
• Download method of [Setting from Tool] mode.
(1) Connect engineering tool to EN6 module.
(Connect RS-232C cable to serial communication port (TOOL) of EN6 module.)
(2) Start up EN6 module in [Class B (General)] mode.
(Class B (General): set address type IP0 and IP1 of operation mode setting
switch to off.)
In this time, it is recommended that station address (host ID) switch is set to
minimum value of primary IP address which is going to set from engineering tool.
This prevents illegal operation at none existing station address "00".
Ex. IP address 172.20.64.22 case
Set station address (host ID) switch to "22".
(3) Display parameter setting window from configuration editor of engineering tool.
Select [comm. partner] (primary / secondary) in the parameter setting window,
and select [Tool (T)] in [View].
(4) Set IP address type, IP address, and subnet mask in the parameter setting
window. Select [Setting from Tool] at IP address type. After setting, save
parameters and register configuration information to engineering tool.
(5) Close parameter setting window and go back to configuration editor, save again.
(6) Download registered network parameters to EN6 module.

22 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(7) After downloading, switch off the base unit connected EN6 module.
(8) Change operation setting switch of EN6 module to [Setting from Tool (arbitrary
setting)]. (Setting from Tool: set address type IP0 and IP1 of operation mode
setting switch to on.

IP address free setting


If IPF ON and IP address type [Setting from Tool] are set using the operation mode 3
switches. IP addresses and subnet masks can be set free.
However, any of the following cannot be used for IP addresses.
• Address starting with 127 (7FH)
• Network address whose all bits are 0’s or 1’s
• Host address whose all bits are 0’s or 1’s
Subnet masks will have a value consisting of consecutive 1’s from the most significant
bit.
Note: IP address free setting is valid for EN611, EN631, EN651, and EN651A only.
(It is not valid for EN621 and EN641 dual systems. If it is used, it is valid for line
A only, provided that a single socket interface is employed.)

3.2.2 Station address (Host ID) setting


Set a host ID with the host ID setting switches.
Any host ID may be set, provided that it is unique in the system. (Host ID = 1 to 126)
Host ID setting range is 01(h) to 7E(h).
If the IP address type is set to [Setting from Tool], however, the network ID has priority
over the value set with the host ID setting switches.
If [Setting from Tool] is selected, set a host ID in decimals.

6F8C0879 23
Chapter 3 Setting

3.2.3 Multicast address summary


The EN6 module supports 15 multicast addresses, which are as shown in the table
below.
Table 3-5 Multicast Address
No. Multicast Address
1 225.224.0.1
3 2 225.224.0.2
3 225.224.0.3
4 225.224.0.4
5 225.224.0.5
6 225.224.0.6
7 225.224.0.7
8 225.224.0.8
9 225.224.0.9
10 225.224.0.10
11 225.224.0.11
12 225.224.0.12
13 225.224.0.13
14 225.224.0.14
15 225.224.0.15

Any of these 15 addresses can be selected and registered per EN611 to EN641 module
as desired. Any15 addresses in all multicast addresses (224.0.0.0 - 239.255.255.255)
can be selected and registered per EN651, EN651A, EN661 module as desired.
Note: Addresses 224.0.0.0 to 239.255.255.255 are restricted in local network usage.
The packets destined to these addresses are not transferred by router. Because
there are some multicast addresses, confirming used addresses is needed.
Use the Engineering tool to register them in the EN6 module.
For how to register them, refer to the description of setting with the Engineering tool.

Figure 3-4 Multicast Group Configuration

24 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

In a multicast system, the controllers can be divided into groups as shown in figure 3-4.
Controllers 1, 2, 4, 5 belong to Group A and controllers 3, 5, 6 to Group B.
If Group A is set to the multicast address of 225.224.0.1 and Group B to the multicast
address of 225.224.0.2, the address 225.224.0.1 is registered in controllers 1, 2, and 4
and the address 225.224.0.2 in controllers 3 and 6, while the addresses 225.224.0.1 and
225.224.0.2 are registered in controller 5, thus grouping the controllers as shown. This
permits delivering a message to all the controllers belonging to the group concerned.

3.2.4 Setting with Engineering tool


3
The Engineering Tool is used for EN6 module setting.

Network Parameter Verification


Set the network to which EN6 modules are connected.
If the IP address type is set to [Setting from Tool], start the Engineering tool and register
network parameters as described below.
For a detailed description of the Engineering tool, refer to its operation manual.
EN6 module engineering is described based on the system configuration shown in figure
3-5.

Figure 3-5 Example of Setting and System Configuration

Check the settings of the following switches before setting the network with the
Engineering tool.
• Check the operation mode switches that they are all in the OFF position.(All OFF in
case of class B)
• Check that the host ID setting switches that the H is set to 1 and the L to 4. (Set to 20
in decimals.)
(1) Then, start the Engineering tool.

6F8C0879 25
Chapter 3 Setting

(2) Start the configuration editor [Hardware Configuration] of controller A.


The screen showing the registered hardware configuration of controller A appears.
For hardware configuration registration, refer to the Engineering tool operation
manual.

(3) The following screen appears when [Edit (E)] [Parameter Setting (P)] is executed
after selecting EN641.

26 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(4) Register parameters according to the system configuration diagram. If the IP


address type is class B, register 172.16.64xx (xx means the host ID, which is 20 in
this example) and the subnet mask of 255.255.192.0.

(5) After registering them, execute [File (F)] [Write (W)].


Then, return to the configuration editor [Hardware Configuration] of controller A, and
execute [File (F)] [Save (S)].
(6) Execute [Display (V)] [Configuration editor (C)] to open the system configuration of
the model 3000 test system with Product View.

6F8C0879 27
Chapter 3 Setting

(7) Open the connecting configuration (LAN configuration) by a double click.

(8) Double-click the No. 1 module name in the system (S) column to open the module
connection screen, and register a module type to connect. In this case, select
EtherLANDouble (Ethernet dual).

28 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(9) Click Connection (C) to register. The registered result is displayed as shown below.

(10)Register LAN (L).


Select the connected LAN in the LAN (L) column, double-click the No. 1 module
name to open the module connection screen, and register a module type to connect.
In this case, select the station (controller A) (Ethernet card for 10BASE2 dual)

6F8C0879 29
Chapter 3 Setting

(11)Click Connection (C) to register. The registered result is displayed as shown below.

(12)Execute [File (F)] [Save (S)] to save the registered information.


(13)Confirm the current EN6 module information.
First, connect the Engineering tool to the serial communication port of the EN6
module (TOOL) and take out the information. Set transmission parameters with
[Open (O)] [Transmission parameter setting (T)] on the configuration editor
[Hardware configuration] screen for controller A. In this case, confirm the information
using the serial communication port.
Select RS232C as means of transmission, specify COM1 (in this case) as the port to
use, register EtherLANDouble (0) as network system; 6 as timeout duration (s);
172.16.64.1 as IP Address. Then click [OK].

30 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(14)After registering the above, confirm that the network information of the corresponding
Ethernet module can be read from the serial communication port (TOOL).
Start the configuration editor [Hardware configuration] for controller A to open the
screen which shows the registered hardware configuration for controller A. Then
select EN641 and execute [Edit (E)] [Parameter setting (P)] to open the following
screen.

(15)When [Tool and Card] is clicked, the network information that the Ethernet module
has is displayed from the serial communication port (TOOL).

6F8C0879 31
Chapter 3 Setting

(16)If the EN6 module information is read out of the serial communication port normally,
confirm that the EN6 module information can be read out through the Ethernet.
To confirm that the information could be read out through the Ethernet, first
disconnect the RS-232C cable.
Make entries on the transmission parameter setting screen for confirmation through
the Ethernet.
Select Ethernet as means of transmission. The other settings need no change
because the settings used in reading the information from the serial communication
3 port are used as they are.
Click [OK].
Start the configuration editor [Hardware configuration] for controller A to open the
screen which shows the registered hardware configuration for controller A. Then
select EN641 and execute [Edit (E)] [Parameter setting (P)] to open the following
screen.
When [Tool and Ether card (B)] is clicked, the network information that the Ethernet
module has is displayed through the Ethernet.

32 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

Network Parameter Setting


The network parameters include IP address, subnet mask and multicast address.
Registered parameters can be downloaded into the Ethernet modules as described
below.
Preparations on the Ethernet module side
Connect the Engineering tool to the serial communication port (TOOL) of the Ethernet
module with the RS-232C cable.
Then, make a setting for verifying the transmission parameter setting screen from the 3
serial communication port (TOOL).
Start the configuration editor [Hardware configuration] for controller A to open the screen
showing the registered hardware configuration of controller A. Select EN641 and
execute [Edit (E)] [Parameter setting (P)] to open the screen below. When [Tool and
Ether card (B)] is clicked, the network information that the Ethernet module has can be
displayed from the serial communication port.

3.2.5 Setting with Engineering Tool 2

Network Parameter Verification


Set the network to which EN6 modules are connected.
(1) Start engineering tool 2 and register an EN6 module from product tree. Select [New
(W)] with selecting the station under the registered system. For system registration,
refer to the Engineering Tool 2 operation manual.

6F8C0879 33
Chapter 3 Setting

(2) Register a unit in the station. Select [New (W)] with selecting the unit under the
registered station.

(3) Register a module in the unit. Select [New (W)] with selecting the module under the
registered unit. Select an EN6 module from module adding dialog.

34 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(4) Select [module parameter] from [file] menu with selecting the added module, the
module parameter window is shown.

6F8C0879 35
Chapter 3 Setting

(5) Register parameters according to the system configuration diagram. If the IP address
type is class B, register 172.16.64.xx (xx means the host ID, which is 20 in this
example) and the subnet mask of 255.255.192.0.

(6) Then, register the network from the product tree. Select [New (W)] with selecting the
network under the registered system.

36 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(7) Select [EtherLAN] from the network adding dialog(if the module is dual bus one,
select [EtherLANDouble]). Select [New (W)] with selecting the module under the
added EtherLAN.

(8) Select the EN6 module which is selected from the module adding dialog, it is
connected to EtherLAN.

6F8C0879 37
Chapter 3 Setting

(9) Confirm the current setting of EN6 module.


First, connect the Engineering Tool 2 to the serial communication port of the EN6
module (TOOL) and take out the setting. Set the transmission parameter from [Tool
(T)][comm param (P)] of the product tree. In this case, confirm the setting using the
serial communication port.
Com. Method: RS-232C, Port: COM1 (specify COM1 (in this case) as the port to
use),Timeout (s): 5.

3 Ethernet, Timeout (s): 3, Local Station Settings: Single (free mode), IP Address:
172.16.64.1. Then, press [OK] button.

38 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

(10)After registering the above, confirm that the network setting of the corresponding
EN6 module can be read from the serial communication port (TOOL). Open the
module parameter window of the registered EN6 module from the product tree.

(11)Click the [Tool and Module], the network setting of the EN6 module is shown.

6F8C0879 39
Chapter 3 Setting

3.2.6 Multicast address setting


(1) In multicast address setting, enter the number of multicast addresses to be registered
first in the item Multicast registering count. (1 in this case)
(2) Register multicast IP addresses. Up to 15 addresses from 224.0.0.0 to
239.255.255.255 can be set. (225.224.0.1 in this case)
Register multicast addresses starting with address 1.

(3) After registering, execute [Download].


(4) After downloading, confirm that the setting has been done normally.
The downloaded network parameters become valid after restarting the EN6 module.

40 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

3.2.7 Settings for multicast routing network


Register the parameters as shown below, when EN6 module is connected to multicast
routing network with multicast router.
(1) Set the IP address mode to free mode.
(2) Set the option switch 1.
(3) Set the multicast TTL.
Above (2) and (3) are explained here. Refer to 3.2.1 Network ID and subnet mask setting 3
(1).
• Setting of the option switch 1
Set the option switch 1 to "ON" from the network parameter window of Engineering
Tool.
• Setting of the multicast TTL
Register the multicast TTL from the network parameter window of Engineering Tool.
The selectable range is from 1 to 64. (Default value is 1.) Multicast TTL should be set
to the value that is at least the number of multicast router existing the route from EN
module to destination node plus 1. The multicast TTL is set to 3 in the network
configuration as follows.

EN
module

Multicast
router

Multicast
router

PC etc.

6F8C0879 41
Chapter 3 Setting

The above setting example of module parameter window is shown below.

42 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

3.2.8 Ethernet link speed and duplex setting


Link speed and duplex are set to "Auto" at initial setting; they are configured properly by
auto-negotiation. But if auto-negotiation is not worked properly, this parameter can fix link
speed and duplex. The configurable pair is as follows. (This parameter is valid for EN651,
EN651A and EN661 only.)
• Auto (default)
• 10M half duplex
3
• 10M full duplex
• 100M half duplex
• 100M full duplex
The setting example of 100M half duplex is shown below.

6F8C0879 43
Chapter 3 Setting

3.2.9 Default gateway IP address (Router IP address) setting


(1) In using the default gateway (router), Set a default gateway IP address (router IP
address).There is only one default gateway IP address that can be set.
The default gateway can be used only if IPF ON and IP address type [Setting from
Tool] are set using the operation mode switches.
The default gateway function is valid for EN611, EN631, EN651, and EN651A only
(invalid for EN621, EN641, and EN661).
3 (2) Register a default gateway IP address having the same value as the network address
part (including the subnet) of the IP address for the EN6 module to be registered. (In
the present case, 192.168.0.**)

An example of setting is shown below.


(In the present case, 192.168.0.10 (subnet mask: 255.255.255.0))

EN611

192.168.0.20

192.168.0.10

Default gateway
(router)

xx.yy.zz.vv

Personal computer,
for example

Figure 3-6 System Configuration of a Default Gateway IP Address Setting Example

44 model 2000 Ethernet Module Operation Manual


3.2 Network Parameter Setting

An example of setting with Engineering Tool is Shown below.

Note: Multicast messages from EN611, EN621, EN631, EN641, EN661 will not be
transmitted beyond the default gateway. And multicast messages from EN651
and EN651A will be same, only if IGMP operation will set to off by option switch 1.

6F8C0879 45
Chapter 4 Installation
and Wiring

Fully read this User's Manual and the Ethernet Installation and Wiring Manual
(6F8C0880) before starting installation and wiring.

Warning
• For safety, be sure to check that the base unit has been switched off before installing EN6
modules in it or removing them from it.
• Do not apply voltages higher than the rated voltage to the +12 VDC power connector (CN2)
(EN611, EN621, EB621)
• For safety, do not touch the insides of the product except for the switches.

Caution
• Make sure that the environment where the product is installed satisfies the product specifica-
tions. In cases where the product is installed in an environment which does not satisfy the
working temperature range, install a cooling unit for forced cooling of the product.
• Be sure to ground Ethernet, segment by segment, by class D grounding. (One point ground-
ing)
• The static charged in the human body may cause the product to fail. Discharge the static
from the human body before starting installation or wiring.
• If the cables are subjected to stress by touching, for example, it may cause malfunction or
accidents. Be careful not to accidentally touch the cables.
• Insert the modular connector fully till it clicks.
• The modular connector is for sending signals through line B in a dual Ethernet transmission
system. Do not connect 10BASE-T by mistake.
• In a dual transmission line configuration, do not make the wrong combination of the main
module (EN621, EN641) and line-B module (EB621, EB641).
• In installing two or more Ethernet modules in the same base unit, be careful not to make a
mistake about the connecting buses and segments.
• When mounting the product into the base unit, be careful not to break or bend the pins of the
bus connectors for the V-series system.
• If it is difficult to install a module in the base unit, do not force it into the base unit. Remove it
once, then try installing it again.
• Use a Phillips screwdriver, which fits the screws. This is important to prevent damage to the
screws.
• In a system of dual transmission line configuration, connect a separate power cable to the 12
VDC power connector CN2 on each module.
• If power cannot be switched on or if other kind of trouble occurs, stop use and contact the
Toshiba service office concerned.
• Verify transmission at the application level using the transmission protocol.
• Make sure that the base unit installed EN651 and EN661 is attached to metallic plate.
• Make sure that the upper side of EN651A module is screwed up by M4 screw.
• If you have any question, contact the Toshiba service office concerned.

6F8C0879 47
Chapter 4 Installation and Wiring

4.1 Installation (Installing in the Base Unit)


To install a module, insert it into the base unit along the module guide from the bottom of
the module as shown in figure 4-1. When it is in the base unit, fasten it with the screws
(M4) on top and bottom of the module.
EN6 module mounting slots
• Station bus 5-slot base unit: Slot Nos. S0 to S4
• Station bus 4-slot base unit: Slot Nos. S0 to S3

4 EB6 module mounting slot


The EB6 module can be mounted not only in a station bus slot but also an I/O slot or any
other slot.

Base unit

EN6 module

Figure 4-1 Mounting Module in Base Unit

48 model 2000 Ethernet Module Operation Manual


4.2 Ethernet Cable Connection

4.2 Ethernet Cable Connection


Connect the Ethernet cables (AUI cable: 10BASE5; 3D-2V: 10BASE2) to the EN6
modules.

4.2.1 10BASE5 (EN611, EN621, EB621)


(1) Push up the slide lock on the Ethernet connector (EN-A or (EN-B) and connect the
AUI cable.
(2) Push the slide lock down to lock the AUI cable.
Check that the AUI cable connector has been fixed by the slide lock. 4
(3) Mount the connector clamp and fasten the AUI cable connector to the EN6 module.
Fasten the connector clamp with two M3 screws, using a Phillips screwdriver.
(4) Clamp the AUI cable.

EN6 module
or
EB6 module

Connector clamp

Ethernet connector
AUI cable (slide lock)
Figure 4-2 Connecting AUI Cable

EN6 module
or
EB6 module

AUI cable
Connector clamp

Figure 4-3 Fastening the Connector with Clamp

6F8C0879 49
Chapter 4 Installation and Wiring

4.2.2 10BASE2 (EN631, EN641, EB641)


(1) Attach the T adaptor to the Ethernet connector (EN-A or EN-B). Turn the T adaptor
ring and check that the it is locked with the Ethernet connector of the EN6 module.
(2) After attaching the T adaptor to the EN6 module, attach the 3D-2V cable or
terminator to the module. Turn the 3D-2V cable BNC connector or terminator and
check that it is locked with the T adaptor.

4 EN6 module
or
EB6 module

Ethernet connector

T adaptor

Figure 4-4 Mounting T Adaptor

EN6 module
Ring or
EB6 module

T adaptor
(Ethernet connector)
3D-2V cable

Figure 4-5 Connecting 3D-2V Cable

50 model 2000 Ethernet Module Operation Manual


4.2 Ethernet Cable Connection

4.2.3 100BASE-TX/10BASE-T (EN651, EN651A, EN661)


Connect the category 5 twisted pair cable to an Ethernet connector (EN-A or EN-B).
(Exercise care about the direction of the connector tab.) After inserting the cable into the
connector, check that it is locked.

EN6 module

4
Ethernet connector

Figure 4-6 Connecting Category 5 Twisted Pair Cable

6F8C0879 51
Chapter 4 Installation and Wiring

4.3 Drop Cable Connection for Line B Modules

Warning
• Do not connect the 10BASE-T or other interface to the modular connector by mistake. Oth-
erwise, it may cause not only product trouble but also smoke and a fire.

Use the following combinations of modules in an Ethernet system of dual transmission


4 line configuration.
• 10BASE5: EN621 (main module) + EB621 (line-B module)
• 10BASE2: EN641 (main module) + EB641 (line-B module)
Connect a main module to a line B module with a twisted pair cable. Do not combine
modules other than specified above.
(1) Connect a twisted pair cable to the line-B module drop cable connector (CN1) on the
line-B module. The twisted pair cable connector is an 8P modular connector.
(2) Connect the twisted pair cable from the line-B module to the line-B module drop
cable connector (CN1) on the main module.
(3) Insert the module connector fully till it clicks and check that the connector has been
locked.

EN6 module
or
EB6 module

Drop cable connector


Drop cable for for line-B module
line-B module (CN1)
・ Standard: 70 mm
・ Maximum: 3 m
Figure 4-7 Line-B Module Drop Cable Connection

52 model 2000 Ethernet Module Operation Manual


4.4 Serial Communication Port (RS-232C) Cable Connection

4.4 Serial Communication Port (RS-232C) Cable Connection


In program downloading or maintenance, communication with the tool is possible using
the serial communication port (TOOL).
The RS-232C cable connector is the 9-pin D-sub socket type.

EN6 module

4
Serial communication port
(TOOL)

RS-232C
cable

Figure 4-8 Connecting Serial Communication Port

6F8C0879 53
Chapter 4 Installation and Wiring

4.5 12 VDC Power Cable Connection

Warning
• Be sure to use the special +12 VDC power cable supplied with the product.
• Make sure of the polarities in connecting the +12 VDC power cable. Otherwise, it may
cause not only product trouble, but smoke and a fire.
• Do not apply 100 VAC to the +12 VDC power cable by mistake. Otherwise, it may cause
4 smoke or a fire.

Caution
• Use a separate power source to supply power to the 12 VDC power connector CN2 on each
Ethernet module. In cases where it is not possible to use separate power sources, wire the
power cable in such a way that each Ethernet module can be separately switched off.
• Use a +12 VDC power supply with a protective circuit.

The EN611, EN621 or EB621 receives an external +12 VDC for AUI transceivers at its
connector CN2 through the +12 V power cable.
The +12 VDC power cable has a crimp terminal 3 mm in diameter. Connect it to the +12
VDC power supply.
Applicable models: EN611, EN621, EB621

EN6
or
EB6 module

+12 VDC
power cable 2P connector (CN2)
for receiving
+12 VDC
・ 12 Vdc
・0V

Figure 4-9 Connecting +12 VDC Power Cable

54 model 2000 Ethernet Module Operation Manual


4.6 Module Replacement

4.6 Module Replacement

Caution
• Before replacing a module, switch off the base unit and the +12 VDC power supply, and
make sure that power is off.

When changing the switch settings on a module or when it has failed, replace the module 4
4.6.1 10BASE5 (EN611, EN621, EB621)
(1) Switch off the base unit and the +12 VDC power supply. Check the LED indications
to make sure that the power is off.
(2) Disconnect the +12 VDC power cable from the connector CN2 on the EN6 or EB6
module to be replaced.
(3) Remove the two M3 screws on the connector clamp that fastens the AUI cable
connector, using a Phillips screwdriver.
(4) Push up the slide lock to unlock the D-sub connector to which the AUI cable is
connected, then disconnect the AUI cable.
If a double Ethernet module (EN621) is used, disconnect the AUI cables from both
buses A and B.
(5) If an Ethernet module (EN621/EB621) for dual line configuration is used, disconnect
the modular connector CN1 on the module to be replaced.
(6) Set the switches on the new EN6 in the same way as those on the removed EN6.
(No switch setting is necessary on the EB6.)
(7) After installing the new EN6 or EB6 in the base unit, connect the cable to it. For how
to install new EN6 and EB6 modules, refer to [4.2 Ethernet Cable Connection] and
[4.5 12 VDC Power Cable Connection] in the preceding section on installation.
(8) It is necessary that network parameters are downloaded, when [Setting from Tool] is
used or multicast address setting is done. Download the parameters with connecting
Engineering Tool to serial communication port (Tool) of EN6 module. (Download form
Ethernet is not possible before downloading the parameters.)
(9) After downloading, switch off the base unit connected EN6 module again.
(10)Confirming the base units power is off, connect cables.

6F8C0879 55
Chapter 4 Installation and Wiring

Module guide for


base unit

EN6 module

Slide lock

Base unit
4
Remove it after checking
AUI cable
that unit power is off.
(Push up slide lock to
disconnect the cable.) Disconnect +12 V power
cable after switching
power off.

Figure 4-10 Replacing 10BASE5 Modules (EN611, EN621,EB621)

4.6.2 10BASE2 (EN631, EN641, EB641)

CAUTION
• When replacing a 10BASE2 module (EN631 or EN641), do not disconnect the 10BASE2
cable (3D-2V) from the T-adapter. If it is disconnected, the trunk line of the surveillance and
control network will be disconnected, causing an transmission error.

(1) Switch off the base unit. Check the LED indications to make sure that the power is
off.
Turn the T-adapter on the EN6 module counterclockwise to unlock it, then remove it.
Never disconnect the 10BASE2 cable (3D-2V) cable from the T-adapter.
If a dual Ethernet module (EN621) is used, disconnect the T-adapters for both buses
A and B.
(2) If an Ethernet module (EN641/EB641) for dual line configuration is used, disconnect
the modular connector CN1 on the module to be replaced.
(3) Loosen the M4 screws on top and bottom of the module, using a Phillips screwdriver,
and remove the module along the module guide of the base unit.
(4) Set the switches on the new EN6 in the same way as those on the removed EN6.
(No switch setting is necessary on the EB6.)
(5) After installing the new EN6 or EB6 in the base unit, connect the 10BASE2 cable to it.
For how to install new EN6 and EB6 modules, refer to [4.2 Ethernet Cable
Connection] in the preceding section on installation.
(6) It is necessary that network parameters are downloaded, when [Setting from Tool] is
used or multicast address setting is done. Download the parameters with connecting
Engineering Tool to serial communication port (Tool) of EN6 module. (Download form
Ethernet is not possible before downloading the parameters.)

56 model 2000 Ethernet Module Operation Manual


4.6 Module Replacement

(7) After downloading, switch off the base unit connected EN6 module again.
(8) Confirming the base units power is off, connect cables.

Base unit module guide

Base unit
4

EN6 module
3D-2V cable
Remove it after checking
that unit power is off.
Turn T-adapter ring
counterclockwise and
remove T-adapter.
Do not disconnect 3D-2V
cable from T-adapter.

Figure 4-11 Replacing 10BASE2 Modules (EN631, EN641,EB641)

4.6.3 100BASE-TX/10BASE-T (EN651, EN651A, EN661)


(1) Switch off the base unit. Check the LED to make sure that its power has been cut off.
Hold down the tab of the modular connector connected to the module, and
disconnect the category 5 twisted pair cable. If you are using a dual Ethernet module
system (EN661), disconnect the same form both lines A and B.
(2) Loosen the M4 screws on top and bottom of the module with a Phillips screwdriver,
and remove the module along the module guide of the base unit.
(3) Set the switches on a new module in the same way as those on the removed module.
(4) Install the new module in the base unit and connect the category 5 twisted pair cable
to it. For how to install a new module, refer to the instructions for Ethernet cable
connection described in the preceding section on installation.
(5) It is necessary that network parameters are downloaded, when [Setting from Tool] is
used or multicast address setting is done. Download the parameters with connecting
Engineering Tool to serial communication port (Tool) of EN6 module. (Download form
Ethernet is not possible before downloading the parameters.)
(6) After downloading, switch off the base unit connected EN6 module again.

6F8C0879 57
Chapter 4 Installation and Wiring

(7) Confirming the base units power is off, connect cables.

Base unit module guide

Base unit

4 EN6 module
Remove it after
checking that unit power
is off.

Figure 4-12 Replacing 100BASE-TX/10BASE-T Modules (EN651, EN651A, EN661)

58 model 2000 Ethernet Module Operation Manual


Chapter 5 Operation

The switches on the product have already been set to suit the system during local
adjustment. To ensure normal operation, do not change the settings except for the
switches that are necessary for you to operate.

Caution
• Wrong switch settings prevent the product from normal operation. Carefully read this Opera-
tion Manual and make sure never to set the switches wrong.
• If power cannot be switched on or if other kind of trouble occurs, stop use and contact the
Toshiba service office concerned.
• If you have any question, contact the Toshiba service office concerned.

6F8C0879 59
Chapter 5 Operation

5.1 Check Before Operation


Before switching power on and starting the product, check the switch settings, installation
and wiring again that they conform to the instructions given in this Operation Manual and
the Manual for Monitoring and Control Network Installation and Wiring (6F8C0880).
If any error is found, correct it according to these manuals.
(1) Checking the switch settings: Check the switch settings using the Engineering tool.
(Host ID setting switches, operation mode setting switches)
(2) Installation check: Check the installation, referring to the Manual for Monitoring and
Control Network Installation and Wiring.
(3) Wiring check: Check the wiring, referring to the Manual for Monitoring and Control
Network Installation and Wiring.

5
5.2 Starting
The system starts operating automatically when power is switched on.
When the EN6 modules start, check that they are operating normally, referring to Table
2-1 (page 10) in Chapter 2.
If the modules fail to start, or if their operation is not normal, stop use and contact the
nearest Toshiba service office.

5.3 Stopping
The system stops when power is switched off.

60 model 2000 Ethernet Module Operation Manual


Chapter 6 Maintenance and
Inspection

Maintenance and inspection covers daily inspection, periodic inspection, and cleaning.

Warning
• For safety, do not touch the insides of the product.

Caution
• The static charged in the human body may cause the product to fail. Before touching the
product as in cleaning it, discharge the static from the human body.
• When cleaning the product, be careful not to change the switch settings of the product. Also
take care not to subject the cables, etc. to stress.
• If the cables, etc. are subjected to stress by touch, for example, it may cause the product to
malfunction or other trouble.
• If power cannot be switched on or if other kind of trouble occurs, stop use and contact the
Toshiba service office concerned.
• If you have any question, contact the Toshiba service office concerned.

6F8C0879 61
Chapter 6 Maintenance and Inspection

6.1 Inspection
6.1.1 Daily inspection
Take the following steps in daily inspection.

Front Panel
(1) LED
Check each LED that it is not difficult to see. If it is, clean it with a soft cloth.
Exercise care not to change the switch positions.
(2) Ethernet connector
Check the connector that it is connected as specified in the Manual for Monitoring
and Control Network Installation and Wiring (6F8C0880) and that the cable
connection is normal.
(a) EN611, EN621, EB621 (10BASE5)

6 Check the slide lock that it is tight.


Check that the cable is not about to come off and that it appears normal.
Also check that the cable is fastened with the connector clamp.
Check that the wiring is as specified in the Manual for Monitoring and Control
Network Installation and Wiring as to bends, radius, route, etc.
(b) EN631, EN641, EB641 (10BASE2)
Check that the BNC connectors are locked. Also check that the cables are not
about to be disconnected and that they appear normal. Check that the wiring is
as specified in the Ethernet Installation and Wiring Manual. If anything
abnormal is found with bending radius, cable routes, etc., contact the TOSHIBA
service office concerned.
(c) EN651, EN651A, EN661
Check that the modular connector is locked.
Check that the cable is not about to come out and that the module has nothing
wrong in its outward appearance. Also check that it has been wired as
described in the Installation and Wiring Manual. (as to bending radius, route,
etc.)

Ventilation holes
Check the front panel and top of the product that the ventilation holes are free of dust and
dirt. If the ventilation holes are clogged up with dust or dirt, remove it with a vacuum
cleaner, for example, then clean them with a soft cloth.

Indoor environment
Check the place where the product is installed that its temperature and humidity meet the
specified temperature and humidity ranges of the product (Table A-1, page 79)

62 model 2000 Ethernet Module Operation Manual


6.1 Inspection

6.1.2 Periodic inspection


To prevent accidents and ensure safe operation over a long period of time, a periodic
inspection of at least once a year is recommended.
It is also recommended that expendable parts be replaced periodically.
(See the section on expendable parts.)
For periodic inspection, consult the Toshiba service office concerned.

6F8C0879 63
Chapter 6 Maintenance and Inspection

6.2 Troubleshooting
If the LEDs that indicate the status of the product show other than the normal indications
specified in Table 2-1 (page 10) in Chapter 2, or if an error is detected at a human
interface station, stop using the product and contact the nearest Toshiba service office
concerned.
For troubleshooting with the LEDs, see [Table 6-1 Troubleshooting with LEDs Item].
For how to read RAS data, system logs, etc., refer to the Operation Manual for the
Engineering Tool.
Table 6-1 Troubleshooting with LEDs Item
LED indication
Item Status Step to be taken
RUN HLTH L-A L-B
Normal ON ON Blink or ON Blink or ON Normal –
operation
WDT Blink ON Blink or ON Blink or ON Wrong setting Enable WDT with

6 inhibit internal jumper pin.


Contact Toshiba
service office
concerned.
Down OFF OFF – – Module faulty Replace module.
Contact Toshiba
service office
concerned.

Note: The memory backup time of the Ethernet module varies depending on the ambi-
ent module temperature as follows:
EN611, EN621, EN631, EN641: 24 hours or more (at 25 oC)
EN651, EN661: 7 hours or more (at 25 oC)
EN651A: 20 hours or more (at 25 oC)
Because the information may become lost if power is switched off for a long time, collect
it as soon as possible using the Engineering tool or general-purpose serial
communication software (Hyper Terminal, an accessory to Windows, for example)
If you can not read data normally by serial communication, read back again.
In that case the log about serial communication may be traced.
Remember, however, that the backed up information is RAS data, system log, etc., and
does not include control data. Therefore, operation at restart will not be adversely
affected.

64 model 2000 Ethernet Module Operation Manual


6.3 Expendable Parts

6.3 Expendable Parts


To ensure safe use of the product for a long period of time to come, it is necessary to
periodically replace expendable parts.For their replacement, contact the Toshiba service
office concerned.
Table 6-2, page 65 shows the expendable parts and their replacement intervals.
Table 6-2 Expendable Parts and Recommended Replacement Intervals
Parts Recommended replacement intervals
Aluminum electrolytic capacitor 10 years
Organic semiconductor aluminum solid 15 years
electrolytic capacitor
Electric double-layer capacitor 10 years
Fuse (mounted on circuit board) 10 years
Photocoupler 20 years
Switch, connector Sampling is recommended every 10 years for
preventive maintenance.
6

6F8C0879 65
Chapter 7 Application Interface

The EN6 modules provide status information on each of the sockets used by a user
application and diagnostic information on the transmission lines connected to the EN6
modules in the network through the station bus. Information on each socket comes in two
types: single Ethernet socket information and dual Ethernet socket information. (If the
dual Ethernet modules - EN621, EN641, EN661 - are used with single Ethernet sockets,
refer to single Ethernet socket information.) Addresses are different on the station bus
through which each block of status information is provided.
Application information on the station bus has the structure shown below.

Access from S/L controller


System reserve
EN state information
(%NW13. CntBase + 130656)
Dual Ethernet EN_SOCKET2_*
socket information (%NW13. CntBase + 130784)
Transmission diagnosis EN_NODEMAPA_*
result (Line A) (%NW13. CntBase + 130912)
Transmission diagnosis EN_NODEMAPB_*
result (Line B) (%NW13. CntBase + 130928)
Single Ethernet EN_SOCKET_*
socket information (%NW13. CntBase + 130944)
System reserve

Note: EN state information is valid on EN651, EN651A, EN661 only.

The user application of the S/L controller refers to socket information on the basis of
access from the S/L controller. It is expressed in words. CntBase varies in value
depending on the slot where an EN6 module is installed. Mounting slot values are shown
in a later item.
The number of sockets user can use are as follows.
EN611, EN621, EN631, EN641 : 24
EN651, EN651A, EN661: 48
Above the numbers are on single socket interface. They become half on dual socket
interface.
Note: It is prohibited to use single and dual socket interface at the same time.

6F8C0879 67
Chapter 7 Application Interface

7.1 Socket Information


7.1.1 Structure of single Ethernet socket information
Status information on each single Ethernet socket is shown in figure 7-1.

F E D C B A 9 8 0
TCP UDP AOP POP CON RCV RCL reserve

Figure 7-1 Status Information on Each Single Ethernet Socket

Conditions where each of the following bits takes the value "1"
TCP: Single Ethernet socket TCP used
UDP: Single Ethernet socket UDP used
AOP: Single Ethernet socket active open (TCP only)
POP: Single Ethernet socket passive open (TCP only)
CON: Single Ethernet being connected (TCP only)

7 RCV: Data received


RCL: Single Ethernet cut by opposite station during connection process (TCP only)

Conditions where each of the following bits takes the value "0"
TCP: Single Ethernet socket close requested
UDP: Single Ethernet socket close requested
AOP: Single Ethernet socket close requested
POP: Single Ethernet socket close requested
CON: Single Ethernet socket close requested or disconnected by opposite station
RCV: No data received
RCL: Single Ethernet socket close requested

68 model 2000 Ethernet Module Operation Manual


7.1 Socket Information

The station bus addresses to which single Ethernet socket information is supplied are
shown in word addresses.

Word offset
Socket 0 130944
Socket 1 130945
Socket 2 130946
.
.
Socket 46 130990
Socket 47 130991

The station bus base addresses vary depending on the slot where an EN6 module is
installed. The top word addresses of single Ethernet socket information in cases where
an EN6 module is installed in each slot are shown below.

Base Address Top of Single Ethernet Symbol name on


(CntBase) Socket Information Engineering Tool 7
Slot 0 0 %MW13.130944 EN_SOCKET_0
Slot 1 524288 %MW13.655232 EN_SOCKET_1
Slot 2 1048576 %MW13.1179520 EN_SOCKET_2
Slot 3 1572864 %MW13.1703808 EN_SOCKET_3
Slot 4 2097152 %MW13.2228096 EN_SOCKET_4
Slot 5 2621440 %MW13.2752384 EN_SOCKET_5
Slot 6 3145728 %MW13.3276672 EN_SOCKET_6
Slot 7 3670016 %MW13.3800960 EN_SOCKET_7

6F8C0879 69
Chapter 7 Application Interface

7.1.2 Structure of dual Ethernet socket information


Status information on each dual Ethernet socket is shown in figure 7-2.

F E D C B A 9 8 0
TCP UDP AOP POP CON RCV RCL reserve

Figure 7-2 Status Information on Each Dual Ethernet Socket

Conditions where each of the following bits takes the value "1"
TCP: Dual Ethernet socket TCP used
UDP: Dual Ethernet socket UDP used
AOP: Dual Ethernet socket active open (TCP only)
POP: Dual Ethernet socket passive open (TCP only)
CON: Dual Ethernet being connected (TCP only)
RCV: Data received
RCL: Disconnected by opposite station during connection process (TCP only)

7 Conditions where each of the following bits takes the value "0"
TCP: Dual Ethernet socket close requested
UDP: Dual Ethernet socket close requested
AOP: Dual Ethernet socket close requested
POP: Dual Ethernet socket close requested
CON: Dual Ethernet socket close requested or disconnected by opposite station
RCV: No data received
RCL: Socket close requested

70 model 2000 Ethernet Module Operation Manual


7.1 Socket Information

The station bus addresses to which dual Ethernet socket information is supplied are
shown in word addresses.

Word offset
Socket 0 130784
Socket 1 130785
Socket 2 130786
.
.
Socket 22 130806
Socket 23 130807

The station bus base addresses vary depending on the slot where an EN6 module is
installed. The top word addresses of dual Ethernet socket information in cases where an
EN6 module is installed in each slot are shown below.

Base Address
Top of Dual Ethernet Symbol name on 7
Socket Information Engineering Tool
Slot 0 0 %MW13.130784 EN_SOCKET2_0
Slot 1 524288 %MW13.655072 EN_SOCKET2_1
Slot 2 1048576 %MW13.1179360 EN_SOCKET2_2
Slot 3 1572864 %MW13.1703648 EN_SOCKET2_3
Slot 4 2097152 %MW13.2227936 EN_SOCKET2_4
Slot 5 2621440 %MW13.2752224 EN_SOCKET2_5
Slot 6 3145728 %MW13.3276512 EN_SOCKET2_6
Slot 7 3670016 %MW13.3800800 EN_SOCKET2_7

7.1.3 Socket information reference method


As described in item 7.1.1, the station bus of an EN6 module carries information on each
of the sockets used by each user application. There are some points requiring attention
in accessing socket information.
In socket communication using instructions with the S/L module, a socket number is
acquired from Instruction USEND_T. Since this socket number is managed by the S/L
module, it must be converted into the socket ID managed by the EN6 module.
Information on each socket provided by the EN module through the station bus is
referred to on the basis of the converted socket ID.
For a detailed description of communication FB, refer to the Instruction Manual for the S
and L Controllers (6F8C0865, second and newer editions).

6F8C0879 71
Chapter 7 Application Interface

7.1.4 Socket information generation timing


A timing chart for setting and clearing information on each socket is shown below,
provided that it is opened by TCP/IP and closed after sending/receiving data.

Socket information

Active (Client) Passive (Server)

(Note: The server first sends an open request

to be ready for a connection request TCP open request


from the client)
(Command:35H, kind=2)

socket (*1)
<TCP>=1
TCP open request bind
(Command:35H, kind=1)
listen
socket
7 <TCP>=1
select
bind

connect accept (New socket generated)


<AOP>=1,<CON>=1 <TCP>=1,<POP>=1,<CON>=1
(Note: The socket generated by *1

is closed by instruction)

TCP send request (Data received)


(Command:37H) <RCV>=1
TCP receive request
(Command:38H)

recv
<RCV>=0
(Note: RCV ON if data is received,

OFF if no data is received

TCP close request


(Command:39H)
shutdown
(Remote close detected)
<RCL>=1, <CON>=0
close
All bits=0 TCP close request
(Command:39H)
shutdown

close
All bits=0

Note: When a running controller is halted (RUN -> HALT), the controller basic software
requests the socket used by the controller to be closed.

72 model 2000 Ethernet Module Operation Manual


7.1 Socket Information

A timing chart of setting and clearing each bit of socket information is shown below.

Socket information

Passive

<TCP>

<AOP>

<POP>

<CON>

<RCV>

<RCL>
7
Open Receive Close
request request request

accept

connect

Open Send Close


request request request

Active

<TCP>

<AOP>

<POP>

<CON>

<RCV>

<RCL>

6F8C0879 73
Chapter 7 Application Interface

7.2 Transmission Line Diagnosis Information


The EN6 modules mutually monitor the operation of themselves in the same segment.
A diagnostic frame is sent from one EN6 module to another in the same segment at
constant intervals of 10 seconds through Port No. 48000, and the reception of the frame
is mutually acknowledged. When the frame is received from a node, the bit of that node is
set to "1"; if no diagnostic frame is received for 60 consecutive seconds from that time,
the bit of that node is set to "0".
Information on each node has the structure shown below, and is created on the basis of
the station address (host ID) part of an IP address. (If the address is 172.16.64.11, for
example, the number 11 is applicable.)
Note: Transmission line diagnosis information function is not worked in default at IP
address free setting. It works to set option switch 0 to "on" on Engineering Tool.

7.2.1 Transmission line diagnosis information structure


Transmission line diagnosis information is managed in the structure shown below.
A diagnostic frame has been received within about 60 seconds if the corresponding bit is
"1"; no diagnostic frame has been received for 60 consecutive seconds if it is "0".
7
F E D 3 2 1 0
ST15 ST14 ST13 ・ ・ ・ ST3 ST2 ST1 ST0
ST31 ST30 ST29 ・ ・ ・ ST19 ST18 ST17 ST16

・ ・ ・

ST255 ST254 ST253 ・ ・ ・ ST243 ST242 ST241 ST240

Transmission line diagnosis information on a dual transmission line system covers both
Lines A and B.
If stations are of a dual configuration, diagnostic processing takes place in the EN6
modules of both online and standby systems to verify transmission line compatibility.
Even if there is a station changeover between the online and standby systems, node
diagnosis continues.

74 model 2000 Ethernet Module Operation Manual


7.2 Transmission Line Diagnosis Information

7.2.2 Transmission diagnosis information reference method


Transmission line diagnosis information covers Line A only if the transmission line is of a
single configuration; or both Lines A and B if it is of a dual configuration.

Transmission line diagnosis information address

Word offset
Line A information 130912 - 130927
Line B information 130928 - 130943

Base addresses of individual slots and addresses of module slots for socket 0
information

Symbol name on
Base Address Top of Line A Information
Engineering Tool
Slot 0 0 %MW13.130912 EN_NODEMAPA_0
Slot 1 524288 %MW13.655200 EN_NODEMAPA_1
Slot 2 1048576 %MW13.1179488 EN_NODEMAPA_2
Slot 3 1572864 %MW13.1703776 EN_NODEMAPA_3 7
Slot 4 2097152 %MW13.2228064 EN_NODEMAPA_4
Slot 5 2621440 %MW13.2752352 EN_NODEMAPA_5
Slot 6 3145728 %MW13.3276640 EN_NODEMAPA_6
Slot 7 3670016 %MW13.3800928 EN_NODEMAPA_7

6F8C0879 75
Chapter 7 Application Interface

7.2.3 Transmission line diagnostic frame structure


The transmission line diagnostic frame sent from the EN6 module is as specified below.

Transmission interval: 10 seconds


Protocol: UDP
Destination address: Subnet broadcast
Example: In case of172.16.64.xx, subnet mask: 255.255.192.0
Line A: 172.16.127.255
Line B: 172.16.191.255
Destination port: 48000
Message size: 1036 bytes
Message format

offset <31> <0> Remarks


00h Service 0: Single transmission line
1: Dual transmission line

7 04H
08H
InvokeID
Size
(Note2)
1024 fixed
1036bytes 0CH IP address (Note3) Line A IP address(Little Endian)
(40CH)
10H data (Note4)
.
.
.
408H

Note: This format does not include the protocal header of UDP, IP, etc.

Note1: EN611, EN631: 0; EN621, EN641: 1


(Do not set other values than the above.)
Note2: <31> to <16>: Reserved <15> to <0>: Sequence Nos. (0 to 1023) <31> to <16>:
Set 0
(Do not set other values than the above.)
Note3: Any data permissible from computers
The EN module sets the IP address of Line A with (Little Endian) and sends it.
Note4: Any data permissible from computers
The EN module sets and sends information on the installed controllers.

The EN modules sends a diagnosis message to each other every 10 seconds for
diagnosis.
Computers can also be added as objects of diagnosis by sending a diagnosis message
using an application. (A dual-line network sends a message of the same content to both
lines A and B every 10 seconds.) Observe the message transmission interval of 10
second. A shorter interval will increase network traffic, while a longer interval may result
in receiving no diagnostic frame.
Each transmission line will be diagnosed normal when data is received from Line A/B.
Thus, whether data is received or not is the basis of judging a transmission line normal or
otherwise. In sending a diagnostic frame, be sure to observe the format mentioned.

76 model 2000 Ethernet Module Operation Manual


7.3 EN module state information

7.3 EN module state information


EN module state information is the RAS information like transmission request counter
from host module (S controller, L controller and so on), transmission and receive packet
counter in the EN module, transmission buffer counter, etc. This information is deployed
on the station bus. Refresh cycle is 10 seconds.

Offset (byte) Contents


+00H Unicast packet transmission request counter from host module
(Station bus driver task level)
+04H Multicast packet transmission request counter from host module
(Station bus driver task level)
+08H Broadcast packet transmission request counter from host module
(Station bus driver task level)
+0CH Unicast packet transmission request counter from host module
(Communication processing task level)
+10H Multicast packet transmission request counter from host module
(Communication processing task level)
+14H Broadcast packet transmission request counter from host module

+18H
(Communication processing task level)
Normal transmission request to Ethernet controller
7
(Ethernet driver level)
+1CH Illegal transmission request to Ethernet controller
(Ethernet driver level)
+20H Unicast packet receive counter (IP layer)
+24H Multicast packet receive counter (IP layer)
+28H Broadcast packet receive counter (IP layer)
+2CH Discard packet counter (IP layer)
+30H Normal Ethernet buffer allocation counter
+34H Illegal Ethernet buffer allocation counter
+38H Remaining Ethernet buffer count

6F8C0879 77
Chapter 7 Application Interface

7.4 Restrictions on Use


7.4.1 Restrictions on port numbers
Be careful not to use the following ports for EN6 modules because they are reserved for
system use.
Port No. 10000: PCMP
Port No. 48000: Transmission line diagnosis
Use other ports No. 1024 to No. 65535.

7.4.2 Restrictions on single Ethernet sockets and dual Ethernet sockets


Be careful not to use single Ethernet and dual Ethernet sockets in the same Ethernet
module.

78 model 2000 Ethernet Module Operation Manual


Appendix A Specifications

A.1 General Specifications

Table A-1 General Specifications (EN611, EN621, EN631, EN641, EB621, EB641)
Specifications
Item
EN611 EN621 EN631 EN641 EB621 EB641
Working temperature range 0 to 55oC
(Product ambient temperature)
Working humidity range 10 to 95% RH (No condensation)
Storage temperature range -25 to 70oC
Storage humidity range 5 to 95% RH (No condensation)
Source voltage range 4.75 to 5.25 VDC (Rated:5.0VDC)
3.0V to 3.6VDC (Rated:3.3VDC)
Current drain 1.1 A 1.3 A 1.5A 1.7 A 0.01 A 0.5A
(at rated power input) (5.0VDC) (5.0 VDC) (5.0VDC) (5.0 VDC) (+12 VDC) (5.0 VDC)
with EB621 with EB641 (Note)
Power consumption 6.5W or less 7.5 W or less 8.6W or less 9.6 W or less 0.12 W or 2.5 W or less
(at rated power input) with EB621 with EB641 less
Insulation resistance 10 megohms or more
(between signal and F.G.)
Dielectric strength 500 VAC for 1 minute
(between signal and F.G.)
Dust 0.3 mg/m3 or less
Vibration resistance 4.9m/s2 1.5mmp-p
Shock resistance 19.6m/s2 (3 times without power supply)
Grounding Class D (Grounding resistance: 100 ohms or less)
Cooling Natural air cooling
Module dimensions 130 (H) × 35 (W) × 114 (D) mm
Weight 350g or less 350g or less 350g or less 350g or less 250g or less 250g or less
Communication interface 10BASE5 10BASE5 10BASE2 10BASE2 10BASE2 10BASE2
Single bus Dual bus Single bus Dual bus Dual bus Dual bus
(Bus A) (Bus A) (Bus B) (Bus B)
Backup • Backup memory: SRAM 512 kilobytes
• Backup time : 24 hours or more (at ambient temperature of 25oC)
+12 VDC external power +12.0 VDC +/-5%, 0.5 A/ch maximum (Applicable to EN611, EN621, EB621)

Note: Consumed within the EB621 module.

6F8C0879 79
Appendix A Specifications

Table A-2 General Specifications (EN651, EN651A, EN661)


Specifications
Item
EN651A EN651 EN661
Working temperature range o
0 to 55 C
(Product ambient temperature)
Working humidity range 10 to 95% RH (No condensation)
Storage temperature range -25 to 70oC
Storage humidity range 5 to 95% RH (No condensation)
Source voltage range 4.75 to 5.25 VDC (Rated:5.0VDC)
Current drain 1.0 A 1.5A
(at rated power input) (5.0VDC) (5.0VDC)
Power consumption 5W or less 9W or less
(at rated power input)
Insulation resistance (between 10 megohms or more
signal and F.G.)
Dielectric strength (between 500 VAC for 1 minute
signal and F.G.)
Dust 0.3 mg/m3 or less
Vibration resistance 4.9m/s2 1.5mmp-p
Shock resistance 19.6m/s2 (3 times without power supply)
A Grounding Class D (Grounding resistance: 100 ohms or less)
Cooling Natural air cooling
Module dimensions 130 (H) × 35 (W) × 114 (D) mm
Weight 200g or less 500g or less
Communication interface 100BASE-TX/10BASE-T
Single bus Dual bus
Backup • Backup memory: • Backup memory: SRAM 512 kilobytes
SRAM 512 kilo- • Backup time : 7 hours or more (at
bytes
ambient temperature of 25oC)
• Backup time : 20
hours or more (at
ambient tempera-
ture of 25oC)
+12 VDC external power -

80 model 2000 Ethernet Module Operation Manual


A.2 Ethernet Transmission Specifications

A.2 Ethernet Transmission Specifications

Table A-3 Ethernet Transmission Specifications


Item Specifications
Applicable standard IEEE802. 3
• 10BASE5
• 10BASE2
• 10BASE-T
IEEE802. 3u
• 100BASE-TX
Media access CSMA/CD
Data transmission speed 10Mbps/100Mbps
Ethernet frame DIX type
Topology Bus, Star
Transmission path Single bus
Dual bus
Transmission cable/cable EN611, EN621, EB621 (10BASE5)
length • Yellow cable for Ethernet: 500 m maximum
(Coaxial cable: Characteristic impedance 50 ohms)
• AUI cable: 15 m maximum
Recommended cable
AUI15 –[ ] M (Showa Electric Wire & Cable Co., Ltd.)
EN631, EN641, EB641 (10BASE2)
• 3D-2V (as drop cable or for indoor use) A
• 5D-2W (as trunk cable or for use from indoor to control room): 185 m maximum
EN651, EN651A, EN661 (100BASE-TX/10BASE-T)
• Category 5 twisted pair cable : 100m maximum
Segment 5 segments maximum between nodes
Of the 5 segments, 3 cable segments maximum
No. of nodes 256 nodes maximum per system (Note)
126 nodes maximum per system (Note)
100 nodes maximum/segment : 10BASE5
30 nodes maximum/segment : 10BASE2
(node includes repeater)
No. of repeaters 4 repeaters maximum per system
No. of EN6 modules 4 modules maximum per base unit (Multiport)
(Excluding EB6 module in a system of dual transmission line configuration)
Interface EN611, EN621, EB621 (10BASE5)
15-pin D-sub connector (socket) with slide lock
EN631, EN641, EB641 (10BASE2)
BNC connector
EN651, EN651A, EN661 (100BASE-TX/10BASE-T)
RJ-45 connector
Drop cable for line B To connect EN621 to EB621, or EN641 to EB641
• GCM-04-GY-(??)M-S (Showa Electric Wire & Cable Co., Ltd.)
3 m maximum (70 mm standard)

Note: It applies to the specifications of an application system correspondingly.


(ex. TOSDIC-CIE 1200, the numbers of nodes are a maximum of 64 nodes.)

6F8C0879 81
Appendix A Specifications

A.3 Function Specifications

Table A-4 Function Specifications


Item Specifications
Protocol TCP/UDP/IP, PCMP, IRCP (Note)
Transmission • Point-to-point transmission
• Multicast transmission
• Broadcast transmission
• Inter-hierarchy communication function
Monitoring function (RAS) Hardware/software
System configuration • Multihost
Host modules: 4 maximum
• Multiport
Ethernet modules: 4 maximum
Ports for EN6 module For PCMP: Port No.10000
For node diagnosis: Port No.48000

Note: PCMP and IRCP are Toshiba protocols.


Confirm transmission of the sent data at application level.

A A.4 Serial Communication Port (RS-232C) Transmission


Specifications

Table A-5 Serial Transmission Specifications


Item Specifications
Data transmission speed 56 kbps maximum
Synchronizing Start-stop
Transmission cable Cross cable with 9-pin-9-pin D-sub connector
Cable length 15 m maximum
Communication Full duplex
Communication settings • Parity bit: None
• Character length: 8 bits
• Stop bit: 1

82 model 2000 Ethernet Module Operation Manual


Appendix B Dimensions

External views of EN6 and EB6 modules are shown with dimensions below.
[mm]

Figure B-1 Dimensions

6F8C0879 83
Appendix C Related Products

Table C-1 Related Products


Product Model Standard Applicable cord Remarks
3D-2V ZCA123A***1 BNC connector 4Y8B0271P001 For use in bus-A
(10BASE2 cable) 10BASE2 panel
ZCA133A***1-B BNC connector 4Y8B0271P002 For use in bus-B
10BASE2 panel
5D-2W ZCA125A***1 BNC connector 4Y8B0272P001 For use outside bus-A
(10BASE2 cable) 10BASE2 panel
ZCA135A***1-B BNC connector 4Y8B0272P002 For use outside bus-B
10BASE2 panel
Twisted pair cable CGM-04-GY Modular jack 5P8C1347P016 Between EN621 and
(Drop cable for line-B EB621 Between EN641
module) and EB641 (Note 1)
+12 VDC power CE6R5 2P connector 4Y8C0328G001 For EN611, EN621,
cable (Note 2) EB621 (to supply power to
10BASE5 transceivers)
T-adapter BNC-TA (JPJ) -AU1 BNC connector 5P8C1316P004 Attached to module
connector
Terminator TBP65-AU1 50 ohms 5P8C1316P003 For 10BASE2
Relay connector unit UCNE1 Connector 3Y8B1619 10BASE2
conversion • Relay from inside to
outside panel
• Relay from indoor to
control room
Connector unit for UCNE2 Connector 3Y8B1641 For 10BASE2 cable
grounding conversion, grounding
grounding
AUI cable AUI15 -[ ]M small-diameter, 5P4P0032P*** SWCC-made (Note 3)
molded type
RS-232C cable GCJ6[ ][ ]*CS 9-pin D-sub 5X8C0003 ***** indicates cable
(TYPE-G) (Note 4) G***** length (in mm)
Category 5 twisted ZCA101A***1 RJ45 connector - Color : Grey
pair cable (straight
type)
Category 5 twisted ZCA121A***1 RJ45 connector - Color : Purple
pair cable (cross
type)

Note 1: The maximum length the drop cable for line-B modules is 3 m.
(The standard cable supplied with the product is 70 mm long.).
Note 2: The standard length of +12 VDC power cable is 0.5 m.

6F8C0879 85
Appendix C Related Products

Note 3: In ordering AUI cables, specify the required length.


Use small-diameter cables. Otherwise, the cable connector clamps may not
be usable. The maximum length of usable AUI cables is 15 meters.

AUI15- [ ] M
Length in meters (Example: 5= 5m)

Note 4: When you order an RS-232C cable, specify the desired length.

GCJ6 [ ][ ] *CS
Length in meters (Example: 03= 3m)

86 model 2000 Ethernet Module Operation Manual


Appendix D Decimal-hexadecimal
Conversion Table

Table D-1 Decimal-Hexadecimal Conversion Table


Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal
0 0 32 20 64 40 96 60
1 1 33 21 65 41 97 61
2 2 34 22 66 42 98 62
3 3 35 23 67 43 99 63
4 4 36 24 68 44 100 64
5 5 37 25 69 45 101 65
6 6 38 26 70 46 102 66
7 7 39 27 71 47 103 67
8 8 40 28 72 48 104 68
9 9 41 29 73 49 105 69
10 A 42 2A 74 4A 106 6A
11 B 43 2B 75 4B 107 6B
12 C 44 2C 76 4C 108 6C
13 D 45 2D 77 4D 109 6D
14 E 46 2E 78 4E 110 6E
15 F 47 2F 79 4F 111 6F
16 10 48 30 80 50 112 70
17 11 49 31 81 51 113 71
18 12 50 32 82 52 114 72
19 13 51 33 83 53 115 73
20 14 52 34 84 54 116 74
21 15 53 35 85 55 117 75
22 16 54 36 86 56 118 76
23 17 55 37 87 57 119 77
24 18 56 38 88 58 120 78
25 19 57 39 89 59 121 79
26 1A 58 3A 90 5A 122 7A
27 1B 59 3B 91 5B 123 7B
28 1C 60 3C 92 5C 124 7C
29 1D 61 3D 93 5D 125 7D
30 1E 62 3E 94 5E 126 7E
31 1F 63 3F 95 5F 127 7F

6F8C0879 87
Appendix E Sample Programs

For your reference, simple examples of message transmission programs are shown
below.
Use communication FBs, USEND_T and URCV_T, for these purposes.
For a detailed description of communication FBs, refer to the Instruction Manual for S/L
Controllers (6F8C0865).

<Example of UDP transmission>

STN1 STN2

0 1 2 3 4 0 1 2 3 4 (slot number)
Ethernet

Ethernet
S S
2 2

172.16.64.7 172.16.64.4

The program shown here for reference sends data from S3 of STN1 through the Ethernet
UDP port 20013 of STN1 to S2 of STN2 where the data is received through the Ethernet
UDP port 20013.

6F8C0879 89
Appendix E Sample Programs

Variable definition (UDP transmission)

VAR

OPEN_COMPLETE: BOOL;
OPEN_ERROR: BOOL;
OPEN_REQ: BOOL;
TX_COMPLETE: BOOL;
TX_ERROR: BOOL;
TX_REQ: BOOL;
OPEN_STATUS1: INT;
USEND_T_1: USEND_T;
USEND_T_2: USEND_T;
SEND_STATUS: INT;

US_DUMMY1: WORD;
US_DUMMY2: UINT;
US_SIZE: UNIT;
US_DAT:FARRAY[0..511] OF WORD;

U_O: typeUDP_OPEN;
U_S: typeUDP_SEND_BC;
U_C: typeUDP_CLOSE;

END_VAR

90 model 2000 Ethernet Module Operation Manual


Program (UDP transmission)
/* UDP OPEN REQUEST */

3 U_O.Slot 16#0031 U_O.Cmd 20014 U_O.SPort


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

OPEN_
COMPLETE OPEN_ERROR OPEN_REQ

USEND_T_1
USEND_T OPEN_COMPLETE
OPEN_REQ
REQ
DONE S
U_O
OPEN_ERROR
LD CMD
ERROR

US_DUMMY1
OPEN_STATUS1
LD P
STATUS ST

US_DUMMY2
LD N

/* UDP SEND REQUEST */

OPEN_STATUS1 U_S.Socket
MOVE_INT
LD ST

3 U_S.Slot 16#0032 U_S.Cmd 16#AC10_4004 U_S.DIP


MOVE_UINT MOVE_WORD MOVE_DWORD
LD ST LD ST LD ST

20013 U_S.DPort 512 US_SIZE


MOVE_UINT MOVE_UINT
LD ST LD ST

OPEN_
COMPLETE TX_ERROR TX_COMPLETE CLOSE_REQ TX_REQ

USEND_T_2
TX_REQ USEND_T TX_COMPLETE
REQ
DONE
TX_ERROR
U_S
LD CMD
ERROR

US_DATA[0] SEND_STATUS
LD P ST
STATUS

US_SIZE
LD N E

6F8C0879 91
Appendix E Sample Programs

Variable definition (UDP reception)

VAR

OPEN_COMPLETE: BOOL;
OPEN_ERROR: BOOL;
OPEN_REQ: BOOL;
RX_COMPLETE: BOOL;
RX_ERROR: BOOL;
RX_REQ: BOOL;
CLOSE_COMPLETE: BOOL;
CLOSE_ERROR: BOOL;
CLOSE_REQ: BOOL;
RCV_STATUS: INT;
CLOSE_STATUS: INT;

UR_DUMMY1: WORD;
UR_DUMMY2: UINT;
UR_SIZE: UNIT;
UR_DATA:ARRAY[0..512] OF WORD;

URCV_T_1: WORD;
USEND_T_1: USEND_T;

OPEN_STATUS1: INT;

U_O: typeUDP_OPEN;
U_R: typeUDP_RCV_BC;
U_C: typeUDP_CLOSE;
T_SK_CMD: typeTCP_SEND;
T_SOCKET: URCV_T;
T_SK_REQ: BOOL;
T_SK_COMP: BOOL;
T_SK_ERR: BOOL;
T_SK: INT;
T_SK_SOCKET: INT;
T_SK_DT: WORD;
RX_TRG: BOOL;

END_VAR
E

92 model 2000 Ethernet Module Operation Manual


Program (UDP reception)

/* UDP OPEN REQUEST */

4 U_O.Slot 16#0031 U_O.Cmd 20013 U_O.SPort


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

OPEN_
COMPLETE OPEN_ERROR OPEN_REQ

USEND_T_1
USEND_T OPEN_COMPLETE
OPEN_REQ
REQ
DONE S
U_O
OPEN_ERROR
LD CMD
ERROR

UR_DUMMY1
OPEN_STATUS1
LD P
STATUS ST

UR_DUMMY2
LD N

OPEN_
COMPLETE

4 T_SK_CMD.Slot 16#0016 T_SK_CMD.Cmd OPEN_STATUS1 T_SK_CMD.Socket


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

T_SOCKET
OPEN_
URCV_T
COMPLETE T_SK_COMP T_SK_ERR T_SK_REQ T_SK_REQ T_SK_COMP
REQ
DONE
S
T_SK_ERR
T_SK_CMD
LD CMD
ERROR

T_SK T_SK_SOCKET
LD P ST
STATUS

0
LD N

XI
4
UINT_TO_WORD WORD_TO_INT INT_TO_DINT MUL_DINT ADD_DINT
LD ST

524288 T_SK_SOCKET %MW13.130944[XI] T_SK_DT


INT_TO_DINT
LD LD LD ST
E
RX_TRG
T_SK_DT
AND_WORD EQ_WORD
LD

16#0400 16#0400
LD LD

6F8C0879 93
Appendix E Sample Programs

/* UDP RECEIVE REQUEST */

OPEN_STATUS1 U_R.Socket
MOVE_INT
LD ST

4 U_R.Slot 16#0033 U_R.Cmd 16#0000_0000 U_R.DIP


MOVE_UINT MOVE_WORD MOVE_DWORD
LD ST LD ST LD ST

20014 U_R.DPort 16#0000 U_R.TimeUp 513 UR_SIZE


MOVE_UINT MOVE_UINT MOVE_UINT
LD ST LD ST LD ST

OPEN_
COMPLETE RX_TRG RX_COMPLETE RX_ ERROR CLOSE_REQ RX_REQ

URCVD_T_1
URCV_T
RX_REQ RX_COMPLETE
REQ
DONE
RX_ERROR
U_R
LD CMD
ERROR

UR_DATA[0] RCV_STATUS
LD P ST
STATUS
/* UR_DATA[0] is the receiving data byte size. */
/* It is the receiving data from UR_DATA[1]. */
UR_SIZE
LD N

Close request (to close when CLOSE_REC is ON) (UDP)

3 U_C.Slot 16#0034 U_C.Cmd OPEN_STATUS1 U_C.Socket


MOVE_UINT MOVE_WORD MOVE_INT
LD ST LD ST LD ST

USEND_T_3
USEND_T
CLOSE_REQ CLOSE_COMPLETE
REQ
DONE
CLOSE_REQ
CLOSE_ERROR
U_C
LD CMD
ERROR
R

DUMMY CLOSE_STATUS1
LD P ST
STATUS

DUMMY
LD N

94 model 2000 Ethernet Module Operation Manual


<Example of TCP transmission>

STN1 STN2
0 1 2 3 4 0 1 2 3 4 (slot number)

Ethernet

Ethernet
S S
2 2

172.16.64.7 172.16.64.4

The program shown here for reference sends data from S3 of STN1 through the Ethernet
TCP port 30004 of STN1 to S2 of STN2 where the data is received through the Ethernet
TCP port 30003.

Variable definition (TCP transmission)

VAR

OPEN_COMPLETE: BOOL;
OPEN_ERROR: BOOL;
OPEN_REQ: BOOL;
TX_COMPLETE: BOOL;
TX_ERROR: BOOL;
TX_REQ: BOOL;
OPEN_STATUS1: INT;
TS_DUMMY: WORD;
USEND_T_1: USEND_T;
USEND_T_2: USEND_T;
SEND_STATUS: INT;
CLOSE_REQ: BOOL;

TS_DATA:ARRAY[0..511] OF WORD;

T_O: typeTCP_OPEN;
T_S: typeTCP_SEND; E
END_VAR

6F8C0879 95
Appendix E Sample Programs

Program (TCP transmission)

/* TCP OPEN REQUEST(ACTIVE) */

3 T_O.Slot 16#0035 T_O.Cmd 1 T_O.Kind


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

16#AC10_4004 T_O.DIP 30003 T_O.DPort 30004 T_O.Sport


MOVE_DWORD MOVE_UINT MOVE_UINT
LD ST LD ST LD ST

0 T_O.TimeUp
MOVE_UINT
LD ST

OPEN_
COMPLETE OPEN_ERROR OPEN_REQ

USEND_T_1
USEND_T OPEN_COMPLETE
OPEN_REQ
REQ
DONE S
T_O
OPEN_ERROR
LD CMD
ERROR

TS_DUMMY
OPEN_STATUS1
LD P
STATUS ST

16#0
LD N

/* TCP SEND REQUEST */

OPEN_STATUS1 T_S.Socket 3 T_S.Slot 16#0037 T_S.Cmd


MOVE_INT MOVE_UINT MOVE_WORD
LD ST LD ST LD ST

OPEN_ CLOSE_
COMPLETE TX_ERROR TX_COMPLETE COMPLETE TX_REQ

USEND_T_2
TX_REQ USEND_T TX_COMPLETE
REQ
DONE
TX_ERROR
T_S
LD CMD
ERROR

TS_DATA[0] SEND_STATUS
LD P ST
STATUS

16#200
E LD N

96 model 2000 Ethernet Module Operation Manual


Variable definition (TCP transmission)

VAR

OPEN_COMPLETE: BOOL;
OPEN_ERROR: BOOL;
OPEN_REQ: BOOL;
RX_COMPLETE: BOOL;
RX_ERROR: BOOL;
RX_REQ: BOOL;
CLOSE_COMPLETE: BOOL;
CLOSE_ERROR: BOOL;
CLOSE_REQ: BOOL;
RCV_STATUS: INT;
CLOSE_STATUS: INT;

TR_DATA:ARRAY[0..512] OF WORD;

T_O: typeTCP_OPEN;
T_R: typeTCP_RCV;
T_C: typeTCP_CLOSE;

URCV_T_1: URCV_T;
USEND_T_1: USEND_T;

OPEN_STATUS1: INT;
TR_DUMMY: WORD;
T_SK_CMD: typeTCP_SEND;
T_SOCKET: URCV_T;
T_SK_REQ: BOOL;
T_SK_COMP: BOOL;
T_SK_ERR: BOOL;
T_SK: INT;
T_SK_SOCKET: INT;
T_SK_DT: WORD;
RX_TRG: BOOL;

END_VAR

6F8C0879 97
Appendix E Sample Programs

Program (TCP reception)

/* TCP OPEN REQUEST(PASSIVE) */

4 T_O.Slot 16#0035 T_O.Cmd 2 T_O.Kind


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

16#AC10_4007 T_O.DIP 30004 T_O.DPort 30003 T_O.SPort


MOVE_DWORD MOVE_UINT MOVE_UINT
LD ST LD ST LD ST

0 T_O.TimeUp
MOVE_UINT
LD ST

OPEN_
COMPLETE OPEN_ERROR OPEN_REQ

USEND_T_1
USEND_T OPEN_COMPLETE
OPEN_REQ
REQ
DONE S
T_O
OPEN_ERROR
LD CMD
ERROR

TR_DUMMY
OPEN_STATUS1
LD P
STATUS ST

16#0
LD N

OPEN_
COMPLETE

4 T_SK_CMD.Slot 16#0016 T_SK_CMD.Cmd OPEN_STATUS1 T_SK_CMD.Socket


MOVE_UINT MOVE_WORD MOVE_UINT
LD ST LD ST LD ST

T_SOCKET
OPEN_
URCV_T
COMPLETE T_SK_COMP T_SK_ERR T_SK_REQ T_SK_REQ T_SK_COMP
REQ
DONE
S
T_SK_ERR
T_SK_CMD
LD CMD
ERROR

T_SK T_SK_SOCKET
LD P ST
STATUS

0
LD N

E 4
UINT_TO_WORD WORD_TO_INT INT_TO_DINT MUL_DINT ADD_DINT
XI
LD ST

524288 T_SK_SOCKET %MW13.130944[XI] T_SK_DT


INT_TO_DINT
LD LD LD ST

RX_TRG
T_SK_DT
AND_WORD EQ_WORD
LD

16#0400 16#0400
LD LD

98 model 2000 Ethernet Module Operation Manual


/* TCP RECEIVE REQUEST */

OPEN_STATUS1 T_R.Socket 4 T_R.Slot 16#0038 T_R.Cmd


MOVE_INT MOVE_UINT MOVE_WORD
LD ST LD ST LD ST

OPEN_
COMPLETE RX_TRG RX_COMPLETE TX_ ERROR CLOSE_REQ RX_REQ

URCV_T_1
URCV_T
RX_REQ RX_COMPLETE
REQ
DONE
RX_ERROR
T_R
LD CMD
ERROR

TR_DATA[0] RCV_STATUS
LD P ST
STATUS
/* TR_DATA[0] is the receiving data byte size. */
16#201 /* It is the receiving data from TR_DATA[1]. */
LD N

Close request (to close when CLOSE_REC is ON) (TCP)

3 T_C.Slot 16#0039 T_C.Cmd OPEN_STATUS1 T_C.Socket


MOVE_UINT MOVE_WORD MOVE_INT
LD ST LD ST LD ST

USEND_T_3
USEND_T
CLOSE_REQ CLOSE_COMPLETE
REQ
DONE
CLOSE_REQ
CLOSE_ERROR
T_C
LD CMD
ERROR
R

DUMMY CLOSE_STATUS1
LD P ST
STATUS

DUMMY
LD N

6F8C0879 99
Appendix F Return Code List

A list of EN-related return codes is shown below.


These return codes are output by communication FBs. For a detailed description of
communication FBs, refer to the Instruction Manual for S/L Controllers (6F8C0865).

USND_T/URCV_T Return Code List

Return Value Description


-5000 Communication instruction request number over
-5001 Command type error
-5002 Receive timeout
-5003 Socket in use or not opened
-5004 Slot/socket number out of range
-5005 Socket not opened
-5006 Port number duplicated
-5007 Opposite station busy or disconnected
-5099 Other error
-1001 Corresponding socket busy
-1002 Corresponding socket not created
-1005 Ping timeout
-1006 Ping busy
-1010 Socket type error
-1101 Receive memory block short
-2001 Communication request number over
-2002 Request buffer number over
-2005 Corresponding socket not opened
-2006 Number of boards in use over
-2007 Response timeout
-2008 Failure to secure buffer resource
-2009 EN board being reset
-2201 Interrupt receive wait timeout
-2202 Confirmation/instruction response wait timeout

6F8C0879 101
Appendix F Return Code List

Communication Return
Description
Procedure Value
• ACCEPT
ENOBUFS -15 Resource short
EBADF -16 Socket identifier not valid
EWOULDBLOCK -18 Socket set in asynchronous I/O mode, no socket waiting for
connection
EOPNOTSUPP -56 Specified socket not SOCK_STREAM type
EPROTO -71 Protocol error
• BIND
EBADF -16 Socket identifier not valid
EFAULT -17 Parameter (addr or addrlen) not in valid user address
space
EAFNOSUPPORT -58 Specified address family not supported
EADDRINUSE -59 Given address already used
EADDRNOTAVAIL -60 Given address unusable in the system
• CLOSE
EBADF -16 Socket identifier not valid
• CONNECT
EHOSTUNREACH -11 Connecting destination IP address incorrect
ETIMEDOUT -12 Timeout. Connection not established after waiting for
specified time
EBADF -16 Socket identifier not valid
EINVAL -22 Already bound
EDESTADDRREQ -50 Parameters (name, namelen) incorrect
EAFNOSUPPORT -58 Specified address family not supported
EADDRNOTAVAIL -60 Given address unusable in the system
EISCONN -67 Socket connected already
• LISTEN
EBADF -16 Socket identifier not valid
EINVAL -22 Parameter incorrect
EOPNOTSUPP -56 Socket not type to support listen
• RECV
• RECVFROM
ETIMEDOUT -12 Timeout
F ECONNABORTED -14 Disconnected in local system
EBADF -16 Socket identifier not valid
EFAULT -17 Parameter (buffer pointer) incorrect
EWOULDBLOCK -18 No data to receive
EPIPE -32 Disconnected
EOPNOTSUPP -56 Specified operation not supported by that socket
• SELECT
EBADF -16 One of the socket identifiers specified by bit mask is
incorrect.

102 model 2000 Ethernet Module Operation Manual


Communication Return
Description
Procedure Value
• SEND
• SENDTO
EHOSTUNREACH -11 Unable to sent to specified destination
ECONNABORTED -14 Disconnected in local system
ENOBUFS -15 Failed to secure resource
EBADF -16 Socket identifier not valid
EFAULT -17 Parameter (buffer point) incorrect
EWOULDBLOCK -18 Send request unacceptable
EMSGSIZE -19 Message size incorrect
EPIPE -32 Attempt made to send to disconnected socket
EDSTADDRREQ -50 Destination address specified wrong
EAFNOSUPPORT -58 Specified address family unusable by that socket
ESHUTDOWN -69 shutdown issued
• SHUTDOWN
ENOBUFS -15 Failed to secure resource
EBADF -16 Socket identifier not valid
EPIPE -32 Request made to disconnected socket
• SOCKET
ENOBUFS -15 Socket unable to be made for lack of buffer zone
EPROTONOSUPPORT -54 Specified protocol not supported
ESOCKETNOSUPPORT -55 Specified socket type not supported by that address family
EAFNOSUPPORT -58 Specified address family not supported by the present
version of the system

6F8C0879 103
Appendix G Option switch List

Option switch configuration table is shown below.


Setting option switch to "ON", corresponding function is worked.

Option switch No. Contents Target module


0 Transmission line diagnosis function for IP address EN611-641, EN651,
free mode EN661, EN651A
1 IGMP function EN651, EN651A
2 SNMP agent function EN651A (Note)
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 Reserved
8 Reserved
9 Reserved
10 Reserved
11 Reserved
12 Reserved
13 Reserved
14 Reserved
15 Reserved

Note: The modules except for EN651A perform SNMP agent function in default setting.

6F8C0879 105
INDEX
Index

Expendable parts 65
NUMBER
10BASE2 1 G
10BASE5 1
General specifications 79
12 VDC power receiving terminal
board 11 For dual bus 1
For single bus 1

A
I
AUI cable 49
IEEE802.3 1
IP address type 18
C IRCP 3, 82
Base unit 1 Host ID 13, 14, 19, 25, 27, 60
Hub 3

E
EB621 7
M
EB641 8 Memory backup 64
EN651 9 Multicast 3, 19, 24, 25, 82
EN651A 9 Multihost 3, 82
EN661 9 Multiport 3, 82
EN711 7
EN721 7
O
EN731 8
EN741 8 Network ID 21
Electrical repeater 3 Network parameter 18
Engineering tool 18, 19, 24, Operation mode 18
25, 30, 33, 60, 64 Operation mode setting switch
Download 18 11, 15, 16, 19, 60
Drop cable connector 7, 8 Optical repeater 3
Ethernet 10
Ethernet transmission specifications
81

6F8C0879 107
INDEX

Q
PCMP 3, 82
Periodic inspection 63
Protocol 3

S
RS-232C 18
Segment 3
Serial communication port 11
Serial communication port (RS-
232C) transmission specifications
82
Status indicator LED 10
Subnet mask 21, 27, 33

U
TCP/UDP/IP 3, 82
Test program 18
T-type adapter 56, 57, 85

108 model 2000 Ethernet Module Operation Manual


Integrated Controller V
series
model 2000 Ethernet Module Operation Manual

4th edition 31st Dec, 2003 0879.4.0312

INDUSTRIAL AND POWER SYSTEMS & SERVICES


ELECTRICAL APPARATUS & MEASUREMENT DIVISION
1-1, Shibaura 1-chome, Minato-ku, Tokyo 105-8001, Japan
Tel.:+81-3-3457-4900 Fax.:+81-3-5444-9268

 TOSHIBA Corporation 2000-2003


All Right Reserved.

You might also like