background image

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.

After this instruction manual has been read, keep it
beside the equipment.

TOSHIBA CORPORATION

June, 1998

REQUIREMENTS

Main Menu

Contents

Summary of Contents for TOSLINE-S20LP

Page 1: ...ction manual where it can be easily referred to by users and those responsible for the equipment Read this instruction manual carefully before using the equipment After this instruction manual has been read keep it beside the equipment TOSHIBA CORPORATION June 1998 REQUIREMENTS Main Menu Contents ...

Page 2: ... 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 ...

Page 3: ...roller 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 con...

Page 4: ...INGS 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 PROT...

Page 5: ... up terminal station External Loop Device PTLS9 OTR1 OTR2 General station 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 Transmission distance 1 km between stations 4 km between stations connecting SBR22 30 km system totla Scan transmission capacity 4096 words Maximum transmission ...

Page 6: ...ET R EACC SRUN SONL SACC STNH STNL LINK PROG OTR1 OTR2 10BASE T Status LEDs for Ethernet Port Status LEDs for S20LP Port DIP switches for CPU For S20LP Port Station number setting switches Transmission cable connectors LOADER port For Ethernet Port T2N include of S20LP Port ...

Page 7: ... 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 ...

Page 8: ...t 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...

Page 9: ...he 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 Reset switch only SN325 Used to reset a SN325 ...

Page 10: ...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 ...

Page 11: ... 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 ...

Page 12: ...smission cyclic broadcast 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 1 station Include of S20LP port 2 stations Note 1 Scan transmission capacity 4096 words Link register W 2048 words in T2N T3H is assigned Message transmission support S LS primary secondary T PD...

Page 13: ...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 T2N s Link register 3 Receive 2 Receive 1 Send Common memory Read Write STN T2N T2N s Link register 3 Receive 2 Send 1 Receive Common me...

Page 14: ...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 c...

Page 15: ...4 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 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 A I O Allocation A I O A...

Page 16: ...ks to be assigned 0 Receive 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 2047 Block 32 W1983 2047 LINK Setting example S20LP station common memory T2N T3H W registers Network assignment ...

Page 17: ... 16 6 F 3 B 0 3 5 6 T PDS screen example 2 P PLC A I O Allocation N Network Assignment ...

Page 18: ... is assigned as CH1 And the other is assigned as CH2 CH2 is invalid for T2N Setting example 2 Block 1 Send LINK Receive LINK Block 2 LINK Block 3 LINK Send Block 4 LINK Receive Block 5 LINK Block 6 Receive Block 32 LINK CH1 Network assignment CH1 S20LP station common memory CH2 S20LP station common memory CH2 Network assignment T3H W registers ...

Page 19: ... 18 6 F 3 B 0 3 5 6 T PDS screen example 3 ...

Page 20: ...or T2N Setting example 3 Block 1 Send 1 LINK Receive LINK Block 2 LINK Block 3 LINK Send 1 Block 4 LINK Block 5 Receive LINK Block 6 GLOBAL Block 7 GLOBAL Send 2 Block 8 GLOBAL Block 9 Send 2 GLOBAL Block 10 Receive Receive Block 32 LINK CH1 Network assignment CH1 S20LP station common memory CH2 S20LP station common memory CH2 Network assignment T3H W registers ...

Page 21: ...ither 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...

Page 22: ...ersonal 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 ...

Page 23: ... 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 ...

Page 24: ...ta 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 ...

Page 25: ... 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 ...

Page 26: ...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 Stan...

Page 27: ...on 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 sta...

Page 28: ...No use W0249 W0250 Receive No use Send W0299 W0300 No use No use No use W2047 common memory 2k words No use No use No 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 ...

Page 29: ...tic 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 ...

Page 30: ...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 4 msec Start with Standby mode No S LS setting screen 1 for STN 2 ...

Page 31: ... 30 6 F 3 B 0 3 5 6 S LS setting screen 2 for STN 2 ...

Page 32: ...Optical fiber cable H PCF Hard Plastic clad fiber 200 230 µm Optical connector F07 connector JIS C5976 Optical fiber characteristic Material Silica glass Step index Core diameter 200 5µm Cladding diameter 230 0 10µm Numerical Aperture 0 4 Attenuation 7 0 dB km or less Bandwidth 9 MHz km or more Wavelength 0 81µm Note 1 Securely connect the optical connectors Otherwise connection loss will increase...

