Toshiba TOSLINE-S20LP Instruction Manual
Toshiba TOSLINE-S20LP Instruction Manual

Toshiba TOSLINE-S20LP Instruction Manual

T2n/t3h stations local area network (lan) for factory automation (fa) system

Advertisement

Quick Links

6 F 3 B 0 3 5 6
Instruction Manual TOSLINE-S20LP
T2N/T3H stations
REQUIREMENTS
Keep this instruction manual where it can be easily
referred to by users and those responsible for the
equipment.
Read this instruction manual carefully before using
the equipment.
After this instruction manual has been read, keep it
beside the equipment.
Main Menu
Contents
June, 1998
TOSHIBA CORPORATION
UM-TS02N**-E005

Advertisement

Table of Contents
loading

Summary of Contents for Toshiba TOSLINE-S20LP

  • Page 1 Keep this instruction manual where it can be easily referred to by users and those responsible for the equipment. Read this instruction manual carefully before using the equipment. After this instruction manual has been read, keep it beside the equipment. Main Menu Contents June, 1998 TOSHIBA CORPORATION UM-TS02N**-E005...
  • Page 2 Corporation be responsible or liable for either indirect or consequential damage or injury that may result from the use of this equipment. No patent liability is assumed by Toshiba Corporation with respect to the use of information, illustration, circuits equipment, or application examples in this...
  • Page 3: Preface

    6 F 3 B 0 3 5 6 Preface The TOSLINE-S20LP is a Local Area Network (LAN) for Factory Automation (FA) system. Several kinds of TOSLINE-S20LP stations are available for interfacing various equipments, such as PLCs, computers, etc. This manual describes How To Use the TOSLINE-S20LP stations for Programmable Controller T2N/T3H.
  • Page 4: Table Of Contents

    6 F 3 B 0 3 5 6 Contents PREFACE............................. 2 CONTENTS............................3 1. INTRODUCTION TO S20LP ......................4 1.1 S .......................... 4 YSTEM CONFIGURATION 1.2 S ..........................5 TATION HARDWARE 1.3 S-LS ............................9 OVERVIEW 1.4 S ............................. 11 PECIFICATIONS 2.
  • Page 5: Introduction To S20Lp

    6 F 3 B 0 3 5 6 1. Introduction to S20LP 1.1 System configuration The following figure shows the typical system configuration of the S20LP. internal bus I/O bus OTR2 OTR2 OTR1 OTR1 Station No.1 Station No.2 S20LP Port SN325 (Main terminal station) (Back-up terminal station)
  • Page 6: Station Hardware

    6 F 3 B 0 3 5 6 1.2 Station hardware Overview T2N include of S20LP Port PU245N Status LEDs for RUN FLT BAT ERUN ET/R EACC Ethernet Port SRUN SONL SACC Status LEDs for S20LP Port STNH Station number setting switches DIP switches STNL...
  • Page 7 6 F 3 B 0 3 5 6 SN325 SN325 SCAN Status LEDs LOOP RESET Reset switch STNH Station number setting switches STNL OTR1 Transmission cable connectors OTR2 LOADER LOADER port...
  • Page 8 6 F 3 B 0 3 5 6 Status LEDs: Indicate the status of the S20LP-station.(see Section 5.3) S20LP port for T2N (PU245N) SRUN Station is normal Not lit Down mode SONL Online mode (Scan transmission is executing) Blink Standby mode (Scan transmission is not executing) Not lit Offline mode (Scan transmission is not executing) SACC...
  • Page 9 6 F 3 B 0 3 5 6 Station number setting switches: Used to set the station number. (allowable setting is 1 to 64) The setting status is read at power-on. STNH ....10’s digit STNL ....1’s digit Loader port: Used to connect the S-LS (or T-PDS for remote programming / monitoring).
  • Page 10: S-Ls Overview

    6 F 3 B 0 3 5 6 1.3 S-LS overview The S-LS (TOSLINE-S20 Loader System) on a personal computer (PC) monitors station conditions, reads/writes control data, and sets up parameters. The transmission parameters set by S-LS is stored in the S20LP-station's built-in EEPROM. Connection between S-LS and S20LP-station is made by an loader cable, that is the same cable as for T-PDS.
  • Page 11 6 F 3 B 0 3 5 6 The toolbar has buttons for the functions frequently used. The following buttons are found from left to right. [Exit button] Exits the application. [Setting Information button] Displays the Setup Information window. [Data Access button] Displays the Data Access window.
  • Page 12: Specifications

    6 F 3 B 0 3 5 6 1.4 Specifications S20LP system specifications Transmission cable Silica glass SI 200/230 m H-PCF (Hard-Plastic Clad Fiber) Cable connection F07 connector (cable side connector) (JIS C5976) Transmission distance Max. 1 km (between stations) Max.
  • Page 13: Scan Transmission Overview

    6 F 3 B 0 3 5 6 2. Scan transmission overview The Scan transmission method is suitable for real time control data linkage. In the S20LP, data sending station is rotated cyclically. Each station has common memory for Scan transmission. The size of the common memory is 4096 words. When a station becomes the data sender station, it sends data of prespecified area of the common memory.
  • Page 14 6 F 3 B 0 3 5 6 Main terminal station, back-up terminal station and general station When power is applied to each S20LP-station, one station must have station address number 1. The station of station number 1 becomes the main terminal station. The station of station number 2 becomes back-up terminal station.
  • Page 15: Setting For Data Linkage

    6 F 3 B 0 3 5 6 3. Setting for data linkage 3.1 Station number setting Each station should have unique station number. If a station number is duplicated, the S20LP network cannot be established. Allowable station number is 1 to 64. To set the station number, two rotary switches (STNH and STNL) are provided on each station.
  • Page 16 6 F 3 B 0 3 5 6 (2) Network assignment a) Set "LINK" for the Blocks to be assigned. <Setting example> T2N/T3H Network S20LP-station W registers assignment common memory Block 1 Receive W000-063 LINK Block 2 W064-127 LINK Send Block 3 W128-191 LINK...
  • Page 17 6 F 3 B 0 3 5 6 <T-PDS screen example 2> P: PLC A: I/O Allocation N: Network Assignment...
  • Page 18 6 F 3 B 0 3 5 6 b) If two S20LP-stations are mounted on the T3H, the station which is allocated closer to the CPU in the I/O allocation (see (1)) is assigned as CH1. And the other is assigned as CH2. (CH2 is invalid for T2N) <Setting example 2>...
  • Page 19 6 F 3 B 0 3 5 6 <T-PDS screen example 3>...
  • Page 20 6 F 3 B 0 3 5 6 c) If two S20LP-stations are mounted on the T3H and multi layers Scan transmission function is used, use the "GLOBAL" setting. (GLOBAL is invalid for T2N) <Setting example 3> Network S20LP-station S20LP-station Network assignment common memory...
  • Page 21 6 F 3 B 0 3 5 6 <T-PDS screen example 4> Note) The following rules are applied to the Network assignment. Do not set LINK both for CH1 and CH2 for the same Block. If duplicated, CH1 has priority. In the GLOBAL setting Block, the "receive"...
  • Page 22: Settings On S-Ls

    6 F 3 B 0 3 5 6 3.3 Settings on S-LS (1) Start-up the S-LS Connect the S-LS (personal computer) and the S20LP-station by the loader cable. Start-up the S-LS for Windows95. (2) Turn the T2N/T3H to HALT (3) Confirm the S20LP-station status Confirm the status of the connected S20LP-station is "STANDBY"...
  • Page 23 6 F 3 B 0 3 5 6 (4) Settings of data send block. Operate the S-LS as follows. Select menu and Setting Information or click the right side of mouse and select setting information.
  • Page 24 6 F 3 B 0 3 5 6 Select the "Station Number" of the connected S20LP-station. Select the "Scan Transmission" and specify the "data send block(s)". The "data send block" is specified by entering the starting address (Send Starting Address 1/2) and the size (Number of Send Words 1/2). Up to two "data send blocks"...
  • Page 25 6 F 3 B 0 3 5 6 Write the settings into the S20LP-station. Press "OK" button. When the settings are correctly written into the S20LP-station's EEPROM, it is displayed on the screen as below.
  • Page 26 6 F 3 B 0 3 5 6 (5) Settings of station control information Open the "Setting Information", and push the "Station Control" by mouse. Scan Transmission Enable/disable the Scan transmission. Select Enable to use the Scan transmission function. Scan Access Scan data synchronization 1 word or 2 words.
  • Page 27 6 F 3 B 0 3 5 6 Target Scan Time A time factor for limiting the time assigned for the Message transmission. The actual Scan time (time of Token passes all stations) is either longer one the Target Scan time or time for Scan transmission.
  • Page 28: Data Linkage Example

    6 F 3 B 0 3 5 6 3.4 Data linkage example STN #1 STN #2 STN #3 W000 Send Receive Receive W0199 W0200 Receive Send No use W0249 W0250 Receive No use Send W0299 W0300 No use No use No use W2047 common...
  • Page 29 6 F 3 B 0 3 5 6 Necessary settings for this data linkage configuration are as follows. Settings on T-PDS Allocate the S20LP-station as "TL-S" (for T3H) by using the automatic I/O allocation command or the manual I/O allocation function of the T-PDS in T3H. And automatically allocate the S20LP-station as "E/S"...
  • Page 30 6 F 3 B 0 3 5 6 Setting on S-LS Station Number Send Start Address 1 0000 0200 0250 Send Word Number 1 0200 0050 0050 Send Start Address 2 0000 0000 0000 Send Word Number 2 0000 0000 0000 Scan Transmission Enable...
  • Page 31 6 F 3 B 0 3 5 6 <S-LS setting screen 2 for STN #2>...
  • Page 32: Cable Connections

    6 F 3 B 0 3 5 6 4. Cable connections Max. 30 km (total) Max. 1 km (between station) S20LP station S20LP station S20LP station Optical fiber cable Optical fiber cable (Note 1) Optical fiber connect OTR1/OTR2 to another station's OTR2/OTR1. (Note 2) Using the long distance of optical fiber (SBR22) is Max.
  • Page 33: Ras Function

    6 F 3 B 0 3 5 6 5. RAS function 5.1 Behavior in trouble Optical fiber system Station down If a station (either main, back-up or general) becomes down, the abnormal station will be disconnected from the S20LP system (re-configuration), then communications of remaining stations will be re-started.
  • Page 34: Self-Diagnostic Function

    6 F 3 B 0 3 5 6 5.2 Self-diagnostic function The S20LP-station has the following self-diagnostic function. At initialization (at power on) Diagnostic item Station operation abnormal ROM BCC check Station moves into Down mode. RAM read/write check Communications with other stations are CPU and peripheral LSI check not possible.
  • Page 35: Led Indication

    6 F 3 B 0 3 5 6 5.3 LED indication SN325 The S20LP-station is equipped with STN, ONL and SCAN LEDs, which indicate the station modes. SCAN Station mode Remarks Online Scan / Message transmission is enabled Not lit Online Scan transmission is disabled Message transmission is enabled...
  • Page 36: Ras Information Monitored In T2N/T3H

    6 F 3 B 0 3 5 6 5.4 RAS information monitored in T2N/T3H RAS information of the S20LP system is reflected in the special registers (SW) of T2N/T3H. This information can be referred in the T2N/T3H’s user program. SW110 CH1 station status (1 word) SW111...
  • Page 37 6 F 3 B 0 3 5 6 Station status Indicates the status of the S20LP-station mounted on the T2N/T3H. SW110 (SW111) a a = 1 : DOWN mode b = 1 : OFFLINE mode c = 1 : STANDBY mode d = 1 : ONLINE mode e = 1 : LOOP2 reception disabled 0 : LOOP2 reception enabled...
  • Page 38 6 F 3 B 0 3 5 6 Standby map Indicates the standby stations in the S20LP network....SW120 (SW124) SW121 (SW125) SW122 (SW126) SW123 (SW127) #n = 1: Station number n is standby = 0: Station number n is other than standby Loop map (Only T2N) Indicates the S20LP-station's loop transfer status on network.
  • Page 39: Ras Information Monitored On S-Ls

    6 F 3 B 0 3 5 6 5.5 RAS information monitored on S-LS By connecting the S-LS, the following RAS information can be monitored. Online map (Menu) R: RAS Information 1: Online Map The number (1-64) on the screen shows the Station number. The operation mode displayed under the Station number means as follows.
  • Page 40 6 F 3 B 0 3 5 6 If the S-LS connecting station is Offline or Down mode, the following message will be displayed right and upper side on the screen. Self Station Station No.01 Offline...
  • Page 41 6 F 3 B 0 3 5 6 Station status The operation status of the specified station can be monitored as follows. 1. Select the "Station Number". 2. Click the "Status Display".
  • Page 42 6 F 3 B 0 3 5 6 Station down information If the S-LS connecting station is in Down mode, the error message can be monitored as follows. R: RAS Information 4: Station Down Information Possible error message are as follows. Error code Error message meanings...
  • Page 43: Expanded Data Transfer Instruction

    6 F 3 B 0 3 5 6 6. Expanded data transfer instruction 6.1 Instruction Specification This section presents an overview of the XFER instructions, which is the instruction that is used to control the S20LP-station from T2N/T3H user programs. S20LP-station transmission control is performed solely using the XFER instructions.
  • Page 44 6 F 3 B 0 3 5 6 Parameter and construction Source parameter Transfer size and status Destination parameter A Bank/CH Type Transfer size C Bank/CH Type Leading address Leading address Transfer parameter table Transfer object Type Leading address Bank/CH Transfer size Status flag 0 to 127...
  • Page 45 6 F 3 B 0 3 5 6 Sample program This program transmit the data from TOSLINE-S20LP's scan data memory to T2N/T3H's D register. If the following program is executing, the data of the scan memory from 0000 to 0009 are transmitted to the data register from D0200 to D0209 (D register). X0000 [00272 MOV RW003] [00000 MOV RW004]...
  • Page 46 6 F 3 B 0 3 5 6 Remarks When writing data into S20LP scan memory, confirm that the address range is S20LP's data send block. If S20LP scan memory is accessed only by this XFER instruction, the network assignment, i.e. "LINK" or "GLOBAL" setting, is not necessary. If W register is designated as source and destination, don't set the network assignment, i.e.
  • Page 47: Message Transmission

    6 F 3 B 0 3 5 6 7. Message transmission 7.1 Message transmission The message transmission is text transmission to be performed communication on request. This transmission is following two protocol. Computer link protocol PC link protocol 7.2 Computer link protocol The host machine can communicate to a T2N/T3H on the S20LP using the computer link protocol.
  • Page 48 6 F 3 B 0 3 5 6 The user program that runs on the T2N/T3H of the main station is discussed below. Instruction format The format of SEND and RECV instruction Input Output S E N D Input Output R E C V Function SEND...
  • Page 49 6 F 3 B 0 3 5 6 (Note 1) ERF is the S0051 special relay. See the T-series Instruction Set for information on ERF usage. (Note 2) For these instructions, instruction execution starts at the point the input changes state from off to on.
  • Page 50 6 F 3 B 0 3 5 6 Status (B) The status during the execution of a SEND or RECV instruction and after that instruction terminates is stored in the register shown at B. When TermSTS = 0BH, the detailed information (S20LP-station error information) will be loaded into the registers indicated at location B + 1.
  • Page 51 6 F 3 B 0 3 5 6 TermSTS TermSTS Status Meaning Normal complete Register designation error • Occurs if a register other than XW, YW,W, LW, RW, D, F, T, C, or SW is designated as the data storage register in one of the following requests. Requests: Remote station loopback, Register read/write.
  • Page 52 6 F 3 B 0 3 5 6 Detailed Information (Send completion status) Error Code Description Normal complete The remote station normally received message frame from local station. Busy The remote station is standby. Timeout The answer frame for the transmitted message frame no returned from remote station on time.
  • Page 53 6 F 3 B 0 3 5 6 PC link protocol transmission (Data write) The T series PC link protocol allows a T2N or T3H on a network to write register data to another T2N or T3H. Register write request (using the SEND instruction) (a) Function The register data designated by the local station (T2N/T3H) is written to the designated register on the remote station (T2N/T3H).
  • Page 54 6 F 3 B 0 3 5 6 Response time limit Designates a time used to limit the response time from the remote station in 0.1 second units. 0: Use the user-specified value (0.1 to 3276.7 seconds) 1: Use the default value of 30 seconds. This code indicates the type of register code in which the local or remote station transmission source data is stored.
  • Page 55 6 F 3 B 0 3 5 6 *3 The T and C registers hold data that has flags attached. Supplement: The transfer data length has a maximum of 323 words when data is transferred over the Ethernet. For the T registers, it is not possible to designate a range that spans both the basic T registers (0 to 511) and the expansion T registers (512 to 999).
  • Page 56 6 F 3 B 0 3 5 6 Write protection can be designated for each register type on the local T2N/T3H by using the special coil settings described below. In this case, a register write protect error (TermSTS = 04H) will occur. 0: Write enabled SW C RW LW W XW/YW...
  • Page 57 6 F 3 B 0 3 5 6 PC link protocol transmission (Data read) The T series PC link protocol allows a T2N or T3H on a network to read register data from another T2N’s or T3H’s registers into its own registers. Register read request (using the RECV instruction) (a) Function The register data designated by the remote station (T2N/T3H) is read to the designated...
  • Page 58 6 F 3 B 0 3 5 6 Response time limit Designates a time used to limit the response time from the remote station in 0.1 second units. 0: Use the user-specified value (0.1 to 3276.7 seconds) 1: Use the default value of 30 seconds. (c) Status (See 7.3 (5) for details on bits C, D, E, and F.) TermSTS Detailed information (Only valid when TermSTS = 0BH.)
  • Page 59 6 F 3 B 0 3 5 6 Read protection can be designated for each register type on the local T2N/T3H by using the special coil settings described below. In this case, a register write protect error (TermSTS = 04H) will occur. 0: Write enabled SW C RW LW W XW/YW...
  • Page 60 6 F 3 B 0 3 5 6 PC link protocol transmission program This section presents a sample program that uses PC link protocol transmission. This program creates increment data within the local station and writes it to the remote station's registers.
  • Page 61 6 F 3 B 0 3 5 6 R0520 R0090 /* PC Link preparation */ R0520 [00010 MOV RW090] [00000 MOV RW091] [00064 MOV RW092] /* Number of executions, Operation on error occurrence, Transfer data length */ [00004 MOV RW093] [01000 MOV RW094] /* Transmission source register type, leading address */ [00004 MOV RW095]...
  • Page 62 6 F 3 B 0 3 5 6 /* Register readout */ R0093 [08450 MOV D0920] [00000 MOV D0921] /* Designates the module and sets the CMD number. */ [RW092 MOV D0922] /* Sets the transfer register data length. */ [RW097 MOV D0923] [RW098 MOV D0924] /* Sets the transmission source register type, leading address.
  • Page 63: Appendix

    6 F 3 B 0 3 5 6 Appendix A.1 Scan cycle In the S20LP network, each station sends out the data onto the transmission line as Packet. The Packet is sent out onto the transmission line in the following sequence. STN #1 Packet STN #2...
  • Page 64 6 F 3 B 0 3 5 6 Actual transmission cycle time (TCY) is sum of above TSCN and TMSG. But when TSCN is short, Time for software operation (TSOFT) is not neglected. Therefore, Actual transmission cycle time is expressed as follows. If T <...
  • Page 65: T-Pds Remote Programming

    6 F 3 B 0 3 5 6 A.2 T-PDS remote programming The T-PDS can be connected through the Loader port on the S-20LP-station, as well as the Programmer port on the T2N/T3H CPU module. By using this function, remote programming/monitoring through S20LP network is available.
  • Page 66 6 F 3 B 0 3 5 6 If the T-PDS is connected to the T2N/T3H on the second layer through the bridge station (T3H only), set the T-PDS's connection method as follow. S20LP STN #1 STN #2 STN #1 STN #3 S20LP T-PDS...

Table of Contents