Quick Links

Table of Contents
loading

Summary of Contents for Hitachi S10mini IR.LINK

  • Page 3 First Edition, October 2001, SME-1-117(A) (out of print) Second Edition, October 2008, SME-1-117(B) All Rights Reserved, Copyright © 2001, 2008, Hitachi, Ltd. The contents of this publication may be revised without prior notice. No part of this publication may be reproduced in any form or by any means without permission in writing from the publisher.
  • Page 4 SAFETY PRECAUTIONS Be sure to read this manual and all other attached documents carefully before installing, operating inspecting or conducting maintenance on this unit. Always use this unit properly. Be sure to carefully read the information about the device, the safety information and precautions before using this unit.
  • Page 5 1. Installation CAUTION Use this product under the environmental conditions specified in the catalogs and manual. Utilizing this product in a hot, damp, or dusty atmosphere or in an atmosphere of corrosive gas, vibration or impact may lead to a malfunction, shock hazard or fire.
  • Page 6 3. Handling precautions DANGER Do not touch any terminal while this product is live, as this may lead to a shock hazard. Configure an emergency stop circuit, interlocking circuit and related circuitry outside the programmable controller. A programmable controller failure may lead to a general breakdown or an accident.
  • Page 7 Hitachi Engineering & Services Co., Ltd. The malfunctioning part will be replaced or repaired free of charge. If the malfunctioning is shipped, however, the shipment charge and packaging expenses must be paid for by the customer.
  • Page 8 This manual provides information for the following hardware product: IR.LINK (LQE541) Description of added changes Page Subsection 6.1.4, “Replacing or adding on the module” is newly added. In addition to the above changes, all the unclear descriptions and typographical errors found are also corrected without prior notice.
  • Page 9 Revision record Revision No. Revision Record (revision details and reason for revision) Month, Year Remarks First Edition October 2001 Subsection 6.1.4, “Replacing or adding on the module” October 2008 is newly added.
  • Page 10 PREFACE We greatly appreciate your making use of the CPU option IR.LINK module. This hardware manual on the option IR.LINK describes how to handle the IR.LINK module. Read this hardware manual carefully to use the module properly. Memory capacities and requirements, file sizes and storage requirements, etc.
  • Page 11: Table Of Contents

    CONTENTS 1 BEFORE USE ........................1-1 1.1 CPU Mount Base ......................1-2 1.2 Mounting Optional Modules.................... 1-2 1.3 Grounding ........................1-4 2 SPECIFICATIONS......................2-1 2.1 Use ........................... 2-2 2.2 Specifications ........................2-2 2.2.1 System specifications....................2-2 2.2.2 Line specifications ....................2-2 3 NAMES AND FUNCTIONS OF EACH PART AND CABLING ........
  • Page 12 5.2.2 Function system....................... 5.3 Editing Module Information.................... 5.3.1 Setting refresh cycle ....................5.3.2 Setting status table....................5.3.3 Station ID ........................ 5.3.4 Setting an I/O area ....................5.3.5 Setting slot information................... 5.3.6 Analog mode ......................5.4 Registration of Interrupting Tasks................. 5-10 6 MAINTENANCE .......................
  • Page 13: Before Use

    1 BEFORE USE...
  • Page 14: Cpu Mount Base

    1 BEFORE USE 1.1 CPU Mount Base There are three types of CPU mount bases: • 2-slot mount base (model: HSC-1020) • 4-slot mount base (model: HSC-1040) • 8-slot mount base (model: HSC-1080) On the 8-slot mount base, for example, up to eight modules, except the power supply module 8-slot mount base and CPU module, can be mounted.
  • Page 15 1 BEFORE USE When mounting an optional module, observe following rules. Mount the module straight to the front of the CPU mount base. If it is mounted at a slant as shown in the bad examples, the connectors may be damaged and the option module may malfunction.
  • Page 16: Grounding

    1 BEFORE USE 1.3 Grounding Cubicle ground terminal Mount base Cubicle ground terminal 2 m or lower 2 mm or greater Class D grounding* REQUIREMENT In frame ground (FG) cabling, connect the FG terminal of each module with external terminals to the cubicle ground terminal of the mount base. Apply Class D grounding from the cubicle ground terminal of the mount base.
  • Page 17: Specifications

    2 SPECIFICATIONS...
  • Page 18: Use

    Up to 31 stations Two pairs of shielded twisted-pair cables Line type Recommended cable: KPEV_SB 2P 0.5 mm (Hitachi Cable, Ltd.) The distance depends on the transmission rate as follows: Transmission rate ≤ 1.0 Mbps: Up to 240 m Connection cable Distance Transmission rate ≤...
  • Page 19: Names And Functions Of Each Part And Cabling

    3 NAMES AND FUNCTIONS OF EACH PART AND CABLING...
  • Page 20: Names And Functions Of Each Part

    3 NAMES AND FUNCTIONS OF EACH PART AND CABLING 3.1 Names and Functions of Each Part ① Module No. setting switch Use this switch to set up the main module and sub-module. (For details on T/M, see Subsection 6.1.2.) Set IR.LINK as a sub-module when you install J.NET LQE046 IR.LINK (LQE040) or a J.NET-INT module (LQE045) on the same...
  • Page 21: Cabling

    3 NAMES AND FUNCTIONS OF EACH PART AND CABLING 3.2 Cabling 3.2.1 Interface signals and cabling method Network 1 (N1) LQE046 IR.LINK Signal name MODU. Abbreviation Name (Linkage data) RATE Send/receive data (Signal Ground) Grounding for signal (SHielD ground) Grounding for shield TERM (TERMinal registor) TERM...
  • Page 22: Cable Specifications

    The IR.LINK module requires two pairs of shielded twisted-pair cables. A polyethylene-insulated vinyl sheath cable for instrumentation should be used as the cable for IR.LINK and IR.Station. Interface Cable Specifications for KPEV-SB 2P 0.5 mm of Hitachi Cable, Ltd. (Recommended Cable Type) Item Specifications 34.0 Ω/km...
  • Page 23: Examples Of Cabling

    3 NAMES AND FUNCTIONS OF EACH PART AND CABLING 3.2.3 Examples of cabling Connect terminating resistors to the devices connected to both ends of the cable. Examples of cabling are given below. Connection when the IR.LINK module is used at an end. IR.LINK module S10mini CPU unit Terminator connection for IR.Station...
  • Page 24 3 NAMES AND FUNCTIONS OF EACH PART AND CABLING Connection when the IR.LINK module is used somewhere between the ends. TERM Open terminals TERM and A (A10 and A11) because the IR.LINK module is used some where between the ends. IR.LINK module S10mini CPU unit Terminated...
  • Page 25: User Guide

    4 USER GUIDE...
  • Page 26: Software Configuration Of Ir.link System

    4 USER GUIDE 4.1 Software Configuration of IR.LINK System The software configuration of the IR.LINK system is shown in the figure below. The communication control programs and sub-OS in the figure need not be loaded into memory by the user because they are ROM programs. User task Slave program...
  • Page 27 4 USER GUIDE Communication control program The main functions of the communication control program are as follows: • The communication control program communicates data with the IR.Station and boots up the sub-OS by interrupting the CPU when a specific DI input turns from OFF to ON. IR.LINK IR.Station PI/O...
  • Page 28: Startup Of Tasks Activated By Interrupting I/O Input

    4 USER GUIDE 4.2 Startup of Tasks Activated by Interrupting I/O Input 4.2.1 Outline The IR.LINK module generates an interruption by DI signal and activates a pre-registered interrupting task. The IR.LINK module can generate eight interrupting inputs. To startup interrupting tasks, configure the setting of the IR.Station and register tasks. 4.2.2 The Configuration and Installation of the IR.Station module Setting of the station numbers Set “01”...
  • Page 29: Registration Of Interrupting Tasks

    4 USER GUIDE 4.2.3 Registration of interrupting tasks To register the interrupting task that is activated by interrupting I/O inputs, specify the task numbers and the startup factors in the interrupting task registration table by using a tool. (See “5.4 Registration of Interrupting Tasks.”) Elaboration table Data format...
  • Page 30: Startup Timing

    4 USER GUIDE 4.2.4 Startup Timing Startup timing of the interrupting task The figure below shows the timing of the interrupting I/O input and activation. Response time Task execution Task execution time Transmission time Fetch IR.LINK Input Input delay Fetch DI Card Input Interrupting I/O Input These must take longer than the sum of the input delay and the refreshing cycle.
  • Page 31: Net Status

    4 USER GUIDE 4.3 NET Status The NET status table stores communication information (binary) for each station. The user must register the starting address of the NET status table in any of the following eight areas. X000 to XFFF Y000 to YFFF J000 to JFFF Q000 to QFFF G000 to GFFF...
  • Page 32: S-Register

    4 USER GUIDE 4.4 S-register The S-register stores error information. This register is set if an error is detected even in one of the stations (sub-stations). SWA00 (main module) N1 ERR N1 ALM SWA80 (sub-module) N1 ERR N1 ALM Note: ALM: communication error ERR: hardware error.
  • Page 33: S-Table

    4 USER GUIDE 4.5 S-table The S-table is an address table that stores communication error codes. (For details on communication error codes, see Subsections 6.3.3 and 6.3.2.) Table 4-1 S-table Assignment Net No. Station ID Main module error code Sub-module error code Unoccupied /A40080 /AC0080...
  • Page 34: Communication Time

    4 USER GUIDE 4.6 Communication Time The time required by IR.LINK module and IR.Station for communication depends on the number of installed slots and I/O sizes. Calculation method to derive the time elapsed for the communication is shown below as a rule of thumb. Communication when the analog I/O is set to the asynchronous mode The communication time per station is approximately expressed by the following: •...
  • Page 35 4 USER GUIDE Communication when the analog I/O is set to the synchronous mode The communication time per station is approximately expressed by the following: • At a rate of 1 Mbps: 1.4+(DS×0.06)+(DN×0.070)+(AS×0.23)+(AN×0.013) [ms] • At a rate of 0.5 Mbps: 1.7+(DS×0.06)+(DN×0.077)+(AS×0.23) +(AN×0.024) [ms] DS: Number of slots having DI/DO modules DN: Total I/O size (in bytes) of DI/DO modules AS: Number of slots having AI/AO modules...
  • Page 36: Operation

    5 OPERATION...
  • Page 37: About Ir.link Support System

    5 OPERATION 5.1 About IR.LINK SUPPORT System Use the IR.LINK system as a tool for starting and setting the IR.LINK module. The IR.LINK SUPPORT system is a man-machine tool that sets communication information for IR.LINK modules and stations. 5.1.1 System configuration IR.LINK module (main) LQE046 S10mini CPU unit...
  • Page 38: System Startup

    5 OPERATION 5.2 System Startup 5.2.1 IR.LINK SUPPORT system startup procedure [1] Power down the CPU and then mount the IR.LINK Mount IR.LINK module module. [2] (a) Set the MODU No. switch of the IR.LINK Set rotary switch module to 0 (main module) or 1 (sub-module). (b) Use the BIT RATE switch of the IR.LINK module to set the bit rate to 0 (1 Mbps), 1 (0.5 Mbps), 2 (0.25 Mbps), or 3 (0.125 Mbps).
  • Page 39 5 OPERATION 5.2.2 Function system Function system Setting refresh cycle Editing module information Setting status table Station ID Editing information Station number Station type Refresh cycle monitoring time Setting an I/O area Setting an I/O byte Setting an I/O address Setting slot information Slot number I/O type...
  • Page 40 5 OPERATION 5.3 Editing Module Information 5.3.1 Setting refresh cycle Set an I/O service refresh cycle. Setting range 1.5, 2, 2.5, 3 to 3000 Unit: ms 5.3.2 Setting status table Set a status table. (Leave this section unused when you do not need it.) X000 to XFFF Y000 to YFFF J000 to JFFF...
  • Page 41 5 OPERATION 5.3.3 Station ID Select a station ID (serial sub-station (IR.Station) information No.). Setting range /01 to /1F • Station number Set the station number to be assigned to the sub-station. Setting range /01 to /7F • Station type Set the station type of the sub-station.
  • Page 42 5 OPERATION 5.3.4 Setting an I/O area • Setting the number of input and output bytes Setting range /00 to /100 • Setting input and output addresses FW000 to FWBFF XW000 to XWFF0 YW000 to YWFF0 JW000 to JWFF0 QW000 to QWFF0 Setting range GW000 to GWFF0 RW000 to RWFF0...
  • Page 43 5 OPERATION 5.3.5 Setting slot information • Slot number Select the number of the slot into which the set module is to be inserted. Setting range /0 to /7 • I/O type Set the I/O module to be inserted into each slot. Setting value Deletion S10 AI (4 ch)
  • Page 44 5 OPERATION • Setting the number of transfer bytes Setting range /01 to /10 • Setting transfer addresses FW000 to FWBFF XW000 to XWFF0 YW000 to YWFF0 JW000 to JWFF0 QW000 to QWFF0 Setting range GW000 to GWFF0 RW000 to RWFF0 EW400 to EWFF0 MW000 to MWFF0 /100000 to /4FFFFE (extended memory)
  • Page 45 5 OPERATION 5.4 Registration of Interrupting Tasks The IR.LINK module generates an interruption by DI signal and allows a pre-registered task to startup. The module can generate eight interrupting inputs. To startup interrupting tasks, select the “Enter interrupt task” button from the main screen of the IR.LINK system and register task numbers and the starting factor.
  • Page 46 6 MAINTENANCE...
  • Page 47 6 MAINTENANCE 6.1 Maintenance and Check 6.1.1 Periodic check Item Description Frequency Unit cleaning Turn off all the power supplies and then vacuum the Once/year interior of the IR.LINK module through the slits in its casing. Do not raise dust during cleaning. Mechanical check Check IR.LINK module mounting screws, TB mounting Once/year...
  • Page 48 6 MAINTENANCE 6.1.2 Test/maintenance program (T/M) T/M is a program for IR.LINK module maintenance check and can be started automatically due to any power failure and recovery after the MODU No. and BIT RATE switches have been set. MODU No. BIT RATE Description Cabling...
  • Page 49 • T/M No.7 (cabling is performed as shown in the figure below) LQS021 IR.Station Power IR.LINK supply module module module TX/RX ST.NO RATE HITACHI For IR.Station set IR.Station BIT RATE to 8 and 8-slot mount base ST.NO to /01.
  • Page 50 ③ Connect the personal computer and the CPU module together with the RS-232C cable. ④ Start Hitachi’s S10 IR.LINK System and save the set values of all the existing parameters by using its F/D function. (If the existing parameters are not accessible for some reason, use...
  • Page 51 6 MAINTENANCE ⑤ Set the CPU module’s LADDER switch in STOP position and turn off the power supply of the controller unit. ⑥ Remove the connecting cables from the IR.LINK module to be replaced. ⑦ Replace the existing IR.LINK module with the new one and set the new IR.LINK module’s rotary switches in the same way as you wrote down in Step ①.
  • Page 52 6 MAINTENANCE ⑤ Connect the personal computer and the CPU module together with the RS-232C cable. Then, turn on the power supply of the controller unit and set parameters for the add-on IR.LINK module by using the S10 IR.LINK System. ⑥...
  • Page 53 Correct if the item is not executed correctly. Normal return? Read error indicators and the S-register table to identify and correct the problems. Normal return? Fill in trouble inspection sheet.* Call your local HITACHI End of troubleshooting. service center. * See A.9, “Trouble Inspection Sheet.”...
  • Page 54 6 MAINTENANCE 6.2.2 Before you think that trouble occurred Are the terminating resistors of the communication cable connected? • Terminating resistors (120 ohms) must always be connected to both ends of the communication cable line. (In IR.LINK and IR.Station, short the TERM terminals with a jumper and thereby connect to the 120-ohm internal resistor.) Terminating resistor...
  • Page 55 6 MAINTENANCE Is the IR.LINK module mounted correctly? • Check whether the IR.LINK module is left-justified with no idle slot between the modules. • Check whether all mounting screws are tightly fastened. Is grounding correct? • Do not ground the IR.LINK module in the same place where high-voltage equipment is grounded.
  • Page 56 6 MAINTENANCE 6.3 Errors and Countermeasures 6.3.1 CPU LED display messages As shown in the table below, CPU LED display messages depend on the main module and sub-module. Message Description Countermeasure IRLM @. @ The IR.LINK module (main module) was This is not an error.
  • Page 57 6 MAINTENANCE 6.3.2 Hardware errors When it detects a hardware error, the IR.LINK module displays an error message in the CPU LED. The module also turns on the error LED and collects error freeze information. The module then stops. Message Error User response Bus error...
  • Page 58 6 MAINTENANCE 6.3.3 Communication errors (1) Network errors When an error was found on the network of the IR.LINK module, the status error flag of the NET status and the ALM of the S-register is turned ON and write error code (see table below) into S-table.
  • Page 59 6 MAINTENANCE (2) Station errors When an error is found in the IR.Station connected with the IR.LINK module, the error flag of the NET status and the ALM of the S-register are turned on and the error code is written in the S-table (shown below).
  • Page 60 APPENDIX...
  • Page 61 APPENDIX A.1 CPU Memory Map Address MSB Address MSB /000000 /060000 OS-ROM System table /010000 /060BF0 LPET /061000 Data registers DW000 System hardware to DWFFF area (4k words) /063000 T000 to TIFF /063400 U000 to U0FF /060000 /063600 C000 Sequence to C0FF /063800 /080000...
  • Page 62 APPENDIX A.2 IR.LINK Module Memory Map Main module Sub-module /A00000 /A80000 Microprogram /A38000 /AB8000 Slave parameter table (SVPT) /A40000 /AC0000 /AC0400 /A40400 Error freeze table /A40500 /AC0500 /AC2000 /A42000 Error counter /A43000 /AC3000 /A44000 /AC4000 Command and response buffers /A4C800 /ACC800 /AD5000 /A55000...
  • Page 63 APPENDIX A.3 Error Freeze When it detects a hardware error, the IR.LINK module lights the error LED, stores error freeze information, and stops. Code Error Display Main module Sub-module 0010H Bus error − /A40400 /AC0400 Error code 0011H Address error ADDR /A40404 Time from reset (ms)
  • Page 64 APPENDIX Stack frames in the error freeze information table are explained below.
  • Page 65 APPENDIX A.4 Error Counter The error counter counts the communication errors that occur between the IR.LINK module (master) and station (slave). This counter is initialized when it is reset. (TXUN) /A42000 (At broadcast) Transmitter underrun /A42020 Station ID=01 (TXCT) CTS dissipation /A42040 Station ID=02 (RXLG)
  • Page 66 APPENDIX A.5 Command and Response Buffers Command buffer /A44110 +000 Station ID=01 CFLAG /A44220 − Station ID=02 /A44330 Station ID=03 Return code (H) /A44440 Station ID=04 /A44550 Station ID=05 Station No. /A44660 Station ID=06 /A44770 Station ID=07 /A44880 Station ID=08 /A44990 Station ID=09 Station ID=0A...
  • Page 67 APPENDIX Response buffer /A48510 Station ID=01 +000 CFLAG − /A48620 Station ID=02 /A48730 Station ID=03 Return code (H) /A48840 Station ID=04 /A48950 Station ID=05 Station No. /A48A60 Station ID=06 /A48B70 Station ID=07 /A48C80 Station ID=08 /A48D90 Station ID=09 Station ID=0A /A48EA0 Service code Station ID=0B...
  • Page 68 APPENDIX A.6 Data Send and Receive Buffers Data send buffer /A55220 Station ID=01 +000 Transmission data length (H) /A55440 Station ID=02 /A55660 Station ID=03 Control flag /A55880 Station ID=04 /A55AA0 Station ID=05 Error code /A55CC0 Station ID=06 /A55EE0 Station ID=07 /A56100 Station ID=08 Unused (4 bytes)
  • Page 69 APPENDIX Data receive buffer Station ID=01 /A5DA20 +000 Transmission data length (H) /A5DC40 Station ID=02 Station ID=03 /A5DE60 Control flag /A5E080 Station ID=04 Station ID=05 /A5E2A0 Error code /A5E4C0 Station ID=06 Station ID=07 /A5E6E0 /A5E900 Station ID=08 Unused (4 bytes) Station ID=09 /A5EB20 Station ID=0A...
  • Page 70 APPENDIX A.7 Trace Trace is started in the error stop mode (error occurrence, trace stop) when the CPU is reset or power is recovered. Trace data is recorded in transmission or reception units of each service. The trace data structure is shown below. Trace data structure Type Return code...
  • Page 71 APPENDIX Return code See Subsection 6.3.3, “Communication errors.” 20-byte data from beginning of send or receive buffer in physical layer (See the tables below.) A: Station number A: Station number 7L-sc: 7L layer service code C: Control flag...
  • Page 72 APPENDIX Trace area Main module Sub-module Trace pointer Trace pointer /A68000 /AE8000 The trace pointer points to a value of /A68002 /AE8002 Forced traced stop from 0 to 2FE. The reference /A68004 /AE8004 Trace stop code address of trace data from the trace /A68006 /AE8006 Trace mode...
  • Page 73 APPENDIX A.8 Comparison of the Performance between High Speed Remote I/O for S10/2α Series and I/O Refresh Time of IR.LINK for S10mini The graph shown below expresses the performance of the I/O refreshing time of the S10/2α series and the IR.LINK for the S10mini. In this graph, the Bit Rate switch of the IR.LINK is set to “1.0 Mbps.”...
  • Page 74 APPENDIX A.9 Trouble Inspection Sheet Trouble inspection sheet Your company name Person in charge Data and time of occurrence (year / month / day / hour / minute) Address Where to make contact Telephone E-mail Model of defective module CPU model Ver.

Table of Contents