Page 33: ...l split into two independent S20LP systems at the power off stations S20LP STN 1 S20LP STN 2 S20LP STN 3 S20LP STN 6 S20LP STN 5 S20LP STN 4 OTR1 OTR2 OTR1 OTR2 OTR1 OTR2 OTR1 OTR2 OTR2 OTR1 OTR2 OTR1 OTR2 OTR1 OTR2 OTR1 OTR2 OTR1 OTR2 OTR1 OTR1 OTR2 OTR1 OTR2 Power off Power off S20LP loop No 1 S20LP loop No 2 Transmission cable breakage If both transmitter and receiver lines are broken 1 or if o...

Page 34: ...te scan transmission is not possible but message transmission is available Station waits for transmission parameter setting During operation Diagnostic item Station operation abnormal Watch dog timer check Station moves into Down mode Abnormal timer check jabber timer check Communications with other stations are not possible This state will be reset by power off on SN325 T2N or pressing Reset swit...

Page 35: ...own Station number is illegal simultaneously Blink Not lit Down Jabber timeout Not lit Not lit Down Receive buffer is overflow Target cycle time is shortage Blink Blink Down Watch dog timer error alternately 2 T2N The S20LP station is equipped with RUN and SONL LEDs which indicate the station modes SRUN SONL Station mode Remarks Lit Lit Online Scan Message transmission is enabled Lit Not lit Offli...

Page 36: ...egisters SW of T2N T3H This information can be referred in the T2N T3H s user program SW110 CH1 station status 1 word SW111 CH2 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 SW124 CH2 standby map only T3H 4 words SW128 Loop map only T2N 32 words ...

Page 37: ...sabled 0 LOOP1 reception enabled 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 F E D C 3 2 1 0 SW112 SW116 16 15 14 13 4 3 2 1...

Page 38: ...t cut off status of terminal station This information is updating every 200ms F E D C B A 9 8 7 6 5 4 3 2 1 0 SW128 Station 2 information Station 1 information SW129 Station 4 information Station 3 information SW159 Station 64 information Station 63 information Indicates the detailed station information Station n 1 Station n F E D C B A 9 8 7 6 5 4 3 2 1 0 Unused a b c Unused a b c a This bit indi...

Page 39: ...d 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 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 ...

Page 40: ... 39 6 F 3 B 0 3 5 6 If the S LS connecting station is Offline or Down mode the following message will be displayed right and upper side on the screen Self Station Station No 01 Offline ...

Page 41: ... 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 Number 2 Click the Status Display ...

Page 42: ...er error Watch dog timer error occured 20H Overrun Reception transaction is overrun 40H Jabber timeout Abnormal long frame 500ms or more was transmitted 60H Hardware error CPU RAM ROM or peripheral LSI is abnormal Station number illegal 6FH Undefined instruction executing CPU could not execute the instruction 77H Receive buffer overflow Receive buffer overflow occurred If these errors cannot be re...

Page 43: ... 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 Input Operation Output ERF OFF No execution OFF ON Normal execution OFF When error is occurred ON SET 3 Operand Operand Name Device Register INDEX Index X ...

Page 44: ... RW register T3H 03H 0 to 999 0 1 to 256 None D register 04H 0 to 8191 0 1 to 256 None T2N 0 to 1023 F register T3H 03H 0 to 32767 0 1 to 256 None 05H 0 to 8191 1 to 15 1 to 256 None 0 to 65535 1 Expanded F register IC memory card T 3 H 06H 0 to 57343 2 1 to 256 None Expanded F register T2N internal memory T 2 N 05H 0 to 8191 1 to 3 1 to 256 None T2N 1 TOSLINE S20LP scan memory T3H 10H 0 to 4095 1...

Page 45: ...0 RW005 00010 RW020 H00 H04 RW004 00000 RW021 00200 Channel 1 S20LP 10 Words transfer D0200 CPU register Scan memory address Operation When X0000 is ON 10 words data starting with scan memory address 0 is transferred to D0200 and after TOSLINE S20LP T2N T3H s CPU scan data memory source register designation 00001 D0200 00001 00100 D0201 00100 12345 D0202 12345 Transmit 03344 D0207 03344 11565 D020...

Page 46: ...t 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 ...

Page 47: ... 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 3 PC 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...

Page 48: ...nge 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 Input Operation Output ERF OFF No execution OFF OFF ON Execution Transmission port instruction...

Page 49: ...n 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 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 ...

Page 50: ...led information register B 1 B Status B 1 Detailed information F E D C B A 9 8 7 6 5 4 3 2 1 0 B 0 TermSTS 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 abn 0...

Page 51: ...out 06H Initialization in progress Occurs if the module is initializing 07H No send channel CH Occurs if the corresponding S20LP station is not installed 08H Invalid station number Occurs if the local station address designated 0 or over 64 Occurs if the remote station address was set up the same local station address 09H Transfer size error Occurs if either 0 or 129 or more words were designated ...

