Page 2 - Important Information
1 6 F 3 B 0 3 5 6 © Copyright 1998 by Toshiba Corporation Tokyo, Japan Toshiba Corporation reserves the right to make changes and improvements to thispublication and/or related products at any time without notice. No obligation shall beincurred, except as noted in this publication. This publicat...
Page 3 - Preface; In this manual, the following abbreviations are used.
2 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, suchas PLCs, computers, etc. This manual describes How To Use the TOSLINE-S20LP stations for Prog...
Page 4 - Contents
3 6 F 3 B 0 3 5 6 Contents PREFACE............................................................................................................................................. 2 CONTENTS ................................................................................................................
Page 5 - Introduction to S20LP; System configuration
4 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. Station No.1 S20LP Port T2N T3H Station No.2 SN325 T3H I/O bus OTR2 OTR2 SN325 T3H PCS OTR1 OTR1 T2N internal bus OTR1 OTR1 OTR2 OTR2 (General station) (G...
Page 6 - Overview; T2N include of S20LP Port
5 6 F 3 B 0 3 5 6 1.2 Station hardware • Overview PU245N RUN FLT BAT ERUN ET/R EACC SRUN SONL SACC STNH STNL LINK PROG OTR1 OTR2 10BASE-T Status LEDs for Ethernet PortStatus LEDs for S20LP Port DIP switches for CPU For S20LP Port Station number setting switches Transmission cable connectors LOAD...
Page 7 - LOADER
6 6 F 3 B 0 3 5 6 SN325 STNONL SCAN ACC LOOP TX1TX2 RESET STNH STNL OTR1 OTR2 LOADER Status LEDs Reset switch Station number setting switches Transmission cable connectors LOADER port SN325
Page 9 - Station number setting switches:; Used to set the station number. (allowable setting is 1 to 64)
8 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 / ...
Page 12 - S20LP-station for T3H
11 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 (cable side connector) F07 connector (JIS C5976) Transmission distance Max. 1 km (between stations) Max. 4 km (between stations ; conn...
Page 13 - Scan transmission overview
12 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 forScan transmission. The size of the common memory is 4096 words. When a station...
Page 15 - Setting for data linkage; Station number setting
14 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 S20LPnetwork cannot be established. Allowable station number is 1 to 64. To set the station number,two rotary switches (STNH and STNL) ...
Page 17 - N: Network Assignment
16 6 F 3 B 0 3 5 6 <T-PDS screen example 2> P: PLC A: I/O Allocation N: Network Assignment
Page 21 - CH1 and CH2 for the same Block. If duplicated, CH1 has priority.
20 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" side CH data is transferred to the W reg...
Page 26 - Settings of station control information; Scan Transmission
25 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 transmissionfunction. • Scan Access Scan data synchroniz...
Page 27 - Target Scan Time; on the screen as below.
26 6 F 3 B 0 3 5 6 • Target Scan Time A time factor for limiting the time assigned for the Message transmission. The actualScan time (time of Token passes all stations) is either longer one the Target Scan time ortime for Scan transmission. (see Apendix A.1) The Target Scan time should be the sa...
Page 28 - Data linkage example
27 6 F 3 B 0 3 5 6 3.4 Data linkage example STN #1 STN #2 STN #3 T3H S20-LP I/O T2N S20-LP I/O T2N S20-LP I/O W000 Send Receive Receive W0199W0200 Receive Send No use W0249W0250 Receive No use Send W0299W0300 No use No use No use W2047 common memory (2k words) No use No use No use Link register ...
Page 33 - Behavior in trouble; Station down; Transmission cable breakage
32 6 F 3 B 0 3 5 6 5. RAS function 5.1 Behavior in trouble (1) Optical fiber system • Station down If a station (either main, back-up or general) becomes down, the abnormal station will bedisconnected from the S20LP system (re-configuration), then communications of remainingstations will be re-s...
Page 34 - The S20LP-station has the following self-diagnostic function.; During operation
33 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 a...
Page 40 - Self Station Station No.01 Offline
39 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 42 - Possible error message are as follows.
41 6 F 3 B 0 3 5 6 (3) 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 10H Watch dog timer error Watch d...
Page 43 - Expanded data transfer instruction; Instruction Specification; The format of XFER instruction.; Operand
42 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 usedto control the S20LP-station from T2N/T3H user programs. S20LP-station transmission controlis performed solely u...
Page 44 - Transfer parameter table
43 6 F 3 B 0 3 5 6 (4) Parameter and construction Source parameter Transfer size and status Destination parameter A Bank/CH Type B Transfer size C Bank/CH Type A+1 Leading address C+1 Leading address Transfer parameter table Transfer object Type Leading address Bank/CH Transfer size Status flag ...
Page 45 - Operation
44 6 F 3 B 0 3 5 6 (5) 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). Source d...
Page 46 - Remarks
45 6 F 3 B 0 3 5 6 Remarks • When writing data into S20LP scan memory, confirm that the address range is S20LP'sdata send block. • If S20LP scan memory is accessed only by this XFER instruction, the networkassignment, i.e. "LINK" or "GLOBAL" setting, is not necessary. • If W regi...
Page 47 - Message transmission
46 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. Thistransmission is following two protocol. • Computer link protocol • PC link protocol 7.2 Computer link protocol The host machine can comm...
Page 52 - completed, indicates send completion status.
51 6 F 3 B 0 3 5 6 Detailed Information (Send completion status) Error Code Description Normal complete 81H The remote station normally received message frame from local station. Busy 90H The remote station is standby. Timeout A0H The answer frame for the transmitted message frame no returned fr...
Page 54 - Response time limit
53 6 F 3 B 0 3 5 6 6) Response time limit Designates a time used to limit the response time from the remote station in 0.1 secondunits. F E 0 A+7 This code indicates the type of register code in which the local or remote station transmissionsource data is stored. See “T-series Instruction Set (L...
Page 55 - *3 The T and C registers hold data that has flags attached.
54 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 theEthernet. For the T registers, it is not possible to designate a range that spans both the basic T registers(0 to 511) a...
Page 60 - Sample transmission parameter construct; Sample register construction
59 6 F 3 B 0 3 5 6 (8) 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 remotestation's registers. Next it reads out the same area and compares i...
Page 63 - Appendix
62 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 S Packet S STN #2 Packet STN #3 Packet STN #n Packet In the above figure, S m...
Page 66 - specifies the target station on the second layer.
65 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 (T3Honly), set the T-PDS's connection method as follow. -LP S20 T2N -LP S20 T3H -LP S20 T3H S20LP S20LP STN #3 STN #2 STN #1 T-PDS STN #1 -LP S20 STN #3 STN #2 -LP S20 T2N -LP S20 T2N <T...