Manuel d'utilisation / d'entretien du produit 6F3B0250 du fabricant Toshiba
Aller à la page of 313
6F3B0250 UM-TS01 *** -E001 PROGRAMMABLE CONTROLLER PROSEC T1 / T1S USER’S MANUAL - - - - Basic Hardware and Function - - - - TOSHIBA CORPORA TION CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.
6F3B0250 Important I nf ormat i on Misuse of this equipm ent can result in pr operty damage or hum an injury. Because c ontrolled system applic ations vary widely , y ou should s atisf y yourself as to the acceptability of this equipm ent for y our intended purpose.
6F3B0250 Basic Hardware and Function 1 CE M arking The Prog ramm able Cont roller PRO SEC T 1 and T1S ( hereaf t er called T 1/ T1S) com plies with the requir ements of the EMC Directive 89/336/ EEC and Low Voltag e Dir ective 72/23/EEC under t he condition of use accor ding to t he inst ructions described in t his manual.
6F3B0250 2 T1/T 1S User ’s Manual UL/c-UL Listing The Prog ramm able Cont roller PRO SEC T 1 and T1S ( hereaf t er called T 1/ T1S) ar e UL/c-UL list ed as shown below .
6F3B0250 Basic Hardware and Function 3 Safety Precautions This manual is pr epar ed f or users of T oshiba’s Pr og rammable Cont roller T 1/ T1S. Read this m anual thoroughly bef ore using t he T1/T 1S. Also, k eep this manual and r elated manuals so that you can read them anytime while the T 1/ T 1S is in operation.
6F3B0250 4 T1/T 1S User ’s Manual Safety Precautions Installation: 1. Excess temperatur e, hum idit y, vibration, shocks , or dust y and corrosive gas environment can cause elect rical shock, fire or malf unction. Inst all and use the T1/T 1S and related eq uipm ent in t he environment described in t his m anual.
6F3B0250 Basic Hardware and Function 5 Safety Precautions Operation: 1. Config ure emerg ency stop and safet y inter lock ing circuit s out side t he T1/T 1S. Otherwise, malf unction of the T1/ T 1S can cause injury or ser ious accidents. 2. Operate t he T 1/T 1S and t he r elated modules with closing t he t er m inal covers.
6F3B0250 6 T1/T 1S User ’s Manual Safety Precautions Maintenanc e: 1. Turn of f power bef ore removing or r eplacing units, m odules, term inal blocks or wires. Failure to do so can cause electr ical shock or damag e to the T 1/T1S and r elat ed equipment .
6F3B0250 Basic Hardware and Function 7 Safety Precautions Safety Label The saf ety label as shown on the right is attached to t he power terminal of t he T1/T1S . Remove the mount paper bef ore wiring. Peel off the label f rom t he m ount paper and stick it near the power terminals where it can be readily seen.
6F3B0250 8 T1/T 1S User ’s Manual A bout This M anual A bout This Manual This manual has been pr epar ed f or f irst- t im e user s of Toshiba’s Pr ogram m able Cont roller T1 and/or T 1S to enable a f ull understanding of the conf igur at ion of t he eq uipment, and t o enable the user to obt ain t he maximum benef it s of t he eq uipment.
6F3B0250 Basic Hardware and Function 9 A bout This M anual Terminology The f ollowing is a list of abbr eviations and acronyms used in t his manual. m m m m s microsecond AS C I I American Standard Co.
6F3B0250 10 T1/T 1S User’s Manual Contents Contents Safety Precautions .................................................................................. 3 A bout This Manual ..........................................................................
6F3B0250 Basic Hardware and Function 11 Contents 5. Operating System Overview ......................................................... 81 5.1 Operation modes ................................................................................ 82 5.2 About the buil t-in EEPROM .
6F3B0250 12 T1/T 1S User’s Manual Contents 10. Troubleshooti ng .............................................................................. 293 10.1 T roubleshooting procedure ................................................................ 294 10.
6F3B0250 Basic Hardware and Function 13 Section 1 System Configuration 1.1 Int roducing the T1 and T1S, 14 1.2 Featur es, 16 1.3 System conf iguration, 19 1.4 I/O expansion, 20 1.5 Component s, 22 1.6 Computer link system, 33 1.7 T1S Comm unicat ion function, 34 1.
6F3B0250 14 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.1 Introducing the T1 and T1S The T1 Ser ies are compact, block style, high- per f orm ance pr og ramm able cont r oller s with a range of 16 t o 328 input and output point s. The T1 Ser ies are available in two versions, T1 and T1S.
6F3B0250 Basic Hardware and Function 15 1. Sy stem Configurati on Memory capacity : Progr am mem ory capacity of the T 1 is 2 k st eps. And that of t he T1S is 8 k steps. W hole the prog r am and a par t of dat a r egister s ar e st or ed in built -in EEPROM.
6F3B0250 16 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.2 Features Option card support: The T1- 40/T1- 40S has two slots for the option card, which is approximately 1/2 the size of a cr edit car d. The f ollowing eight t ypes of t he option cards are available.
6F3B0250 Basic Hardware and Function 17 1. Sy stem Configurati on Pulse output / PWM output: One point of variable freq uency pulses (max. 5 kHz) or variable duty pulses can be output. These f unctions can be used to drive a stepping motor or to sim ulate an analog output.
6F3B0250 18 T1/T 1S User’s Manual 1. Sy stem Configurati on Passw ord protection: By registering your passwords, four levels of protect ion is available according t o t he security levels required f or your application.
6F3B0250 Basic Hardware and Function 19 1. Sy stem Configurati on 1.3 Sy stem configuration The f ollowing figur e shows the T 1/ T1S system conf igur at ion.
6F3B0250 20 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.4 I/O expansion The I/O points on the T1-16 and T1-28 are not expandable. The T1-40 and T 1-40S, howev er, provides I/O expandability by using the option cards, expansion rack and expansion unit.
6F3B0250 Basic Hardware and Function 21 1. Sy stem Configurati on · Available I/O expansion configuration (continued) Model U nit configuration I/O points T1-40 or T1-40S 72 points (40 in / 32 out) 7.
6F3B0250 22 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.5 Components 1.5.1 Basic unit The basic unit is available in f our m odels, the T 1- 16, T1- 28, T1-40 and T 1-40S. And each model is available in three types, depending on t he power supply and input types.
6F3B0250 Basic Hardware and Function 23 1. Sy stem Configurati on ¨ ¨ ¨ ¨ T1-16 ¨ ¨ ¨ ¨ T1-28 PROSEC T1 TO S H I BA MDR16 OUT IN PROSEC T1 MDR28 OUT IN TO S H I BA Power supply and Input term .
6F3B0250 24 T1/T 1S User’s Manual 1. Sy stem Configurati on ¨ ¨ ¨ ¨ T1-40 ¨ ¨ ¨ ¨ T1-40S PROSEC T1 MDR40 TOSHIBA IN OUT PRO SEC T1 MDR40S T OSHI BA IN OUT Power supply and Input term inals I.
6F3B0250 Basic Hardware and Function 25 1. Sy stem Configurati on ¨ ¨ ¨ ¨ Behind the programmer port cov er T1-16 / T 1-28 T1-40 / T 1-40S Pow er suppl y terminals: Connect the power cable and gr ounding wire. The ter m inal screw size is M3.5. See sections 4.
6F3B0250 26 T1/T 1S User’s Manual 1. Sy stem Configurati on Operation st at us LEDs: Indicate the oper at ion status of the T 1/ T1S. PW R PW R RUN RUN FLT FLT AUX T1-16 / T 1-28 T1-40 / T 1-40S PW R Lit Inter nal 5 Vdc power is norm al. (Power) (g reen) Not lit Inter nal 5 Vdc power is not nor m al.
6F3B0250 Basic Hardware and Function 27 1. Sy stem Configurati on Option card sl ot (T1-40/T1-40S): Used to insert t he option cards. T wo slots are provided. Ref er to separate “ T1/T 1S Use’s Manual - Ex pansion I/O - ” f or details of t he option cards.
6F3B0250 28 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.5.2 Option cards The T1-40/T 1-40S can hold up to two option cards for expanding I/O points, etc. The f ollowing eight types of the option car ds ar e available. For details of the option car ds, r ef er t o t he separate manual “ T 1/T 1S User ’s Manual - Expansi on I/O - “.
6F3B0250 Basic Hardware and Function 29 1. Sy stem Configurati on 1.5.3 Expansion rack The T1- 40/T1- 40S can be connect ed to either one expansion rack or one expansion unit. The f ollowing two types of the expansion racks ar e available. By using t he expansion rack, T2 Series I/O modules can be used wi th the T1-40/T1-40S.
6F3B0250 30 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.5.4 I/O modules As listed bel ow, vari ous I/O modules are availabl e f or the T 1-40/T 1-40S, allowi ng it to be used for a wide vari ety of applications. Up to four I/O modules can be used with the T1-40/ T 1-40S by connecting t he expansion rack .
6F3B0250 Basic Hardware and Function 31 1. Sy stem Configurati on 1.5.5 Expansion unit The T1- 40/T1- 40S can be connect ed to either one expansion rack or one expansion unit. The f ollowing two types of the expansion units are available. Each expansion unit has 32 points I/O (16 inputs and 16 outputs).
6F3B0250 32 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.5.6 Options The f ollowing optional item s ar e available. Item Type Descri ption Programmer p ort connector PT16S For RS-232C comput er.
6F3B0250 Basic Hardware and Function 33 1. Sy stem Configurati on 1.6 Computer link sy stem The inter f ace of t he T1/T 1S’s progr ammer por t is RS-232C. Norm ally this por t is used to connect the pr og ramm er . However, this port can also be used f or the comput er link funct ion.
6F3B0250 34 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.7 T1S communication function The T1S has an RS- 485 muiti-pur pose com munication port .
6F3B0250 Basic Hardware and Function 35 1. Sy stem Configurati on Data link mode Two PLCs (any combination of T1S, T 2E or T 2N) can be direct ly link ed t oget her . This direct link is inexpensive, easily conf igured and r equires no special prog ramming .
6F3B0250 36 T1/T 1S User’s Manual 1. Sy stem Configurati on 1.8 Real-time dat a link syst em TOSLINE-F10 TOSLI NE- F10 is a hig h speed data tr ansm ission system suit ed f or sm all point s I /O distribution system.
6F3B0250 Basic Hardware and Function 37 1. Sy stem Configurati on 1.9 Peripheral tools The f ollowing peripheral t ools ar e available f or the T 1/T 1S.
6F3B0250 38 T1/T 1S User’s Manual 1. Sy stem Configurati on T-Series Handy Programmer (HP911A ) The HP911A is a hand-held pr og rammer , that can be used t o pr og ram t he T 1/T1S using ladder diag ram. I ts port ability mak es it ideal f or m aintenance use at r em ote locations.
6F3B0250 Basic Hardware and Function 39 1. Sy stem Configurati on Program Storage Module (RM102) The prog ram stor ag e module (RM102) is an external memory f or stor ing the T1/ T1S progr am .
6F3B0250 40 T1/T 1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net.
6F3B0250 Basic Hardware and Function 41 Section 2 Specifications 2.1 Gener al specifications, 42 2.2 Exter nal dim ensions, 43 2.3 Functional specif icat ions, 46 2.4 I/O speci ficatio ns, 48 CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.
6F3B0250 42 T1/T 1S User’s Manual 2. Specifications 2.1 General specifications Item T1-16 T 1-28 T 1-40 T1-40S Power supply volta g e 100 to 240 Vac (+10/-15 %), 50/60 Hz Power consum ption 30 VA or less 38 VA or less 45 VA or less Inrush cur rent 50 A or les s (at 240 Vac, c old start) 24 Vdc output ratin g (24 Vdc, ± 10%) 0.
6F3B0250 Basic Hardware and Function 43 2. Specifications 2.2 External dimensions ¨ ¨ ¨ ¨ T1 - 16 ¨ ¨ ¨ ¨ T1 - 28 [mm] 2 -Æ 5 2 -Æ 5 CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.
6F3B0250 44 T1/T 1S User’s Manual 2. Specifications ¨ ¨ ¨ ¨ T1-40/ T1-40S, Expansi on uni t ¨ ¨ ¨ ¨ O pt i on card [mm] 43.18 2 -Æ 5 A Additional space for Option card connector Car d type A DI116, DO116, DD116 55 AD121, AD131, DA 121, DA131 16 FR112 11 CTi Automation - Phone: 800.
6F3B0250 Basic Hardware and Function 45 2. Specifications ¨ ¨ ¨ ¨ 2- sl ot expansion rack ¨ ¨ ¨ ¨ 4- sl ot expansion rack [mm] 135.0 149.0 163.0 4 -Æ 5 69.0 4 -Æ 5 83.0 97.0 106.5 115.0 143.0 (term inal bloc k ) 168.0 (connec t or) CTi Automation - Phone: 800.
6F3B0250 46 T1/T 1S User’s Manual 2. Specifications 2.3 Functional specifications Item T1-16 T 1-28 T 1-40 T1-40S Control m ethod Stored pr o g ram, cy clic scan sy stem Scan system Floatin g scan o.
6F3B0250 Basic Hardware and Function 47 2. Specifications Functional specificat ions (cont’d) Item T1-16 T 1-28 T 1-40 T1-40S Real-tim e clock /calendar No Yes, ( ± 30 s/m onth) Special I/O f uncti.
6F3B0250 48 T1/T 1S User’s Manual 2. Specifications 2.4 I/O specifications 2.4.1 T1-16 · · · · T1-16 i nput speci f i cations Item Specific ations DC input ty pe AC input ty pe AC power ty pe DC.
6F3B0250 Basic Hardware and Function 49 2. Specifications · · · · I nput signal connect ions < DC input (AC power) t ype > Current sour ce Current sink < DC input (DC pow er) t ype > < A C i nput t ype > Note) The f actory setting is curr ent source.
6F3B0250 50 T1/T 1S User’s Manual 2. Specifications · · · · T1-16 output specificat ions Item Specific ations Relay output (both DC input and AC input ty pes) Trans istor output (DC input type) .
6F3B0250 Basic Hardware and Function 51 2. Specifications · · · · O utput signal connections < DC input type - - - - 6 relays and 2 transistors > < A C input type - - - - 6 relays and 2 t.
6F3B0250 52 T1/T 1S User’s Manual 2. Specifications 2.4.2 T1-28 · · · · T1-28 i nput speci f i cations Item Specific ations DC input ty pe AC input ty pe Input ty pe DC input, current s ource/si.
6F3B0250 Basic Hardware and Function 53 2. Specifications · · · · I nput signal connect ions < DC input type > < A C input type > Note) T he 24 Vdc ser vice power output is not provided on the DC power supply ty pe.
6F3B0250 54 T1/T 1S User’s Manual 2. Specifications · · · · T1-28 output specificat ions Item Specific ations Relay output (both DC input and AC input ty pes) Trans istor output (DC input type) .
6F3B0250 Basic Hardware and Function 55 2. Specifications · · · · O utput signal connections < DC input type - - - - 12 relays and 2 transistors > < A C input type - - - - 12 relays and 2 triacs > Relay outputs Transist or outputs Relay outputs Triac outputs 240 Vac/24 Vdc (max.
6F3B0250 56 T1/T 1S User’s Manual 2. Specifications 2.4.3 T1-40/T1-40S · · · · T1-40/ T1-40S input speci ficati ons Item Specific ations DC input ty pe AC input ty pe Input ty pe DC input, curre.
6F3B0250 Basic Hardware and Function 57 2. Specifications · · · · I nput signal connect ions < DC input type > < A C input type > 100 - 120 Vac 100 - 120 Vac input 22 20 C0 NC NC 22 21.
6F3B0250 58 T1/T 1S User’s Manual 2. Specifications · · · · T1-40/ T1-40S output speci f ications Item Specific ations Relay output (both DC input and AC input ty pes) Trans istor output (DC inp.
6F3B0250 Basic Hardware and Function 59 Relay outputs Transist or outputs Relay outputs Triac outputs 2. Specifications · · · · O utput signal connections < DC input type - - - - 14 relays and .
6F3B0250 60 T1/T 1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net.
6F3B0250 Basic Hardware and Function 61 Section 3 I/O Application Precautions 3.1 Application pr ecaut ions for input signals, 62 3.2 Application pr ecaut ions for out put signals, 65 CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.
6F3B0250 62 T1/T 1S User’s Manual 3. I/O A pplication Precautions 3.1 A pplication precautions for input signals (1) Current sour ce / sink selection on t he T1-16 dr y contact input The input cur r.
6F3B0250 Basic Hardware and Function 63 3. I/O A pplication Precautions (2) Minimum ON/O FF time of the input sig nal The f ollowing conditions guarant ee cor r ect reading of the O N/ O FF state of t.
6F3B0250 64 T1/T 1S User’s Manual 3. I/O A pplication Precautions (5) Countermeasur es ag ainst leak ag e current W hen a switch with an LED or an AC output sensor is used, the input som etimes cannot recognize that t he switch is off due to the cur r ent leak age.
6F3B0250 Basic Hardware and Function 65 3. I/O A pplication Precautions 3.2 A pplication precautions for output signals (1) 2 points of solid-stat e out put The leading 2 point s of output (Y020 and Y021) are solid-stat e outputs, transist ors on the DC input types and triacs on t he AC input t ypes.
6F3B0250 66 T1/T 1S User’s Manual 3. I/O A pplication Precautions (3) Over-curr ent protect ion The output cir c uit of the T 1/T1S does not contain protect ive fuses.
6F3B0250 Basic Hardware and Function 67 Section 4 Installation and Wiring 4.1 Environm ent al condit ions, 68 4.2 I nst alling t he unit, 69 4.3 W iring te r m inals, 71 4.4 Gr ounding, 76 4.5 Power supply w iring, 78 4.6 I/O wiri ng, 80 CTi Automation - Phone: 800.
6F3B0250 68 T1/T 1S User’s Manual 4. Installation and Wiring 4.1 Environmental conditions Do not install t he T 1/T 1S in t he following locat ions: · W here the ambient t em per ature drops below 0 ° C or exceeds 55 ° C. · W her e the relative humidit y drops below 20 % or exceeds 90 %.
6F3B0250 Basic Hardware and Function 69 4. Installation and Wiring 4.2 Installing the unit Install at ion precautions: · Because t he T 1/T1S is not dust-proof , inst all it in a dust-proof enclosure.
6F3B0250 70 T1/T 1S User’s Manual 4. Installation and Wiring Dimensions for screw mounti ng: · T1-16 · T 1-28 / T 1- 40 / T1- 40S / Expansion unit · Expansion rack 2-slot 4-slot 2 - M4 113 mm 2 - M4 158.5 mm 4 - M4 4 - M4 83 mm 149 mm CTi Automation - Phone: 800.
6F3B0250 Basic Hardware and Function 71 4. Installation and Wiring 4.3 Wiring terminals The ter m inal ar r ang ement of each T1 Ser ies m odel ar e shown below. The ter minal screw size is M 3.5. Use cr imp-style term inals of 7 mm width or less useable for M 3.
6F3B0250 72 T1/T 1S User’s Manual 4. Installation and Wiring T1-MAR 16 ... AC power supply , AC input type T1-MDR 16D ... DC pow er supply, DC input ty pe NOTE NC stands for ”no connect ” . Do not use the NC t er m inals f or wire relaying or branching.
6F3B0250 Basic Hardware and Function 73 4. Installation and Wiring · T1-28 T1-MDR 28 ... AC power suppl y, DC input ty pe T1-MAR 28 ... AC power supply , AC input type T1-MDR 28D ... DC pow er supply, DC input ty pe NOTE NC stands for ”no connect ” .
6F3B0250 74 T1/T 1S User’s Manual 4. Installation and Wiring · T1-40 T1-MDR 40 ... AC power suppl y, DC input ty pe T1-MAR 40 ... AC power supply , AC input type T1-MDR 40D ... DC pow er supply, DC input ty pe NOTE NC stands for ”no connect ” .
6F3B0250 Basic Hardware and Function 75 4. Installation and Wiring · T 1-40S T1-MDR 40S ... AC power suppl y, DC input ty pe T1-MAR 40S ... AC power suppl y, AC input ty pe T1-MDR 40SD ... DC pow er supply, DC i nput type NOTE (1) NC stands f or ” no connect” .
6F3B0250 76 T1/T 1S User’s Manual 4. Installation and Wiring The applicable wire size is 0.3 mm 2 (22 AW G) to 1.25 m m 2 ( 16 AW G). T he table below shows the recommended wire size. Type of sig nal Recomm ended wire size Power 1.25 mm 2 (16 AW G) Grounding 1.
6F3B0250 Basic Hardware and Function 77 4. Installation and Wiring In case of t he expansion rack is connected to t he T 1/T 1S, t he rack m ount ing screw is used for t his pur pose. · 1.25 mm 2 ( 16 AW G) wire should be used to connect t he T 1/T1S and t he expansion rack/ unit with the enclosure grounding bus bar.
6F3B0250 78 T1/T 1S User’s Manual 4. Installation and Wiring 4.5 Pow e r supply wiring W ir e t he power source t o t he T1/T 1S power supply terminals.
6F3B0250 Basic Hardware and Function 79 4. Installation and Wiring Connections of t he power supply terminals are shown below. · AC power supply type · DC power supply type N L ~ 100 to 240 Vac Grounding 100-240VAC - + 24 Vdc - + Grounding 24Vdc CTi Automation - Phone: 800.
6F3B0250 80 T1/T 1S User’s Manual 4. Installation and Wiring 4.6 I/O wiring · Refer to sections 2.4 and 3 for instructions on how to properly wi re the I/O terminals. · 0. 75 m m 2 (18 AWG) to 0.3 mm 2 (22 AW G) wires are recommended for I/O signals.
6F3B0250 Basic Hardware and Function 81 Section 5 Operating System Overview 5.1 Oper ation modes, 82 5.2 About t he built - in EEPROM, 84 5.3 Scanning, 87 CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.
6F3B0250 82 T1/T 1S User’s Manual 5. Operating Sy stem Overview 5.1 Operation modes The T1/ T1S has thr ee basic oper ation modes, t he RUN mode, the HALT mode and the ERROR mode. T he T1/ T 1S also has the HOLD and RUN- F m odes m ainly for system checking.
6F3B0250 Basic Hardware and Function 83 5. Operating Sy stem Overview The operat ion m odes ar e switched by the mode cont r ol switch provided on the T 1/T1S and the mode contr ol com m ands issued fr om t he progr am m ing tool. The mode t r ansit ion condit ions are shown below.
6F3B0250 84 T1/T 1S User’s Manual 5. Operating Sy stem Overview 5.2 A bout the built-in EEPROM The T1/ T1S is eq uipped with a built- in EEPROM and a RAM as standard feat ur es. The user pr ogram is stored in the EEPROM so that the user progr am can be maintained without the need of a bat tery.
6F3B0250 Basic Hardware and Function 85 5. Operating Sy stem Overview < T1 > < T1S > • W hen power is t ur ned on ( it is called initial load) or EEPRO M Read command is issued f rom t he progr amming tool. The EEPROM Read is possible only in the HALT mode.
6F3B0250 86 T1/T 1S User’s Manual 5. Operating Sy stem Overview In case of the T1S, Special r egister SW 55 is used to specify the number of Data reg isters to be stored in t he EEPRO M. The allowable setting value is 0 to 2048. The table below shows the correspondence between the SW 55 value and Data registers saved in the EEPROM.
6F3B0250 Basic Hardware and Function 87 5. Operating Sy stem Overview 5.3 Scanning The f lowchart below show s the basic inter nal oper ations perf ormed by the T 1/ T1S f rom the time power is turned on t hrough pr og ram execution. As t he diag ram shows, executing a prog r am consists of continuous scanning oper at ions.
6F3B0250 88 T1/T 1S User’s Manual 5. Operating Sy stem Overview Hardware check: Perf or m s check ing and init ialization of the system RO M, the system RAM and the peripheral LSIs . Initial load: Transf ers t he user pr og ram and user dat a f rom t he EEPROM to the RAM.
6F3B0250 Basic Hardware and Function 89 5. Operating Sy stem Overview Self-diagnosis: Checks the proper oper ation of the T1/T 1S itself . I f an er ror has detect ed and cannot be recovered by re-t r ies, t he T 1/T 1S m o ves into ERRO R m ode. For the self -diag nosis items, r ef er t o sect ion 10.
6F3B0250 90 T1/T 1S User’s Manual 5. Operating Sy stem Overview User program execution: Executes the progr ammed instr uct ions fr om t he beginning t o t he END instruction. This is the essent ial f unction of the T 1/ T 1S. In t his section, only the m ain progr am execution is ment ioned.
6F3B0250 Basic Hardware and Function 91 Section 6 Programm ing Information 6.1 Devices and regist er s, 92 6.2 Index m odification, 104 6.3 Real-t im e clock/ calendar, 106 6.4 I/O all ocation , 107 6.5 T1S mem or y mode sett ing, 109 6.6 User pr ogr am conf iguration, 110 6.
6F3B0250 92 T1/T 1S User’s Manual 6. Programming Information 6.1 Devices and regist ers The T1/ T1S progr am consists of bit -based instructions t hat handle ON/OFF infor mation, such as contact and coil instr uct ions, and reg ist er - based (16-bit) inst ructions, such as those f or dat a t ransf er and ar ithmetic oper ations.
6F3B0250 Basic Hardware and Function 93 6. Programming Information A ddressing devices A device number of X, Y, R and S devices consists of a reg ister number and bit position as follows. X 01 4 Represents bit posit ion 0 t o F in the reg ist er . Decimal number r epr esent ing the reg ister containing the corr esponding device.
6F3B0250 94 T1/T 1S User’s Manual 6. Programming Information A vailable address range Device/register Symbol T1 T1S Number of points Address r ange Number of points Address rang e External input dev.
6F3B0250 Basic Hardware and Function 95 6. Programming Information External input devices (X) These devices (X) indicate the ON/OFF st ates of external input signals throug h the input circuits. Exter nal input devices can be used many times in a pr og ram.
6F3B0250 96 T1/T 1S User’s Manual 6. Programming Information Counter devices and registers (C./C) The counter r eg isters (C) ar e used f or st or ing the count value of t he counter (CNT ) and the up-down counter (U/D) inst r uctions. The counter devices (C.
6F3B0250 Basic Hardware and Function 97 6. Programming Information Special devices and regist ers (S/SW) The special devices (S) and special reg isters (SW ) are used f or special purposes.
6F3B0250 98 T1/T 1S User’s Manual 6. Programming Information Device/ re g ister Nam e Function S010 Sy stem ROM error ( down) ON at error state S011 Sy stem RAM error (down) O N at error s tate S012.
6F3B0250 Basic Hardware and Function 99 6. Programming Information Device/ re g ister Nam e Function S030 Pro g ram error ON at error s tate (related to SW 06) S031 Scan time over ( down) ON when the .
6F3B0250 100 T1/T 1S User’s Manual 6. Programming Information Device/ re g ister Nam e Function S050 CF (carry fla g ) Us ed for ins truct ions which m anipulate carr y S051 ERF (instruction error f.
6F3B0250 Basic Hardware and Function 101 6. Programming Information Device/ re g ister Nam e Function SW 07 Clock/calendar ( Year) Lower 2 di g its of the c alendar year (98, 99, 00, 01, ... ) SW 08 Clock/calendar ( Month) Month ( 01, 02, ... 12) They are stored in SW 09 Clock/calendar ( Day) Day (01, 02, .
6F3B0250 102 T1/T 1S User’s Manual 6. Programming Information Device/ re g ister Nam e Function S390 Timer interrupt execution status ON dur in g execution S391 I/O interrupt #1 execution status ON .
6F3B0250 Basic Hardware and Function 103 6. Programming Information Device/ re g ister Nam e Function SW 41 Sub-pro g ram #1 execution status Bit 0 ( S410) is ON durin g the sub- pro g ram #1 is execu.
6F3B0250 104 T1/T 1S User’s Manual 6. Programming Information 6.2 Index modification W hen r egisters ar e used as operands of instructions, the method of direct ly designating the reg ist er addr ess as shown in Example 1) below is called ‘direct addressing ’.
6F3B0250 Basic Hardware and Function 105 6. Programming Information The f ollowings are examples of index modif ications. W hen I = 0, it desig nat es RW 10. W hen I = 1, it desig nat es RW 11. W hen I = -1, it desig nates RW 09. W hen I = 10, it desig nat es RW 20.
6F3B0250 106 T1/T 1S User’s Manual 6. Programming Information 6.3 Real-time clock/calendar (T 1S only) The T1S is eq uipped with the real-t im e clock /calendar f or year, m ont h, day, day of the week, hour, m inut e, and second. These data ar e st or ed in t he special regist er s SW 07 to SW 13 by 2-digit BCD for m at as follows.
6F3B0250 Basic Hardware and Function 107 6. Programming Information 6.4 I/O allocation The external input sig nals are allocated t o t he external input devices/reg isters ( X / XW ). The exter nal output sig nals are allocated to the external output devices/regist ers (Y/YW ).
6F3B0250 108 T1/T 1S User’s Manual 6. Programming Information Interna lly , the T1/T1S has a n informati on call ed ‘ I/O allo cation ta ble’ in i ts memory. This I/O allocation table show s the correspondence between I/O hardw are and soft ware, i.
6F3B0250 Basic Hardware and Function 109 6. Programming Information 6.5 T1S memory mode setting The pr ogram capacity of the T 1S is 8 k steps. However, user can set t he T1S’s prog ram capacity to 4 k st eps. I t is called the T 1S’s memory mode.
6F3B0250 110 T1/T 1S User’s Manual 6. Programming Information 6.6 User program configuration A group of instruct ions for achieving t he PLC-based control system is called ‘user progr am’. The T 1 has 2 k st eps capacity for storing the user pr ogram.
6F3B0250 Basic Hardware and Function 111 6. Programming Information Sy stem information System infor mation is the ar ea which stores execution control paramet ers.
6F3B0250 112 T1/T 1S User’s Manual 6. Programming Information In the user pr og ram, t he m ain progr am is t he core. T he scan oper at ion explained in section 5.3 is for the main progr am. T he operation of other progr am types are explained in the f ollowing sections.
6F3B0250 Basic Hardware and Function 113 6. Programming Information 6.6.2 Sub-program #1 If t he sub- pr ogram #1 is pr og ramm ed, it is executed once at the beg inning of t he firs t scan (bef or e m ain pr og ram execution). Theref ore, t he sub-prog r am #1 can be used t o set the init ial value into t he r eg isters.
6F3B0250 114 T1/T 1S User’s Manual 6. Programming Information 6.6.4 I/O interrupt programs The I/O in terrupt program i s also th e highes t priority task. It is ex ecuted i mmediatel y when the interrupt f actor is g enerated, with suspending ot her oper ation.
6F3B0250 Basic Hardware and Function 115 6. Programming Information 6.6.5 Subroutines In the prog ram t ype ‘Subrout ine’, T he following number of subr out ines can be progr ammed. T1 T1S Up to 16 subroutines Up to 256 subrout ines The subr outine is not a independent pr ogram.
6F3B0250 116 T1/T 1S User’s Manual 6. Programming Information 6.7 Programming language The prog ramming languag e of the T 1/ T1S is ‘ladder diag ram’. Ladder diagr am is a lang uage which composes prog r am using relay symbols as a base in an image sim ilar to a hard-wired relay sequence.
6F3B0250 Basic Hardware and Function 117 6. Programming Information 6.8 Program execution sequence The instr uct ions execution seq uence is shown below . (1) They are executed in the seq uence fr om block 1 throug h the f inal block which contains the END instr uct ion (or IRET in an interr upt pr og ram) .
6F3B0250 118 T1/T 1S User’s Manual 6. Programming Information 6.9 On-line debug support functions The f ollowing on-line (dur ing RUN) f unctions are support ed in the T 1/ T1S f or ef f ect ive progr am debug ging .
6F3B0250 Basic Hardware and Function 119 6. Programming Information Sampling trace function The sampling trace f unction collects t he st at us of specif ied devices or reg ister at every specified sam pling timing.
6F3B0250 120 T1/T 1S User’s Manual 6. Programming Information Timer/counter preset value (constant data) changing The preset value (constant data) of timer or counter instr uction can be changed in on-line (during RUN) by using t he pr og ram m ing t ool.
6F3B0250 Basic Hardware and Function 121 6. Programming Information 6.10 Password protection The T1/ T1S has the password f unction to prot ect the user pr og ram and dat a f rom unauthorized operations. There ar e f our levels of pr ot ect ion. According ly, thr ee levels of passwords can be register ed t o control t he pr ot ect ion levels.
6F3B0250 122 T1/T 1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.
6F3B0250 Basic Hardware and Function 123 Section 7 Instructions 7.1 List of instruct ions, 124 7.2 Inst ruction specificat ions, 134 CTi Automation - Phone: 800.
6F3B0250 124 T1/T 1S User’s Manual 7. Instructions 7.1 List of instructions The T1 has 17 types of basic ladder instructions and 76 types of f unction instr uctions, the T1S has 21 types of basic ladder inst ructions and 99 t ypes of f unction inst r uct ions as listed below.
6F3B0250 Basic Hardware and Function 125 7. Instructions FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S - Counter C CNT Q E A B Counts the number of cycles the count input (C) comes ON while the enable input (E) is ON, and turns ON output (Q ) when the count reaches to the value specified by A.
6F3B0250 126 T1/T 1S User’s Manual 7. Instructions A rithmeti c operat i ons FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 027 Addition - [ A + B ® C ] - Adds data of A and B, and stores the result in C. 46 . 5 ÖÖ 161 028 Subtraction - [ A - B ® C ] - Subtracts data of B from A , and stores the result in C .
6F3B0250 Basic Hardware and Function 127 7. Instructions Logical operati ons FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 048 AND - [ A AND B ® C ] - Finds logical AND of A and B, and stores it in C. 45 . 7 ÖÖ 174 050 OR - [ A OR B ® C ] - Finds logical OR of A and B, and stores it in C.
6F3B0250 128 T1/T 1S User’s Manual 7. Instructions Rotate operati ons FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 078 1 bit rotate ri g ht - [ RTR1 A ] - Rotates data of A 1 bit to the ri g ht (LSB direction). The carry fla g chan g es accordin g to the result .
6F3B0250 Basic Hardware and Function 129 7. Instructions FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 108 Unsi g ned g reater than - [ A U> B ] - Turns ON output if A > B . (Unsi g ned inte g er compare) 3 Ö 208 109 Unsi g ned g reater than or equal - [ A U>= B ] - Turns ON output if A ³ B .
6F3B0250 130 T1/T 1S User’s Manual 7. Instructions Program control instruct i ons FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 128 Subroutine call - [ CA LL N. n ] - Calls the subroutine number n . 2 21.0 ÖÖ 221 129 Subroutine return ú-- [ RET ] -ê Indicates the end of a subroutine.
6F3B0250 Basic Hardware and Function 131 7. Instructions Functions FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 056 Mov in g avera g e - [ A MAVE ( n ) B ® C ] - Calculates the avera g e value of latest n scan values of A , and stores the result in C .
6F3B0250 132 T1/T 1S User’s Manual 7. Instructions Conversion instructions FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 062 Hex to ASCII conversion - [ A HTOA ( n ) B ] - Converts the hex adecimal data of n words stating w ith A into ASCII characters, and stores them in n x2 registers starting with B .
6F3B0250 Basic Hardware and Function 133 7. Instructions Special I/O instructions FUN Name Expression Function Steps Speed Available Pa g e No. ( m s) T1 T1S 235 Direct I/O - [ I/O ( n ) A ] - Performs the immediate block I/O transfer of n registers starting with A .
6F3B0250 134 T1/T 1S User’s Manual 7. Instructions 7.2 Instruction specifications The f ollowing pages in this section descr ibe t he detailed specif icat ions of each instruction. O n each page, t he following item s ar e explained. Expression Shows the operands required f or t he inst ruction as italic char acters.
6F3B0250 Basic Hardware and Function 135 7. Instructions NO contact Expression A Input Output Function NO (norm ally open) cont act of device A. W hen t he input is ON and the device A is ON, the out put is t urned ON.
6F3B0250 136 T1/T 1S User’s Manual 7. Instructions NC contact Expression A Input Output Function NC (normally closed) contact of device A. W hen t he input is ON and the device A is OFF, the out put is turned O N.
6F3B0250 Basic Hardware and Function 137 7. Instructions Transitional contact (Rising edge) Expression Input Output Function W hen t he input at last scan is O FF and t he input at this scan is O N, t he output is t ur ned O N. This instr uct ion is used t o detect t he input chang ing f rom O FF t o O N.
6F3B0250 138 T1/T 1S User’s Manual 7. Instructions Transitional contact (Falling edge) Expression Input Output Function W hen t he input at last scan is O N and t he input at this scan is OFF, t he output is t ur ned O N. This instr uct ion is used t o detect t he input chang ing f rom O N t o O FF.
6F3B0250 Basic Hardware and Function 139 7. Instructions ( ) Coil Expression A Input ( ) Function Relay coil of device A. W hen t he input is ON, t he device A is set to ON. Execution condition Input Operation Output OFF Sets device A to OFF - ON Sets device A to ON - Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 140 T1/T 1S User’s Manual 7. Instructions Forced coil Expression A Input Function Regardless of the input sat e the stat e of device A is reta ined . Execution condition Input Operation Output OFF No operation - ON No operation - Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 Basic Hardware and Function 141 7. Instructions I Inverter Expression Input I Output Function W hen t he input is OFF, the out put is turned ON, and when the input is ON, the output is tur ned OFF. This instr uct ion invert s t he link stat e.
6F3B0250 142 T1/T 1S User’s Manual 7. Instructions ( I ) Invert coil Expression A Input ( I ) Function W hen t he input is OFF, the device A is set to ON, and when the input is ON, the device A is set to OFF. This instr uct ion invert s t he input state and st or e it in t he device A .
6F3B0250 Basic Hardware and Function 143 7. Instructions P Positive pulse contact Expression A Input P Output Function W hen t he input is ON and the device A is changed f rom OFF t o ON (O FF at last scan and O N at this scan), the out put is turned O N.
6F3B0250 144 T1/T 1S User’s Manual 7. Instructions N Negative pulse contact Expression A Input N Output Function W hen t he input is ON and the device A is chang ed from ON t o OFF ( ON at last scan and OFF at this scan), the out put is turned O N. This instr uct ion is used to detect t he device changing f rom O N t o O FF.
6F3B0250 Basic Hardware and Function 145 7. Instructions ( P ) Positive pulse coil Expression A Input ( P ) Function W hen t he input is changed f orm O FF to ON, t he device A is set to ON for 1 scan time . This instr uct ion is used t o detect t he input chang ing f rom O FF t o O N.
6F3B0250 146 T1/T 1S User’s Manual 7. Instructions ( N ) Negative pulse coil Expression A Input ( N ) Function W hen t he input is changed f orm O N to OFF, t he device A is set to ON for 1 scan time . This instr uct ion is used t o detect t he input chang ing f rom O N t o O FF.
6F3B0250 Basic Hardware and Function 147 7. Instructions TON ON delay timer Expression Input ¾ [ A TON B ] ¾ Output Function W hen t he input is changed f rom O FF to ON, t imer updating for t he timer r eg ister B is started. T he elapsed time is stor ed in B .
6F3B0250 148 T1/T 1S User’s Manual 7. Instructions TOF OFF delay timer Expression Input ¾ [ A TOF B ] ¾ Output Function W hen t he input is changed f rom O FF to ON, t he output and t he t im er device corresponding to the timer re gister B are set to O N.
6F3B0250 Basic Hardware and Function 149 7. Instructions SS Single shot timer Expression Input ¾ [ A SS B ] ¾ Output Function W hen t he input is changed f rom O FF to ON, t he output and t he t im er device corresponding to the timer re gister B are set to O N, and t imer updating for B is started.
6F3B0250 150 T1/T 1S User’s Manual 7. Instructions CNT Counter Expression Count input C CNT Q Output Enable input E A B Function W hile the enable input is ON, this inst ruction counts the number of the count input chang es fr om OFF to ON. The count value is stored in the count er register B .
6F3B0250 Basic Hardware and Function 151 7. Instructions MCS MCR Master control set / reset Expression Input [ MCS ] [ MCR ] Function W hen the MCS input is ON, ordinary operation is perf ormed. W hen the MCS input is OFF, the st ate of left power rail bet ween M CS and MCR is turned OFF.
6F3B0250 152 T1/T 1S User’s Manual 7. Instructions JCS JCR Jump control set / reset Expression Input [ JCS ] [ JCR ] Function W hen the JCS input is O N, instruct ions between JCS and JCR are skipped ( not executed). W hen the JCS input is OFF, or dinar y operation is perf ormed.
6F3B0250 Basic Hardware and Function 153 7. Instructions END End Expression [ END ] Function Indicates the end of main pr og ram or sub- progr am . I nstruct ions af ter t he END instruct ion ar e not executed. At least one END inst r uct ion is necessary in a progr am .
6F3B0250 154 T1/T 1S User’s Manual 7. Instructions FUN 018 MOV Data transf er Expression Input - [ A MOV B ] - Output Function W hen t he input is ON, t he dat a of A is stored in B . Execution condition Input Operation Output OFF N o execution OFF ON Exec ution ON Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 Basic Hardware and Function 155 7. Instructions FUN 019 DMOV Double-word data transfer Expression Input - [ A+1 × A MOV B+1 × B ] - Output Function W hen the input is O N, the double-word (32-bit ) data of A+1 × A is stored in double-word reg ister B+1 × B .
6F3B0250 156 T1/T 1S User’s Manual 7. Instructions FUN 020 NOT Invert transfer Expression Input - [ A NOT B ] - Output Function W hen t he input is ON, t he bit -inverted data of A is stored in B . Execution condition Input Operation Output OFF N o execution OFF ON Exec ution ON Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 Basic Hardware and Function 157 7. Instructions FUN 022 XCHG Data exchange Expression Input - [ A XCHG B ] - Output Function W hen t he input is ON, t he dat a of A and the data of B is exchanged. Execution condition Input Operation Output OFF N o execution OFF ON Exec ution ON Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 158 T1/T 1S User’s Manual 7. Instructions FUN 024 TINZ Table initialize Expression Input - [ A TINZ ( n ) B ] - Output Function W hen t he input is ON, t he dat a of A is stored in n registers starting with B . The allowable range of the table size n is 1 to 1024 words.
6F3B0250 Basic Hardware and Function 159 7. Instructions FUN 025 TMOV Table t rans fer Expression Input - [ A TMOV ( n ) B ] - Output Function W hen the input is O N, the dat a of n registers starting with A are transf erred to n registers starting with B in a block.
6F3B0250 160 T1/T 1S User’s Manual 7. Instructions FUN 026 TNOT Table invert transfer Expression Input - [ A TNOT ( n ) B ] - Output Function W hen t he input is ON, t he dat a of n registers starting with A are bit-invert ed and t r ansf err ed t o n registers starting with B in a block.
6F3B0250 Basic Hardware and Function 161 7. Instructions FUN 027 + Addition Expression Input - [ A + B ® C ] - Output Function W hen t he input is ON, t he dat a of A and the data of B are added, and the r esult is stored in C . If t he result is gr eat er than 32767, t he upper limit value 32767 is stor ed in C , and the output is turned ON.
6F3B0250 162 T1/T 1S User’s Manual 7. Instructions FUN 028 - Subtraction Expression Input - [ A - B ® C ] - Output Function W hen t he input is ON, t he dat a of B is subtracted f rom t he dat a of A , and the result is st ored in C .
6F3B0250 Basic Hardware and Function 163 7. Instructions FUN 029 * Multiplication Expression Input - [ A * B ® C+1 × C ] - Output Function W hen t he input is ON, t he dat a of A is multiplied by the dat a of B , and the result is st ored in double- length r eg ister C+1 × C .
6F3B0250 164 T1/T 1S User’s Manual 7. Instructions FUN 030 / Division Expression Input - [ A / B ® C ] - Output Function W hen t he input is ON, the data of A is divi ded by the data of B , and the quotient is stored in C and the remainder in C+1.
6F3B0250 Basic Hardware and Function 165 7. Instructions FUN 031 D+ Double-w ord addition Expression Input - [ A+1 × A D+ B+1 × B ® C+1 × C ] - Output Function W hen t he input is ON, the double-word data of A+1 × A and B+1 × B are added, and the result is stor ed in C+1 × C .
6F3B0250 166 T1/T 1S User’s Manual 7. Instructions FUN 032 D - Double-word subtraction Expression Input - [ A+1 × A D - B+1 × B ® C+1 × C ] - Output Function W hen t he input is ON, t he double- word data of B+1 × B is subtracted f rom A+1 × A , and the r esult is stored in C+1 × C .
6F3B0250 Basic Hardware and Function 167 7. Instructions FUN 035 +C Addit ion with carry Expression Input - [ A +C B ® C ] - Output Function W hen t he input is ON, t he dat a of A , B and the carry f lag (CF = S050) are added, and t he result is stored in C .
6F3B0250 168 T1/T 1S User’s Manual 7. Instructions FUN 036 - C Subtraction w ith carry Expression Input - [ A - C B ® C ] - Output Function W hen t he input is ON, t he dat a of B and the carry f lag (CF = S050) are subt r act ed fr om A , and the result is stor ed in C .
6F3B0250 Basic Hardware and Function 169 7. Instructions FUN 039 U * Unsigned multiplication Expression Input - [ A U * B ® C+1 × C ] - Output Function W hen t he input is ON, t he unsig ned data of A and B are mult iplied, and t he result is st or ed in double-lengt h r eg ister C+1 × C .
6F3B0250 170 T1/T 1S User’s Manual 7. Instructions FUN 040 U/ Uns igned division Expression Input - [ A U/ B ® C ] - Output Function W hen t he input is ON, the unsigned data of A is divi ded by the unsigned data of B , and the quot ient is stored in C and the r emainder in C+1.
6F3B0250 Basic Hardware and Function 171 7. Instructions FUN 041 DI V Unsigned double/single division Expression Input - [ A+1 × A DIV B ® C ] - Output Function W hen t he input is ON, t he double- word data of A+1 × A is divided by the data of B , and the q uotient is stored in C and the remainder in C+1.
6F3B0250 172 T1/T 1S User’s Manual 7. Instructions FUN 043 +1 I nc rement Expression Input - [ +1 A ] - Output Function W hen t he input is ON, t he dat a of A is increased by 1 and stored in A . Execution condition Input Operation Output OFF N o execution OFF ON Exec ution ON Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 Basic Hardware and Function 173 7. Instructions FUN 045 - 1 D ecrement Expression Input - [ - 1 A ] - Output Function W hen t he input is ON, t he dat a of A is decreased by 1 and stored in A . Execution condition Input Operation Output OFF N o execution OFF ON Exec ution ON Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 174 T1/T 1S User’s Manual 7. Instructions FUN 048 AND AND Expression Input - [ A AND B ® C ] - Output Function W hen t he input is ON, t his inst ruction f inds logical AND of A and B , and stores t he r esult in C .
6F3B0250 Basic Hardware and Function 175 7. Instructions FUN 050 OR OR Expression Input - [ A OR B ® C ] - Output Function W hen t he input is ON, t his inst ruction f inds logical OR of A and B , and stores t he r esult in C .
6F3B0250 176 T1/T 1S User’s Manual 7. Instructions FUN 052 EOR Ex clusive OR Expression Input - [ A EOR B ® C ] - Output Function W hen t he input is ON, t his inst ruction f inds exclusive OR of A and B , and stores t he r esult in C .
6F3B0250 Basic Hardware and Function 177 7. Instructions FUN 056 MAVE Moving average Expression Input - [ A MAVE ( n ) B ® C ] - Output Function W hen t he input is ON, t his inst ruction calculates t he average value of t he lat est n scan’s register A data, and stor es it in C .
6F3B0250 178 T1/T 1S User’s Manual 7. Instructions FUN 061 DFL Digital Filter Expression Input - [ A DFL B ® C ] - Output Function W hen t he input is ON, t his instruct ion calculat es the f ollowing for mula to per f orm digital f ilter ing f or input data A by filter const ant by B , and stores t he r esult in C .
6F3B0250 Basic Hardware and Function 179 7. Instructions FUN 062 HTOA Hex to ASCII c onversion Expression Input - [ A HTOA ( n ) B ] - Output Function W hen t he input is ON, t he hexadecimal dat a of n registers starting with A is converted into ASCI I characters and st ored in B and aft er .
6F3B0250 180 T1/T 1S User’s Manual 7. Instructions FUN 063 ATOH ASCI I t o Hex conversion Expression Input - [ A ATOH ( n ) B ] - Output Function W hen t he input is ON, t he ASCI I character s stored in n registers starting with A is converted into hexadecimal data and stor ed in B and aft er.
6F3B0250 Basic Hardware and Function 181 7. Instructions FUN 064 TEST Bit test Expression Input - [ A TEST B ] - Output Function W hen t he input is ON, this instruction f inds logical AND of A and B . Then if t he result is not 0, sets t he output to O N.
6F3B0250 182 T1/T 1S User’s Manual 7. Instructions FUN 068 SHR1 1 bit shif t right Expression Input - [ SHR1 A ] - Output Function W hen t he input is ON, t he data of reg ister A is shift ed 1 bit to the right (LSB direction). 0 is stored in the left most bit (MSB).
6F3B0250 Basic Hardware and Function 183 7. Instructions FUN 069 SHL1 1 bit shif t left Expression Input - [ SHL1 A ] - Output Function W hen the input is O N, the dat a of r egister A is shif ted 1 bit to the lef t (MSB direction). 0 is stor ed in the right m ost bit (LSB).
6F3B0250 184 T1/T 1S User’s Manual 7. Instructions FUN 070 SHR n bit shift right Expression Input - [ A SHR n ® B ] - Output Function W hen t he input is ON, t he dat a of r eg ister A is shift ed n bits to t he right (LSB direct ion) including the carry flag (CF = S050), and stored in B .
6F3B0250 Basic Hardware and Function 185 7. Instructions FUN 071 SHL n bit shif t left Expression Input - [ A SHL n ® B ] - Output Function W hen t he input is ON, t he dat a of r eg ister A is shift ed n bits to t he left (MSB direction) including the carry flag (CF = S050), and stored in B .
6F3B0250 186 T1/T 1S User’s Manual 7. Instructions FUN 074 SR Shift regist er Expression Data input - D SR Q - Output Shift input - S ( n ) Enable input - E A Function W hile t he enable input is ON.
6F3B0250 Basic Hardware and Function 187 7. Instructions The f igure below shows an operation example. (W hen X009 is changed f rom O FF t o O N) CF R11F R11E R11D R11C R 103 R102 R101 R100 X008 1001 00 11 0 1 0 0 1 0 1 1 0 R011 is turned OFF Note · W hen the shif t input is O N, the shif t operat ion is per f orm ed every scan.
6F3B0250 188 T1/T 1S User’s Manual 7. Instructions FUN 075 DSR Bi-directional shif t register Expression Data input - D DSR Q - Output Shift input - S ( n ) Enable input - E Direction input - L A Fu.
6F3B0250 Basic Hardware and Function 189 7. Instructions 9 devices starting with R200 (R200 to R208) is specif ied as a shif t reg ist er . W hen R010 is O FF, the dat a of the shif t reg ister is reset t o 0. (R200 to R208 ar e r eset to OFF) The carr y f lag (CF = S050) is also reset t o O FF.
6F3B0250 190 T1/T 1S User’s Manual 7. Instructions FUN 078 RTR1 1 bit rotate right Expression Input - [ RTR1 A ] - Output Function W hen the input is ON, the dat a of regist er A is rot ated 1 bit to the r ight (LSB dir ection). The pushed out bit state is stor ed in the left most bit (MSB) and in the carry flag (CF = S050).
6F3B0250 Basic Hardware and Function 191 7. Instructions FUN 079 RTL1 1 bit rot ate left Expression Input - [ RTL1 A ] - Output Function W hen t he input is ON, t he data of reg ister A is rotated 1 bit to the left (MSB direction). T he pushed out bit st ate is stored in t he right m ost bit (LSB) and in the carry f lag (CF = S050).
6F3B0250 192 T1/T 1S User’s Manual 7. Instructions FUN 080 RTR n bit rotate right Expression Input - [ A RTR n ® B ] - Output Function W hen the input is ON, the dat a of regist er A is rotate d n bits to the rig ht (LSB direction) , and stor ed in B .
6F3B0250 Basic Hardware and Function 193 7. Instructions FUN 081 RTL n bit rotate left Expression Input - [ A RTL n ® B ] - Output Function W hen t he input is ON, t he data of reg ist er A is rotated n bits to t he left ( MSB direction) , and stored in B .
6F3B0250 194 T1/T 1S User’s Manual 7. Instructions FUN 090 MPX Multiplex er Expression Input - [ A MPX ( n ) B ® C ] - Output Function W hen t he input is ON, the data of the register which is desig nated by B in the table, size n starting w ith A , is tran sferred to C .
6F3B0250 Basic Hardware and Function 195 7. Instructions FUN 091 DPX Demultiplexer Expression Input - [ A DPX ( n ) B ® C ] - Output Function W hen t he input is ON, t he data of A is transf erred t o the regist er which is designated by B in the table, size n starting w ith C .
6F3B0250 196 T1/T 1S User’s Manual 7. Instructions FUN 096 > Greater than Expression Input - [ A > B ] - Output Function W hen t he input is ON, t he dat a of A and the data of B are compared, and if A is great er t han B , the output is tur ned O N.
6F3B0250 Basic Hardware and Function 197 7. Instructions FUN 097 >= Greater than or equal Expression Input - [ A >= B ] - Output Function W hen t he input is ON, the data of A and the data of B are compared, and if A is gr eater than or eq ual to B , the output is turned ON.
6F3B0250 198 T1/T 1S User’s Manual 7. Instructions FUN 098 = Equal Expression Input - [ A = B ] - Output Function W hen t he input is ON, the dat a of A and the data of B are compared, and if A is equal to B , the output is turned ON.
6F3B0250 Basic Hardware and Function 199 7. Instructions FUN 099 <> Not equal Expression Input - [ A <> B ] - Output Function W hen t he input is ON, t he dat a of A and the data of B are compared, and if A is not equal t o B , the output is tur ned O N.
6F3B0250 200 T1/T 1S User’s Manual 7. Instructions FUN 100 < Less than Expression Input - [ A < B ] - Output Function W hen the input is O N, the data of A and the dat a of B are compared, and if A is less than B , the output is turned ON.
6F3B0250 Basic Hardware and Function 201 7. Instructions FUN 101 <= Less than or equal Expression Input - [ A <= B ] - Output Function W hen t he input is ON, the dat a of A and the data of B are compared, and if A is less than or equal to B , the output is turned ON.
6F3B0250 202 T1/T 1S User’s Manual 7. Instructions FUN 102 D > Double-word greater than Expression Input - [ A+1 × A D > B+1 × B ] - Output Function W hen the input is O N, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is great er than B+1 × B , the output is turned ON.
6F3B0250 Basic Hardware and Function 203 7. Instructions FUN 103 D >= Double-w ord greater than or equal Expression Input - [ A+1 × A D >= B+1 × B ] - Output Function W hen the input is O N, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is great er than or eq ual t o B+1 × B , the output is turned ON.
6F3B0250 204 T1/T 1S User’s Manual 7. Instructions FUN 104 D = Double-word equal Expression Input - [ A+1 × A D = B+1 × B ] - Output Function W hen t he input is ON, t he double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is equal to B+1 × B , the output is turned ON.
6F3B0250 Basic Hardware and Function 205 7. Instructions FUN 105 D <> Double-w ord not equal Expression Input - [ A+1 × A D <> B+1 × B ] - Output Function W hen t he input is ON, t he double- word data of A+1 × A and B+1 × B are compared, and if A+1 × A is not equal to B+1 × B , the output is turned ON.
6F3B0250 206 T1/T 1S User’s Manual 7. Instructions FUN 106 D < Double-word less than Expression Input - [ A+1 × A D < B+1 × B ] - Output Function W hen t he input is ON, t he double- word data of A+1 × A and B+1 × B are compared, and if A+1 × A is less than B+1 × B , the output is turned ON.
6F3B0250 Basic Hardware and Function 207 7. Instructions FUN 107 D <= Double-w ord less than or equal Expression Input - [ A+1 × A D <= B+1 × B ] - Output Function W hen t he input is ON, t he double- word data of A+1 × A and B+1 × B are compared, and if A+1 × A is less than or eq ual t o B+1 × B , the output is turned ON.
6F3B0250 208 T1/T 1S User’s Manual 7. Instructions FUN 108 U > Unsigned greater than Expression Input - [ A U > B ] - Output Function W hen t he input is ON, t he dat a of A and the data of B are compared, and if A is great er t han B , the output is tur ned O N.
6F3B0250 Basic Hardware and Function 209 7. Instructions FUN 109 U >= Unsigned greater than or equal Expression Input - [ A >= B ] - Output Function W hen t he input is ON, the data of A and the data of B are compared, and if A is gr eater than or eq ual to B , the output is turned ON.
6F3B0250 210 T1/T 1S User’s Manual 7. Instructions FUN 110 U = Unsigned equal Expression Input - [ A U = B ] - Output Function W hen t he input is ON, the dat a of A and the data of B are compared, and if A is equal to B , the output is turned ON.
6F3B0250 Basic Hardware and Function 211 7. Instructions FUN 111 U <> Unsigned not equal Expression Input - [ A U <> B ] - Output Function W hen t he input is ON, t he dat a of A and the data of B are compared, and if A is not equal t o B , the output is tur ned O N.
6F3B0250 212 T1/T 1S User’s Manual 7. Instructions FUN 112 U < Unsigned less than Expression Input - [ A U < B ] - Output Function W hen the input is O N, the data of A and the dat a of B are compared, and if A is less than B , the output is turned ON.
6F3B0250 Basic Hardware and Function 213 7. Instructions FUN 113 U <= Unsigned less than or equal Expression Input - [ A U <= B ] - Output Function W hen t he input is ON, the dat a of A and the data of B are compared, and if A is less than or equal to B , the output is turned ON.
6F3B0250 214 T1/T 1S User’s Manual 7. Instructions FUN 114 SET Device/register set Expression Input - [ SET A ] - Output Function W hen t he input is ON, t he device A is set to ON if A is a device, or the data HFFFF is st or ed in t he register A if A is a register .
6F3B0250 Basic Hardware and Function 215 7. Instructions FUN 115 RST Device/register reset Expression Input - [ RST A ] - Output Function W hen t he input is ON, the device A is reset to OFF if A is a device, or the data 0 is stored in the register A if A is a register .
6F3B0250 216 T1/T 1S User’s Manual 7. Instructions FUN 118 SETC Set carry Expression Input - [ SETC ] - O utput Function W hen t he input is ON, t he car ry flag ( CF = S050) is set to ON. Execution condition Input Operation Output CF OFF N o execution OFF - ON Exec ution ON Set Operand No operand is req u ir ed.
6F3B0250 Basic Hardware and Function 217 7. Instructions FUN 119 RSTC Res et carry Expression Input - [ RSTC ] - O utput Function W hen t he input is ON, t he car ry flag ( CF = S050) is r eset to O FF. Execution condition Input Operation Output CF OFF N o execution OFF - ON Exec ution ON Res et Operand No operand is req u ir ed.
6F3B0250 218 T1/T 1S User’s Manual 7. Instructions FUN 120 ENC Encode Expression Input - [ A ENC ( n ) B ] - Output Function W hen t he input is ON, this inst ruction finds the bit position of the m ost signif icant ON bit in the bit table, size 2 n bits starti ng wi th 0 bit (LS B) of A , and stores it in B .
6F3B0250 Basic Hardware and Function 219 7. Instructions FUN 121 DEC Decode Expression Input - [ A DEC ( n ) B ] - Output Function W hen t he input is ON, t his inst ruction sets t he bit position which is designated by lower n bits of A to ON in the bit t able, size 2 n bits starti ng wi th 0 bit (LS B) of B , and reset s all ot her bits t o OFF.
6F3B0250 220 T1/T 1S User’s Manual 7. Instructions FUN 122 BC Bit count Expression Input - [ A BC B ] - Output Function W hen t he input is ON, t his instruction counts t he number of ON (1) bit s of A , and stores t he result in B .
6F3B0250 Basic Hardware and Function 221 7. Instructions FUN 128 CALL Subroutine call Expression Input - [ CALL N. n ] - Output Function W hen t he input is ON, t his inst ruction calls the subr outine number n .
6F3B0250 222 T1/T 1S User’s Manual 7. Instructions FUN 129 RET Subroutine return Expression ÷-- [ RET ] -ê Function This inst ruction indicat es the end of a subrout ine. W hen progr am execution is reached t his instruction, it is ret ur ned t o t he or ig inal CALL instruct ion.
6F3B0250 Basic Hardware and Function 223 7. Instructions FUN 132 FOR FOR (FOR-NEXT loop) Expression Input - [ FOR n ] - Output Function W hen t he input is ON, t he progr am segment between FOR and NEXT is executed n times repeatedly in a scan. W hen t he input is OFF, t he r epet ition is not perf orm ed.
6F3B0250 224 T1/T 1S User’s Manual 7. Instructions FUN 133 NEXT NEXT (FOR-NEX T loop) Expression Input - [ NEXT ] - Output Function This instr uct ion conf ig ur es a FO R- NEX T loop. If t he input is OFF, T he r epetition is f orcibly brok en. and t he progr am execution is m oved to t he next instruction.
6F3B0250 Basic Hardware and Function 225 7. Instructions FUN 137 SUBR Subrout ine ent ry Expression ÷- [ SUBR ( n ) ] --ê Function This instr uct ion indicat es the begg ing of a subroutine. Execution condition Input Operation Output - Execution - Operand Name Device Re g ister Constant Index X Y R S T.
6F3B0250 226 T1/T 1S User’s Manual 7. Instructions FUN 140 EI Enable interrupt Expression Input - [ EI ] - Output Function W hen the input is ON, this inst ruction enables the execution of user desig nated interr upt operation, i.e. timer interrupt program and I/O interrupt programs.
6F3B0250 Basic Hardware and Function 227 7. Instructions FUN 141 DI Dis able int errupt Expression Input - [ DI ] - Output Function W hen t he input is ON, t his inst ruction disables the execution of user desig nated interr upt operation, i.e. timer interrupt program and I/O in terrupt programs.
6F3B0250 228 T1/T 1S User’s Manual 7. Instructions FUN 142 IRET Interrupt ret urn Expression ÷-- [ IRET ] -ê Function This instr uct ion indicat es the end of an int errupt pr og ram. W hen progr am execution r eaches t his instruction, it returns t o the orig inal locat ion of t he m ain pr og ram ( or subr out ine) .
6F3B0250 Basic Hardware and Function 229 7. Instructions FUN 143 WDT Wat chdog timer reset Expression Input - [ W DT n ] - Output Function W hen t he input is ON, t his inst ruction extend the scan t im e over det ect ion t im e by 200 ms. Normally, T1/ T1S detect s t he scan t ime-over if a scan is not f inished within 200 ms.
6F3B0250 230 T1/T 1S User’s Manual 7. Instructions FUN 144 STIZ Step sequence initialize Expression Input - [ STIZ ( n ) A ] - Output Function W hen t he input is ON, n devices starting with A are reset t o O FF, and A is set to ON. This instr uction is used to initialize a series of step sequence.
6F3B0250 Basic Hardware and Function 231 7. Instructions FUN 145 STIN Step sequenc e input Expression Input - [ STIN A ] - Output Function W hen t he input is ON and the device A is ON, th e output i s set to ON.
6F3B0250 232 T1/T 1S User’s Manual 7. Instructions FUN 146 STOT Step sequenc e out put Expression Input - [ STO T A ] -ê Function W hen the input is O N, the device A is set to ON and the devices of ST IN instruct ions on the same rung are reset t o O FF.
6F3B0250 Basic Hardware and Function 233 7. Instructions FUN 147 F/F Flip-flop Expression Set input - S F/F Q - Output Reset input - R A Function W hen t he set input is O N, the device A is set to ON. W hen the reset input is ON, the device A is reset to OFF.
6F3B0250 234 T1/T 1S User’s Manual 7. Instructions FUN 149 U/D Up-down counter Expression Direction input - U U/D Q - Output Count input - C Enable input - E A Function W hile the enable input is ON, this inst ruction counts the number of the count input chang es fr om OFF to ON.
6F3B0250 Basic Hardware and Function 235 7. Instructions FUN 154 CLND Set calendar Expression Input - [ A CLND ] - Output Function W hen t he input is ON, t he built -in clock/ calendar is set to the dat e and t im e specif ied by 6 register s starting w ith A .
6F3B0250 236 T1/T 1S User’s Manual 7. Instructions FUN 155 CLDS Calendar operation Expression Input - [ A CLDS B ] - Output Function W hen the input is ON, this inst ruction subtracts t he date and t ime stored in 6 regist ers star ting with A fr om t he cur r ent date and t ime, and stores the r esult in 6 reg ist er s st ar ting with B .
6F3B0250 Basic Hardware and Function 237 7. Instructions FUN 156 PID3 Pre-derivativ e real PID Expression Input - [ A PID3 B ® C ] - Output Function Perf or m s PID (Pr opor tional, I nt egral, Derivative) contr ol which is a fundament al method of feed- back control.
6F3B0250 238 T1/T 1S User’s Manual 7. Instructions Control block diagram 1 T I × s Differential limit Derivativ e Proportional Integral Diff erential D MV n ( h = 0.
6F3B0250 Basic Hardware and Function 239 7. Instructions PID algorithm : DD D D D MV K P I D MV MV MV nn n n nn n P =× + + =± - () 1 Here, D Pe e eS V P V nn n nn n =- =- - 1 D D I et I r T n n I = ×+ D D D D D TP V P V t D D r tT DD D n nn n nn n D D = ×- - × + +× =+ = -- - () .
6F3B0250 240 T1/T 1S User’s Manual 7. Instructions B+8 Initial status ST S F C 840 Initial operation m ode 00 : Manual mode 01 : Auto mode 10 : Cascade m ode 11 : (Reserve) Direct / rev erse selectio n 0 : Direct 1 : Reverse B+9 MV upper lim it MH (-25.
6F3B0250 Basic Hardware and Function 241 7. Instructions · Manual m ode In this m ode, the m anipulation value MV can be directly controlled by the input value of MMV. MV diff erential lim it for m anual m ode DMMV is ef fective. MH/ML and DMV ar e not effec tive.
6F3B0250 242 T1/T 1S User’s Manual 7. Instructions FUN 160 UL Upper limit Expression Input - [ A UL B ® C ] - Output Function W hen t he input is ON, t he following oper at ion is executed. (Upper lim it f or A by B ) If A £ B , then C = A . If A > B , then C = B .
6F3B0250 Basic Hardware and Function 243 7. Instructions FUN 161 LL Lower limit Expression Input - [ A LL B ® C ] - Output Function W hen t he input is ON, t he following oper at ion is executed. (Lower limit f or A by B ) If A ³ B , then C = A . If A < B , then C = B .
6F3B0250 244 T1/T 1S User’s Manual 7. Instructions FUN 162 MAX Max imum value Expression Input - [ A MAX ( n ) B ] - Output Function W hen t he input is ON, t his instruction sear ches for the maxim.
6F3B0250 Basic Hardware and Function 245 7. Instructions FUN 163 MIN Minimum value Expression Input - [ A MIN ( n ) B ] - Output Function W hen t he input is ON, t his inst ruction searches f or t he .
6F3B0250 246 T1/T 1S User’s Manual 7. Instructions FUN 164 AVE Average v alue Expression Input - [ A AVE ( n ) B ] - Output Function W hen t he input is ON, this inst ruction calculates the average value of t he data stored in the n registers starting w ith A , and stores t he averag e value in B .
6F3B0250 Basic Hardware and Function 247 7. Instructions FUN 165 FG Function generat or Expression Input - [ A FG ( n ) B ® C ] - Output Function W hen t he input is ON, t his inst ruction f inds the f unct ion value f(x) for A as x , and stores it in C .
6F3B0250 248 T1/T 1S User’s Manual 7. Instructions Parame ter table 4 registers f or x param eters and subseq uent 4 register s for cor r esponding f(x) parameters D0600 - 2000 x 1 D0601 - 100 x 2 D.
6F3B0250 Basic Hardware and Function 249 7. Instructions FUN 180 ABS Absolute value Expression Input - [ A ABS B ] - Output Function W hen t he input is ON, t his inst ruction f inds the absolute value of oper and A , and stores it in B .
6F3B0250 250 T1/T 1S User’s Manual 7. Instructions FUN 182 NEG 2’s complement Expression Input - [ A NEG B ] - Output Function W hen t he input is ON, t his inst ruction f inds the 2’s complement value of A , and stores it in B .
6F3B0250 Basic Hardware and Function 251 7. Instructions FUN 183 DNEG Double-word 2’s complement Expression Input - [ A+1 × A DNEG B+1 × B ] - Output Function W hen the input is O N, this inst ruction f inds the 2’s com plement value of double-word data A+1 × A , and stores it in B+1 × B .
6F3B0250 252 T1/T 1S User’s Manual 7. Instructions FUN 185 7SEG 7 segment decode Expression Input - [ A 7SEG B ] - Output Function W hen t he input is ON, t his instruction convert s the lower 4 bits data of A into the 7 seg ment code, and stores it in B .
6F3B0250 Basic Hardware and Function 253 7. Instructions Operand A (lower 4 bits) 7 se g ment LED Operand B (lower 8 bits) Dis play Hex Binary com position B7 B6 B5 B4 B3 B2 B1 B0 0 0000 0 0 1 1 1 1 1.
6F3B0250 254 T1/T 1S User’s Manual 7. Instructions FUN 186 ASC ASCII conversion Expression Input - [ A ASC B ] - Output Function W hen t he input is ON, this inst ruction converts the alphanumer ic characters int o the ASCII codes, and stores them in t he regist er t able st arting with B .
6F3B0250 Basic Hardware and Function 255 7. Instructions FUN 188 BI N Binary conv ersion Expression Input - [ A BIN B ] - Output Function W hen t he input is ON, t his instruction converts t he 4 digits of BCD data of A into binary, and stores in B .
6F3B0250 256 T1/T 1S User’s Manual 7. Instructions FUN 190 BCD BCD conversion Expression Input - [ A BCD B ] - Output Function W hen t he input is ON, t his inst ruction converts t he binary data of A into BCD, and st or es in B .
6F3B0250 Basic Hardware and Function 257 7. Instructions FUN 235 I / O Direct I /O Expression Input - [ I/O ( n ) A ] - Output Function W hen t he input is ON, t his inst ruction imm ediat ely updates the external input ( X W ) and output (YW ) register s which are in the r ang e of n registers starting with A .
6F3B0250 258 T1/T 1S User’s Manual 7. Instructions Note · In the T1/T1S , the follo win g register/de vice range is o nly eff ective for thi s Dire ct I/O instructi on.
6F3B0250 Basic Hardware and Function 259 7. Instructions FUN 236 XFER Expanded data transfer Expression Input - [ A XFER B ® C ] - Output Function W hen t he input is ON, dat a block transf er is per f ormed bet ween the source which is indirectly designated by A and A+1 and the destination which is indirectly designat ed by C and C+1 .
6F3B0250 260 T1/T 1S User’s Manual 7. Instructions CPU register « « « « built-in EEPROM In the EEPROM, the D r eg isters are divided into pag es as f ollows.
6F3B0250 Basic Hardware and Function 261 7. Instructions CPU register « « « « T1S RS-485 port (T 1S only) <Receiv ing> W hen t he instruction input is ON, one set of messag e (f r om st art charact er to t he t r ailing code) which is received by the RS- 485 por t is r ead fr om t he receive buff er, and st or ed in t he CPU register s.
6F3B0250 262 T1/T 1S User’s Manual 7. Instructions <Transmitting> W hen t he instruction input is ON, one set of messag e which is stored in the source table ( f rom start char acter to t he trailing code) is transm itted throug h the RS-485 por t.
6F3B0250 Basic Hardware and Function 263 7. Instructions FUN 237 READ Spec ial module dat a read Expression Input - [ A READ B ® C ] - Output Function W hen the input is O N, this instr uction reads dat a fr om the buf fer memory of the special m odule that is designated by operand A , and stores t hem in regist er s st ar t ing with operand C .
6F3B0250 264 T1/T 1S User’s Manual 7. Instructions Note · T his instruction is only effective for the T2 I/O modules connected to the T 1-40 or T1-40S by using the expansion rack. · The special module can be designated not only by the assigned reg ister, but also by the mounting position.
6F3B0250 Basic Hardware and Function 265 7. Instructions FUN 238 W RITE Special module dat a write Expression Input - [ A W RITE B ® C ] - Output Function W hen the input is ON, this instruct ion transf ers data stored in r egisters start ing with operand A into the buff er mem or y of the special module t hat is desig nated by operand C .
6F3B0250 266 T1/T 1S User’s Manual 7. Instructions Note · T his instruction is only effective for the T2 I/O modules connected to the T 1-40 or T1-40S by using the expansion rack. · The special module can be designated not only by the assigned reg ister, but also by the mounting position.
Basic Hardware and Function 267 Section 8 Special I/O Functions 8.1 Special I/O functio n overvie w, 268 8.2 Variable input f ilter const ant , 272 8.3 High speed counter , 273 8.4 Int errupt input f unct ion, 280 8.5 Analog sett ing f unct ion, 282 8.
268 T1/T 1S User’s Manual 8. Special I/O Functions 8.1 Special I/O function overv iew The T1/T1S supports the special I/O functions as listed below . Function nam e Function s um mar y Remark s Variable input filter constant Input f ilter constant (ON/OFF dela y time) can be set b y user pro g ram.
Basic Hardware and Function 269 8. Special I/O Functions Mode setting for the special I/O functions These f unctions, except the analog setting f unction, ar e select ed by setting dat a int o SW 16 and SW 26 by user progr am . T hese reg ister s work as mode sett ing regist er s f or the special I/O functions.
270 T1/T 1S User’s Manual 8. Special I/O Functions Note) In the explanation below, P-OUT means the pulse output funct ion. F E D C B A 98765432 10 S W 2 6 000000 0000 Bit 0 < P-OUT and PW M mas t.
Basic Hardware and Function 271 8. Special I/O Functions The table below summarizes the m ode set t ing data of each funct ion. I n t he table, ‘ - ’ means do not care.
272 T1/T 1S User’s Manual 8. Special I/O Functions 8.2 Variable input filter constant Function The input f ilter const ant (O N/ O FF delay tim e) of the leading 8 point s X000 to X 007 can be specified by user prog ram within the rang e of 0 t o 15 ms.
Basic Hardware and Function 273 8. Special I/O Functions 8.3 High speed counter 8.3.1 Single phase up-counter Function W hen t he count input is chang ed f rom O FF t o ON, the count value is increased by 1.
274 T1/T 1S User’s Manual 8. Special I/O Functions Operation Count input Reset input Soft -gat e Count value Interrup t Sample program (H1003) In this example, 4099 ( H1003) is set in SW 16. As a result, the sing le phase up-counter (channel 1 only) is selected.
Basic Hardware and Function 275 8. Special I/O Functions 8.3.2 Single phase speed-counter Function This f unction counts the num ber of changes of the count input f rom O FF to ON during the every specified sampling t ime. T he count value in a sampling time is stor ed in t he hold value register.
276 T1/T 1S User’s Manual 8. Special I/O Functions Operation Count input Samp ling ti me Soft -gat e Interna l count value Hold value Sample program (H1403) In this example, 5123 ( H1403) is set in SW 16. As a result, the sing le phase speed- counter (channel 1 only) is select ed.
Basic Hardware and Function 277 8. Special I/O Functions 8.3.3 Quadrature bi-pulse counter Function This f unction counts up or down the q uadrature bi-pulse ( 2-phase pulses whose phases are shif t ed 90 ° each ot her). Counts up when phase A pr ecedes, and count s down w hen phase B precedes.
278 T1/T 1S User’s Manual 8. Special I/O Functions Interrupt assignment Comparison value 1 ¼ I/O inte rrupt program # 1 Comparison value 2 ¼ I/O inte rrupt program # 2 Operation Up count Down count Reset input Soft -gat e Count value Interrup t 2147483647 Compar ison value 1 Compar ison value 2 -2147483648 2 1 1 1 CTi Automation - Phone: 800.
Basic Hardware and Function 279 8. Special I/O Functions Sample program (H0803) In this example, 2051 ( H0803) is set in SW 16. As a result , the quadr at ure bi-pulse counter is selected.
280 T1/T 1S User’s Manual 8. Special I/O Functions 8.4 Interrupt input function Function W hen t he signal st ate of the interr upt input is chang ed fr om OFF t o ON (or O N to OFF) , the corresponding I/O interrupt program is activ ated immediately.
Basic Hardware and Function 281 8. Special I/O Functions Sample program Main program (H3045) I/O i nterrupt p rogram #3 Inter rupt program A I/O inte rrupt program # 4 Inter rupt program B In this example, 12357 ( H3045) is set in SW 16. As a result, the inter rupt input f unction (2 points, rising for bot h) is selected.
282 T1/T 1S User’s Manual 8. Special I/O Functions 8.5 A nalog setting function Function The value of t he analog setting adjuster is converted int o a digital value (0 to 1000) and stored in the SW regist er .
Basic Hardware and Function 283 8. Special I/O Functions 8.6 Pulse output function Function This f unction is used to output a variable f req uency pulse tr ain. T he controllable pulse fr eq uency is 50 to 5000 Hz (1 Hz units). The output m ode can be select ed either CW /CCW or Pulse/Direction (PLS/DI R).
284 T1/T 1S User’s Manual 8. Special I/O Functions Operation Pulse enable Frequency setting + Frequency Pulse output - Sample program In t his example, 3 ( H0003) is set in SW 26. As a result, the CW /CCW mode pulse output funct ion is select ed. W hen R000 is O N, the pulse output is started with the f req uency desig nat ed by D0100.
Basic Hardware and Function 285 8. Special I/O Functions 8.7 PWM output function Function This f unction is used to output a variable dut y cycle pulse train. T he controllable dut y cycle is 0 to 100 % (1 % units). ON duty 50% 70% 60% PW M T T T T = Pulse cycle The PW M output is enabled when the pulse enable flag is O N.
286 T1/T 1S User’s Manual 8. Special I/O Functions Operation Pulse enable ON duty setting ON du ty PW M output Sample program In this example, 1 ( H0001) is set in SW 26 and 100 is set in SW 28. As a r esult , 100 Hz PW M output f unction is selected.
Basic Hardware and Function 287 Section 9 Maintenance and Checks 9.1 Precaut ions dur ing oper ation, 288 9.2 Daily checks, 289 9.3 Periodic checks, 290 9.4 Maintenance par t s, 291 CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.
288 T1/T 1S User’s Manual 9. Maintenance and Checks 9.1 Precautions during operation W hen t he T1/T 1S is in operation, you should pay attention t o the f ollowing it em s. (1) T he progr ammer cable can be plug ged or unplug ged while the T1/ T1S is in operation.
Basic Hardware and Function 289 9. Maintenance and Checks 9.2 Daily checks To maint ain the system and to prevent troubles, check the following it ems on daily basis. Item C heck Cor rective m easures Status LEDs PW R (power) Lit when internal 5 V is norm al.
290 T1/T 1S User’s Manual 9. Maintenance and Checks 9.3 Periodic checks Check the T 1/T 1S based on t he f ollowing items every six months. Also per f orm check s when the operating environment is chang ed. Item Check Criteria Power suppl y Measure the power volta g e at the T1/T 1S’s power term inals.
Basic Hardware and Function 291 9. Maintenance and Checks (Periodic check s - cont inued) Item Check Criteria Environm ent Check that the tem perature, hum idit y , vibration, dust, etc. ar e within the specif ied ran g e. Must be within the ran g e of g eneral specif ication.
292 T1/T 1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net.
Basic Hardware and Function 293 Section 10 Troubleshooting 10.1 Troubleshoot ing procedure, 294 10.2 Self- diagnost ic items, 300 CTi Automation - Phone: 800.
294 T1/T 1S User’s Manual 10. Troubl eshooti ng 10.1 Troubleshooting procedure If a t r ouble occur s, deter m ine whether t he cause lies in t he m echanical side or in t he control system ( PLC) side. A problem may cause a secondary problem , t heref or e, try to determine t he cause of trouble by considering the whole system.
Basic Hardware and Function 295 10. Troubl eshooti ng 10.1.1 Pow er supply check If t he PW R (power) LED is not lit af ter power on, check the f ollowing points. Check the power connection Connection ter m inals are corr ect. The term inal s crews are not loose.
296 T1/T 1S User’s Manual 10. Troubl eshooti ng 10.1.2 CPU check If t he PW R (power) LED is lit but the RUN LED is not lit , check t he following point s. Check the pos ition of the If it is not in R (RUN) position, turn the mode c ontrol switch switch to R (RUN) position.
Basic Hardware and Function 297 10. Troubl eshooti ng 10.1.4 Input check If t he pr og ram is r unning but the exter nal input sig nal is not read nor m ally, check the following points: Is the input status LED If not, check the input voltage at the changed ON/OFF ac cording T1/T1S’s input term inals.
298 T1/T 1S User’s Manual 10. Troubl eshooti ng 10.1.5 Output check If t he output status m onitored on the programm ing t ool is normal but the ex ter nal output device (load) is not operated nor m.
Basic Hardware and Function 299 10. Troubl eshooti ng 10.1.6 Environmental problem If t he f ollowing improper oper at ions occur in the controlled system , check possible environmental f act ors.
300 T1/T 1S User’s Manual 10. Troubl eshooti ng 10.2 Self-diagnostic items If an er r or is det ected by the self - diag nostic check of the T 1/ T1S CPU, t he er ror messages and t he r elat ed inf orm at ion shown on the f ollowing pages will be recorded in the T 1/T1S’s event hist ory table.
Basic Hardware and Function 301 10. Troubl eshooti ng Error messa g e and related inform ation Special Meanin g and counterm easures Event Inf o 1 Info 2 Inf o 3 devic e Batt volta g e dr op S00F In the power-up initialization, data invalidit y of RAM (back -up area) has been detected.
302 T1/T 1S User’s Manual 10. Troubl eshooti ng Error messa g e and related inform ation Special Meanin g and counterm easures Event Inf o 1 Info 2 Inf o 3 devic e Ille g al inst Pro g ram t y pe - block No. Address in the block S006 S030 S060 An ille g al instruction has been detected in the pro g ram.
Basic Hardware and Function 303 10. Troubl eshooti ng Error messa g e and related inform ation Special Meanin g and counterm easures Event Inf o 1 Info 2 Inf o 3 devic e Operand error Pro g ram t y pe - block No. Address in the block A re g ister/devic e which is not supported b y the T1/T 1S is pro g ramm ed.
304 T1/T 1S User’s Manual 10. Troubl eshooti ng Error messa g e and related inform ation Special Meanin g and counterm easures Event Inf o 1 Info 2 Inf o 3 devic e S y s RAM check err Err or address Err or data T est data S004 S011 In the power-up initialization, an error has detected b y s y stem RAM read/write check in g .
Basic Hardware and Function 305 Appendix A.1 List of models and types, 306 A.2 I nst ruction index, 309 CTi Automation - Phone: 800.894.0412 - Fax: 208.
306 T1/T 1S User’s Manual A ppendix A .1 List of models and ty pes · · · · Basi c unit Model Pow er supply Input t ype Type code Part number T1-16 100 - 240 Vac Dr y contact T1- MDR16 TDR116 * 6.
Basic Hardware and Function 307 A ppendix · · · · T2 I/O modules Description Type code Part number 16 points 24 Vdc/ac input DI31 EX 10 * MDI 3 1 32 points 24 Vdc input DI32 EX 10 * MDI 32 64 poin.
308 T1/T 1S User’s Manual A ppendix · · · · Cabl e and others Description Ty pe code Part number T-PDS cable f or T 1/T 1S, 5m lengt h CJ105 T CJ105 * CS HP911A cable for T 1/T1S, 2m lengt h ( s.
Basic Hardware and Function 309 A ppendix A .2 Instruction index · · · · I nst ruct i on name 1 bit rotate left 191 Ex clusive OR 176 1 bit rotate ri g ht 190 Expanded data transf er 259 1 bit shi.
310 T1/T 1S User’s Manual A ppendix Sin g le shot tim er 149 Special m odule data read 263 Special m odule data write 265 Step sequence initialize 230 Step sequence input 231 Step sequence output 23.
Basic Hardware and Function 311 A ppendix · · · · I nstruction symbol * 163 FG 247 U/D 234 + 161 FOR 223 U< 212 +1 172 HTOA 179 U<= 213 +C 167 I/O 257 U<> 211 - 162 IRET 228 U= 210 -1 .
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Toshiba 6F3B0250 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Toshiba 6F3B0250 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Toshiba 6F3B0250, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Toshiba 6F3B0250 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Toshiba 6F3B0250, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Toshiba 6F3B0250.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Toshiba 6F3B0250. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Toshiba 6F3B0250 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.