Toshiba V Series Operation Manual
Toshiba V Series Operation Manual

Toshiba V Series Operation Manual

Integrated controller, ethernet module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

6F8C0879
Integrated Controller V Series
model 2000 Ethernet Module
Operation Manual
Dec 31, 2003

Advertisement

Table of Contents
loading

Summary of Contents for Toshiba V Series

  • Page 1 6F8C0879 Integrated Controller V Series model 2000 Ethernet Module Operation Manual Dec 31, 2003...
  • Page 2 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.
  • Page 3 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.
  • Page 4 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.
  • Page 5 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.
  • Page 6 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...
  • Page 7 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.
  • Page 8 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.
  • Page 9 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.
  • Page 10 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. Do not open the case of the equipment while it is in operation except when setting the switches.
  • Page 11: Table Of Contents

    CONTENTS 1 General ......1 2 Names of Parts and their Functions ..7 3 Setting .
  • Page 12 CONTENTS 5.3 Stopping ........60 6 Maintenance and Inspection ..61 6.1 Inspection .
  • Page 13: 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.
  • Page 14 Chapter 1 General Figure 1-1 EN6 Module Front View model 2000 Ethernet Module Operation Manual...
  • Page 15 Features of Ethernet (10BASE5, 10BASE2) The monitoring and control network Ethernet for the integrated controller V series can 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.
  • Page 16 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 S0 S1 S2 S3 S4 S0 S1 S2 S3 S4 (Up to four EN6 modules can be installed per chassis.) Figure 1-3 Example of Ethernet Module Installation model 2000 Ethernet Module Operation Manual...
  • Page 17 Software configuration Software configuration realizes the transmission operation of EN*** module is as follows. V controller user program Function Block Controller (USEND_T, URCV_T) module 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.
  • Page 18 Chapter 1 General SNMP (Simple Network Management Protocol) 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. •...
  • Page 19: Names Of Parts And Their Functions

    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...
  • Page 20 Chapter 2 Names of Parts and their Functions EN631 EN641/EB641 module for 10BASE2 module for 10BASE2 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) •...
  • Page 21 EN651 EN661 module for 100BASE-TX/10BASE-T module for 100BASE-TX/10BASE-T single bus dual bus Operation mode setting switches 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 •...
  • Page 22 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 Name of Display Normally...
  • Page 23 (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).
  • Page 25: Setting

    • 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...
  • Page 26: Switch Setting

    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.
  • Page 27: Host Id Setting Switches (Host-Id)

    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.
  • Page 28: Operation Mode Setting Switches (Mode)

    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 Switch No.
  • Page 29 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.
  • Page 30 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. IP Address Type •...
  • Page 31: Network Parameter Setting

    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- Set the following network parameters on the EN6 module.
  • Page 32 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. Single network is used. Go to (1) Use default IP address of EN module. Free IP address is used.
  • Page 33: Network Id And Subnet Mask Setting

    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.
  • Page 34 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.
  • Page 35: Station Address (Host Id) Setting

    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.
  • Page 36: Multicast Address Summary

    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 Multicast Address 225.224.0.1 225.224.0.2 225.224.0.3 225.224.0.4 225.224.0.5 225.224.0.6 225.224.0.7 225.224.0.8 225.224.0.9 225.224.0.10 225.224.0.11 225.224.0.12 225.224.0.13 225.224.0.14 225.224.0.15...
  • Page 37: Setting With Engineering Tool

    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.
  • Page 38 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.
  • Page 39 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)].
  • Page 40 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).
  • Page 41 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...
  • Page 42 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.
  • Page 43 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.
  • Page 44 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.
  • Page 45: Setting With Engineering Tool 2

    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.
  • Page 46 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. model 2000 Ethernet Module Operation Manual...
  • Page 47 3.2 Network Parameter Setting (4) Select [module parameter] from [file] menu with selecting the added module, the module parameter window is shown. 6F8C0879...
  • Page 48 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.
  • Page 49 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.
  • Page 50 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.
  • Page 51 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.
  • Page 52: Multicast Address Setting

    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.
  • Page 53: Settings For Multicast Routing Network

    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.
  • Page 54 Chapter 3 Setting The above setting example of module parameter window is shown below. model 2000 Ethernet Module Operation Manual...
  • Page 55: Ethernet Link Speed And Duplex Setting

    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.
  • Page 56: Default Gateway Ip Address (Router Ip Address)

    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.
  • Page 57 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...
  • Page 59: Installation And Wiring

    • 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...
  • Page 60: Installation (Installing In The Base Unit)

    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.
  • Page 61: Ethernet Cable Connection

    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.
  • Page 62: 10Base2 (En631, En641, Eb641)

    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.
  • Page 63: 100Base-Tx/10Base-T

    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 Ethernet connector Figure 4-6 Connecting Category 5 Twisted Pair Cable...
  • Page 64: Drop Cable Connection For Line B Modules

    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 line configuration.
  • Page 65: Serial Communication Port (Rs-232C) Cable Connection

    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 Serial communication port (TOOL)
  • Page 66: Vdc Power Cable Connection

    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.
  • Page 67: Module Replacement

    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.6.1 10BASE5 (EN611, EN621, EB621) (1) Switch off the base unit and the +12 VDC power supply.
  • Page 68: 10Base2 (En631, En641, Eb641)

    Chapter 4 Installation and Wiring Module guide for base unit EN6 module Slide lock Base unit 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.
  • Page 69: 100Base-Tx/10Base-T

    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 EN6 module 3D-2V cable Remove it after checking that unit power is off. Turn T-adapter ring counterclockwise and remove T-adapter.
  • Page 70 Chapter 4 Installation and Wiring (7) Confirming the base units power is off, connect cables. Base unit module guide Base unit EN6 module Remove it after checking that unit power is off. Figure 4-12 Replacing 100BASE-TX/10BASE-T Modules (EN651, EN651A, EN661) model 2000 Ethernet Module Operation Manual...
  • Page 71: Operation

    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...
  • Page 72: Check Before Operation

    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.
  • Page 73: Maintenance And Inspection

    • 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...
  • Page 74: Inspection

    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.
  • Page 75: 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...
  • Page 76: 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.
  • Page 77: 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.
  • Page 79: Application Interface

    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.
  • Page 80: Socket Information

    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. P O P C O T C P U D P R C L r e s e r v e Figure 7-1 Status Information on Each Single Ethernet Socket Conditions where each of the following bits takes the value "1"...
  • Page 81 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.
  • Page 82: Structure Of Dual Ethernet Socket Information

    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. T C P U D P P O P C O R C L r e s e r v e Figure 7-2 Status Information on Each Dual Ethernet Socket Conditions where each of the following bits takes the value "1"...
  • Page 83: Socket Information Reference Method

    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.
  • Page 84: Socket Information Generation Timing

    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. S o c k e t i n f o r m a t i o n Active (Client) Passive (Server) ( N o t e : T h e s e r v e r f i r s t s e n d s a n o p e n r e q u e s t...
  • Page 85 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> Open Receive Close request request request accept connect Open Send Close request request request Active <TCP>...
  • Page 86: Transmission Line Diagnosis Information

    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.
  • Page 87: Transmission Diagnosis Information Reference

    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...
  • Page 88: Transmission Line Diagnostic Frame Structure

    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: 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:...
  • Page 89: En Module State Information

    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.
  • Page 90: Restrictions On Use

    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.
  • Page 91: A Specifications

    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 55 (Product ambient temperature) Working humidity range 10 to 95% RH (No condensation) Storage temperature range -25 to 70 Storage humidity range...
  • Page 92 Appendix A Specifications Table A-2 General Specifications (EN651, EN651A, EN661) Specifications Item EN651A EN651 EN661 Working temperature range 0 to 55 (Product ambient temperature) Working humidity range 10 to 95% RH (No condensation) Storage temperature range -25 to 70 Storage humidity range 5 to 95% RH (No condensation) Source voltage range 4.75 to 5.25 VDC (Rated:5.0VDC)
  • Page 93 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...
  • Page 94 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.4 Serial Communication Port (RS-232C) Transmission Specifications...
  • Page 95: B Dimensions

    Appendix B Dimensions External views of EN6 and EB6 modules are shown with dimensions below. [mm] Figure B-1 Dimensions 6F8C0879...
  • Page 97: C Related Products

    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)
  • Page 98 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.
  • Page 99: D Decimal-Hexadecimal Conversion Table

    Appendix D Decimal-hexadecimal Conversion Table Table D-1 Decimal-Hexadecimal Conversion Table Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal 6F8C0879...
  • Page 101: E Sample Programs

    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>...
  • Page 102 Appendix E Sample Programs Variable definition (UDP transmission) 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;...
  • Page 103 Program (UDP transmission) / * U D P O P E N R E Q U E S T * / U _ O . S l o t 1 6 # 0 0 3 1 U _ O . C m d 2 0 0 1 4 U _ O .
  • Page 104 Appendix E Sample Programs Variable definition (UDP reception) 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;...
  • Page 105 Program (UDP reception) / * U D P O P E N R E Q U E S T * / U _ O . S l o t 1 6 # 0 0 3 1 U _ O . C m d 2 0 0 1 3 U _ O .
  • Page 106 Appendix E Sample Programs / * U D P R E C E I V E R E Q U E S T * / O P E N _ S T A T U S 1 U _ R . S o c k e t M O V E _ I N T U _ R .
  • Page 107 <Example of TCP transmission> STN1 STN2 (slot number) 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.
  • Page 108 Appendix E Sample Programs Program (TCP transmission) / * T C P O P E N R E Q U E S T ( A C T I V E ) * / T _ O . S l o t 1 6 # 0 0 3 5 T _ O .
  • Page 109 Variable definition (TCP transmission) 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;...
  • Page 110 Appendix E Sample Programs Program (TCP reception) / * T C P O P E N R E Q U E S T ( P A S S I V E ) * / T _ O . S l o t 1 6 # 0 0 3 5 T _ O .
  • Page 111 / * T C P R E C E I V E R E Q U E S T * / O P E N _ S T A T U S 1 T _ R . S o c k e t T _ R .
  • Page 113: F Return Code List

    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...
  • Page 114 Appendix F Return Code List Communication Return Description Procedure Value • ACCEPT ENOBUFS Resource short EBADF Socket identifier not valid EWOULDBLOCK Socket set in asynchronous I/O mode, no socket waiting for connection EOPNOTSUPP Specified socket not SOCK_STREAM type EPROTO Protocol error •...
  • Page 115 Communication Return Description Procedure Value • SEND • SENDTO EHOSTUNREACH Unable to sent to specified destination ECONNABORTED Disconnected in local system ENOBUFS Failed to secure resource EBADF Socket identifier not valid EFAULT Parameter (buffer point) incorrect EWOULDBLOCK Send request unacceptable EMSGSIZE Message size incorrect EPIPE...
  • Page 117: G Option Switch List

    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 Transmission line diagnosis function for IP address EN611-641, EN651, free mode EN661, EN651A IGMP function EN651, EN651A SNMP agent function...
  • Page 119 INDEX Index Expendable parts NUMBER 10BASE2 10BASE5 General specifications 12 VDC power receiving terminal For dual bus board For single bus AUI cable IEEE802.3 IP address type IRCP 3, 82 Host ID 13, 14, 19, 25, 27, 60 Base unit EB621 Memory backup EB641...
  • Page 120 INDEX PCMP 3, 82 Periodic inspection Protocol RS-232C Segment Serial communication port Serial communication port (RS- 232C) transmission specifications Status indicator LED Subnet mask 21, 27, 33 TCP/UDP/IP 3, 82 Test program T-type adapter 56, 57, 85 model 2000 Ethernet Module Operation Manual...
  • Page 121 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.

Table of Contents