Page 52: ...ssage frame length in remote station Station mode error D0H The local station is Offline Transmission prohibited state local station E0H The local station cannot transmit message in the message transmission prohibited state Transmission prohibited state remote station E8H The remote station cannot transmit message in the message transmission prohibited state Format error F0H Occurs when there is a...

Page 53: ...A 5 Register type target station 4 Remote station register type code A 6 Leading address target station 5 Remote station leading address A 7 Response time limit 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 transmissi...

Page 54: ... 2 0002H LW register 0007H T register 3 0003H RW register 0008H C register 3 0004H D register 0009H SW register 1 Includes the expansion F registers One bank has 8k words 0 to 8191 F 7 0 05H 2 Includes the expansion F registers Only T3H One bank has 64K words 0 to 65535 F 7 0 06 Bank number 00H T2N internal registers F0000 to F1023 01H to 03H Expansion F registers F0000 to F8191 Bank number 00H T3...

Page 55: ... 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 c...

Page 56: ...mSTS 04H will occur F 9 8 7 6 5 4 3 2 1 0 SW067 SW C T F D RW LW W XW YW The write operation is not synchronized with the remote station T2N T3H scan operation 0 Write enabled 1 Write protected Special registers Counter registers Timer registers PC internal file registers Expansion file registers IC card Input output registers Link registers Link relay registers Auxiliary registers Data registers ...

Page 57: ...leading address A 5 Register type target station 4 Remote station register type code A 6 Leading address target station 5 Remote station leading address A 7 Response time limit 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 st...

Page 58: ...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 99...

Page 59: ...mSTS 04H will occur F 9 8 7 6 5 4 3 2 1 0 SW067 SW C T F D RW LW W XW YW The read operation is not synchronized with the remote station T2N T3H scan operation 0 Write enabled 1 Write protected Special registers Counter registers Timer registers PC internal file registers Expansion file registers IC card Input output registers Link registers Link relay registers Auxiliary registers Data registers ...

Page 60: ...on 0004H 2 Local station register type code D register A 4 Leading address self station 1000 3 Local station leading address 1000 A 5 Register type target station 0004H 4 Remote station register type code D register A 6 Leading address target station 1000 5 Remote station leading address 2000 A 7 Response time limit 100 6 Response time limit 10 seconds Sample register construction RW090 Execution ...

Page 61: ...0 MOV D0902 00000 MOV D0918 D0946 MOV D0900 RW093 MOV D0916 RW094 MOV D0917 00001 MOV D0990 R0098 D0901 XFER D0990 D0916 1 D0917 1 D0918 1 D0900 R0098 RW092 D0918 SET R0092 RST R0091 RST R0520 Data write R0092 08450 MOV D0903 00000 MOV D0904 RW092 MOV D0905 Designates the module and sets the CMD number Sets the transfer register data length RW093 MOV D0906 RW094 MOV D0907 Sets the transmission sou...

Page 62: ...D0927 Sets the response time limit 10 seconds D0920 SEND D0928 SET R0094 RST R0093 Sets the request and starts post completion comparison 00001 MOV D0940 Comparison check R0094 00001 MOV D0941 00001 MOV D0943 00980 MOV D0942 00981 MOV D0944 RW094ŸRW093 DMOV D0948ŸD0947 RW098ŸRW097 DMOV D0950ŸD0949 R0095 D0947 XFER D0940 D0941 D0949 XFER D0940 D0943 R0096 R0096 D0980 D0981 1 RW190 D0980 D0981 1 RW1...

Page 63: ... 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...

Page 64: ...TCY TSCN TMSG If TSOFT TSCN 2 TCY TSCN 2 TSOFT TMSG TSOFT 370 NSTN 2 8 WSCN 1000 ms Set the Target Scan Time Target Cycle Time larger than above TCY Here NSTN Number of connected stations WSCN Total size of send data words WMSG Maximum message size of send data words MSTN Number of message transmission stations Note 1 The minimum TSCN is about 3 ms Even if the above calculation result is less than...

Page 65: ...P switch 1 is ON OFF T2N is Loader port Programmer port LP S20 T2N LP S20 T3H LP S20 T3H S20LP STN 3 STN 2 T PDS STN 1 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...

Page 66: ...P S20 T2N LP S20 T3H LP S20 T3H S20LP S20LP STN 3 STN 2 STN 1 T PDS STN 1 LP S20 STN 3 STN 2 LP S20 T2N LP S20 T2N T PDS Setup options screen 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 ...

Reviews: