Download Print this page

Hitachi Hidic EH-150 Applications Manual

Ethernet module
Hide thumbs

Advertisement

Quick Links

HITACHI PROGRAMABLE CONTROLLER
Ethernet Module(EH-ETH)
APPLICATION MANUAL
Preliminary Rev.03
NJI-361(X)

Advertisement

loading

  Related Manuals for Hitachi Hidic EH-150

  Summary of Contents for Hitachi Hidic EH-150

  • Page 1 HITACHI PROGRAMABLE CONTROLLER Ethernet Module(EH-ETH) APPLICATION MANUAL Preliminary Rev.03 NJI-361(X)
  • Page 2 Safety Precautions Read this manual and related documents thoroughly before installing, operating, performing preventive maintenance or performing inspection, and be sure to use the unit correctly. Use this product after acquiring adequate knowledge of the unit, all safety information, and all cautionary information. Also, make sure this manual enters the possession of the chief person in charge of safety maintenance.
  • Page 3 2. About wiring REQUIRED Always perform grounding (FE terminal). If grounding is not performed, there is a risk of electric shocks and malfunctions. CAUTION Connect power supply that meets rating. If a power supply that does not meet rating is connected, fire may be caused. The wiring operation should be performed by a qualified personnel.
  • Page 4 4. About preventive maintenance DANGER Do not connect the of the battery in reverse. Also, do not charge, disassemble, heat, place in fire, or short circuit the battery. There is a risk of explosion or fire. PROHIBITED Do not disassemble or modify the unit. These actions may result in fire, malfunction, or malfunction.
  • Page 5 ! Warranty period and coverage The product warranty period will be one year after the product has been delivered to the location designated in the order. If a malfunction occurs within the warranty period even though the product has been used within the range of correct conditions according to the product specifications given in this document, we will exchange or repair the defective part free of charge.
  • Page 6 Chapter 1 Introduction Chapter 1 Introduction We appreciate that you have selected the HITACHI Programmable Controller (This after called PLC) EH- 150 Series. This application manual describes how to properly operate the EH-150 Ethernet Module. Please read this manual carefully to familiarize yourself with the procedures respectively of installation , operation, and maintenance and check.
  • Page 7 Preliminary Rev.03 Chapter 1 Introduction Outline EH-ETH (This after called this module) can be mounted onto the basic base of EH-150 system and is the communication module can be connected EH-150 system to Ethernet based on IEEE802.3. This module connected to Ethernet will operate as one of the station of the network system. For this operation this module can exchange the data with personal computer or engineering workstation connected with network.
  • Page 8 Preliminary Rev.03 Chapter 1 Introduction Notes to use (1) The EH-CPU448 is required as the master CPU to control this module. (2) It is possible to use 2 pcs of EH-ETH at once with one basic base unit. Slot No. EH-CPU448 EH-ETH mountable (3) The power down operation must be required when mounting or removing this module and connecting or removing...
  • Page 9 (1): EH-ETH (2): EH-LNK (3): EH-RMD (4): EH-IOCD (5): RDX16* Ethernet network CPU LINK DeviceNet network HITACHI RXD16D HITACHI RXD16D Fig2.1 An example of FA system configuration with EH-150 series. The contents of this manual might be changed without notice.
  • Page 10 Preliminary Rev.03 Chapter 3 Specifications Chapter 3 Specifications General Specifications The general specification of this module is show in Table 3.1. Table 3.1 General Specifications Items Specifications Dielectric withstand voltage 250 V DC between the communication signal and case ground (FE) Internal current consumption 5 V 200 mA 0 to 55 °C, 20 to 90 % RH (no condensation)
  • Page 11 Preliminary Rev.03 Chapter 3 Specifications Functional Specifications The functional specification of this module shown in Table 3.3. Table 3.3 Functional Specification Items Specification - The tool for configuration is general Web browser. Configuration - The configuration for IP address setting and Taskcode communication should be done at IP address setting mode(*1).
  • Page 12 Preliminary Rev.03 Chapter.4 System equipment Chapter 4 System equipment Name and function of each part Type EH-ETH Weight 0.15 kg Dimensions 5) Rock button (mm) 1) LED cover 3) Rest switch 2) Dip switch 4) Connector for Ethernet connection Name Functions Remarks LED cover...
  • Page 13 Preliminary Rev.03 Chapter.4 System equipment Operating mode Operation mode of EH-ETH is set by a dip switch on the front panel. The set operation mode is effective after completion of EH-ETH initialization. There are 2 ways to start the initialization, one is from turning on power and another is from executing Hardware and software reset.
  • Page 14 Preliminary Rev.03 Chapter.4 System equipment LED indications Fig. 4.2.1 shows out view of the LED cover. ETHERNET EH-ETH I.ERR ERR STATUS Tx/Rx Fig. 4.2.1 Out view of the LED cover There are 2 LED indications, one is that its meaning and indication are fixed, which is shown in table 4.2.1(1) and another is that the meaning and the indication depend on the operation mode, which is shown in table 4.2.1(2).
  • Page 15 Preliminary Rev.03 Chapter.4 System equipment 4.2.1 STATUS LED STATUS LED shows many conditions of EH-ETH by combinations of LED color and eliminating patterns. Its meaning depends on the operation mode. (A). In case color is Green and eliminating condition is flicker Operating mode Meaning of LED Normal operation...
  • Page 16 Preliminary Rev.03 Chapter.4 System equipment In case STATUS LED flicks in Red in the normal operation mode, unrecoverable error might exist. If EH-ETH is initialized in this condition, EH-ETH might be recovered but there is a possibility to fall into the problem again.
  • Page 17 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Chapter 5 Configuration and procedure for starting communication Fundamentals of TCP/IP 5.1.1 IP address In general, 32 bits logical address called IP address is used in TCP/IP and UDP/IP protocol. IP address is consisted by Network address and Host address.
  • Page 18 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 5.1.3 IP(Internet Protocol) and routing table IP sends an IP packet having IP header and Data to the destination Host or the Router exists on the route way to the destination Host by using the Link layer standing for the Ethernet. The reliability is not so good, because there are no confirmation of response, retry of sending, detecting of error and connection on the IP level.
  • Page 19: Ip Address Of Self Station

    Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Ethernet information configuration It is required to configure the Ethernet information to this module before to start communication. The Ethernet information is saved by the retained memory of this module as the part of setup.dat file. The detail of the Ethernet information is shown in table 5.2.
  • Page 20 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Configuration of Ethernet information using Web browser This module has the Web server and the set up page for several initial configuration value. User can change initial configuration value using Web browser(*1). The following items can be set by the set up page. In this section, the procedure for changing the Ethernet information from the factory set value included in this module is described.
  • Page 21 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication (2) Start up of the setup page To display the initial window, please input the IP address of this module clearly with the area for URL input of Web browser. For example, when the setting of the dip switch is table 5.5, please input http://192.168.0.4/ onto the URL input area of Web browser.
  • Page 22 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 5.3.2 IP address setting The setting procedure for this module IP address and the destination station IP address for test is described here. (1) Displaying “IP address display frame” Firstly, select the “IP address link selection” of menu frame then the operation frame changes to the “IP address display frame”.
  • Page 23 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 4-5) 5-5) 4-1) 6-5) 5-1) 6-1) 4-6) 5-6) 4-2) 6-6) 5-2) 6-2) 4-3) 5-3) 6-3) 4-4) 5-4) 6-4) Figure 5.7 IP address setting frame Table 5.7 The list of items of IP address operation frame Name Description Range for setting...
  • Page 24 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 5.3.3 Configuration of connection for Task code communication The setting procedure for Task code communication connection is described here. (1) Displaying the “Task code display frame” Select the “Task Code link selection” of menu frame then the operation frame changes to the “Task code display frame”.
  • Page 25 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Table 5.8 The list of items of Task code operation frame Name Description Range for setting Task code port information Task code port To set the timeout of Task code connection is enable or not. This value is Enable, Disable timeout valid for all Task code connections.
  • Page 26 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication The list of error code is shown in table 5.9. Table 5.9 The list of error code during the IP address setting Error Display comment Causes Code Operation mode: Is not Ethernet information 1001 The position of dip switch is not for “Ethernet information setup mode.
  • Page 27 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Configuration of Ethernet information by ladder diagram (1) Setting the dip switch To configure the Ethernet information by ladder diagram, setting dip switch bit1 is ON and bit 2 is ON is required.
  • Page 28: Table Of Contents

    Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Table 5.4.2 The table of Ethernet information Offset of Items I/O No. +00 IP address of self station (Upper word) (Lower word) +02 Sub Net mask (Upper word) (Lower word) +04 Destination IP address of sending / receiving test (Upper word) (Lower word)
  • Page 29 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication (4) The configuration procedure of Ethernet information table The configuration procedure of Ethernet information shown in table 5.4.3 is described here. And also the check procedure is described here. Table 5.4.3 Example of the configuration Items The Value for The area to set...
  • Page 30 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication (b) FUN200 command The notation of the FUN200 command specification and FUN200 usage for this module are described here. FUN200 command Format FUN 200 ( s ) Parameter Starting I/O No. of the S parameter area Function - This command handles Ethernet information using extended XY area between CPU module and this module.
  • Page 31: Routing Information

    Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication (c) Sample program (c-1) The setting Ethernet information R7E3 To set S parameter area (00001) WR003 = H3 The request of Ethernet information putting WR004 = H200 To set the target area (Unit 0, Slot 2) ADRIO = (WR005, R100) To configure R100 as the control bit I/O No.
  • Page 32 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication (c-2) To check the Ethernet information R7E3 To set S parameter area (00001) WR013 = H1 The request of Ethernet information getting WR014 = H200 To set the target area (Unit 0, Slot 2) ADRIO = (WR015, R110) To configure R110 as the control bit I/O No.
  • Page 33 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication The configuration of Automatically Sending and Receiving (ASR) information There are 3 kinds of configuration items of Automatically sending and Receiving information and these are shown in table 5.5.1. Table 5.5.1 The classification of ASR information Class Outline Description...
  • Page 34 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Figure 5.5.2 Automatically Sending and Receiving information configuration window Table 5.7 The list of items of Automatically Sending and Receiving information configuration Name Description Range for setting To select the enable or disable base on the AEN bit configuration of Always Enable, control register MDCD whether the ASR is valid without any condition.
  • Page 35 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication The check of the set value will be started after clicking the “Set” button (A) on the window. If the value are correct, these values are saved into setup file and the window changes to “Automatically Sending and Receiving information display window”.
  • Page 36 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication The check of the set value will be started after clicking the “Set” button (A) on the window. If the value are correct, these values are saved into setup file and the window changes to “Automatically Sending and Receiving connection display window”.
  • Page 37 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 5.5.3 Configuration of Automatically Sending and Receiving I/O area When using the connection for sending, it is required to specify the internal output area (I/O) in the CPU module as the source area. And when using the connection for receiving, it is required to specify the internal output area in the CPU module as the destination area.
  • Page 38 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Table 5.11 The list of items of Automatically Sending and Receiving I/O area configuration Name Description Range for setting Receive area To specify the I/O for the receiving area. If there is no specifying (2) WY,WR, WL, WM and (3) are not valid.
  • Page 39 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication 5.5.4 Downloading and Uploading of Setup file This module saves the information which is configured by Web browser as setup file. User can download this setup file into host computer (PC or WS) using Web browser. And also, user can upload the saved setup file to this module from the host computer.
  • Page 40 Preliminary Rev.03 Chapter 5 Configuration and procedure for starting communication Table 5.12 The list of items of Setup file window Name Description Range for setting Link This is the Link for setup file (setup.dat). Please "save" this Link when downloading is required. Textbox The setup file name for uploading is displayed here.
  • Page 41 Preliminary Rev.03 Chapter 6 Task code communication Chapter 6 Task code communication There is, the communication agreement called a task cord that prescribed an original command to the H series. It is possible to communicate between a host computer and EH-ETH by using this task cord. Features of task code communication - No need ladder program for task code communication.
  • Page 42 Preliminary Rev.03 Chapter 6 Task code communication 6.1.2 Frame format You need to make data, in conformity with the frame format that shows it in Figure 6.1.2 in the application program of a host computer, in the case that it communicates EH-ETH and task cord. This data is dealt with binary data.
  • Page 43 Preliminary Rev.03 Chapter 6 Task code communication 6.1.3 H series network address At H series network system shown in figure 6.1.3.1, you must set CPU module address to specify the appointed CPU module. Station 0 Loop α Station 5 Host Station 0 Station 1 Loop β...
  • Page 44: Task Code +2E Communication Port

    Preliminary Rev.03 Chapter 6 Task code communication Task code port EH-ETH has four logical ports for task code communication. Task code port supports TCP and UDP of data link layer. Table 6.2 shows the comparison to use. Table 6.2 Task code port Compression Item H Host side: Need...
  • Page 45 Preliminary Rev.03 Chapter 6 Task code communication Connection with LADDER EDITOR for Windows® You can program CPU module via EH-ETH with LADDER EDITOR for Windows®. 6.3.1 Equipment - Connect a PC and a HUB, HUB and EH-ETH by 10 BASE-T cable. 6.3.2 Setting of PC This chapter explains at the setting of EH-ETH and PC shown in table 6.3.2.
  • Page 46 Preliminary Rev.03 Chapter 6 Task code communication (2). Click [IP address Specification], and input IP address of PC side to [IP address].192.168.0.128 (3). Restart Windows according to the message displayed. - Editing of Hosts file Edit the file “host”(no extended code) in the directly (usually in ¥windows) which Windows95, 98 is installed by the following process.
  • Page 47 Preliminary Rev.03 Chapter 6 Task code communication - Setting of LADDER EDITOR for Windows® (1). Execute LADDER EDITOR for Windows® and go off-line mode. (2). Choose [Environment Set] in [Utility] menu in the offline mode. (3). Choose [Communication]dialog box. A). Communication type : Ethernet B).
  • Page 48 Preliminary Rev.03 Chapter 7 Automatic data transmission Chapter 7 Automatic data transmission Automatic data transmission EH-ETH has automatic transmission function. The detailed information is mentioned as follows. 7.1.1 Automatic sending EH-ETH is able to send any data to a designated address of CPU or host PC. The outline of this function is shown as fig.
  • Page 49 Preliminary Rev.03 Chapter 7 Automatic data transmission (2). Sending area Sending area can be specified in Web page of “ASR I/O Area (Connection N) Setting”. One connection can handle up to 10 sending areas. (One sending area is called as “Entry”) In case of sending several kinds of I/O areas, they are once sent to a sending buffer according to the setting in web browser.
  • Page 50 Preliminary Rev.03 Chapter 7 Automatic data transmission (2). Receiving area The receiving area can be specified only by “ASR I/O Area (Connection N) Setting” in web page. The receiving area can be defined every ASR connection. Available I/Os are WL, WM, WR, WY. Receive area information Receiving buffer Receiving area...
  • Page 51 Preliminary Rev.03 Chapter 7 Automatic data transmission Presetting Before the data communication, you have to establish connection against to the other port. Here after, an enabled connection is called as “opened connection”, and a disabled connection is called as “closed connection”.
  • Page 52 Preliminary Rev.03 Chapter 7 Automatic data transmission ASR parameters are set in “Set up page” of web browser. Please refer to chapter “5.5 Automatic ??? setting” in details. If the ASR parameters are set properly and EH-ETH is in active mode, ASR connection is opened with the following condition.
  • Page 53 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program In case EH-ETH requests to open connection to the other station. (00001) Parameter area setting of FUN201(s) for reading out SR. R7E3 Request to read out SR WM003 = H2 Area setting (unit:0, slot:0) WM004 = H2F Control bit address is R100 ADRIO = (WM005, R100)
  • Page 54 Preliminary Rev.03 Chapter 7 Automatic data transmission 7.2.2 Close connection The procedure for closing connection is shown as fig.7.2.2.1. Host PC EH-ETH Host PC EH-ETH (A-1) (B-1) (A-2) (B-2) (A-3) (B-3) (A-4) (B-4) (A). In case EH-ETH requests to close connection (B).
  • Page 55 Preliminary Rev.03 Chapter 7 Automatic data transmission The following description is regarding the way to close connection from user program. - In case EH-ETH requests to close to other station. The time chart is shown below in Fig. 7.2.2.2. Register name C2CSR.OPC2 CNCR.CLS2 : By user,...
  • Page 56 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program In case EH-ETH requests to close connection to other station. (00001) R7E3 Setting parameter of FUN201(s) for reading out SR. WM003 = H2 Request to read out SR WM004 = H2F Area setting (unit:0, slot:0) ADRIO = (WM005, R100) Control bit address is R100...
  • Page 57 Preliminary Rev.03 Chapter 7 Automatic data transmission (b). CMCR.CMn = 1 (“Close mode control” is enabled. “n” is ASR connection number) Even if EH-ETH receives a request to close from other station, EH-ETH does not close the connection unless a user program is executed for closing the connection.
  • Page 58 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program To close connection with “Close mode control” enabled. R7E3 (00001) M293 = 1 “Close mode control” for connection 4 is enabled. (00002) R7E3 Setting parameter of FUN201(s) for reading out SR. WM003 = H2 Request to read out SR WM004 = H2F...
  • Page 59 Preliminary Rev.03 Chapter 7 Automatic data transmission Automatic data transmission with user program Without any user program, EH-ETH is able to send / receive data by using cyclic sending and receiving function. In addition to this function, you can achieve more precise data transmission by using above function with user program.
  • Page 60 Preliminary Rev.03 Chapter 7 Automatic data transmission 7.3.1 Optional sending This function is valid only when cyclic sending mode, which is selected in Web page. For further understanding the optional sending, the procedure of disabled optional sending is described at first as below.
  • Page 61 Preliminary Rev.03 Chapter 7 Automatic data transmission Optional sending Transmitted data is refreshed only when EH-ETH receives a certain command from user program, otherwise EH- ETH transmits previous data cyclically. The outline of CPU and EH-ETH is shown in Fig.7.3.1.2, and the time chart is shown in Fig.
  • Page 62 Preliminary Rev.03 Chapter 7 Automatic data transmission Time chart for connection 1 is shown as Fig. 7.3.1.4. Register name EXSR.ECC1 = 1 Optional sending is always enabled. RECR.ASE1 C1CSR.TXC1 : By user, : By EH-ETH Fig. 7.3.1.4 Procedure of optional sending (1).
  • Page 63 Preliminary Rev.03 Chapter 7 Automatic data transmission FUN 201 parameters for reading Status Register (SR) FUN 201 parameters for writing Control Register Description Description WM0 Result (Error code) WM8 Result (Error code) WM1 System area WM9 System area WM3 Control type (Read / write / etc) WMB Control type (Read / write / etc) WM4 EH-ETH slot number, and starting address for SR WMC EH-ETH slot number, and starting address for CR...
  • Page 64 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program Cyclic sending with optional mode (00001) R7E3 WL2 = H01 Transmission area for connection 1 is H01. Transmission area for connection 2 is H11. WL3 = H11 WL4 = H21 Transmission area for connection 3 is H21. Transmission area for connection 4 is H31.
  • Page 65 Preliminary Rev.03 Chapter 7 Automatic data transmission 7.3.2 Optional data receiving This function is valid only when ASR connection is selected as receiving function, which is set in Web page by checking at “Receive” in “Usage” in “ASR Connection (No. n) Setting”. For further understanding the optional receiving, the procedure of disabled optional receiving is described at first as below.
  • Page 66 Preliminary Rev.03 Chapter 7 Automatic data transmission Cycle time Received data Data refresh Data in CPU Fig. 7.3.2.3 Time chart (“Optional receiving” enabled) Time chart for connection 2 is shown as Fig. 7.3.2.4. Register name “Optional receiving” always enabled. EXRR.ARP2 = 1 RDCR.ARE2 C2CSR.RXC2 : By user,...
  • Page 67 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program Automatic receiving (Optional receiving enabled) (00001) R7E3 WM301 = H01 Default data of connection 1. Default data of connection 2. WM302 = H11 WM303 = H21 Default data of connection 3. Default data of connection 4.
  • Page 68 Preliminary Rev.03 Chapter 7 Automatic data transmission 7.3.3 Event sending This event sending function is able to send data at any requested timing. This setting is specified in Web page as below. Please refer to 5.2.5. for further information. [ Setting of Web page ] (1).
  • Page 69 Preliminary Rev.03 Chapter 7 Automatic data transmission Sample program Event sending (00001) R7E3 Parameters setting of FUN201(s) for reading out SR. WM003 = H2 Request to read out SR WM004 = H2F Area setting (unit:0, slot:0) ADRIO = (WM005, R100) Control bit address is R100 ADRIO = (WM006, WM10) Transmission I/O address is starting from WM10...
  • Page 70 Preliminary Rev.03 Chapter 8 Register Structure Chapter 8 Register Structure The register structure of this module are described here. It is possible to send or receive the data with EH-150 system using this module via Ethernet communication line. This sending and receiving can be handled by Automatically Sending and Receiving function and user ladder diagram.
  • Page 71 Preliminary Rev.03 Chapter 8 Register Structure Module Status Register (MDSR) FAE OPM SME EIE AVR ATR IERR ERR Bit 15-8: Reserved These bits are reserved bits. Usually "0" are set. Bit 7: Fatal error bit (FAE) This bit shows that fatal error occurs in the firmware of this module (TCP/IP, UDP/IP protocol). In case that this bit is “1”...
  • Page 72 Preliminary Rev.03 Chapter 8 Register Structure Connection n error status (CnESR) n = 1 to 6 ATE1 SNE1 RCE1 DIS1 STE1 OE1 RAE1 ATE6 SNE6 RCE6 DIS6 STE6 OE6 RAE6 The error condition of each connection (1 to 6) is shown in this area. Bit 15-7: Reserved These bits are reserved.
  • Page 73 Preliminary Rev.03 Chapter 8 Register Structure Bit 0: Open error bit (OE[6:1]) These bits show the condition during opening connection. Bit0: OE[6:1] Description No error is detected during opening connection. An error is detected during opening connection. Method to clear: To clear these bits to "0", please set "1" to OEC[6:1] of EC1CR. The contents of this manual might be changed without notice.
  • Page 74 Preliminary Rev.03 Chapter 8 Register Structure Connection n communication status (CnCSR) n = 1 to 6 OPC1 CRO1 SMF1 ESF1 ERF1 RXC1 TXC1 OPC6 CRO6 SMF6 ESF6 ERF6 RXC6 TXC6 The connection condition of each connection is shown in this area. Bit 15-7: Reserved These bits are reserved.
  • Page 75 Preliminary Rev.03 Chapter 8 Register Structure Control Register The information to control this module operation are passed from CPU module to this module via Control area. Figure 8.2 shows the map of the control area. The control area is structured with 10 kinds of registers. Each register size is 1 word (16bits).
  • Page 76 Preliminary Rev.03 Chapter 8 Register Structure Module Control Register (MDCR) AEN IAV EC1 EC0 Bit 15-4: Reserved These bits are reserved. Please set "0" always. Bit 3: Automatic Sending/Receiving enable bit (AEN) To specify whether Automatic Sending/Receiving function is used or not. Bit3: AEN Description Request to disable Automatic Sending/Receiving function.
  • Page 77 Preliminary Rev.03 Chapter 8 Register Structure Connection Control Register (CNCR) CLS6 CLS5 CLS4 CLS3 CLS2 CLS1 OPN6 OPN5 OPN4 OPN3 OPN2 OPN1 "Open request" and "Close request" for each connection is handled using this register. Bit 15, 14, 7, and 6: Reserved These bits are reserved.
  • Page 78 Preliminary Rev.03 Chapter 8 Register Structure Exclusive Send Control Register (EXSR) ECC6 ECC5 ECC4 ECC3 ECC2 ECC1 Using this register Exclusive control of Send area of each connection can be specified. If Exclusive control of Send area is specified, the send data collection from CPU module by this module will not be done during this bit is set.
  • Page 79 Preliminary Rev.03 Chapter 8 Register Structure Ready/Event send Control Register (RECR) ASE6 ASE5 ASE4 ASE3 ASE2 ASE1 Bit 15-6: Reserved These bits are reserved. Please set "0" always. Bit 5-0: Send ready/Event send request bit (ASE[6:1]) The function of this bit is different with send mode of each connection. Send mode is specified by Automatic Sending/Receiving configuration table.
  • Page 80 Preliminary Rev.03 Chapter 8 Register Structure Exclusive Receive control Register (EXRR) ARP6 ARP5 ARP4 ARP3 ARP2 ARP1 Using this register Exclusive control of Receive area of each connection can be specified. If Exclusive control of Receive area is specified, the received data sending to CPU module by this module will not be done during this bit is set.
  • Page 81 Preliminary Rev.03 Chapter 8 Register Structure Ready receive Control Register (RDCR) ARE6 ARE5 ARE4 ARE3 ARE2 ARE1 Bit 15-6: Reserved These bits are reserved bits. Please set "0" always. Bit 5-0: Receive Ready bit (ARE[6:1]) This bit is effective to the connection which is declared as the connection on which Automatic Sending/Receiving function is effective and Exclusive receive control set as enable.
  • Page 82 Preliminary Rev.03 Chapter 8 Register Structure Error Clear Control 1 Register (EC1CR) TEC6 TEC5 TEC4 TEC3 TEC2 TEC1 OEC6 OEC5 OEC4 OEC3 OEC2 OEC1 This register is used for to clear the bits related to connection error. Bit 15, 14, 7 and 6: Reserved These bits are reserved bits.
  • Page 83 Preliminary Rev.03 Chapter 8 Register Structure Error Clear Control 2 Register (EC2CR) DIC6 DIC5 DIC4 DIC3 DIC2 DIC1 RAC6 RAC5 RAC4 RAC3 RAC2 RAC1 This register is used for to clear the bits related to connection error. Bit 15, 14, 7 and 6: Reserved These bits are reserved bits.
  • Page 84 Preliminary Rev.03 Chapter 8 Register Structure Error Clear Control 3 Register (EC3CR) SNC6 SNC5 SNC4 SNC3 SNC2 SNC1 RCC6 RCC5 RCC4 RCC3 RCC2 RCC1 This register is used for to clear the bits related to connection error. Bit 15, 14, 7 and 6: Reserved These bits are reserved bits.
  • Page 85 Preliminary Rev.03 Chapter 8 Register Structure Close Mode Control Register (CMCR) CM6 CM5 CM4 CM3 CM2 CM1 This is the register which chooses the handling when this module receives Close request from other station. Bit 15-6: Reserved. These bits are reserved bits. Please set "0" always. Bit 13-8: Close mode bit (CM[6:1]) To specify the close mode for each connection.
  • Page 86 Preliminary Rev.03 Chapter 8 Register Structure Table 8.2 The list of registers Status Registers Bit name Reg. name I/O No. IERR MDSR ATE1 SNE1 RCE1 RAE1 DIS1 STE1 C1ESR ATE2 SNE2 RCE2 RAE2 DIS2 STE2 C2ESR ATE3 SNE3 RCE3 RAE3 DIS3 STE3 C3ESR ATE4 SNE4 RCE4 RAE4 DIS4 STE4 C4ESR...
  • Page 87 Preliminary Rev.03 Chapter 8 Register Structure How to access registers The notation of the FUN201 command specification and FUN200 usage for this module are described here. FUN201 command Format FUN 201 ( s ) Parameter Starting I/O No. of the S parameter area Function These are the commands to access registers.
  • Page 88 Preliminary Rev.03 Chapter 8 Register Structure Sample program (1). Reading from the Status registers When FUN201 command is executed, the value of Status register will be putting on WM100 to WM10C. R7E3 To set S parameter area (00001) WR003 = H2 The request of Status register getting WR004 = H22F (Without handshake)
  • Page 89 Preliminary Rev.03 Chapter 9 Maintenance, check, error Chapter 9 MAINTENANCE,CHECK,ERROR Check the module dairy or regularly on order to use EH-ETH in best condition and keep the system run normally. Dairy Check Check the following items on running condition. AS to EH-150 series PLC, see the application manual “EH-150 application manual(NJI-280B)” Table 9.1 Dairy check item Check item Method...
  • Page 90 Preliminary Rev.03 Chapter 9 Maintenance, check, error Error LED and measure Following table shows the indication and the measure in case an error occurs in communication between EH-ETH and other station. 9.3.1 ERR confirmation by LED indication When EH-ETH detects the abnormality of devices itself and also the abnormality in a communication is detected those LED that is related abnormally is lighted up.
  • Page 91 Preliminary Rev.03 Chapter 9 Maintenance, check, error 9.3.2 How to turn off LED ERR LED and I.ERR LED can be confirmed light/unlighted status or made turned off by ladder program. (1) Confirm LED light Ladder program can confirm the status(light or unlighted) of ERR and I.ERR. The status of each LED is stored in module status register(MDSR) in EH-ETH.
  • Page 92 Preliminary Rev.03 Chapter 9 Maintenance, check, error The below ladder program monitor the status of ERR and I.ERR LEDs, and turn off LED automatically by the light of LED. This sample program hypothesizes the error of ASR connection 1 specified positive station. Set EC0 bit of MDCR to internal output M200 and EC1 bit to internal output M201 as well.
  • Page 93 Preliminary Rev.03 Chapter 9 Maintenance, check, error 9.3.3 Confirm error by status register(SR) EH-ETH has internally status register(SR) which stores communication status for each ASR connection. You can monitor this SR and program the retry circuit when the communication error occurs. See the “chapter 8 Register”...
  • Page 94 Preliminary Rev.03 Chapter 10 Troubleshooting Chapter 10 Troubleshooting This chapter explains the trouble shooting in case a system using EH-ETH. 10.1 Troubleshooting follow (1) Start of PLC Start of PLC system setup EH-ETH can be mounted in slot 0 to 2. EH-ETH is mounted Reexamine the mounted slot in slot 0 to 2...
  • Page 95 Preliminary Rev.03 Chapter 10 Troubleshooting (2) Various kinds setting Various kinds setting start At the other setting shown in left, a DIP SW bit 1 is ON, part of parameters can not be Bit 2 is OFF. changed. Wrong setting of DIP SW. The setting of bit 3 to 8 is IP DIP SW bit 3 to 8 are address lowest byte.
  • Page 96 Contact a Hitachi sales office or your distributor. *1: The time for several minutes may be needed by the setting value of ASR connection timeout *2: You need to make a ladder program, to confirm the establishment situation of a connection.
  • Page 97 Preliminary Rev.03 Chapter 10 Troubleshooting (4) Connection open error EH-ETH detect the error of ASR connection specified active node. When a connection is not established to ASR connection specified as passive node or task code connection, make a detection of error at the other node. Connection does not establish Confirm contents of the Ethernet information - Own or Other communication protocol...

This manual is also suitable for:

Eh-eth