Benutzeranleitung / Produktwartung AS311 des Produzenten Toshiba
Zur Seite of 66
UM-TS03***- E020 PROGRAMM ABLE CONTROLLER PROSEC T3 ASCII INTERFACE MODULE AS311 USER’S MANUAL TOSHIBA CORPORATIO N.
Important Inf ormat i on Misuse of this equipm ent can result in pr operty damage or human inj ury. Because c ontrolled system applic ations vary w i dely , y ou should satis fy y ourself as to the acceptability of this equipm ent for y our intended purpose.
User’s Manual 1 Safety Precautions Safety Precautions • This module ( AS311) has been desig ned for Toshiba’s Prog rammable Cont r o ller PROSEC-T 3 ( her eaf ter called T 3). Use t his m odule only on the T 3’s rack. • Read the Saf et y Precaut ions descr ibed on t he T3 User’s Manual befor e using the T3 and this module.
2 ASCII Int er f ace Module (AS311) A bout This Manual A bout This Manual This manual explains the specif ications and operat ions of the ASCI I I nterf ace Module (AS311) f or Prog r ammable Contr oller T3. Read t his manual caref ully before using the AS311 module.
User’s Manual 3 A bout This Manual Related Manuals The f ollowing related manuals are available f or T3. Besides this manual, r ead t he following manuals f or your bett er understanding . T3 U ser’s Manua l - Hardware This manual covers the T3’s mai n body and basi c I/O - their specifications, handling, maintenance and services.
4 ASCII Int er f ace Module (AS311) Contents Contents Safety Precautions .................................................................................. 1 A bout This Manual ..........................................................................
User’s Manual 5 Contents 6. RA S Information ......................................................................... 51 6.1 LE D indica tion .................................................................................. 52 6.2 Bu f fer memory i nf ormation .
6 ASCII Int er f ace Module (AS311).
User’s Manual 7 Section 1 AS311 Overview 1.1 Intr oduction 1.2 AS311 functions 1.3 External f eatures.
8 ASCII Int er f ace Module (AS311) 1. A S311 Overview 1.1 Introduction The ASCII inter face m odule AS311 ( her eaf ter called AS311) is a g eneral purpose data communication module f or Toshiba’s Pr og ramm able Cont r oller PROSEC-T 3 (hereaf ter called T3).
User’s Manual 9 1. A S311 Overview 1.2 A S311 functions From the point of view of T 3, the AS311 works as com m unicat ions driver. The followings are the simplif ied explanations f or T3 and AS311 f unctions.
10 ASCII Int erf ace Module (AS311) 1. A S311 Overview 1.3 External features Status LEDs AS311 • RUN • TX1 • RX1 • TX2 • RX2 8 7 6 5 4 3 2 1 SW 3 SW 2 SW 1 ON → ON → 1 2 3 → ↓ RSW 2 .
User’s Manual 11 1. A S311 Overview Status LEDs RUN: Lit when AS311 is operating normally TX1: Lit while transmitt ing dat a fr om channel 1 RX1: Lit w hile receiving data t o channel 1 TX2: Lit whi.
12 ASCII Int erf ace Module (AS311) 1. A S311 Overview SW3 RS-232C/RS-422 sel ect i on sw i tches (for channel 1) RSW1/RSW2 Optiona l rotary sw itches SW 3 ON → 3 2 1 Used to select the int er face of the channel 1 either RS-232C or RS-422.
User’s Manual 13 1. A S311 Overview Hardware reset sw i t ch W hen this switch is pressed, t he AS311 will be reset. Use this switch when you have changed the switch settings. Channel 1 and channel 2 serial ports Used to connect the serial tr ansm ission line (RS-232C or RS-422) .
14 ASCII Int erf ace Module (AS311).
User’s Manual 15 Section 2 Specifications 2.1 General specif ications 2.2 Functional specificat ions 2.3 Transmission specificat ions.
16 ASCII Int erf ace Module (AS311) 2. Specifications 2.1 General specifications Item Specif ications Remark s Power voltage 5 Vdc (supplied f r om back plane bus) Current consum pt ion 1.
User’s Manual 17 2. Specifications 2.3 Transmission specifications Item Channel 1 Channel 2 Inter f ace RS-232C or RS-422 RS-232C Transm ission mode Full-duplex Synchronizing Start- st op m ethod (a.
18 ASCII Int erf ace Module (AS311).
User’s Manual 19 Section 3 Cable Connections 3.1 RS-232C connection 3.2 RS-422 connection.
20 ASCII Int erf ace Module (AS311) 3. Cable Connecti ons 3.1 RS-232C connection The following f igure shows the RS-232C connection. AS311 Shielded cable RS-232C device (1) DSR is supported only on the channel 2. (2) Connect SG each other . (3) Use shielded cable.
User’s Manual 21 3. Cable Connecti ons 3.2 RS-422 connection The channel 1 can be selected either RS- 232C or RS- 422. The f ollowing fig ur e shows the RS-422 connection.
22 ASCII Int erf ace Module (AS311).
User’s Manual 23 Section 4 Register Configuration 4.1 I/O allocation and I/O regi sters 4.2 AS311 buffer memory.
24 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation 4.1 I/O allocation and I/O registers The AS311 has the I/O ty pe ‘ i X+Y 4W ’ for I/O allocation. W hen the automatic I/O allocation is performed with mounting the AS311, the following I/O allocation table will be created in the T3.
User’s Manual 25 4. Register Confi gur ation The following table show s the f unctions of I/O registers assigned to the AS311. XW (n) CH1 status XW (n+1) CH2 statu s YW ( n+2) CH1 command YW ( n+3) .
26 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation 4.2 A S311 buffer memory As ex plained in the prev ious section, the I/O registers that are assigned to AS311 are used to control the r eading and writing t im ing s (handshake) bet ween T3 and AS311.
User’s Manual 27 4. Register Confi gur ation 4.2.2 Buff e r memory access T3 can read the AS311’s buf fer m em ory contents by using READ instr uct ion ( FUN237). Also, T3 can write data into t he buff er mem or y by using W RIT E inst ruction (FUN238) .
28 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation WRITE instruction ( FUN238) Expression: [ (A) W RITE (B ) → (C) ] Operands: (A) : St arting r eg ister of the source (B) : Starting address of the buf f er m em or y to be written (B) + 1: Number of words to be written (m ax.
User’s Manual 29 4. Register Confi gur ation 4.2.3 Parameter area The parameter ar ea of the buf fer m emory contains the f ollowing contents. Address A ddress 0 CH1 status 64 1 CH2 st atus Status a.
30 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation Status and command (0 - 3) The addresses 0 to 3 store the same data as the I/O registers that are assigned to the AS311.
User’s Manual 31 4. Register Confi gur ation SW1 info rmation (6) The address 6 stor es t he setting st at us of the channel 1 t ransmission paramet er set t ing swi tches (SW 1).
32 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation Command 1 (12) The address 12 is used to r eset the AS311 by T3 prog ram. Two types of reset com m ands ar e available, hot r eset and cold reset. The hot reset is used to change t he t r ailing code and the time- out check time sett ings.
User’s Manual 33 4. Register Confi gur ation CH1 tra nsmit error (17) an d CH2 transmit error ( 81) The address 17 (f or channel 1) and t he address 81 (f or channel 2) indicate t he er r or contents if an error has occur r ed dur ing message t r ansmitting .
34 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation CH1 receive length (19) and CH2 receive length (83) The address 19 (f or channel 1) and t he address 83 (f or channel 2) indicate t he leng th of the received message ( num ber of bytes).
User’s Manual 35 4. Register Confi gur ation CH1 time-out check ( 25) and CH2 time-out check ( 89) The address 25 (f or channel 1) and t he addr ess 89 (for channel 2) store t he t ime- out check times. If t he t im e bet ween each receiving charact er exceeds the specif ied time- out check time, it becomes the r eceiving t im e- out er r or.
36 ASCII Int erf ace Module (AS311) 4. Register Confi gur ation 4.2.4 Receiv ing and transmitting data area The receiving and transm it t ing data area is provided to exchange t he com m unication characters between T3 and AS311. T he address rang es in t he AS311 buf f er m em ory are as follows.
User’s Manual 37 Section 5 Operation Procedure 5.1 Transmission message f or m at 5.2 Received message read sequence 5.3 Wr it e sequence for message t r ansm it t ing 5.4 Checking the AS311 operat ion st atus 5.5 Resetting t he AS311 by sof t ware 5.
38 ASCII Int erf ace Module (AS311) 5. Operation Procedure 5.1 Transmission message format The transmission messag e is composed by ASCII charact ers and a specif ied t r ailing code. The def ault set ting of the tr ailing code is CR (carr iag e return code = H0D) .
User’s Manual 39 5. Operation Procedure 5.2 Received message read sequence 5.2.1 Flag control timing In case of receiving a m essag e, the f ollowing flag s ar e used f or handshak ing between T3 and AS311. These flags are the bits of the I/O reg isters assigned to the AS311.
40 ASCII Int erf ace Module (AS311) 5. Operation Procedure 5.2.2 T3 sample program for message receiv ing A sample program f or the “ r eceived messag e read sequence” is shown below. This sample prog r am is f or t he channel 1 of the AS311 that is allocated to X W 000 - YW 003.
User’s Manual 41 5. Operation Procedure In this sample prog r a m , t he following devices/reg ist ers are used. R0100 AS311 st at us ( O N when ready) - Refer t o sect ion 5.
42 ASCII Int erf ace Module (AS311) 5. Operation Procedure Explanation for this sam ple pr ogram : (1) T he “received messag e r ead seq uence” is prog r am m ed on Subr outine No. 0. (2) T he Subroutine No. 0 is called f rom Main prog r am with reset t ing R0200 and R0300 to OFF.
User’s Manual 43 5. Operation Procedure 5.3 Write sequence for message transmit ting 5.3.1 Flag control timing In case of tr ansm it t ing a message, t he following f lag s are used f or handshak ing betw een T3 and AS311. These flag s are the bits of the I/O registers assigned to the AS311.
44 ASCII Int erf ace Module (AS311) 5. Operation Procedure 5.3.2 T3 sample program for message transmit ting A sample program f or the “ write seq uence f or messag e transmit t ing” is shown below. This sample prog r am is f or t he channel 1 of the AS311 that is allocated to X W 000 - YW 003.
User’s Manual 45 5. Operation Procedure In this sample prog r a m , t he following devices/reg ist ers are used. R0100 AS311 st at us ( O N when ready) - Refer t o sect ion 5.
46 ASCII Int erf ace Module (AS311) 5. Operation Procedure Explanation for this sam ple pr ogram : (1) T he “write sequence f or messag e t r ansm itting” is pr ogramm ed on Subr outine No. 1. (2) T o start t ransmitting , set the m essag e (ASCII char act er s) into D0200 and af t er .
User’s Manual 47 5. Operation Procedure 5.4 Checking the A S311 operation status AS311 operation status inf ormation is st or ed in t he AS311’s buff er mem or y address 4 (Status 1). T 3 can read this inf ormat ion by using READ inst r uct ion. A sample program is shown below.
48 ASCII Int erf ace Module (AS311) 5. Operation Procedure 5.5 Resetting th e A S311 by soft w are AS311 can be reset by T3 progr am . Two types of reset t ing are available, cold reset and hot reset. The cold reset is used to r eset t he AS311 er ror stat e.
User’s Manual 49 5. Operation Procedure 5.6 Setting the trailing code The default set ting of the tr ailing code is CR (carr iag e return code = H0D).
50 ASCII Int erf ace Module (AS311) 5. Operation Procedure 5.7 Setting the time- out check time The default set t ing of t he t im e- out check time is 1 second. T he time-out check time can be changed by T3 progr am . T he valid setting rang e is 0.1 to 60.
User’s Manual 51 Section 6 RAS Information 6.1 LED indication 6.2 Buffer memory inf ormation 6.3 Trouble shooting.
52 ASCII Int erf ace Module (AS311) 6. RA S Information 6.1 LED indication On the AS311, f ive stat us LEDs ar e pr ovided as f ollows. These LEDs are usef ul to check the AS311 operation st at us and the communicat ion st at us. RUN TX1 RX1 TX2 RX2 RUN Indicates the AS311 operat ion st at us.
User’s Manual 53 6. RA S Information 6.2 Buffer memory information Various RAS inform at ion ar e st ored in the AS311’s buf fer m emory. These inf orm at ion can be read by READ instruction. W hen some abnormality has occurred, check these informati on.
54 ASCII Int erf ace Module (AS311) 6. RA S Information 6.2.2 Switch setting status Addresses 5, 6 and 7 of t he buf f er m em or y stor e t he switches sett ing status. Check that the inf or mation ag r ees with the physical setting status if some abnormalit y has occurred.
User’s Manual 55 6. RA S Information 6.2.3 Error information f or data receiv ing Address 16 for channel 1 and addr ess 80 f or channel 2 stor e t he er r or infor mation f or data receiving.
56 ASCII Int erf ace Module (AS311) 6. RA S Information 6.2.4 Error information for data trans m i tting Address 17 for channel 1 and addr ess 81 f or channel 2 stor e t he er r or infor mation f or data t ransmitting .
User’s Manual 57 6. RA S Information 6.3 Trouble shooting W hen AS311 does not work pr oper ly, check the f ollowing points. W hen AS311’s RUN Does the POW ER LED on If no, check the power LED does not light ; the T 3 power supply module voltage/connect ion.
58 ASCII Int erf ace Module (AS311).
User’s Manual 59 Appendix A.1 Specification of the READ instruct ion A.2 Specification of the WRI TE inst ruction.
60 ASCII Int erf ace Module (AS311) A ppendi x A .1 Specification of the REA D instruction FUN 237 Special module data read ( READ) Reads designated r ang e of dat a f rom t he special m odule.
User’s Manual 61 A ppendi x Note 1) The special module can be desig nated not only by the assigned r eg ister, but also by the mounting posit ion. The mount ing position is designat ed by a constant data f or the oper and A as follows.
62 ASCII Int erf ace Module (AS311) A ppendi x A .2 Specification of the WRITE instruct ion FUN 238 Special module data write (W RIT E) W r it es desig nated rang e of dat a int o the special module.
User’s Manual 63 A ppendi x Note 1) The special module can be desig nated not only by the assigned r eg ister, but also by the mounting posit ion. The mount ing position is designat ed by a constant data f or the oper and C as follows.
TOSHIBA CORPORATION Industrial Equipme nt De partment 1-1, Shibaura 1-c home, Minato- ku Tok yo 105-8001, JAPAN Tel: 03-3457- 4900 Fax: 03-5444-9268.
Ein wichtiger Punkt beim Kauf des Geräts Toshiba AS311 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Toshiba AS311 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Toshiba AS311 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Toshiba AS311 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Toshiba AS311 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Toshiba AS311 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Toshiba AS311 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Toshiba AS311. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Toshiba AS311 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.