Toshiba S20LP User Manual

Instruction Manual TOSLINE-S20LP
T2N/T3H stations
6 F 3 B 0 3 5 6
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
After this instruction manual has been read, keep it
beside the equipment.
REQUIREMENTS
Main Menu
Contents
June, 1998
TOSHIBA CORPORATION
UM-TS02N**-E005
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.
This publication is copyrighted and contains proprietary material. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means — electrical, mechanical, by photocopying, recording, or otherwise — without obtaining prior written permission from Toshiba Corporation.
Important Information
Misuse of this equipment can result in property damage or human injury. Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba 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 publication.
1
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. The TOSLINE-S20LP enables high speed data linkage between multiple T2N/T3H.
Refer to the separate manual for the TOSLINE-S20LP Loader software (S-LS) operations. In this manual, the following abbreviations are used.
S20LP: TOSLINE-S20LP system
S-LS: TOSLINE-S20LP Loader Software
S20LP-station: TOSLINE-S20LP station for T2N and/or T3H
STN #n: Station number n
For details of the programmable controllers T2N, T3H and their programming software T-PDS, refer to the related manuals for these controllers.
6 F 3 B 0 3 5 6
2
6 F 3 B 0 3 5 6
Contents
PREFACE............................................................................................................................................. 2
CONTENTS.......................................................................................................................................... 3
1. INTRODUCTION TO S20LP ........................................................................................................... 4
1.1 SYSTEM CONFIGURATION.......................................................................................................................... 4
1.2 STATION HARDWARE................................................................................................................................. 5
1.3 S-LS OVERVIEW........................................................................................................................................ 9
1.4 SPECIFICATIONS ..................................................................................................................................... 11
2. SCAN TRANSMISSION OVERVIEW............................................................................................ 12
3. SETTING FOR DATA LINKAGE .................................................................................................. 14
3.1 STATION NUMBER SETTING.....................................................................................................................14
3.2 SETTINGS ON T-PDS............................................................................................................................... 14
3.3 SETTINGS ON S-LS.................................................................................................................................. 21
3.4 DATA LINKAGE EXAMPLE........................................................................................................................ 27
4. CABLE CONNECTIONS ............................................................................................................... 31
5. RAS FUNCTION............................................................................................................................ 32
5.1 BEHAVIOR IN TROUBLE........................................................................................................................... 32
5.2 SELF-DIAGNOSTIC FUNCTION.................................................................................................................. 33
5.3 LED INDICATION.................................................................................................................................... 34
5.4 RAS INFORMATION MONITORED IN T2N/T3H........................................................................................ 35
5.5 RAS INFORMATION MONITORED ON S-LS .............................................................................................. 38
6. EXPANDED DATA TRANSFER INSTRUCTION ......................................................................... 42
6.1 INSTRUCTION SPECIFICATION ................................................................................................................ 42
7. MESSAGE TRANSMISSION......................................................................................................... 46
7.1 MESSAGE TRANSMISSION........................................................................................................................46
7.2 COMPUTER LINK PROTOCOL.................................................................................................................... 46
7.3 PC LINK PROTOCOL ................................................................................................................................ 46
APPENDIX......................................................................................................................................... 62
A.1 SCAN CYCLE ........................................................................................................................................... 62
A.2 T-PDS REMOTE PROGRAMMING............................................................................................................. 64
3
1. Introduction to S20LP
OTR2
OTR2
OTR1
OTR1
1.1 System configuration
The following figure shows the typical system configuration of the S20LP.
T2N T3H
6 F 3 B 0 3 5 6
T2N
internal bus
Station No.1
S20LP Port
(Main terminal station) (Back-up terminal station)
(General station) (General station)
OTR1OTR1 OTR2OTR2
SN325
T3H PCS
PTLS9
Transmission line 1 (Loop 1) : The data is sent from OTR1 to OTR2. Transmission line 2 (Loop 2) : The data is sent from OTR2 to OTR1.
Total number of stations Max. 64 stations
T3H
I/O bus
Station No.2
SN325
(General station)
OTR1 OTR2
External
Loop
Device
Transmission distance 1 km (between stations)
4 km (between stations ; connecting SBR22)
30 km (system totla) Scan transmission capacity 4096 words Maximum transmission capacity 1024 words / station Parameter setting tool S-LS (runs on personal computer)
(Note 1) SBR22 is the long distance repeater for S20LP
4
1.2 Station hardware
for CPU
Overview
6 F 3 B 0 3 5 6
T2N include of S20LP Port
PU245N
DIP switches
LOADER port
RUN FLT BAT
PROG
LINK
ERUN ET/R EACC
SRUN SONL SACC
STNH
STNL
OTR1
OTR2
10BASE-T
Status LEDs for Ethernet Port
Status LEDs for S20LP Port
Station number setting switches
For S20LP Port
Transmission cable connectors
For Ethernet Port
5
SN325
SN325
STN ONL
SCAN
ACC
LOOP
TX1 TX2
6 F 3 B 0 3 5 6
Status LEDs
STNH
STNL
OTR1
OTR2
LOADER
RESET
Reset switch
Station number setting switches
Transmission cable connectors
6
LOADER port
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 (Scan transmission is executing)
Blink Standby mode (Scan transmission is not executing) Not lit Offline mode (Scan transmission is not executing)
SACC Lit T2N is accessing the port
Not lit T2N is not accessing the port
For SN325
STN Lit Station is normal
6 F 3 B 0 3 5 6
Not lit Down mode
ONL Lit Online mode (Scan transmission is executing)
Blink Standby mode (Scan transmission is not executing) Not lit Offline mode (Scan transmission is not executing)
SCAN Lit Scan transmission is executing
Not lit Scan transmission is not executing
ACC Lit T3H is accessing the station
Not lit T3H is not accessing the station
LOOP Lit LOOP is normal (Cut off mode for main terminal station)
Not lit LOOP is abnormal
TX1 Lit TRM1/RCV2 is normal
Not lit TRM1/RCV2 is abnormal
TX2 Lit TRM2/RCV1 is normal (Note 1)
Not lit TRM2/RCV1 is abnormal (Note 1)
(Note 1) When the SN325 operates a terminal station, this LED is normally not lit.
7
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). T2N (PU245N) changes DIP switch (P/S) “ON”.
Transmission cable connector(s):
Used to connect optical fiber cables. (see Section 4)
6 F 3 B 0 3 5 6
Reset switch (only SN325):
Used to reset a SN325.
8
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.
The following are the details of the menu. Select an intended station in the Station Connection Diagram window for display and specify the window in the menu or the toolbar.
[File]
[Display Scan Address List] Displays the Scan Address List window. [Display Station Down Information] Displays Down Information when the local station is downed. [Save Files All Station’s Information] Saves the setup information of all stations in the file. [Exit] Terminates the application.
[Menu]
[Setting Information] Displays the Setting Information window. [Data Access] Displays the Data Access window. [RAS Information]
[Online Map] Displays the Online Map window. [Scan Healthy Map] Displays the Scan Healthy Map window. [Loop Map] Displays the Loop Map window. [Station Status] Displays the Station Status window. [Station Down Information] Displays the Station Down Information. [RAS Counter Information] Displays the RAS Counter Information [Online/Standby Request] Displays the Online/Standby Request window.
[Test Request] Displays the Test Request window.
6 F 3 B 0 3 5 6
[Option]
[Station Display Position] [Registration] Registers the display positions of the stations rearranged. [Display] Reflects the display positions of the registered stations in the window. [Normal] Displays the stations rearranged in the ascending order of smaller display
position numbers.
[Communication Environment Setting] Displays the Communication Environment Setting window.
[Window]
[Display Small Size] Displays the Station Connection Diagram in small size.
[Help]
[Contents] Displays the Help window. [Key Word Search] Displays the Retrieve window in Help. [Version Information] Displays the information of the application version.
9
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. [RAS Information button] Displays the RAS Information Menu window. [Online/Standby Request button] Displays the Online/Standby Request window. [Test Request button] Displays the Test Request window.
10
1.4 Specifications
S20LP system specifications
6 F 3 B 0 3 5 6
Transmission cable
Cable connection (cable side connector) Transmission distance Max. 1 km (between stations)
Topology Loop Number of stations Max. 64 stations Transmission speed 2 Mbps Transmission code Differential Manchester Modulation method Baseband Communication service (1) Scan transmission (cyclic broadcast)
Silica glass SI 200/230µm H-PCF (Hard-Plastic Clad Fiber) F07 connector (JIS C5976)
Max. 4 km (between stations ; connecting SBR22) Max. 30 km (system total)
(2) Message transmission (on request)
S20LP-station specifications
S20LP port for T2N S20LP-station for T3H Station type PU245N...Optical fiber SN325...Optical fiber Max. number on
T2N/T3H
Scan transmission capacity
Message transmission support
1 station
2 stations (Note 1) (Include of S20LP port) 4096 words (Link register W (2048 words) in T2N/T3H is assigned) S-LS (primary / secondary) T-PDS (primary / secondary) T-series Computer Link Protocol (secondaty)
RAS information Station status, Online / Standby map (S20LP port / SN325) Consumed current
S20LP port ... 1.5 [A] or less SN325 ... 800 [mA] or less
(internal 5Vdc)
(Note 1) A T3H which has two S20LP-stations can work as a bridge station for two S20LP
layers.
11
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. All other stations receive the data, and store them into their common memory. Therefore, the common memory in each station is totally updated in a transmission cycle.
The common memory is allocated to the Link register (W) in the T2N/T3H. The size of the link register is 2048 words. The link register is a part of common memory. By simply reading/writing data from/to the Link registers, high speed data linkage is achieved.
S20LP
6 F 3 B 0 3 5 6
STNT2N
Common
memory
(1)
Send
(2)
Receive
(3)
Receive
T2N’s Link
register
Write
Read
STNT2N
Common
memory
(1)
Receive
(2)
Send
(3)
Receive
T2N’s Link
register
Read
Write
Read
STNT3H
Common
memory
(1)
Receive
(2)
Receive
(3)
Send
T3H’s Link
register
Read
Write
Note 1) The data send block(s) of each station is prespecified by using the S-LS. Note 2) Data transfer between common memory and Link registers is executed by T2N/T3H's
OS. The transfer direction (read or write) is automatically decided.
12
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. Normally stations, except station number 1, become the general stations. The main terminal station controls total timing of the S20LP network. If main terminal station is down, back-up terminal station (station number 2) becomes main terminal station on condition that the back-up enable flag is ON. If the back-up enable flag is OFF, back-up terminal is general station. If both the station of station number 1 and 2 is down, all stations become general station.
To be effective back-up terminal station, the address (1F44H) on the S20LP dual port memory must be set ON. To set the S20LP dual port memory, use the write instruction. Detailed information of write instruction see “T-series Instruction Set (Ladder, SFC)” (UM-TS03***­E004).
Setting the "data send block" (by S-LS)
On each station, the "data send block" is prespecified by using the S-LS. This setting is made by entering the starting addess and the size (number of send words). On a station, up to two "data send blocks" can be specified. (see Section 3.3)
I/O allocation and network assignment (by T-PDS)
On each T2N/T3H, the I/O allocation for S20LP-station and the network assignment are necessary. By using the T-PDS's I/O allocation function, allocate the S20LP-station as "TL-S" (T3H) or E/S (T2N). And by using the T-PDS's Network assignment function, assign (set "LINK" or "GLOBAL") the Link registers (W) to the S20LP-station's common memory (from 0 to 2048), Block by Block. (see Section 3.2)
Block 1: W0000 to W0063 Block 17: W1024 to W1087 Block 2: W0064 to W0127 Block 18: W1088 to W1151 Block 3: W0128 to W0191 Block 19: W1152 to W1215 Block 4: W0192 to W0255 Block 20: W1216 to W1279 Block 5: W0256 to W0319 Block 21: W1280 to W1343 Block 6: W0320 to W0383 Block 22: W1344 to W1407 Block 7: W0384 to W0447 Block 23: W1408 to W1471 Block 8: W0448 to W0511 Block 24: W1472 to W1535 Block 9: W0512 to W0575 Block 25: W1536 to W1599
Block 10: W0576 to W0639 Block 26: W1600 to W1663 Block 11: W0640 to W0703 Block 27: W1664 to W1727 Block 12: W0704 to W0767 Block 28: W1728 to W1791 Block 13: W0768 to W0831 Block 29: W1792 to W1855 Block 14: W0832 to W0895 Block 30: W1856 to W1919 Block 15: W0896 to W0959 Block 31: W1920 to W1983 Block 16: W0960 to W1023 Block 32: W1984 to W2047
T2N/T3H accesses the common memory only for the assigned Blocks. (This "Block" and S20LP's "Data send block" are different.)
"LINK" is normal assignment setting. "GLOBAL" is the setting for multi layers Scan transmission. (effective only in T3H)
13
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. STNH is for 10's digit setting, and STNL is for 1's digit setting.
(For example)
6 F 3 B 0 3 5 6
STNH = 1 STNL = 5
3.2 Settings on T-PDS
The following settings are necessary for the T2N/T3H on which the S20LP-station is mounted.
(1) I/O allocation
Allocate the S20LP-station as "TL-S". <T-PDS screen example 1>
P: PLC
Station number is 15
A: I/O Allocation A: I/O Allocation
14
(2) Network assignment a) Set "LINK" for the Blocks to be assigned.
6 F 3 B 0 3 5 6
<Setting example>
S20LP-station
common memory
0
Receive
T2N/T3H
W registers
Network
assignment
Block 1
W000-063 LINK
Block 2
100 W064-127 LINK
Send Block 3
W128-191 LINK
Block 4
230 W192-255 LINK
Block 5
W256-319
Receive
. . .
Block 32
2047
W1983-2047 LINK
15
<T-PDS screen example 2>
P: PLC
A: I/O Allocation N: Network Assignment
6 F 3 B 0 3 5 6
16
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>
CH1
Network
assignment
LINK
LINK
CH1
S20LP-station
common memory
T3H
W registers
CH2
S20LP-station
common memory
Block 1 Send
Receive LINK
Block 2
Block 3
Send Block 4
CH2
Network
assignment
LINK
LINK Receive
Block 5
LINK
Block 6
Receive
. . . .
Block 32
LINK
17
<T-PDS screen example 3>
6 F 3 B 0 3 5 6
18
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>
CH1
Network
assignment
LINK
LINK
CH1
S20LP-station
common memory
T3H
W registers
CH2
S20LP-station
common memory
Block 1 Send 1
Receive LINK
Block 2
Block 3
Send 1 Block 4
CH2
Network
assignment
LINK
LINK
LINK
GLOBAL
GLOBAL Send 2
Receive
Receive
Block 5
Block 6
Block 7
Block 8
Block 9 Send 2
Block 10
. . . .
Receive
GLOBAL
GLOBAL
LINK
19
Block 32
Loading...
+ 46 hidden pages