Gebruiksaanwijzing /service van het product S20LP van de fabrikant Toshiba
Ga naar pagina of 66
6 F 3 B 0 3 5 6 UM-TS02N**-E005 Instruction Manual TOSLINE-S20LP T2N/T3H stations • 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.
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 this publication and/or related products at any time without notice. No obligation shall be incurred, except as noted in this publication.
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, such as PLCs, computers, etc. This manual describes How To Use the TOSLINE-S20LP stations for Programmable Controller T2N/T3H.
3 6 F 3 B 0 3 5 6 Contents PREFACE ............................................................................................................................................. 2 CONTENTS .......................................................
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.
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 Port Status LEDs for S20LP .
6 6 F 3 B 0 3 5 6 SN325 STN ONL SCAN ACC LOOP TX1 TX2 RESET STNH STNL OTR1 OTR2 LOADER Status LEDs Reset switch Station number setting switches Transmission cable connectors LOADER port SN325.
7 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 Lit Station is normal Not lit Down mode SONL Lit Online mode (Sca.
8 6 F 3 B 0 3 5 6 • Station number setting switches: Used to set the sta tion 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).
9 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.
10 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 th e Data Access window.
11 6 F 3 B 0 3 5 6 1.4 Specifications S20LP sy stem 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.
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 for Scan transmission. The size of the common memory is 4096 words.
13 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.
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 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.
15 6 F 3 B 0 3 5 6 (2) Network assignment a) Set "LINK" for the Blocks to be assigned. 0 Receive Block 1 W000-063 LINK Block 2 100 W064-127 LINK Send Block 3 W128-191 LINK Block 4 23.
16 6 F 3 B 0 3 5 6 < T-PDS screen example 2 > P: PLC A: I/O Allocation N: Network Assignment.
17 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.
18 6 F 3 B 0 3 5 6 <T-PDS screen example 3>.
19 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.
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 register and the "send" side CH.
21 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" by right and upper side.
22 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.
23 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).
24 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.
25 6 F 3 B 0 3 5 6 (5) Settings of station control information Open the "Setting Information", and push the "Station Co ntrol" by mouse. • Scan Transmission Enable/disable the Scan transmission. Select Enable to use the Scan transmission function.
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 actual Scan time (time of Token passes all stations) is either longer one the Target Scan time or time for Scan transmission.
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 W0199 W0200 Receive Send No use W0249 W0250 Receive N.
28 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.
29 6 F 3 B 0 3 5 6 • Setting on S-LS Station Number 123 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 Scan Access 1 Word Message Transmission Enable Target Scan Time 61.
30 6 F 3 B 0 3 5 6 <S-LS setting screen 2 for STN #2>.
31 6 F 3 B 0 3 5 6 4. Cable connections OTR OTR 1 2 OTR OTR 1 2 OTR OTR 1 2 S20LP station S20LP station S20LP station Optical fiber cable Optical fiber cable Max. 30 km (total) Max. 1 km (between station) (Note 1) Optical fiber connect OTR1/OTR2 to another station's OTR2/OTR1.
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 be disconnected from the S20LP system (re-configuration), then communications of remaining stations will be re-started.
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 and peripheral LSI check not possible.
34 6 F 3 B 0 3 5 6 5.3 LED indication (1) SN325 The S20LP-station is equipped with STN, ONL and SCAN LEDs, which indicate the station modes. STN ONL SCAN Station mode Remarks Lit Lit Lit Onlin.
35 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.
36 6 F 3 B 0 3 5 6 (1) Station status Indicates the status of the S20LP-station mounted on the T2N/T3H. F E DC BA 9876543210 SW110 (SW111) ab c de f gh I j k l m a = 1 : DOWN mode b = 1 : OFFL.
37 6 F 3 B 0 3 5 6 (3) Standby map Indicates the standby stations in the S20LP network. F E D C ................... 3210 SW120 (SW124) #16 #15 #14 #13 #4 #3 #2 #1 SW121 (SW125) #32 #31 #30 #29.
38 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. (1) 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.
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.
40 6 F 3 B 0 3 5 6 (2) Station status The operation status of the specified station can be monitored as follows. 1. Select the "Station Nu mber".
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.
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 used to control the S20LP-station from T2N/T3H user programs. S20LP-station transmission control is performed solely using the XFER instructions.
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 .
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 da ta register from D0200 to D0209 (D register).
45 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.
46 6 F 3 B 0 3 5 6 7. Message transmission 7.1 Message transmi ssion 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.
47 6 F 3 B 0 3 5 6 The user program that runs on the T2N/T3H of the main station is discussed below. (1) Instruction format The format of SEND and RECV instruction (2) Function • SEND This instruction sends the designated range of register data to another T2N/T3H through the network.
48 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.
49 6 F 3 B 0 3 5 6 (5) Status (B) The status during the execution of a SEND or RECV instruction and after tha t 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.
50 6 F 3 B 0 3 5 6 TermSTS TermSTS Status Meaning 00H Normal complete 01H 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.
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 from remote station on time.
52 6 F 3 B 0 3 5 6 (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.
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 statio n in 0.1 second units. F E 0 A+7 This code indicates the type of register code in which the local or remote station transmission source data is stored.
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 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).
55 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.
56 6 F 3 B 0 3 5 6 (7) 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.
57 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 second units. F E 0 A+7 (c) Status (See 7.3 (5) for details on bits C, D, E, and F.) F E DC BA 9876543210 B 0000 TermSTS B+1 Detailed information (Only valid when TermSTS = 0BH.
58 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.
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 remote station's registers.
60 6 F 3 B 0 3 5 6 [00010 MOV RW090] [00000 MOV RW091] [00064 MOV RW092] R0520 [00004 MOV RW093] [01000 MOV RW094] R0520 R0090 ( ) /* PC Link preparation */ /* Number of executions, Operation .
61 6 F 3 B 0 3 5 6 /* Register readout */ R0093 [08450 MOV D0920] [00000 MOV D0921] [RW092 MOV D0922] /* Designates the module and sets the CMD number. */ /* Sets the transfer register data length. */ [RW097 MOV D0923] [RW098 MOV D0924] /* Sets the transmission source register type, leading address.
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.
63 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.
64 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.
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 (T3H only), set the T- PDS's connection method as follow.
Een belangrijk punt na aankoop van elk apparaat Toshiba S20LP (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Toshiba S20LP heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Toshiba S20LP vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Toshiba S20LP leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Toshiba S20LP krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Toshiba S20LP bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Toshiba S20LP kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Toshiba S20LP . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.