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.
1. INTRODUCTION TO S20LP ........................................................................................................... 4
1.1 SYSTEM CONFIGURATION.......................................................................................................................... 4
1.2 STATION HARDWARE................................................................................................................................. 5
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
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
7.2 COMPUTER LINK PROTOCOL.................................................................................................................... 46
7.3 PC LINK PROTOCOL ................................................................................................................................ 46
The following figure shows the typical system configuration of the S20LP.
T2NT3H
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)
OTR1OTR1OTR2OTR2
SN325
T3HPCS
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 stationsMax. 64 stations
T3H
I/O bus
Station No.2
SN325
(General station)
OTR1OTR2
External
Loop
Device
Transmission distance1 km (between stations)
4 km (between stations ; connecting SBR22)
30 km (system totla)
Scan transmission capacity4096 words
Maximum transmission capacity1024 words / station
Parameter setting toolS-LS (runs on personal computer)
(Note 1) SBR22 is the long distance repeater for S20LP
4
1.2Station 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)
SRUNLitStation is normal
Not litDown mode
SONLLitOnline mode (Scan transmission is executing)
BlinkStandby mode (Scan transmission is not executing)
Not litOffline mode (Scan transmission is not executing)
SACCLitT2N is accessing the port
Not litT2N is not accessing the port
For SN325
STNLitStation is normal
6 F 3 B 0 3 5 6
Not litDown mode
ONLLitOnline mode (Scan transmission is executing)
BlinkStandby mode (Scan transmission is not executing)
Not litOffline mode (Scan transmission is not executing)
SCANLitScan transmission is executing
Not litScan transmission is not executing
ACCLitT3H is accessing the station
Not litT3H is not accessing the station
LOOPLitLOOP is normal (Cut off mode for main terminal station)
Not litLOOP is abnormal
TX1LitTRM1/RCV2 is normal
Not litTRM1/RCV2 is abnormal
TX2LitTRM2/RCV1 is normal (Note 1)
Not litTRM2/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.3S-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.4Specifications
S20LP system specifications
6 F 3 B 0 3 5 6
Transmission cable
Cable connection
(cable side connector)
Transmission distanceMax. 1 km (between stations)
TopologyLoop
Number of stationsMax. 64 stations
Transmission speed2 Mbps
Transmission codeDifferential Manchester
Modulation methodBaseband
Communication service(1) Scan transmission (cyclic broadcast)
Max. 4 km (between stations ; connecting SBR22)
Max. 30 km (system total)
(2) Message transmission (on request)
S20LP-station specifications
S20LP port for T2NS20LP-station for T3H
Station typePU245N...Optical fiberSN325...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 informationStation status, Online / Standby map (S20LP port / SN325)
Consumed current
S20LP port ... 1.5 [A] or lessSN325 ... 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.1Station 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.2Settings 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-063LINK
Block 2
100W064-127LINK
SendBlock 3
W128-191LINK
Block 4
230W192-255LINK
Block 5
W256-319
Receive
.
.
.
Block 32
2047
W1983-2047LINK
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 1Send
ReceiveLINK
Block 2
Block 3
SendBlock 4
CH2
Network
assignment
LINK
LINKReceive
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 1Send 1
ReceiveLINK
Block 2
Block 3
Send 1Block 4
CH2
Network
assignment
LINK
LINK
LINK
GLOBAL
GLOBALSend 2
Receive
Receive
Block 5
Block 6
Block 7
Block 8
Block 9Send 2
Block 10
.
.
.
.
Receive
GLOBAL
GLOBAL
LINK
19
Block 32
<T-PDS screen example 4>
6 F 3 B 0 3 5 6
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. In this case, GLOBAL can be set on either CH.
In the GLOBAL setting Block, if both CHs are specified as "send", the W register data is
transferred to both CHs.
In the GLOBAL setting Block, if both CHs are specified as "receive", the GLOBAL
setting CH data is transferred to the W register. If both CHs have been set as GLOBAL,
CH1 has priority.
If TOSLINE-30 is used together, the TOSLINE-30 is allocated to the W registers from the
lowest address. In this case, the W registers which are assigned to the TOSLINE-30
should not be assigned to the S20LP. (TOSLINE-30 is available only for T2N)
20
3.3Settings 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.
It is displayed on the S-LS screen as below.
6 F 3 B 0 3 5 6
21
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.
22
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" can be specified. If "data send block 2" is not used, enter 0 both for Send Starting
Address 2 and Number of Send Words 2. The maximum size of send words is Number of Send
Words 1 and 2, total 1024 words.
23
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.
24
(5) Settings of station control information
Open the "Setting Information", and push the "Station Control" by mouse.
6 F 3 B 0 3 5 6
•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. If 2W (2 words) is selected, data
synchronization of double-word data (lower even and higher odd addresses) is achieved.
In this case, 2W setting is needed both on the sender and receiver stations. Also, if 2W is
selected, Send Start Address and Send Word Number must be even number.
•Message Transmission
Enable/disable the Message transmission. The Message transmission is used for S-LS
remote setting/monitoring, T-PDS remote programming, T-series computer link protocol
and PC link protocol. Normally select Enable.
•Start with Standby mode
When this space is not checked, Scan transmission is automatically started at power-up.
When this space is checked, Scan transmission is not started until Online request is issued
by S-LS. Normally no check.
25
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. (see Apendix A.1)
The Target Scan time should be the same value in all stations connected to the S20LP
network (layer). The Target Scan time can be selected from the combo box, select the
target cycle time you want to set. Click on the "OK" or "Renew" button. The data you
set is transmitted to the corresponding station.
3.07 8.19 13.3 24.6 45.1
4.10 9.22 14.3 28.7 49.2
5.12 10.2 15.4 32.8 53.2
6.14 11.3 16.3 36.9 57.3
7.17 12.3 20.5 41.0 61.4
(Note 1) If Message transmission cannot work normally or a S20LP-station becomes Error down
by Receive buffer overflow, the time for Message transmission is not enough. In such
case, increase the Target Scan time value.
When the settings are correctly written into the S20LP-station's EEPROM, it is displayed
on the screen as below.
(6) Change connection to other stations, and repeat (2) to (5).
S-LS remote setting (without changing connection) is also available by selecting the station
number. In this case, change the station mode to "STANDBY" by S-LS before setting. After
all setting complete, change the station mode to “ONLINE” by S-LS.
26
3.4Data linkage example
STN #1STN #2STN #3
6 F 3 B 0 3 5 6
T3HS20
W000
W0199
W0200
W0249
W0250
W0299
W0300
-LP
I/OT2NS20
-LP
I/OT2NS20
-LP
SendReceiveReceive
ReceiveSendNo use
ReceiveNo useSend
No useNo useNo use
I/O
W2047
common
memory
(2k words)
No useNo useNo use
Link register (W) can not use Common memory over 2048 words.
STN #1 T3H sends 200 words data (W0000 to W0199) to STN #2 and #3 T2Ns.
STN #2 T2N sends 50 words data (W0200 to W0249) to STN #1 T3H.
STN #3 T2N sends 50 words data (W0250 to W0299) to STN #1 T3H.
27
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" in T2N.
By using the Network assignment function of the T-PDS, sssign the Blocks to cover the
using W registers.
For STN #1 T3H and STN #3 T2N: set LINK for Blocks 1 to 5 (W0000 to W0319)
For STN #2 T2N: set LINK for Blocks 1 to 4 (W0000 to W0255)
28
•Setting on S-LS
Station Number123
Send Start Address 1000002000250
Send Word Number 1020000500050
Send Start Address 2000000000000
Send Word Number 2000000000000
Scan TransmissionEnable
Scan Access1 Word
Message TransmissionEnable
Target Scan Time61.4 msec
6 F 3 B 0 3 5 6
Start with Standby
mode
<S-LS setting screen 1 for STN #2>
No.
29
<S-LS setting screen 2 for STN #2>
6 F 3 B 0 3 5 6
30
4.Cable connections
Max. 1 km (between station)
6 F 3 B 0 3 5 6
Max. 30 km (total)
OTR OTR
1 2
S20LP stationS20LP stationS20LP station
Optical fiber cable
OTR OTR
1 2
OTR OTR
1 2
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. 4 km between station.
230 + 0, -10µm
Numerical Aperture0.4
Attenuation7.0 dB/km or less
Bandwidth9 MHz•km or more
Wavelength
(Note 1) Securely connect the optical connectors. Otherwise, connection loss will increase.
(Note 2) Do not bend the optical fiber cable/cord more than the allowable limit.
(Note 3) Clamp the optical fiber cable/cord to prevent the optical connector weighted.
0.81µm
31
5.RAS function
5.1Behavior 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. If two station (either main, back-up or general terminals) become
power off, the S20LP system will split into two independent S20LP systems at the power
off stations.
S20LP loop No.1
S20LP
STN #1
OTR1OTR2OTR1OTR2
OTR2OTR1
S20LP
STN #2
OTR2OTR1
6 F 3 B 0 3 5 6
Power off
S20LP
STN #3
OTR2
OTR1
S20LP
STN #6
OTR1
OTR2
OTR1OTR2OTR1OTR2
OTR2OTR1
S20LP
STN #5
OTR2OTR1
OTR2
OTR1
S20LP
STN #4
OTR1
OTR2
Power off
S20LP loop No.2
•Transmission cable breakage
If both transmitter and receiver lines are broken (*1) or if one of the two lines is broken
(*2), the S20LP system will cut off the broken lines.
Broken lines
OTR1OTR2OTR1
OTR2OTR1OTR2
S20LP
STN #l
To S20LP STN #o
To S20LP STN #n
OTR2
OTR1
S20LP
STN #m
(*2)
32
(*1)
5.2Self-diagnostic function
The S20LP-station has the following self-diagnostic function.
•At initialization (at power on)
Diagnostic itemStation operation abnormal
ROM BCC checkStation moves into Down mode.
RAM read/write checkCommunications with other stations are
CPU and peripheral LSI checknot possible. This state will be reset by
Station number checkpower off/on (SN325, T2N) or pressing
Diagnostic itemStation operation abnormal
Watch dog timer checkStation moves into Down mode.
Abnormal timer check
(jabber timer) check
Receive frame check (CRC check)Station ignores the abnormal frame.
Response checkIn message transmission, if response
No signal state checkIf no signal state continues more than
Communications with other stations are
not possible. This state will be reset by
power off/on (SN325, T2N) or pressing
Reset switch (SN325).
from the target station cannot be
received, station re-sends the frame.
specified time, station starts reconfiguration operation.
33
5.3LED indication
(1)SN325
The S20LP-station is equipped with STN, ONL and SCAN LEDs, which indicate the
station modes.
STNONLSCANStation modeRemarks
LitLitLitOnlineScan / Message transmission is enabled
LitNot litNot litOfflineScan / Message transmission is disabled
LitBlinkNot litStandbyTransmission parameter is not written in
Not litBlinkBlinkDownStation number is illegal
6 F 3 B 0 3 5 6
Not litOnlineScan transmission is disabled Message
transmission is enabled
EEPROM.
Transmission information is standby start up.
Connection machines is abnormal.
T3H is not RUN mode.
(simultaneously)
BlinkNot litDownJabber timeout
Not litNot litDownReceive buffer is overflow.
Target cycle time is shortage.
BlinkBlinkDownWatch dog timer error
(alternately)
(2)T2N
The S20LP-station is equipped with RUN and SONL LEDs, which indicate the station
modes.
SRUNSONLStation mode Remarks
LitLitOnlineScan / Message transmission is enabled
LitNot litOfflineScan / Message transmission is disabled
LitBlinkStandbyTransmission parameter is not written in EEPROM.
Transmission information is standby start up.
Connection machines is abnormal.
T2N is not RUN mode.
Not litBlinkDownStation number is illegal.
Jabber timeout.
Watch dog timer error.
Not litNot litDownReceive buffer is overflow.
Target cycle time is shortage.
34
5.4RAS 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.
SW110CH1 station status(1 word)
SW111CH2 station status (only T3H)(1 word)
SW112
CH1 online map(4 words)
SW116
CH2 online map (only T3H)(4 words)
SW120
CH1 standby map(4 words)
6 F 3 B 0 3 5 6
SW124
SW128
CH2 standby map (only T3H)(4 words)
Loop map (only T2N)(32 words)
35
(1)Station status
Indicates the status of the S20LP-station mounted on the T2N/T3H.
FEDC BA9876543210
SW110 (SW111) abcdefghIjklm
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
f = 1 : LOOP1 transmission disabled
0 : LOOP1 transmission enabled
g = 1 : LOOP1 reception disabled
0 : LOOP1 reception enabled
6 F 3 B 0 3 5 6
h = 1 : LOOP2 transmission disabled
0 : LOOP2 transmission enabled
i = 1 : Repeat status
0 : Cut status
j = 1 : Terminal station mode
0 : General station mode
k = 1 : Scan transmission disabled
0 : Scan transmission enabled
l = 1 : Master station
0 : Slave station
m =1 : Test in progress
(2)Online map
Indicates the online stations in the S20LP network.
Indicates the S20LP-station's loop transfer status on network. This information is the through
/ terminal status of general station, or the repeat/cut off status of terminal station. This
information is updating every 200ms.
FEDC BA9876543210
SW128Station 2 informationStation 1 information
SW129Station 4 informationStation 3 information
SW159Station 64 informationStation 63 information
Indicates the detailed station information.
Station (n + 1)Station (n)
FEDCBA9876543210
UnusedabcUnusedabc
a : This bit indicates repeat or cut off status. This status has terminal station or back-up
station.
1 : Repeat
0 : Cut off
b : This bit indicates R1T2 status. This status has general station.
1 : Disconnect
0 : Connect
c : This bit indicates R2T1 status. This status has general station.
1 : Disconnect
0 : Connect
37
5.5RAS 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
6 F 3 B 0 3 5 6
The number (1-64) on the screen shows the Station number.
The operation mode displayed under the Station number means as follows.
(Blue) Online mode
¡
(Red) Standby mode
¡
Blank Offline mode or not existing
This information is read out from the S-LS connecting station every three seconds.
38
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
39
(2)Station status
The operation status of the specified station can be monitored as follows.
1. Select the "Station Number".
6 F 3 B 0 3 5 6
2. Click the "Status Display".
40
(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
6 F 3 B 0 3 5 6
Possible error message are as follows.
Error codeError messagemeanings
10HWatch dog timer errorWatch dog timer error occured
20HOverrunReception transaction is overrun
40HJabber timeoutAbnormal long frame (500ms or more) was
transmitted
60HHardware errorCPU, RAM, ROM or peripheral LSI is abnormal
If these errors cannot be reset by power off/on again (except Station number illegal),
replace the station.
41
6.Expanded data transfer instruction
6.1Instruction 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.
(1)Instruction format
The format of XFER instruction.
InputOutput
[A XFER B → C]
(2)Function
6 F 3 B 0 3 5 6
When the input is ON, data block transfer is performed between the source which is
indirectly designated by A and A+1 and the destination which is indirectly designated by C
and C+1. The transfer size (number of words) is designated by B. The transfer size is 1 to
256 words.
InputOperationOutputERF
OFFNo executionOFF
ONNormal executionOFF
When error is occurredONSET
−
−
(3)Operand
Operand
NameDeviceRegisterINDEXIndex
X Y S L RZ XWYWSWLWRWW T C D FIWOWIJ K
A Source parameterü ü ü ü ü ü ü ü ü üü
B Transfer sizeü ü ü ü ü ü ü ü ü üü
C Destination
parameter
ü ü ü ü ü ü ü ü üü
Constant
42
6 F 3 B 0 3 5 6
(4)Parameter and construction
Source parameterTransfer size and statusDestination parameter
A Bank/CHTypeBTransfer sizeC Bank/CHType
A+1Leading addressC+1Leading address
Transfer parameter table
Transfer objectTypeLeading addressBank/CHTransfer sizeStatus flag
T2N0 to 1271 to 128
XW/YW register
W register01H0 to 204701 to 256None
LW register02H0 to 25501 to 256None
RW register
T3H
T2N0 to 255
T3H
00H
03H
0 to 511
0 to 999
0
01 to 256None
1 to 256
None
D register04H0 to 819101 to 256None
T2N0 to 1023
F register
Expanded F register
(IC memory card)
Expanded F register
(T2N internal memory)
scan memory
(Note 1) When the communication is transfer source (receiving), the transfer size is 1 to 256.
When it is destination (transmitting), the transfer size is 1 to 128 for T3H, 1 to 32 for
T2N.
T3H
T2N1TOSLINE-S20LP
T3H
T2N0 to 2047EEPROM
T3H
03H
05H0 to 81911 to 151 to 256None
T
3
H
06H
T
05H0 to 81911 to 31 to 256None
2
N
10H0 to 4095
20H
0 to 32767
0 to 655351
0 to 573432
0 to 8191
01 to 256None
1 to 256None
1 or 2
0
1 to 256None
1 to 256
(Note 1)
None
43
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).
Channel 1 S20LP10 Words transferD0200 (CPU register)
Scan memory address
[00200 MOV RW021]
•Operation
When X0000 is ON, 10 words data starting with scan memory address 0 is transferred to
D0200 and after.
TOSLINE-S20LPT2N/T3H’s CPU
scan data memory sourceregister designation
00001D020000001
00100D020100100
12345D020212345
Transmit
03344D020703344
11565D020811565
00045D020900045
44
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. "LINK" or "GLOBAL".
45
7.Message transmission
7.1Message 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.2Computer link protocol
The host machine can communicate to a T2N/T3H on the S20LP using the computer link
protocol. Since this function executes the station and firmware, there is no need to create pecial
user programs for the T2N/T3H using the slave station.
The host machine used this protocol can execute following process for the T2N/T3H.
6 F 3 B 0 3 5 6
• Upload or download user programs.
• Status observation (reading out RUN/HALT/ERROR status).
• Read or write register/device data.
• Execute control commands.
The computer link protocol cannot execute following process.
• T2N/T3H is Down mode.
• A S20LP-station except for ONLINE and STANDBY mode.
7.3PC link protocol
This section presents an overview of the SEND and RECV instructions, which are the
instructions that are used to control the S20LP-station from T2N/T3H user programs. S20LPstation transmission control (PC link protocol transmission) is performed solely using the SEND
and RECV instructions. See the individual items for details on the actual requests sent to the
S20LP.
The PC link protocol allows one T2N/T3H on network to write or read register data to another
T2N/T3H.
When this function is used on the PC link slave station, there is no need to create special user
programs for the T2N/T3H using the slave station.
46
6 F 3 B 0 3 5 6
Transmission port instruction busy/instruction execution in
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
InputOutput
[A SEND B]
InputOutput
[A RECV B]
(2)Function
•SEND
This instruction sends the designated range of register data to another T2N/T3H
through the network. The transfer source register (self-station) is designated by A+3
and A+4. The transfer destination register (target-station) is designation by A+5 and
A+6. The transfer size (number of words) is designated by A+2. The maximum
transfer size is 128 words.
•RECV
This instruction reads the designated range of register data from another T2N/T3H through
the network. The transfer source register (target-station) is designated by A+5 and A+6. The
transfer destination register (self-station) is designation by A+3 and A+4. The transfer size
(number of words) is designated by A+2. The maximum transfer size is 128 words.
(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.
(Note 3) Since these instructions span multiple scans, applications must hold the input in the on
state until the output goes to the on state.
(Note 4) After instruction execution terminates, it is possible to start execution again by applying
a new input.
(4)Transfer parameters (A)
The data required for a request to the S20LP-station is set up in an area that starts in the
register indicated by [A]. Then the application executes a SEND or RECV instruction. Here
we present an overview of the structure of the transfer parameters.
A2o H
A + 1
A + 2
A + 3
M
CMD
Parameters
Module designation
Command number: Normally 0H; request to loopback 000FH
Parameters:This data differs depending on the type of
the request to the S20LP-station.
Module designation:Designates the S20LP module in the T2N/T3H.
2 (Module ID):Must be set to 2 for an S20LP-station.
o(channel number):The values 1 and 2 are allocated in order starting closest to
the T3H. T2N must be set to 1.
(station number):This two-digit field set to another station number.
(Note 5) Do not modify the contents of the transfer parameters while an instruction execution is
in progress.
48
6 F 3 B 0 3 5 6
3: Complete
1: Error occurred at remote station.
(5)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.
The following figure shows the structure of the status information (register B) and following
tables (TermSTS (Part1 and Part2) and detailed information) show the detailed information
(register B +1).
BStatus
B+1Detailed information
FEDCBA9876543210
B0
TermSTS
Only on an error 0: Error occurred at local station.
busy 0: Initial state
1: Transmission port busy
abn0: Normal complete
1: Error complete
(Note 6) The user program must set bits C and D to 0 before first activating a SEND/RECV
instruction. Failure to do so will cause the SEND/RECV instruction to not complete. Also,
do not write to the status during instruction execution. This will cause the SEND/RECV
instruction to not complete.
status0: Initial state
1: While send requesting
2: Send complete and while waiting
response
49
6 F 3 B 0 3 5 6
TermSTS
TermSTSStatusMeaning
00HNormal complete
01HRegister 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.
• In a register read or write request, the request designated a read or write from
a T register to a register other than a T register.
(This also applies to C registers.)
02HResponse timeout• Occurs if a response is not received within the designated time for a remote
station loopback or register read/write request.
03HParameter error• Occurs if a value other than 2 is designated for the module ID.
• Occurs if a value other than 1 (T2N/T3H) or 2 (T3H) is designated for the
channel number.
04HRegister write protect• Occurs if an attempt to write is made when the remote registers were write
protected.
• Occurs if an attempt to read is made when the local registers were write
protected.
05H(Reserved)
06H
Module error• Occurs if the module is down.
• Occurs if the master station of PC link times out
Initialization in progress• Occurs if the module is initializing.
07HNo send channel (CH)
08HInvalid station number• Occurs if the local station address designated 0 or over 64.
09HTransfer size error• Occurs if either 0 or 129 or more words were designated for either a register
0AHBoundary error• Occurs if the specified area (start address + register range) does not exist in
0BHTransmission error• Occurs if the S20LP-station returns an error response.
0CHI/O no answer error
0DH
0EHRetry timeout error
0FH(Reserved)
IC card designation error
(T3H)
(Reserved : T2N)
• Occurs if the corresponding S20LP-station is not installed.
• Occurs if the remote station address was set up the same local station
address.
read/write or a remote station loopback request.
the T2N/T3H data storage registers.
Requests: Remote port loopback, Register read/write
Detailed information (the S20LP-station response status) is stored at B+1.
• Occurs if the T2N/T3H cannot access S20LP-station.
• Occurs if an error occurs when the T3H IC card is being used as register
(expanded F register) in one of the following request.
(See the T3H Instruction Manual.)
Request: Register read/write
1. Occurs if IC card is not setting up.
2. IC card type error
3. Register write protected
• Occurs if a T2N retransmission times out.
50
Detailed Information (Send completion status)
6 F 3 B 0 3 5 6
ErrorCode
Normal complete81HThe remote station normally received message frame from local station.
Busy90HThe remote station is standby.
TimeoutA0HThe answer frame for the transmitted message frame no returned from remote
Length errorB0HIncorrect message frame length in remote station.
Station mode errorD0H
Transmission prohibited state
(local station)
Transmission prohibited state
(remote station)
Format errorF0HOccurs when there is a format error in the request text.
E0H
E8H
Description
station on time.
The local station is Offline.
The local station cannot transmit message in the message transmission
prohibited state.
The remote station cannot transmit message in the message transmission
prohibited state.
(Note 7) The code (detailed information) number, when SEND/RECV instruction is
completed, indicates send completion status.
51
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.
•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).
(b) Transfer parameters
A2¨ H
A+1CMD = 0000H
A+2Transfer Size
A+3Register type (self-station)
A+4Leading address (self-station)
A+5Register type (target-station)
A+6Leading address (target-station)
A+7Response time limit
Module designation
Command number: Normally 0H; request to loopback 000FH
1) Transfer register data length: 1 to 128 words
2) Local station register type code
3) Local station leading address
4) Remote station register type code
5) Remote station leading address
6) Response time limit
1)Transferred register data length
Designates the transmission data length in word units. (1 to 128 words)
2)Local station register type code
This code indicates the type of register in which the local station transmission source data
is stored.
3)Local station leading address
Designates the leading address of the register designated by the local station register type
code.
4)Remote station register type code
This code designates the type of register at the remote station to which the transmitted data
will be written. (see 7.3(6))Local station register code)
5)Remote station leading address
Designates the leading address of the register designated by the remote station register type
code.
52
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.
FE0
A+7
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. See “T-series Instruction Set (Ladder, SFC)” (UM-TS03***-E004).
*1 Includes the expansion F registers. One bank has 8k words (0 to 8191).
F70
05H
Bank number...00H: T2N internal registers
F0000 to F1023
01H to 03H: Expansion F registers
F0000 to F8191
*2 Includes the expansion F registers(Only T3H). One bank has 64K words (0 to 65535).
F70
06
Bank number...00H: T3H internal registers
F0000 to F32767
01H: Expansion F registers (IC card)
F0000 to F65535
02H: Expansion F registers (IC card)
F0000 to F57343
53
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). The T3H has the expansion T register,
but the T2N does not have.
(c) Status (See 7.3 (5) for details on bits C, D, E, and F.)
FEDCBA9876543210
B0000TermSTS
B+1Detailed information (Only valid when TermSTS = 0BH.)
(d) Important items
• The command number (0000H) is the same as the "Data Read".
• A transfer size error (TermSTS = 09H) occurs if the transferred register data length exceeds
the range 1 to 128 words (or 1 to 83 words for the T and C registers).
• A register designation error (TermSTS = 01H) occurs if a value other than a stipulated value
is designated for the register type codes (Register type (self/target-station)).
• A register designation error (TermSTS = 01H) occurs if 0007H (the T register) is designated
for the local station register type code and a register other than T register is designated for
the remote station register type code. This also holds for the C register.
• A boundary error (TermSTS = 0AH) occurs if a range spanning both the base T registers
(0 to 511) and the expansion T registers (512 to 999) is designated for the T register.
• For data storage registers, a boundary error occurs if the designated area (leading address +
register range) does not exist in either the local or remote stations.
Local station : TermSTS = 0AH ; Remote station : TermSTS = 8AH
• A response time-out error (TermSTS = 02H) occurs if the response time from the remote
station exceeds the time designated by the response time limit.
54
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.
SW067
F9876543210
SW CTFDRW LW W XW/YW
Special registers
Counter registers
Timer registers
PC internal file registers
Expansion file registers (IC card)
Data registers
Link relay registers
Auxiliary registers
0:Write enabled
1:Write protected
Input/output registers
Link registers
• The write operation is not synchronized with the remote station T2N/T3H scan operation.
55
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.
• Register read request (using the RECV instruction)
(a) Function
The register data designated by the remote station (T2N/T3H) is read to the designated
register on the local station (T2N/T3H).
(b) Transfer parameters
A2¨ H
A+1CMD = 0000H
A+2Transfer Size
A+3Register type (self-station)
A+4Leading address (self-station)
A+5Register type (target-station)
A+6Leading address (target-station)
A+7Response time limit
Module designation
Command number: Normally 0H; request to loopback 000FH
1) Transfer register data length: 1 to 128 words
2) Local station register type code
3) Local station leading address
4) Remote station register type code
5) Remote station leading address
6) Response time limit
1)Transferred register data length
Designates the transmission data length in word units. (1 to 128 words)
2)Local station register type code
This code indicates the type of register in which the local station transmission source data
is stored.
3)Local station leading address
Designates the leading address of the register designated by the local station register type
code.
4)Remote station register type code
This code designates the type of register at the remote station to which the transmitted data
will be written. (see 7.3(6))Local station register code)
5)Remote station leading address
Designates the leading address of the register designated by the remote station register type
code.
56
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.
FE0
A+7
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.)
FEDCBA9876543210
B0000TermSTS
B+1Detailed information (Only valid when TermSTS = 0BH.)
(d) Important items
• The command number (0000H) is the same as the "Data Write".
• A transfer size error (TermSTS = 09H) occurs if the transferred register data length exceeds
the range 1 to 128 words (or 1 to 83 words for the T and C registers).
• A register designation error (TermSTS = 01H) occurs if a value other than a stipulated value
is designated for the register type codes (Register type (self/target-station)).
• A register designation error (TermSTS = 01H) occurs if 0007H (the T register) is designated
for the local station register type code and a register other than T register is designated for
the remote station register type code. This also holds for the C register.
• A boundary error (TermSTS = 0AH) occurs if a range spanning both the base T registers
(0 to 511) and the expansion T registers (512 to 999) is designated for the T register.
• For data storage registers, a boundary error occurs if the designated area (leading address +
register range) does not exist in either the local or remote stations.
Local station : TermSTS = 0AH ; Remote station : TermSTS = 8AH
• A response time-out error (TermSTS = 02H) occurs if the response time from the remote
station exceeds the time designated by the response time limit.
57
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.
SW067
F9876543210
SW CTFDRW LW W XW/YW
Special registers
Counter registers
Timer registers
PC internal file registers
Expansion file registers (IC card)
Data registers
Link relay registers
Auxiliary registers
0:Write enabled
1:Write protected
Input/output registers
Link registers
• The read operation is not synchronized with the remote station T2N/T3H scan operation.
58
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. Next it reads out the same area and compares it with the data within the
local station to check that the function succeeded.
Remarks
Make a point of understanding the content before writing programs that use the S20LPstation. The sample programs present basic examples of S20LP-station usage, and should
be reviewed carefully before use in an actual system.
RW090 : Execution count designation (1 to 32767)
RW091 : Operation when a comparison error occurs (continue : 0, stop : 1)
RW092 : Transfer register data length (1 to 128 words)
RW093 : Write time transfer source register type (self-station)
RW094 : Write time transfer source leading address (self-station)
RW095 : Write time transfer destination register type / read time readout source register
type (target-station)
RW096 : Write time transfer destination leading address / read time readout source leading
address (target-station)
RW097 : Read time storage register type
RW098 : Read time storage register leading address
This ladder program is executed by turn on the R0520 A contact.
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 #1SPacketS
STN #2Packet
STN #3Packet
STN #nPacket
6 F 3 B 0 3 5 6
In the above figure, S means the Synchronization frame which shows the start of transmission
cycle (Scan cycle). At first, the main station sends out the Synchronization frame. Then each
station sends out the Packet sequencially in the order of Station number. When the final station
finishes sending out the Packet, the main station re-sends out the Synchronization frame, and the
next transmission cycle is started.
The Packet consists of a Scan frame and a Message frame(s).
The Scan frame is for Scan transmission and it is sent out every time when the station becomes
sender and Target Scan Timer is expired. On the other hand, the Message frame is for Message
transmission and it is added only when the necessity of Message transmission is generated.
The Target Scan Time (Target Cycle Time) is a time factor for limiting the time assigned for the
Message transmission. If the Scan cycle - the time from the station got Token last time to the
station get Token this time - is longer than the Target Scan Time, the station sends the Scan
frame but does not send the Message frame. Therefore, the Target Scan Time should be selected
as longer than the time for total Scan transmission to enable the Message transmission.
The total transmission time (TSCN) can be calculated from the number of connected stations and
the total size (number of words) of send data as follows.
T
= ( 64 + 128 * N
SCN
+ 8 * W
STN
) / 1000 [ms]
SCN
The total message transmission time (TMSG) can be expressed as follows.
T
= 4 * ( 15 + 2 * W
MSG
MSG
) * M
/ 1000 [ms]
STN
62
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
If T
T
< T
SOFT
TCY = T
> T
SOFT
TCY = T
= ( 370 * N
SOFT
SCN
SCN
SCN
SCN
/ 2
+ T
MSG
/ 2
/ 2 + T
STN
+ T
SOFT
MSG
+ 2.8 * W
) / 1000 [ms]
SCN
Set the Target Scan Time (Target Cycle Time) larger than above TCY.
Here;
N
: Number of connected stations
STN
W
: Total size of send data (words)
SCN
W
: Maximum message size of send data (words)
MSG
M
: Number of message transmission stations
STN
(Note 1) The minimum T
is about 3 ms. Even if the above calculation result is less than 3 ms,
SCN
actual TSCN is limited by this value.
63
A.2T-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.
(Note 1) T2N must be sellected P/S "ON" with DIP switch 1.
(Note 2) When DIP switch 1 is ON/OFF, T2N is Loader port/Programmer port.
6 F 3 B 0 3 5 6
S20LP
STN #1
T-PDS
S20T2N
-LP
S20T3H
-LP
STN #3STN #2
To use this function, T-PDS's connection method should be set as "Network".
The screen below is the setting example of T-PDS's connection method for the above
configuration.
Option → Communication (Connection Method) → Setup (Network Setup)
→ Communication Parameter (Communication Parameter)
<T-PDS Setup options screen>
S20T3H
-LP
(Note 1) When connecting on single layer, the Layer 2 Station No. should be set as 0.
(Note 2) The Parity is fixed as even.
64
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
S20T2N
-LP
T-PDS
<T-PDS Setup options screen>
S20T3H
-LP
S20T2N
-LP
S20
-LP
STN #3STN #2STN #1
S20T3H
-LP
S20LP
STN #3STN #2
S20T2N
-LP
(Note 1) The Layer 1 Station No. specifies the bridge station and the Layer 2 Station No.
specifies the target station on the second layer.
(Note 2) Only T3H is available for the bridge station.
(Note 3) The Parity is fixed as even.
65
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.