Toshiba PROSEC T1 User Manual
Toshiba PROSEC T1 User Manual

Toshiba PROSEC T1 User Manual

Programmable controller
Hide thumbs Also See for PROSEC T1:
Table of Contents

Advertisement

6F3B0250
UM-TS01***-E001
PROGRAMMABLE CONTROLLER
T1 / T1S
PROSEC
USER'S MANUAL
- - - - Basic Hardware and Function - - - -
TOSHIBA CORPORATION
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Advertisement

Table of Contents
loading

Summary of Contents for Toshiba PROSEC T1

  • Page 1 6F3B0250 UM-TS01***-E001 PROGRAMMABLE CONTROLLER T1 / T1S PROSEC USER’S MANUAL - - - - Basic Hardware and Function - - - - TOSHIBA CORPORATION CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 2 Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential damage or injury that may result from the use of this equipment.
  • Page 3 6F3B0250 CE Marking The Programmable Controller PROSEC T1 and T1S (hereafter called T1/T1S) complies with the requirements of the EMC Directive 89/336/EEC and Low Voltage Directive 72/23/EEC under the condition of use according to the instructions described in this manual.
  • Page 4 6F3B0250 UL/c-UL Listing The Programmable Controller PROSEC T1 and T1S (hereafter called T1/T1S) are UL/c-UL listed as shown below. UL and c-UL Listing File Number : E95637 Product Name : Programmable Controller , T1 Series Product Covered : Main Unit...
  • Page 5: Safety Precautions

    However, the T1/T1S is not intended to be used for systems which may endanger human life. Consult Toshiba if you intend to use the T1/T1S for a special application, such as transportation machines, medical apparatus, aviation and space systems, nuclear controls, submarine systems, etc.
  • Page 6 5. Turn off power immediately if the T1/T1S or related equipment is emitting smoke or odor. Operation under such situation can cause fire or electrical shock. Also unauthorized repairing will cause fire or serious accidents. Do not attempt to repair. Contact Toshiba for repairing. Wiring: CAUTION 1.
  • Page 7 6F3B0250 Safety Precautions Operation: WARNING 1. Configure emergency stop and safety interlocking circuits outside the T1/T1S. Otherwise, malfunction of the T1/T1S can cause injury or serious accidents. CAUTION 2. Operate the T1/T1S and the related modules with closing the terminal covers. Keep hands away from terminals while power on, to avoid the risk of electrical shock.
  • Page 8 6. Check by referring “Troubleshooting” section of this manual when operating improperly. Contact Toshiba for repairing if the T1/T1S or related equipment is failed. Toshiba will not guarantee proper operation nor safety for unauthorized repairing.
  • Page 9 Stick this seal on unit or near unit. where it can be readily seen. Take off this sheet before wiring. Contact Toshiba if the label is damaged. Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 10: About This Manual

    About This Manual About This Manual This manual has been prepared for first-time users of Toshiba’s Programmable Controller T1 and/or T1S to enable a full understanding of the configuration of the equipment, and to enable the user to obtain the maximum benefits of the equipment.
  • Page 11 6F3B0250 About This Manual Terminology The following is a list of abbreviations and acronyms used in this manual. m m m m s microsecond ASCII American Standard Code For Information Interchange American Wire Gage Block Check Code Counter-Clockwise Central Processing Unit Clockwise EEPROM Electrically Erasable Programmable Read Only Memory...
  • Page 12: Table Of Contents

    6F3B0250 Contents Contents Safety Precautions .................. About This Manual .................. System Configuration ..............Introducing the T1 and T1S ..............Features ....................System configuration ................I/O expansion ..................Components ..................1.5.1 Basic unit ..................1.5.2 Option cards ..................1.5.3 Expansion rack ................1.5.4 I/O modules ..................
  • Page 13 6F3B0250 Contents Operating System Overview ............Operation modes ................About the built-in EEPROM ..............Scanning ..................... Programming Information ............. Devices and registers ................. Index modification ................104 Real-time clock/calendar ..............106 I/O allocation ..................107 T1S memory mode setting ..............109 User program configuration ..............
  • Page 14 6F3B0250 Contents Troubleshooting ................293 10.1 Troubleshooting procedure ..............294 10.1.1 Power supply check ................. 295 10.1.2 CPU check ..................296 10.1.3 Program check ................. 296 10.1.4 Input check ..................297 10.1.5 Output check ..................298 10.1.6 Environmental problem ..............299 10.2 Self-diagnostic items ................
  • Page 15: System Configuration

    6F3B0250 Section 1 System Configuration Introducing the T1 and T1S, 14 Features, 16 System configuration, 19 I/O expansion, 20 Components, 22 Computer link system, 33 T1S Communication function, 34 Real-time data link system, 36 Peripheral tools, 37 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 16: Introducing The T1 And T1S

    6F3B0250 1. System Configuration 1.1 Introducing the T1 and T1S The T1 Series are compact, block style, high-performance programmable controllers with a range of 16 to 328 input and output points. The T1 Series are available in two versions, T1 and T1S. The T1S is an enhanced version against the standard T1.
  • Page 17: System Configuration

    6F3B0250 1. System Configuration Memory capacity: Program memory capacity of the T1 is 2 k steps. And that of the T1S is 8 k steps. Whole the program and a part of data registers are stored in built-in EEPROM. RAM (for execution) and EEPROM (for back-up) Memory Program capacity 2 k steps 8 k steps...
  • Page 18: Features

    6F3B0250 1. System Configuration 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 credit card. The following eight types of the option cards are available. · 16 points DC input ·...
  • Page 19 6F3B0250 1. System Configuration Pulse output / PWM output: One point of variable frequency pulses (max. 5 kHz) or variable duty pulses can be output. These functions can be used to drive a stepping motor or to simulate an analog output.
  • Page 20 6F3B0250 1. System Configuration Password protection: By registering your passwords, four levels of protection is available according to the security levels required for your application. Level 4: Reading/writing program and writing data are prohibited Level 3: Reading/writing program are prohibited Level 2: Writing program is prohibited Level 1: No protection (changing passwords is available only in this level) Two points of solid-state output:...
  • Page 21: System Configuration

    6F3B0250 1. System Configuration 1.3 System configuration The following figure shows the T1/T1S system configuration. Peripheral tool T1 basic unit IBM-PC compatible T1-16 personal computer T1-28 Option cards T-PDS software T1-40 Handy programmer HP911A Expansion unit T1-40S Computer link function Expansion rack MMI/SCADA T2 I/O modules...
  • Page 22: I/O Expansion

    6F3B0250 1. System Configuration 1.4 I/O expansion The I/O points on the T1-16 and T1-28 are not expandable. The T1-40 and T1-40S, however, provides I/O expandability by using the option cards, expansion rack and expansion unit. The T1-40/T1-40S can hold up to two option cards. Also, the T1-40/T1-40S can be connected to either one expansion rack (2-slot or 4-slot) or one expansion unit.
  • Page 23 6F3B0250 1. System Configuration · Available I/O expansion configuration (continued) Model Unit configuration I/O points T1-40 72 points (40 in / 32 out) T1-40(S) DI116 DO116 T1-40S T1-40(S) DD116 DD116 72 points (32 in / 40 out) T1-40(S) DD116 DO116 72 points (24 in / 48 out) T1-40(S) DO116...
  • Page 24: Components

    6F3B0250 1. System Configuration 1.5 Components 1.5.1 Basic unit The basic unit is available in four models, the T1-16, T1-28, T1-40 and T1-40S. And each model is available in three types, depending on the power supply and input types. Model Type Power supply Input...
  • Page 25 ¨ ¨ ¨ ¨ T1-16 Input status LEDs Power supply and Output status LEDs Input terminals Mounting hole Programmer port cover PROSEC TOSHIBA MDR16 Output terminals Operation status LEDs ¨ ¨ ¨ ¨ T1-28 Input status LEDs Power supply and Input terminals...
  • Page 26 Power supply and Input status LEDs Input terminals Mounting hole Option card PROSEC slot Programmer MDR40 TOSHIBA port cover Expansion connector Output terminals Operation status LEDs Output status LEDs ¨ ¨ ¨ ¨ T1-40S Power supply and Input status LEDs...
  • Page 27 6F3B0250 1. System Configuration ¨ ¨ ¨ ¨ Behind the programmer port cover Analog setting adjusters (V0 and V1) Mode control switch (HALT / RUN) H / R Programmer port connector T1-16 / T1-28 T1-40 / T1-40S Power supply terminals: Connect the power cable and grounding wire.
  • Page 28 6F3B0250 1. System Configuration Operation status LEDs: Indicate the operation status of the T1/T1S. T1-16 / T1-28 T1-40 / T1-40S Internal 5 Vdc power is normal. (Power) (green) Not lit Internal 5 Vdc power is not normal. RUN mode (in operation) (green) Blinking HOLD mode...
  • Page 29 RS-485 port (T1-40S only): Used to connect a computer (SCADA system), operator interface unit, other T1S, or many kinds of serial ASCII devices including Toshiba’s Inverter through RS-485 interface. Refer to section 1.7 for more information about the T1S’s RS-485 multi- purpose communication functions.
  • Page 30: Option Cards

    6F3B0250 1. System Configuration 1.5.2 Option cards The T1-40/T1-40S can hold up to two option cards for expanding I/O points, etc. The following eight types of the option cards are available. For details of the option cards, refer to the separate manual “T1/T1S User’s Manual - Expansion I/O -“.
  • Page 31: Expansion Rack

    6F3B0250 1. System Configuration 1.5.3 Expansion rack The T1-40/T1-40S can be connected to either one expansion rack or one expansion unit. The following two types of the expansion racks are available. By using the expansion rack, T2 Series I/O modules can be used with the T1-40/T1-40S. For details of the expansion rack, refer to the separate manual “T1/T1S User’s Manual - Expansion I/O -“.
  • Page 32: I/O Modules

    6F3B0250 1. System Configuration 1.5.4 I/O modules As listed below, various I/O modules are available for the T1-40/T1-40S, allowing it to be used for a wide variety of applications. Up to four I/O modules can be used with the T1-40/T1-40S by connecting the expansion rack. For details of the I/O modules, refer to the separate manual “T1/T1S User’s Manual - Expansion I/O -“.
  • Page 33: Expansion Unit

    Power supply and Input status LEDs Input terminals Mounting hole PROSEC EDR40 TOSHIBA Expansion connector Output terminals Power LEDs (5V and 24V) Output status LEDs Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 34: Options

    6F3B0250 1. System Configuration 1.5.6 Options The following optional items are available. Item Type Description Programmer port PT16S For RS-232C computer link, with 2 m cable connector Option card PT15S Cable side connector for DI116, Soldering type I/O connector PT15F DO116, or DD116 Flat cable type Expansion cable...
  • Page 35: Computer Link System

    6F3B0250 1. System Configuration 1.6 Computer link system The interface of the T1/T1S’s programmer port is RS-232C. Normally this port is used to connect the programmer. However, this port can also be used for the computer link function. The computer link is a data communication function between computer or operator interface unit and the T1/T1S.
  • Page 36: T1S Communication Function

    6F3B0250 1. System Configuration 1.7 T1S communication function The T1S has an RS-485 muiti-purpose communication port. This port can work independent of the programmer port. By using this communication port, one of the following three communication modes is available, computer link mode, data link mode and free ASCII mode. For details of these functions, refer to the separate manual “T1/T1S User’s Manual - Communication Function -”.
  • Page 37 A terminal, printer, bar-code reader, or other serial ASCII device can be directly connected. This mode also allows the T1S to communicate with other PLCs (T1, T2E, T2N, etc.), Toshiba’s Inverters (such as VF-S7/A5, G3), Toshiba’s motor protection relay (S2E21), or others.
  • Page 38: Real-Time Data Link System

    6F3B0250 1. System Configuration 1.8 Real-time data link system TOSLINE-F10 TOSLINE-F10 is a high speed data transmission system suited for small points I/O distribution system. By inserting the TOSLINE-F10 remote card (FR112) into the T1- 40/T1-40S, the T1-40/T1-40S can work as a remote station of the TOSLINE-F10 network.
  • Page 39: Peripheral Tools

    T-Series Program Development System (T-PDS) The T-Series Program Development System (T-PDS) is a software which runs on any IBM-PC compatible personal computers such as Toshiba’s Notebook computers. The same T-PDS software supports on-line/off-line programming, debugging and program documentation for all the T-Series programmable controllers T1/T1S, T2/T2E/T2N and T3/T3H.
  • Page 40 6F3B0250 1. System Configuration T-Series Handy Programmer (HP911A) The HP911A is a hand-held programmer, that can be used to program the T1/T1S using ladder diagram. Its portability makes it ideal for maintenance use at remote locations. The HP911A has the following features. ·...
  • Page 41 6F3B0250 1. System Configuration Program Storage Module (RM102) The program storage module (RM102) is an external memory for storing the T1/T1S program. By using the RM102, program saving from the T1/T1S to the RM102, and program loading from the RM102 to the T1/T1S can be done without need of a programmer.
  • Page 42 6F3B0250 T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 43: Specifications

    6F3B0250 Section 2 Specifications General specifications, 42 External dimensions, 43 Functional specifications, 46 I/O specifications, 48 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 44 6F3B0250 2. Specifications 2.1 General specifications Item T1-16 T1-28 T1-40 T1-40S Power supply voltage 100 to 240 Vac (+10/-15 %), 50/60 Hz Power consumption 30 VA or less 38 VA or less 45 VA or less Inrush current 50 A or less (at 240 Vac, cold start) 24 Vdc output rating 0.1 A for 0.2 A (for external devices and/or for input...
  • Page 45 6F3B0250 2. Specifications 2.2 External dimensions ¨ ¨ ¨ ¨ T1-16 2-Æ5 ¨ ¨ ¨ ¨ T1-28 2-Æ5 [mm] Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 46 6F3B0250 2. Specifications ¨ ¨ ¨ ¨ T1-40/T1-40S, Expansion unit 2-Æ5 ¨ ¨ ¨ ¨ Option card 43.18 Additional space for Option card connector Card type DI116, DO116, DD116 AD121, AD131, DA121, DA131 FR112 [mm] T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 47 6F3B0250 2. Specifications ¨ ¨ ¨ ¨ 2-slot expansion rack 4-Æ5 69.0 106.5 83.0 115.0 97.0 143.0 (terminal block) 168.0 (connector) ¨ ¨ ¨ ¨ 4-slot expansion rack 4-Æ5 135.0 149.0 163.0 [mm] Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 48: Functional Specifications

    6F3B0250 2. Specifications 2.3 Functional specifications Item T1-16 T1-28 T1-40 T1-40S Control method Stored program, cyclic scan system Scan system Floating scan or constant scan (10 - 200 ms, 10 ms units) I/O update Batch I/O refresh (direct I/O instruction available) Program memory RAM (capacitor back-up) and EEPROM (no back-up battery required) RAM memory back-...
  • Page 49 6F3B0250 2. Specifications Functional specifications (cont’d) Item T1-16 T1-28 T1-40 T1-40S Real-time clock Yes, /calendar (±30 s/month) Special I/O functions High speed counter (2 single or 1 quadrature), (Note) Interrupt input (2 points), Adjustable analog register (2 points), Pulse output (CW+CCW or pulse+direction), PWM output Communications 1 port RS-232C (programmer port)
  • Page 50: I/O Specifications

    6F3B0250 2. Specifications 2.4 I/O specifications 2.4.1 T1-16 · · · · T1-16 input specifications Item Specifications DC input type AC input type AC power type DC power type Input type Dry contact input, DC input, AC input current source or current source or sink sink...
  • Page 51 6F3B0250 2. Specifications · · · · Input signal connections < DC input (AC power) type > Current source Current sink Current Current flow flow T1-16 T1-16 Note) The factory setting is current source. < DC input (DC power) type > <...
  • Page 52 6F3B0250 2. Specifications · · · · T1-16 output specifications Item Specifications Relay output Transistor output Triac output (both DC input and (DC input type) (AC input type) AC input types) Output type Relay contact, Transistor output, Triac output normally open current sink Number of output points 6 points 2 points...
  • Page 53 6F3B0250 2. Specifications · · · · Output signal connections < DC input type - - - - 6 relays and 2 transistors > T1-16 Note) 24 Vdc service power output is not provided on the DC power supply type. 24 Vdc 240 Vac/24 Vdc (max.) Transistor...
  • Page 54: T1-28

    6F3B0250 2. Specifications 2.4.2 T1-28 · · · · T1-28 input specifications Item Specifications DC input type AC input type Input type DC input, AC input current source/sink Number of input points 14 points (14 points/common) 14 points (14 points/common) Rated input voltage 24 Vdc, +10/-15 % 100 - 120 Vac, +10/-15 %,...
  • Page 55 6F3B0250 2. Specifications · · · · Input signal connections < DC input type > 24 Vdc input 24 Vdc 24 Vdc service power T1-28 Note) The 24 Vdc service power output is not provided on the DC power supply type. <...
  • Page 56 6F3B0250 2. Specifications · · · · T1-28 output specifications Item Specifications Relay output Transistor output Triac output (both DC input and (DC input type) (AC input type) AC input types) Output type Relay contact, Transistor output, Triac output normally open current sink Number of output points 12 points 2 points...
  • Page 57 6F3B0250 2. Specifications · · · · Output signal connections < DC input type - - - - 12 relays and 2 transistors > T1-28 240 Vac/24 Vdc (max.) 24 Vdc Transistor Relay outputs outputs < AC input type - - - - 12 relays and 2 triacs > T1-28 240 Vac/24 Vdc (max.) 100 - 240 Vac...
  • Page 58: T1-40/T1-40S

    6F3B0250 2. Specifications 2.4.3 T1-40/T1-40S · · · · T1-40/T1-40S input specifications Item Specifications DC input type AC input type Input type DC input, AC input current source/sink Number of input points 24 points (24 points/common) 24 points (24 points/common) Rated input voltage 24 Vdc, +10/-15 % 100 - 120 Vac, +10/-15 %,...
  • Page 59 6F3B0250 2. Specifications · · · · Input signal connections < DC input type > 24 Vdc input 24 Vdc 24 Vdc service power T1-40 Note) The 24 Vdc service power output is not provided on the DC power supply type. <...
  • Page 60 6F3B0250 2. Specifications · · · · T1-40/T1-40S output specifications Item Specifications Relay output Transistor output Triac output (both DC input and (DC input type) (AC input type) AC input types) Output type Relay contact, Transistor output, Triac output normally open current sink Number of output points 14 points 2 points...
  • Page 61 6F3B0250 2. Specifications · · · · Output signal connections < DC input type - - - - 14 relays and 2 transistors > T1-40 240 Vac/ 24 Vdc 24 Vdc (max.) Transistor Relay outputs outputs < AC input type - - - - 14 relays and 2 triacs > T1-40 240 Vac/ 100 - 240 Vac...
  • Page 62 6F3B0250 T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 63: I/O Application Precautions

    6F3B0250 Section 3 I/O Application Precautions Application precautions for input signals, 62 Application precautions for output signals, 65 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 64 6F3B0250 3. I/O Application Precautions 3.1 Application precautions for input signals Configure emergency stop and safety interlocking circuits outside the WARNING T1/T1S. Otherwise, malfunction of the T1/T1S can cause injury or serious accidents. (1) Current source / sink selection on the T1-16 dry contact input The input current flow direction (source or sink) of the T1-16 dry contact input can be selected by setting the jumper plug on the T1-16 printed circuit board as shown below.
  • Page 65 6F3B0250 3. I/O Application Precautions (2) Minimum ON/OFF time of the input signal The following conditions guarantee correct reading of the ON/OFF state of the input signal: Input ON time: ON delay time + the time for one scan Input OFF time: OFF delay time + the time for one scan The ON and OFF times of the input signals must be longer than these intervals.
  • Page 66 6F3B0250 3. I/O Application Precautions (5) Countermeasures against leakage current When a switch with an LED or an AC output sensor is used, the input sometimes cannot recognize that the switch is off due to the current leakage. In this case, install a bleeder resistor to reduce input impedance.
  • Page 67 6F3B0250 3. I/O Application Precautions 3.2 Application precautions for output signals Configure emergency stop and safety interlocking circuits outside the T1/T1S. WARNING Otherwise, malfunction of the T1/T1S can cause injury or serious accidents CAUTION 1. Turn on power to the T1/T1S before turning on power to the loads. Failure to do so may cause unexpected behavior of the loads.
  • Page 68 6F3B0250 3. I/O Application Precautions (3) Over-current protection The output circuit of the T1/T1S does not contain protective fuses. Fuses rated for the output should be provided by the user. Load Load output circuit Fuse appropriate to the common current (4) Output surge protection Where an inductive load is connected to the output, a relatively high energy transient voltage will be generated when the relay turns OFF.
  • Page 69: Installation And Wiring

    6F3B0250 Section 4 Installation and Wiring Environmental conditions, 68 Installing the unit, 69 Wiring terminals, 71 Grounding, 76 Power supply wiring, 78 I/O wiring, 80 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 70: Environmental Conditions

    6F3B0250 4. Installation and Wiring 4.1 Environmental conditions Excess temperature, humidity, vibration, shocks, or dusty and corrosive gas CAUTION environment can cause electrical shock, fire or malfunction. Install and use the T1/T1S and related equipment in the environment described in this section. Do not install the T1/T1S in the following locations: ·...
  • Page 71: Installing The Unit

    (Recommended torque: 1.47 N×m = 15 kgf×cm) Upward Mount the T1 on a vertical panel. All other mounting positions are not PROSEC TOSHIBA MDR40 acceptable. Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 72 6F3B0250 4. Installation and Wiring Dimensions for screw mounting: · T1-16 2 - M4 113 mm · T1-28 / T1-40 / T1-40S / Expansion unit 2 - M4 158.5 mm · Expansion rack 2-slot 4-slot 4 - M4 4 - M4 83 mm 149 mm T1/T1S User’s Manual...
  • Page 73: Wiring Terminals

    6F3B0250 4. Installation and Wiring 4.3 Wiring terminals 1. Turn off power before wiring to minimize the risk of electrical shock. CAUTION 2. Exposed conductive parts of wire can cause electrical shock. Use crimp-style terminals with insulating sheath or insulating tape to cover the conductive parts.
  • Page 74 6F3B0250 4. Installation and Wiring T1-MAR16 ... AC power supply, AC input type T1-16 T1-MDR16D ... DC power supply, DC input type T1-16 NOTE NC stands for ”no connect”. Do not use the NC terminals for wire relaying or branching. T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 75 6F3B0250 4. Installation and Wiring · T1-28 T1-MDR28 ... AC power supply, DC input type T1-28 T1-MAR28 ... AC power supply, AC input type T1-28 T1-MDR28D ... DC power supply, DC input type T1-28 NOTE NC stands for ”no connect”. Do not use the NC terminals for wire relaying or branching.
  • Page 76 6F3B0250 4. Installation and Wiring · T1-40 T1-MDR40 ... AC power supply, DC input type T1-40 T1-MAR40 ... AC power supply, AC input type T1-40 T1-MDR40D ... DC power supply, DC input type T1-40 NOTE NC stands for ”no connect”. Do not use the NC terminals for wire relaying or branching.
  • Page 77 6F3B0250 4. Installation and Wiring · T1-40S T1-MDR40S ... AC power supply, DC input type T1-40S T1-MAR40S ... AC power supply, AC input type T1-40S T1-MDR40SD ... DC power supply, DC input type T1-40S NOTE (1) NC stands for ”no connect”. Do not use the NC terminals for wire relaying or branching.
  • Page 78: Grounding

    6F3B0250 4. Installation and Wiring The applicable wire size is 0.3 mm (22 AWG) to 1.25 mm (16 AWG). The table below shows the recommended wire size. Type of signal Recommended wire size Power 1.25 mm (16 AWG) Grounding 1.25 mm (16 AWG) I/O signals 0.3 mm...
  • Page 79 6F3B0250 4. Installation and Wiring In case of the expansion rack is connected to the T1/T1S, the rack mounting screw is used for this purpose. Expansion rack Mounting panel System ground · 1.25 mm (16 AWG) wire should be used to connect the T1/T1S and the expansion rack/unit with the enclosure grounding bus bar.
  • Page 80: Power Supply Wiring

    6F3B0250 4. Installation and Wiring 4.5 Power supply wiring 1. Turn off power before wiring to minimize the risk of electrical shock. CAUTION 2. Applying excess power voltage to the T1/T1S can cause explosion or fire. Apply power of the specified ratings described below. Wire the power source to the T1/T1S power supply terminals.
  • Page 81 6F3B0250 4. Installation and Wiring Connections of the power supply terminals are shown below. · AC power supply type 100 to 240 Vac Grounding 100-240VAC · DC power supply type 24 Vdc Grounding 24Vdc Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 82: I/O Wiring

    6F3B0250 4. Installation and Wiring 4.6 I/O wiring 1. Turn off power before wiring to minimize the risk of electrical shock. CAUTION 2. Exposed conductive parts of wire can cause electrical shock. Use crimp-style terminals with insulating sheath or insulating tape to cover the conductive parts.
  • Page 83: Operating System Overview

    6F3B0250 Section 5 Operating System Overview Operation modes, 82 About the built-in EEPROM, 84 Scanning, 87 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 84: Operation Modes

    6F3B0250 5. Operating System Overview 5.1 Operation modes The T1/T1S has three basic operation modes, the RUN mode, the HALT mode and the ERROR mode. The T1/T1S also has the HOLD and RUN-F modes mainly for system checking. RUN: The RUN mode is a normal control-operation mode. In this mode, the T1/T1S reads external signals, executes the user program stored in the RAM, and outputs signals to the external devices according to the user program.
  • Page 85 6F3B0250 5. Operating System Overview The operation modes are switched by the mode control switch provided on the T1/T1S and the mode control commands issued from the programming tool. The mode transition conditions are shown below. (Power ON) Œ • Ž...
  • Page 86: About The Built-In Eeprom

    6F3B0250 5. Operating System Overview 5.2 About the built-in EEPROM The T1/T1S is equipped with a built-in EEPROM and a RAM as standard features. The user program is stored in the EEPROM so that the user program can be maintained without the need of a battery.
  • Page 87 6F3B0250 5. Operating System Overview < T1 > EEPROM User program User program • (2 k steps) (2 k steps) and System info and System info ‚ Data register Data register (D0000 to D0511) (512 words) Data register (D0512 to D1023) other registers <...
  • Page 88 6F3B0250 5. Operating System Overview In case of the T1S, Special register SW55 is used to specify the number of Data registers to be stored in the EEPROM. The allowable setting value is 0 to 2048. The table below shows the correspondence between the SW55 value and Data registers saved in the EEPROM.
  • Page 89: Scanning

    6F3B0250 5. Operating System Overview 5.3 Scanning The flowchart below shows the basic internal operations performed by the T1/T1S from the time power is turned on through program execution. As the diagram shows, executing a program consists of continuous scanning operations. One scan is a cycle starting with the self-diagnosis and ending with the completion of peripheral support.
  • Page 90 6F3B0250 5. Operating System Overview Hardware check: Performs checking and initialization of the system ROM, the system RAM and the peripheral LSIs. Initial load: Transfers the user program and user data from the EEPROM to the RAM. (Refer to section 5.2) Register/device initialization: Initializes registers and devices as shown below.
  • Page 91 6F3B0250 5. Operating System Overview Self-diagnosis: Checks the proper operation of the T1/T1S itself. If an error has detected and cannot be recovered by re-tries, the T1/T1S moves into ERROR mode. For the self-diagnosis items, refer to section 10.2. Mode control: Checks the mode control switch status and the mode control request commands from the programming tool.
  • Page 92 6F3B0250 5. Operating System Overview User program execution: Executes the programmed instructions from the beginning to the END instruction. This is the essential function of the T1/T1S. In this section, only the main program execution is mentioned. For other program types, such as timer interrupt, etc., refer to section 6.5.
  • Page 93: Programming Information

    6F3B0250 Section 6 Programming Information Devices and registers, 92 Index modification, 104 Real-time clock/calendar, 106 I/O allocation, 107 T1S memory mode setting, 109 User program configuration, 110 Programming language, 116 Program execution sequence, 117 On-line debug support functions, 118 6.10 Password protection, 121 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 94 6F3B0250 6. Programming Information 6.1 Devices and registers The T1/T1S program consists of bit-based instructions that handle ON/OFF information, such as contact and coil instructions, and register-based (16-bit) instructions, such as those for data transfer and arithmetic operations. Devices are used to store the ON/OFF information of contacts and coils, and registers are used to store 16-bit data.
  • Page 95 6F3B0250 6. Programming Information Addressing devices A device number of X, Y, R and S devices consists of a register number and bit position as follows. X 01 4 Represents bit position 0 to F in the register. Decimal number representing the register containing the corresponding device.
  • Page 96 6F3B0250 6. Programming Information Available address range Device/register Symbol Number of Address range Number of Address range points points External input Total 512 X000 - X31F Total 512 X000 - X31F device points points External output Y020 - Y31F Y020 - Y31F device External input Total 32...
  • Page 97 6F3B0250 6. Programming Information External input devices (X) These devices (X) indicate the ON/OFF states of external input signals through the input circuits. External input devices can be used many times in a program. External output devices (Y) The external output devices (Y) store the ON/OFF signals that drive the external devices through the output circuits.
  • Page 98 6F3B0250 6. Programming Information Counter devices and registers (C./C) The counter registers (C) are used for storing the count value of the counter (CNT) and the up-down counter (U/D) instructions. The counter devices (C.) works as the output of the counter instructions. It is possible to specify the C registers as retentive to retain their data in the event of a power failure.
  • Page 99 6F3B0250 6. Programming Information Special devices and registers (S/SW) The special devices (S) and special registers (SW) are used for special purposes. See list below. Device/ Name Function register S000 0: Initialization 4: HOLD mode S001 T1/T1S operation mode 1: HALT mode 6: ERROR mode S002 2: RUN mode...
  • Page 100 6F3B0250 6. Programming Information Device/ Name Function register S010 System ROM error (down) ON at error state S011 System RAM error (down) ON at error state S012 Program memory error ON at error state (down) S013 EEPROM error (down) ON at error state S014 Reserved S015...
  • Page 101 6F3B0250 6. Programming Information Device/ Name Function register S030 Program error ON at error state (related to SW06) S031 Scan time over (down) ON when the scan time exceeds 200 ms S032 Reserved S033 Reserved S034 Reserved S035 Reserved S036 Reserved S037 Reserved...
  • Page 102 6F3B0250 6. Programming Information Device/ Name Function register S050 CF (carry flag) Used for instructions which manipulate carry S051 ERF (instruction error flag) ON when instruction execution error is occurred (related to alarm flags of SW06) S052 Reserved S053 Reserved S054 Reserved S055...
  • Page 103 6F3B0250 6. Programming Information Device/ Name Function register SW07 Clock/calendar (Year) Lower 2 digits of the calendar year (98, 99, 00, 01, ... ) SW08 Clock/calendar (Month) Month (01, 02, ... 12) They are stored in SW09 Clock/calendar (Day) Day (01, 02, ... 31) the lower 8 bits by SW10 Clock/calendar (Hour)
  • Page 104 6F3B0250 6. Programming Information Device/ Name Function register S390 Timer interrupt execution ON during execution status S391 I/O interrupt #1 execution ON during execution status S392 I/O interrupt #2 execution ON during execution status S393 I/O interrupt #3 execution ON during execution status S394 I/O interrupt #4 execution...
  • Page 105 6F3B0250 6. Programming Information Device/ Name Function register SW41 Sub-program #1 execution Bit 0 (S410) is ON during the sub-program #1 is executed status SW42 Reserved SW43 Reserved SW44 Reserved SW45 Reserved SW46 Reserved SW47 Reserved SW48 Reserved SW49 Reserved SW50 Reserved SW51...
  • Page 106: Index Modification

    6F3B0250 6. Programming Information 6.2 Index modification When registers are used as operands of instructions, the method of directly designating the register address as shown in Example 1) below is called ‘direct addressing’. As opposed to this, the method of indirectly designating the register by combination with the contents of the index register (I, J, or K) as shown in Example 2) below is called ‘indirect addressing’.
  • Page 107 6F3B0250 6. Programming Information The followings are examples of index modifications. When I = 0, it designates RW10. When I = 1, it designates RW11. RW10 When I = -1, it designates RW09. When I = 10, it designates RW20. When I = -10, it designates RW00.
  • Page 108: Real-Time Clock/Calendar

    6F3B0250 6. Programming Information 6.3 Real-time clock/calendar (T1S only) The T1S is equipped with the real-time clock/calendar for year, month, day, day of the week, hour, minute, and second. These data are stored in the special registers SW07 to SW13 by 2-digit BCD format as follows.
  • Page 109: I/O Allocation

    6F3B0250 6. Programming Information 6.4 I/O allocation The external input signals are allocated to the external input devices/registers (X/XW). The external output signals are allocated to the external output devices/registers (Y/YW). The register numbers of the external input and output registers are consecutive. Thus one register number can be assigned for either input or output.
  • Page 110 6F3B0250 6. Programming Information Internally, the T1/T1S has an information called ‘I/O allocation table’ in its memory. This I/O allocation table shows the correspondence between I/O hardware and software, i.e. register/device. The contents of the I/O allocation table are as follows. Slot I/O type PU slot must be blank...
  • Page 111: T1S Memory Mode Setting

    6F3B0250 6. Programming Information 6.5 T1S memory mode setting The program capacity of the T1S is 8 k steps. However, user can set the T1S’s program capacity to 4 k steps. It is called the T1S’s memory mode. That is, the T1S has two memory modes, 8 k mode and 4 k mode. In the 4 k mode, on-line program changes become available, although the program capacity is limited to 4 k steps.
  • Page 112: User Program Configuration

    6F3B0250 6. Programming Information 6.6 User program configuration A group of instructions for achieving the PLC-based control system is called ‘user program’. The T1 has 2 k steps capacity for storing the user program. And the T1S has 8 k steps capacity for storing the user program. A ‘step’...
  • Page 113: Main Program

    6F3B0250 6. Programming Information System information System information is the area which stores execution control parameters. The following contents are included in the system information. (1) Machine parameters (hardware type, memory type) (2) User program information (program ID, system comments, number of steps used) (3) Passwords (4) Retentive register area information (5) T1S program memory mode, 4 k steps or 8 k steps (T1S only)
  • Page 114: Timer Interrupt Program

    6F3B0250 6. Programming Information In the user program, the main program is the core. The scan operation explained in section 5.3 is for the main program. The operation of other program types are explained in the following sections. The following 8 program types are supported by the T1/T1S. (1) Main program (2) Sub-program #1 (3) Timer interrupt program...
  • Page 115 6F3B0250 6. Programming Information 6.6.2 Sub-program #1 If the sub-program #1 is programmed, it is executed once at the beginning of the first scan (before main program execution). Therefore, the sub-program #1 can be used to set the initial value into the registers. The sub-program #1 is called the initial program.
  • Page 116: I/O Interrupt Programs

    6F3B0250 6. Programming Information 6.6.4 I/O interrupt programs The I/O interrupt program is also the highest priority task. It is executed immediately when the interrupt factor is generated, with suspending other operation. the following 4 types I/O interrupt programs are supported in the T1/T1S. (1) I/O interrupt #1 The I/O interrupt #1 is used with the high speed counter function.
  • Page 117: Subroutines

    6F3B0250 6. Programming Information 6.6.5 Subroutines In the program type ‘Subroutine’, The following number of subroutines can be programmed. Up to 16 subroutines Up to 256 subroutines The subroutine is not a independent program. It is called from other program types (main program, sub-program, interrupt program) and from other subroutines (T1S only).
  • Page 118: Programming Language

    6F3B0250 6. Programming Information 6.7 Programming language The programming language of the T1/T1S is ‘ladder diagram’. Ladder diagram is a language which composes program using relay symbols as a base in an image similar to a hard-wired relay sequence. In the T1/T1S, in order to achieve an efficient data-processing program, ladder diagram which are combinations of relay symbols and function blocks are used.
  • Page 119: Program Execution Sequence

    6F3B0250 6. Programming Information 6.8 Program execution sequence The instructions execution sequence is shown below. (1) They are executed in the sequence from block 1 through the final block which contains the END instruction (or IRET in an interrupt program). (2) They are executed in the sequence from rung 1 through the final rung in a block (or the END instruction).
  • Page 120: On-Line Debug Support Functions

    6F3B0250 6. Programming Information 6.9 On-line debug support functions The following on-line (during RUN) functions are supported in the T1/T1S for effective program debugging. On-line function 4 k mode 8 k mode Force function Sampling trace function Changing timer /counter preset value Changing constant operand of function instruction...
  • Page 121 6F3B0250 6. Programming Information Sampling trace function The sampling trace function collects the status of specified devices or register at every specified sampling timing. The collected data can be displayed on the programmer (T- PDS) screen in the format of timing chart (for devices) or trend graph (for register). The minimum sampling timing is the T1/T1S’s scan cycle.
  • Page 122 6F3B0250 6. Programming Information Timer/counter preset value (constant data) changing The preset value (constant data) of timer or counter instruction can be changed in on-line (during RUN) by using the programming tool. Function instruction constant operand changing (T1S only) The constant operand of function instruction can be changed in on-line (during RUN) by using the programming tool.
  • Page 123: Password Protection

    6F3B0250 6. Programming Information 6.10 Password protection The T1/T1S has the password function to protect the user program and data from unauthorized operations. There are four levels of protection. Accordingly, three levels of passwords can be registered to control the protection levels. These passwords are stored in the built-in EEPROM.
  • Page 124 6F3B0250 T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 125: Instructions

    6F3B0250 Section 7 Instructions List of instructions, 124 Instruction specifications, 134 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 126 6F3B0250 7. Instructions 7.1 List of instructions The T1 has 17 types of basic ladder instructions and 76 types of function instructions, the T1S has 21 types of basic ladder instructions and 99 types of function instructions as listed below. The specifications of each instruction will be described in detail later. The tables listing these instructions are provided as a quick reference.
  • Page 127 6F3B0250 7. Instructions Name Expression Function Steps Speed Available Page T1 T1S (ms) Ö Ö Counter Counts the number of cycles 22.6 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.
  • Page 128 6F3B0250 7. Instructions Arithmetic operations Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ A + B ® C ]- Ö Ö 027 Addition Adds data of A and B, and stores the result in C. -[ A - B ® C ]- Ö...
  • Page 129 6F3B0250 7. Instructions Logical operations Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ A AND B ® C ]- Ö Ö 048 AND Finds logical AND of A and B, and stores it in C. -[ A OR B ® C ]- Ö...
  • Page 130 6F3B0250 7. Instructions Rotate operations Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ RTR1 A ]- Ö Ö 078 1 bit rotate right Rotates data of A 1 bit to the right (LSB direction). The carry flag changes according to the result .
  • Page 131 6F3B0250 7. Instructions Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ A U> B ]- Turns ON output if A > B . Ö 108 Unsigned greater than (Unsigned integer compare) -[ A U>= B ]- Turns ON output if A ³ B . Ö...
  • Page 132 6F3B0250 7. Instructions Program control instructions Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ CALL N. n ]- Ö Ö 128 Subroutine call Calls the subroutine number n . 21.0 ú--[ RET ]-ê Ö Ö 129 Subroutine Indicates the end of a (in a return...
  • Page 133 6F3B0250 7. Instructions Functions Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ A MAVE ( n ) B ® C ]- Ö 056 Moving average Calculates the average value of latest n scan values of A , and stores the result in C .
  • Page 134 6F3B0250 7. Instructions Conversion instructions Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ A HTOA ( n ) B ]- Ö 062 Hex to ASCII Converts the hexadecimal conversion data of n words stating with A into ASCII characters, and stores them in n x2 registers starting with B .
  • Page 135 6F3B0250 7. Instructions Special I/O instructions Name Expression Function Steps Speed Available Page T1 T1S (ms) -[ I/O ( n ) A ]- Ö Ö 235 Direct I/O Performs the immediate block 20.7 + 21.3 ´ n I/O transfer of n registers starting with A .
  • Page 136: Instruction Specifications

    6F3B0250 7. Instructions 7.2 Instruction specifications The following pages in this section describe the detailed specifications of each instruction. On each page, the following items are explained. Expression Shows the operands required for the instruction as italic characters. Function Explains the functions of the instruction with referring the operands shown on the Expression box.
  • Page 137 6F3B0250 7. Instructions NO contact Expression Input Output Function NO (normally open) contact of device A. When the input is ON and the device A is ON, the output is turned ON. Execution condition Input Operation Output Regardless of the state of device A When device A is OFF When device A is ON Operand...
  • Page 138 6F3B0250 7. Instructions NC contact Expression Input Output Function NC (normally closed) contact of device A. When the input is ON and the device A is OFF, the output is turned ON. Execution condition Input Operation Output Regardless of the state of device A When device A is OFF When device A is ON Operand...
  • Page 139 6F3B0250 7. Instructions Transitional contact (Rising edge) Expression Input Output Function When the input at last scan is OFF and the input at this scan is ON, the output is turned ON. This instruction is used to detect the input changing from OFF to ON. Execution condition Input Operation...
  • Page 140 6F3B0250 7. Instructions Transitional contact (Falling edge) Expression Input Output Function When the input at last scan is ON and the input at this scan is OFF, the output is turned ON. This instruction is used to detect the input changing from ON to OFF. Execution condition Input Operation...
  • Page 141 6F3B0250 7. Instructions Coil Expression Input Function Relay coil of device A. When the input is ON, the device A is set to ON. Execution condition Input Operation Output Sets device A to OFF Sets device A to ON Operand Name Device Register...
  • Page 142 6F3B0250 7. Instructions Forced coil Expression Input Function Regardless of the input sate the state of device A is retained . Execution condition Input Operation Output No operation No operation Operand Name Device Register Constant Index C. XW YW RW SW T Ö...
  • Page 143 6F3B0250 7. Instructions Inverter Expression Input Output Function When the input is OFF, the output is turned ON, and when the input is ON, the output is turned OFF. This instruction inverts the link state. Execution condition Input Operation Output Inverts the input state Inverts the input state Operand...
  • Page 144 6F3B0250 7. Instructions Invert coil ( I ) Expression Input ( I ) Function When the input is OFF, the device A is set to ON, and when the input is ON, the device A is set to OFF. This instruction inverts the input state and store it in the device A . Execution condition Input Operation...
  • Page 145 6F3B0250 7. Instructions Positive pulse contact T1S only Expression Input Output Function When the input is ON and the device A is changed from OFF to ON (OFF at last scan and ON at this scan), the output is turned ON. This instruction is used to detect the device changing from OFF to ON.
  • Page 146 6F3B0250 7. Instructions Negative pulse contact T1S only Expression Input Output Function When the input is ON and the device A is changed from ON to OFF (ON at last scan and OFF at this scan), the output is turned ON. This instruction is used to detect the device changing from ON to OFF.
  • Page 147 6F3B0250 7. Instructions Positive pulse coil ( P ) T1S only Expression Input Function When the input is changed form OFF to ON, the device A is set to ON for 1 scan time. This instruction is used to detect the input changing from OFF to ON. Execution condition Input Operation...
  • Page 148 6F3B0250 7. Instructions Negative pulse coil ( N ) T1S only Expression Input Function When the input is changed form ON to OFF, the device A is set to ON for 1 scan time. This instruction is used to detect the input changing from ON to OFF. Execution condition Input Operation...
  • Page 149 6F3B0250 7. Instructions ON delay timer Expression Input ¾[ A TON B ]¾ Output Function When the input is changed from OFF to ON, timer updating for the timer register B is started. The elapsed time is stored in B . When the specified time by A has elapsed after the input came ON, the output and the timer device corresponding to B are turned ON.
  • Page 150 6F3B0250 7. Instructions OFF delay timer Expression Input ¾[ A TOF B ]¾ Output Function When the input is changed from OFF to ON, the output and the timer device corresponding to the timer register B are set to ON. When the input is changed from ON to OFF, timer updating for B is started.
  • Page 151 6F3B0250 7. Instructions Single shot timer Expression Input ¾[ A SS B ]¾ Output Function When the input is changed from OFF to ON, the output and the timer device corresponding to the timer register B are set to ON, and timer updating for B is started. The elapsed time is stored in B . When the specified time by A has elapsed after the input came ON, the output and the timer device are turned OFF.
  • Page 152 6F3B0250 7. Instructions Counter Expression Count input Output Enable input Function While the enable input is ON, this instruction counts the number of the count input changes from OFF to ON. The count value is stored in the counter register B . When the count value reaches the set value A , the output and the counter device corresponding to B are turned ON.
  • Page 153 6F3B0250 7. Instructions Master control set / reset Expression Input [ MCS ] [ MCR ] Function When the MCS input is ON, ordinary operation is performed. When the MCS input is OFF, the state of left power rail between MCS and MCR is turned OFF. Execution condition Operation Output...
  • Page 154 6F3B0250 7. Instructions Jump control set / reset Expression Input [ JCS ] [ JCR ] Function When the JCS input is ON, instructions between JCS and JCR are skipped (not executed). When the JCS input is OFF, ordinary operation is performed. Execution condition Operation Output...
  • Page 155 6F3B0250 7. Instructions Expression [ END ] Function Indicates the end of main program or sub-program. Instructions after the END instruction are not executed. At least one END instruction is necessary in a program. Execution condition Input Operation Output Operand No operand is required.
  • Page 156 6F3B0250 7. Instructions FUN 018 Data transfer Expression Input -[ A MOV B ]- Output Function When the input is ON, the data of A is stored in B . Execution condition Input Operation Output No execution Execution Operand Name Device Register Constant Index...
  • Page 157 6F3B0250 7. Instructions FUN 019 DMOV Double-word data transfer Expression Input -[ A+1 × A MOV B+1 × B ]- Output Function When the input is ON, the double-word (32-bit) data of A+1 × A is stored in double-word register B+1 × B . The data range is -2147483648 to 2147483647.
  • Page 158 6F3B0250 7. Instructions FUN 020 Invert transfer Expression Input -[ A NOT B ]- Output Function When the input is ON, the bit-inverted data of A is stored in B . Execution condition Input Operation Output No execution Execution Operand Name Device Register...
  • Page 159 6F3B0250 7. Instructions FUN 022 XCHG Data exchange Expression Input -[ A XCHG B ]- Output Function When the input is ON, the data of A and the data of B is exchanged. Execution condition Input Operation Output No execution Execution Operand Name...
  • Page 160 6F3B0250 7. Instructions FUN 024 TINZ Table initialize T1S only Expression Input -[ A TINZ ( n ) B ]- Output Function When the input is ON, the data of A is stored in n registers starting with B . The allowable range of the table size n is 1 to 1024 words.
  • Page 161 6F3B0250 7. Instructions FUN 025 TMOV Table transfer T1S only Expression Input -[ A TMOV ( n ) B ]- Output Function When the input is ON, the data of n registers starting with A are transferred to n registers starting with B in a block.
  • Page 162 6F3B0250 7. Instructions FUN 026 TNOT Table invert transfer T1S only Expression Input -[ A TNOT ( n ) B ]- Output Function When the input is ON, the data of n registers starting with A are bit-inverted and transferred to n registers starting with B in a block.
  • Page 163 6F3B0250 7. Instructions FUN 027 Addition Expression Input -[ A + B ® C ]- Output Function When the input is ON, the data of A and the data of B are added, and the result is stored in C . If the result is greater than 32767, the upper limit value 32767 is stored in C , and the output is turned ON.
  • Page 164 6F3B0250 7. Instructions FUN 028 Subtraction Expression Input -[ A - B ® C ]- Output Function When the input is ON, the data of B is subtracted from the data of A , and the result is stored in C . If the result is greater than 32767, the upper limit value 32767 is stored in C , and the output is turned ON.
  • Page 165 6F3B0250 7. Instructions FUN 029 Multiplication Expression Input -[ A * B ® C+1×C ]- Output Function When the input is ON, the data of A is multiplied by the data of B , and the result is stored in double- length register C+1×C .
  • Page 166 6F3B0250 7. Instructions FUN 030 Division Expression Input -[ A / B ® C ]- Output Function When the input is ON, the data of A is divided by the data of B , and the quotient is stored in C and the remainder in C+1.
  • Page 167 6F3B0250 7. Instructions FUN 031 Double-word addition Expression Input -[ A+1 × A D+ B+1 × B ® C+1 × C ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are added, and the result is stored in C+1 ×...
  • Page 168 6F3B0250 7. Instructions FUN 032 Double-word subtraction Expression Input -[ A+1 × A D- B+1 × B ® C+1 × C ]- Output Function When the input is ON, the double-word data of B+1 × B is subtracted from A+1 × A , and the result is stored in C+1 ×...
  • Page 169 6F3B0250 7. Instructions FUN 035 Addition with carry Expression Input -[ A +C B ® C ]- Output Function When the input is ON, the data of A , B and the carry flag (CF = S050) are added, and the result is stored in C .
  • Page 170 6F3B0250 7. Instructions FUN 036 Subtraction with carry Expression Input -[ A -C B ® C ]- Output Function When the input is ON, the data of B and the carry flag (CF = S050) are subtracted from A , and the result is stored in C .
  • Page 171 6F3B0250 7. Instructions FUN 039 Unsigned multiplication T1S only Expression Input -[ A U* B ® C+1×C ]- Output Function When the input is ON, the unsigned data of A and B are multiplied, and the result is stored in double-length register C+1×C .
  • Page 172 6F3B0250 7. Instructions FUN 040 Unsigned division T1S only Expression Input -[ A U/ B ® C ]- Output Function When the input is ON, the unsigned data of A is divided by the unsigned data of B , and the quotient is stored in C and the remainder in C+1.
  • Page 173 6F3B0250 7. Instructions FUN 041 Unsigned double/single division Expression Input -[ A+1 × A DIV B ® C ]- Output Function When the input is ON, the double-word data of A+1 × A is divided by the data of B , and the quotient is stored in C and the remainder in C+1.
  • Page 174 6F3B0250 7. Instructions FUN 043 Increment Expression Input -[ +1 A ]- Output Function When the input is ON, the data of A is increased by 1 and stored in A . Execution condition Input Operation Output No execution Execution Operand Name Device...
  • Page 175 6F3B0250 7. Instructions FUN 045 Decrement Expression Input -[ -1 A ]- Output Function When the input is ON, the data of A is decreased by 1 and stored in A . Execution condition Input Operation Output No execution Execution Operand Name Device...
  • Page 176 6F3B0250 7. Instructions FUN 048 Expression Input -[ A AND B ® C ]- Output Function When the input is ON, this instruction finds logical AND of A and B , and stores the result in C . Execution condition Input Operation Output...
  • Page 177 6F3B0250 7. Instructions FUN 050 Expression Input -[ A OR B ® C ]- Output Function When the input is ON, this instruction finds logical OR of A and B , and stores the result in C . Execution condition Input Operation Output...
  • Page 178 6F3B0250 7. Instructions FUN 052 Exclusive OR Expression Input -[ A EOR B ® C ]- Output Function When the input is ON, this instruction finds exclusive OR of A and B , and stores the result in C . Execution condition Input Operation...
  • Page 179 6F3B0250 7. Instructions FUN 056 MAVE Moving average T1S only Expression Input -[ A MAVE ( n ) B ® C ]- Output Function When the input is ON, this instruction calculates the average value of the latest n scan’s register A data, and stores it in C .
  • Page 180 6F3B0250 7. Instructions FUN 061 Digital Filter T1S only Expression Input -[ A DFL B ® C ]- Output Function When the input is ON, this instruction calculates the following formula to perform digital filtering for input data A by filter constant by B , and stores the result in C . ´...
  • Page 181 6F3B0250 7. Instructions FUN 062 HTOA Hex to ASCII conversion T1S only Expression Input -[ A HTOA ( n ) B ]- Output Function When the input is ON, the hexadecimal data of n registers starting with A is converted into ASCII characters and stored in B and after.
  • Page 182 6F3B0250 7. Instructions FUN 063 ATOH ASCII to Hex conversion T1S only Expression Input -[ A ATOH ( n ) B ]- Output Function When the input is ON, the ASCII characters stored in n registers starting with A is converted into hexadecimal data and stored in B and after.
  • Page 183 6F3B0250 7. Instructions FUN 064 TEST Bit test Expression Input -[ A TEST B ]- Output Function When the input is ON, this instruction finds logical AND of A and B . Then if the result is not 0, sets the output to ON.
  • Page 184 6F3B0250 7. Instructions FUN 068 SHR1 1 bit shift right Expression Input -[ SHR1 A ]- Output Function When the input is ON, the data of register A is shifted 1 bit to the right (LSB direction). 0 is stored in the left most bit (MSB).
  • Page 185 6F3B0250 7. Instructions FUN 069 SHL1 1 bit shift left Expression Input -[ SHL1 A ]- Output Function When the input is ON, the data of register A is shifted 1 bit to the left (MSB direction). 0 is stored in the right most bit (LSB).
  • Page 186 6F3B0250 7. Instructions FUN 070 n bit shift right Expression Input -[ A SHR n ® B ]- Output Function When the input is ON, the data of register A is shifted n bits to the right (LSB direction) including the carry flag (CF = S050), and stored in B .
  • Page 187 6F3B0250 7. Instructions FUN 071 n bit shift left Expression Input -[ A SHL n ® B ]- Output Function When the input is ON, the data of register A is shifted n bits to the left (MSB direction) including the carry flag (CF = S050), and stored in B .
  • Page 188 6F3B0250 7. Instructions FUN 074 Shift register Expression - Output Data input ( n ) Shift input Enable input - Function While the enable input is ON, this instruction shifts the data of the bit table, size n starting with A , 1 bit to the left (upper address direction) when the shift input is ON.
  • Page 189 6F3B0250 7. Instructions The figure below shows an operation example. (When X009 is changed from OFF to ON) R11F R11E R11D R11C R103 R102 R101 R100 X008 Shift result R011 is turned OFF Note · When the shift input is ON, the shift operation is performed every scan. Use a transitional contact for the shift input to detect the state changing.
  • Page 190 6F3B0250 7. Instructions FUN 075 Bi-directional shift register Expression - Output Data input ( n ) Shift input Enable input Direction input - Function While the enable input (E) is ON, this instruction shifts the data of the bit table, size n starting with A , 1 bit when the shift input (S) is ON.
  • Page 191 6F3B0250 7. Instructions 9 devices starting with R200 (R200 to R208) is specified as a shift register. When R010 is OFF, the data of the shift register is reset to 0. (R200 to R208 are reset to OFF) The carry flag (CF = S050) is also reset to OFF. While R010 is ON the following operation is enabled.
  • Page 192 6F3B0250 7. Instructions FUN 078 RTR1 1 bit rotate right Expression Input -[ RTR1 A ]- Output Function When the input is ON, the data of register A is rotated 1 bit to the right (LSB direction). The pushed out bit state is stored in the left most bit (MSB) and in the carry flag (CF = S050).
  • Page 193 6F3B0250 7. Instructions FUN 079 RTL1 1 bit rotate left Expression Input -[ RTL1 A ]- Output Function When the input is ON, the data of register A is rotated 1 bit to the left (MSB direction). The pushed out bit state is stored in the right most bit (LSB) and in the carry flag (CF = S050).
  • Page 194 6F3B0250 7. Instructions FUN 080 n bit rotate right Expression Input -[ A RTR n ® B ]- Output Function When the input is ON, the data of register A is rotated n bits to the right (LSB direction), and stored in B .
  • Page 195 6F3B0250 7. Instructions FUN 081 n bit rotate left Expression Input -[ A RTL n ® B ]- Output Function When the input is ON, the data of register A is rotated n bits to the left (MSB direction), and stored in B .
  • Page 196 6F3B0250 7. Instructions FUN 090 Multiplexer Expression Input -[ A MPX ( n ) B ® C ]- Output Function When the input is ON, the data of the register which is designated by B in the table, size n starting with A , is transferred to C .
  • Page 197 6F3B0250 7. Instructions FUN 091 Demultiplexer Expression Input -[ A DPX ( n ) B ® C ]- Output Function When the input is ON, the data of A is transferred to the register which is designated by B in the table, size n starting with C .
  • Page 198 6F3B0250 7. Instructions > FUN 096 Greater than Expression Input -[ A > B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is greater than B , the output is turned ON.
  • Page 199 6F3B0250 7. Instructions >= FUN 097 Greater than or equal Expression Input -[ A >= B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is greater than or equal to B , the output is turned ON.
  • Page 200 6F3B0250 7. Instructions FUN 098 Equal Expression Input -[ A = B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is equal to B , the output is turned ON.
  • Page 201 6F3B0250 7. Instructions <> FUN 099 Not equal Expression Input -[ A <> B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is not equal to B , the output is turned ON.
  • Page 202 6F3B0250 7. Instructions < FUN 100 Less than Expression Input -[ A < B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is less than B , the output is turned ON.
  • Page 203 6F3B0250 7. Instructions <= FUN 101 Less than or equal Expression Input -[ A <= B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is less than or equal to B , the output is turned ON.
  • Page 204 6F3B0250 7. Instructions FUN 102 Double-word greater than D> Expression Input -[ A+1 × A D> B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is greater than B+1 ×...
  • Page 205 6F3B0250 7. Instructions FUN 103 Double-word greater than or equal D>= Expression Input -[ A+1 × A D>= B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is greater than or equal to B+1 ×...
  • Page 206 6F3B0250 7. Instructions FUN 104 Double-word equal Expression Input -[ A+1 × A D= B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is equal to B+1 ×...
  • Page 207 6F3B0250 7. Instructions FUN 105 Double-word not equal D<> Expression Input -[ A+1 × A D<> B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is not equal to B+1 ×...
  • Page 208 6F3B0250 7. Instructions FUN 106 Double-word less than D< Expression Input -[ A+1 × A D< B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is less than B+1 ×...
  • Page 209 6F3B0250 7. Instructions FUN 107 Double-word less than or equal D<= Expression Input -[ A+1 × A D<= B+1 × B ]- Output Function When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is less than or equal to B+1 ×...
  • Page 210 6F3B0250 7. Instructions FUN 108 Unsigned greater than U> T1S only Expression Input -[ A U> B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is greater than B , the output is turned ON.
  • Page 211 6F3B0250 7. Instructions FUN 109 Unsigned greater than or equal U>= T1S only Expression Input -[ A >= B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is greater than or equal to B , the output is turned ON.
  • Page 212 6F3B0250 7. Instructions FUN 110 Unsigned equal T1S only Expression Input -[ A U= B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is equal to B , the output is turned ON.
  • Page 213 6F3B0250 7. Instructions FUN 111 Unsigned not equal U<> T1S only Expression Input -[ A U<> B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is not equal to B , the output is turned ON.
  • Page 214 6F3B0250 7. Instructions FUN 112 Unsigned less than U< T1S only Expression Input -[ A U< B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is less than B , the output is turned ON.
  • Page 215 6F3B0250 7. Instructions FUN 113 Unsigned less than or equal U<= T1S only Expression Input -[ A U<= B ]- Output Function When the input is ON, the data of A and the data of B are compared, and if A is less than or equal to B , the output is turned ON.
  • Page 216 6F3B0250 7. Instructions FUN 114 Device/register set Expression Input -[ SET A ]- Output Function When the input is ON, the device A is set to ON if A is a device, or the data HFFFF is stored in the register A if A is a register.
  • Page 217 6F3B0250 7. Instructions FUN 115 Device/register reset Expression Input -[ RST A ]- Output Function When the 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.
  • Page 218 6F3B0250 7. Instructions FUN 118 SETC Set carry Expression Input -[ SETC ]- Output Function When the input is ON, the carry flag (CF = S050) is set to ON. Execution condition Input Operation Output No execution Execution Operand No operand is required. Example When R011 is changed from OFF to ON, the carry flag S050 is set to ON.
  • Page 219 6F3B0250 7. Instructions FUN 119 RSTC Reset carry Expression Input -[ RSTC ]- Output Function When the input is ON, the carry flag (CF = S050) is reset to OFF. Execution condition Input Operation Output No execution Execution Reset Operand No operand is required.
  • Page 220 6F3B0250 7. Instructions FUN 120 Encode Expression Input -[ A ENC ( n ) B ]- Output Function When the input is ON, this instruction finds the bit position of the most significant ON bit in the bit table, bits starting with 0 bit (LSB) of A , and stores it in B . size 2 Execution condition Input...
  • Page 221 6F3B0250 7. Instructions FUN 121 Decode Expression Input -[ A DEC ( n ) B ]- Output Function When the input is ON, this instruction sets the bit position which is designated by lower n bits of A to bits starting with 0 bit (LSB) of B , and resets all other bits to OFF. ON in the bit table, size 2 Execution condition Input...
  • Page 222 6F3B0250 7. Instructions FUN 122 Bit count T1S only Expression Input -[ A BC B ]- Output Function When the input is ON, this instruction counts the number of ON (1) bits of A , and stores the result in B . Execution condition Input Operation...
  • Page 223 6F3B0250 7. Instructions FUN 128 CALL Subroutine call Expression Input -[ CALL N. n ]- Output Function When the input is ON, this instruction calls the subroutine number n . Execution condition Input Operation Output No execution Execution Operand Name Device Register Constant Index...
  • Page 224 6F3B0250 7. Instructions FUN 129 Subroutine return Expression ÷--[ RET ]-ê Function This instruction indicates the end of a subroutine. When program execution is reached this instruction, it is returned to the original CALL instruction. Execution condition Input Operation Output Execution Operand No operand is required.
  • Page 225 6F3B0250 7. Instructions FUN 132 FOR (FOR-NEXT loop) Expression Input -[ FOR n ]- Output Function When the input is ON, the program segment between FOR and NEXT is executed n times repeatedly in a scan. When the input is OFF, the repetition is not performed. (the segment is executed once) Execution condition Input Operation...
  • Page 226 6F3B0250 7. Instructions FUN 133 NEXT NEXT (FOR-NEXT loop) Expression Input -[ NEXT ]- Output Function This instruction configures a FOR-NEXT loop. If the input is OFF, The repetition is forcibly broken. and the program execution is moved to the next instruction.
  • Page 227 6F3B0250 7. Instructions FUN 137 SUBR Subroutine entry Expression ÷-[ SUBR ( n ) ]--ê Function This instruction indicates the begging of a subroutine. Execution condition Input Operation Output Execution Operand Name Device Register Constant Index C. XW YW RW SW T Ö...
  • Page 228 6F3B0250 7. Instructions FUN 140 Enable interrupt Expression Input -[ EI ]- Output Function When the input is ON, this instruction enables the execution of user designated interrupt operation, i.e. timer interrupt program and I/O interrupt programs. Execution condition Input Operation Output No execution...
  • Page 229 6F3B0250 7. Instructions FUN 141 Disable interrupt Expression Input -[ DI ]- Output Function When the input is ON, this instruction disables the execution of user designated interrupt operation, i.e. timer interrupt program and I/O interrupt programs. Execution condition Input Operation Output No execution...
  • Page 230 6F3B0250 7. Instructions FUN 142 IRET Interrupt return Expression ÷--[ IRET ]-ê Function This instruction indicates the end of an interrupt program. When program execution reaches this instruction, it returns to the original location of the main program (or subroutine). Execution condition Input Operation...
  • Page 231 6F3B0250 7. Instructions FUN 143 Watchdog timer reset Expression Input -[ WDT n ]- Output Function When the input is ON, this instruction extend the scan time over detection time by 200 ms. Normally, T1/T1S detects the scan time-over if a scan is not finished within 200 ms. This instruction can be used to extend the detection time.
  • Page 232 6F3B0250 7. Instructions FUN 144 STIZ Step sequence initialize Expression Input -[ STIZ ( n ) A ]- Output Function When the input is ON, n devices starting with A are reset to OFF, and A is set to ON. This instruction is used to initialize a series of step sequence.
  • Page 233 6F3B0250 7. Instructions FUN 145 STIN Step sequence input Expression Input -[ STIN A ]- Output Function When the input is ON and the device A is ON, the output is set to ON. Execution condition Input Operation Output No execution When A is ON When A is OFF Operand...
  • Page 234 6F3B0250 7. Instructions FUN 146 STOT Step sequence output Expression Input -[ STOT A ]-ê Function When the input is ON, the device A is set to ON and the devices of STIN instructions on the same rung are reset to OFF. Execution condition Input Operation...
  • Page 235 6F3B0250 7. Instructions FUN 147 Flip-flop Expression - Output Set input Reset input - Function When the set input is ON, the device A is set to ON. When the reset input is ON, the device A is reset to OFF. When both the set and reset inputs are OFF, the device A remains the state. If both the set and reset inputs are ON, the device A is reset to OFF.
  • Page 236 6F3B0250 7. Instructions FUN 149 Up-down counter Expression Direction input - - Output Count input Enable input Function While the enable input is ON, this instruction counts the number of the count input changes from OFF to ON. The count direction (up count or down count) is selected by the state of the direction input. The count value is stored in the counter register A .
  • Page 237 6F3B0250 7. Instructions FUN 154 CLND Set calendar T1S only Expression Input -[ A CLND ]- Output Function When the input is ON, the built-in clock/calendar is set to the date and time specified by 6 registers starting with A . If an invalid data is contained in the registers, the operation is not executed and the output is turned ON.
  • Page 238 6F3B0250 7. Instructions FUN 155 CLDS Calendar operation T1S only Expression Input -[ A CLDS B ]- Output Function When the input is ON, this instruction subtracts the date and time stored in 6 registers starting with A from the current date and time, and stores the result in 6 registers starting with B . If an invalid data is contained in the registers, the operation is not executed and the output is turned Execution condition Input...
  • Page 239 6F3B0250 7. Instructions FUN 156 PID3 Pre-derivative real PID Expression [ A PID3 B ® C ] Input Output Function Performs PID (Proportional, Integral, Derivative) control which is a fundamental method of feed-back control. (Pre-derivative real PID algorithm) This PID3 instruction has the following features. ·...
  • Page 240 6F3B0250 7. Instructions Control block diagram Integral control Integral Auto ×s mode Proportional Differential Derivative Cascade mode ×s DMMV ×s 1+h×T Manual Differential limit mode (h = 0.1) MVS: Velocity ® Position ± DMV = MV 1+T×s H/L: Upper / lower limit DMV: Differential limit Digtal filter Integral action control:...
  • Page 241 6F3B0250 7. Instructions PID algorithm: × ± Here, (If GP ¹ 0, Gap is applied) × t Ir = 0, then DI (If T = 0) × × + × (Fixed) Parameter details Process input value PVC (0.00 to 100.00 %) Data range: 0 to 10000 Auto mode set value ASV (0.00 to 100.00 %) Data range: 0 to 10000...
  • Page 242 6F3B0250 7. Instructions Initial status STS Initial operation mode 00 : Manual mode 01 : Auto mode 10 : Cascade mode 11 : (Reserve) Direct / reverse selection 0 : Direct 1 : Reverse MV upper limit MH (-25.00 to 125.00 %) Data range: -2500 to 12500 B+10 MV lower limit ML (-25.00 to 125.00 %)
  • Page 243 6F3B0250 7. Instructions · Manual mode In this mode, the manipulation value MV can be directly controlled by the input value of MMV. MV differential limit for manual mode DMMV is effective. MH/ML and DMV are not effective. When mode is changed from manual to auto or cascade, the operation is started from the current MV. ·...
  • Page 244 6F3B0250 7. Instructions FUN 160 Upper limit T1S only Expression Input -[ A UL B ® C ]- Output Function When the input is ON, the following operation is executed. (Upper limit for A by B ) If A £ B , then C = A . If A >...
  • Page 245 6F3B0250 7. Instructions FUN 161 Lower limit T1S only Expression Input -[ A LL B ® C ]- Output Function When the input is ON, the following operation is executed. (Lower limit for A by B ) If A ³ B , then C = A . If A <...
  • Page 246 6F3B0250 7. Instructions FUN 162 Maximum value T1S only Expression Input -[ A MAX ( n ) B ]- Output Function When the input is ON, this instruction searches for the maximum value from the table of size n words starting with A , and stores the maximum value in B and the pointer indicating the position of the maximum value in B+1 .
  • Page 247 6F3B0250 7. Instructions FUN 163 Minimum value T1S only Expression Input -[ A MIN ( n ) B ]- Output Function When the input is ON, this instruction searches for the minimum value from the table of size n words starting with A , and stores the minimum value in B and the pointer indicating the position of the minimum value in B+1 .
  • Page 248 6F3B0250 7. Instructions FUN 164 Average value T1S only Expression Input -[ A AVE ( n ) B ]- Output Function When the input is ON, this instruction calculates the average value of the data stored in the n registers starting with A , and stores the average value in B .
  • Page 249 6F3B0250 7. Instructions FUN 165 Function generator Expression Input -[ A FG ( n ) B ® C ]- Output Function When the input is ON, this instruction finds the function value f(x) for A as x, and stores it in C . The function f(x) is defined by the parameters stored in 2 ´...
  • Page 250 6F3B0250 7. Instructions Parameter table 4 registers for x parameters and subsequent 4 registers for corresponding f(x) parameters y = f(x) 1800 D0600 -2000 D0601 -100 D0602 D0603 2000 -2000 -100 2000 D0604 -1800 -300 D0605 -300 D0606 D0607 1800 -1800 The FG instruction interpolators f(x) value for x based on the n parameters of (x For example, if XW04 is 1500 (x = 1500), the result 1405 (f(x) = 1405) is stored in D0100.
  • Page 251 6F3B0250 7. Instructions FUN 180 Absolute value Expression Input -[ A ABS B ]- Output Function When the input is ON, this instruction finds the absolute value of operand A , and stores it in B . Execution condition Input Operation Output No execution...
  • Page 252 6F3B0250 7. Instructions FUN 182 2’s complement Expression Input -[ A NEG B ]- Output Function When the input is ON, this instruction finds the 2’s complement value of A , and stores it in B . Execution condition Input Operation Output No execution...
  • Page 253 6F3B0250 7. Instructions FUN 183 DNEG Double-word 2’s complement Expression Input -[ A+1 × A DNEG B+1 × B ]- Output Function When the input is ON, this instruction finds the 2’s complement value of double-word data A+1 × A , and stores it in B+1 ×...
  • Page 254 6F3B0250 7. Instructions FUN 185 7SEG 7 segment decode Expression Input -[ A 7SEG B ]- Output Function When the input is ON, this instruction converts the lower 4 bits data of A into the 7 segment code, and stores it in B . The 7 segment code is normally used for a numeric display LED. Execution condition Input Operation...
  • Page 255 6F3B0250 7. Instructions Operand A (lower 4 bits) 7 segment LED Operand B (lower 8 bits) Display Binary composition B7 B6 B5 B4 B3 B2 B1 B0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111...
  • Page 256 6F3B0250 7. Instructions FUN 186 ASCII conversion Expression Input -[ A ASC B ]- Output Function When the input is ON, this instruction converts the alphanumeric characters into the ASCII codes, and stores them in the register table starting with B . (16 characters maximum) Execution condition Input Operation...
  • Page 257 6F3B0250 7. Instructions FUN 188 Binary conversion Expression Input -[ A BIN B ]- Output Function When the input is ON, this instruction converts the 4 digits of BCD data of A into binary, and stores in B . If any digit of A contains non-BCD code (other than H0 through H9), the conversion is not executed and the instruction error flag (ERF = S051) is set to ON.
  • Page 258 6F3B0250 7. Instructions FUN 190 BCD conversion Expression Input -[ A BCD B ]- Output Function When the input is ON, this instruction converts the binary data of A into BCD, and stores in B . If the data of A is not in the range of 0 to 9999, the conversion is not executed and the instruction error flag (ERF = S051) is set to ON.
  • Page 259 6F3B0250 7. Instructions FUN 235 Direct I/O Expression Input -[ I/O ( n ) A ]- Output Function When the input is ON, this instruction immediately updates the external input (XW) and output (YW) registers which are in the range of n registers starting with A . ·...
  • Page 260 6F3B0250 7. Instructions Note · In the T1/T1S, the following register/device range is only effective for this Direct I/O instruction. Input on basic unit Output on basic unit Option card T2 I/O modules T1-16 X000 - X007 Y020 - Y027 T1-28 X000 - X00D Y020 - Y02D...
  • Page 261 6F3B0250 7. Instructions FUN 236 XFER Expanded data transfer Expression Input -[ A XFER B ® C ]- Output Function When the input is ON, data block transfer is performed between the source which is indirectly designated by A and A+1 and the destination which is indirectly designated by C and C+1 . The transfer size (number of words) is designated by B .
  • Page 262 6F3B0250 7. Instructions CPU register « « « « built-in EEPROM In the EEPROM, the D registers are divided into pages as follows. · Writing data into the EEPROM is D0000 Page 1 D0000 Page 1 (16 words) (32 words) available within one page at a D0015 D0031...
  • Page 263 6F3B0250 7. Instructions CPU register « « « « T1S RS-485 port (T1S only) <Receiving> When the instruction input is ON, one set of message (from start character to the trailing code) which is received by the RS-485 port is read from the receive buffer, and stored in the CPU registers.
  • Page 264 6F3B0250 7. Instructions <Transmitting> When the instruction input is ON, one set of message which is stored in the source table (from start character to the trailing code) is transmitted through the RS-485 port. The execution status is stored in the status flag. The instruction input must be kept ON until the transmitting operation is complete.
  • Page 265 6F3B0250 7. Instructions FUN 237 READ Special module data read Expression Input -[ A READ B ® C ]- Output Function When the input is ON, this instruction reads data from the buffer memory of the special module that is designated by operand A , and stores them in registers starting with operand C .
  • Page 266 6F3B0250 7. Instructions Note · This instruction is only effective for the T2 I/O modules connected to the T1-40 or T1-40S by using the expansion rack. · The special module can be designated not only by the assigned register, but also by the mounting position.
  • Page 267 6F3B0250 7. Instructions FUN 238 WRITE Special module data write Expression Input -[ A WRITE B ® C ]- Output Function When the input is ON, this instruction transfers data stored in registers starting with operand A into the buffer memory of the special module that is designated by operand C . The destination address (buffer memory address) is designated by operand B .
  • Page 268 6F3B0250 7. Instructions Note · This instruction is only effective for the T2 I/O modules connected to the T1-40 or T1-40S by using the expansion rack. · The special module can be designated not only by the assigned register, but also by the mounting position.
  • Page 269: Special I/O Functions

    Section 8 Special I/O Functions Special I/O function overview, 268 Variable input filter constant, 272 High speed counter, 273 Interrupt input function, 280 Analog setting function, 282 Pulse output function, 283 PWM output function, 285 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 270 8. Special I/O Functions 8.1 Special I/O function overview The T1/T1S supports the special I/O functions as listed below. Function name Function summary Remarks Variable input filter Input filter constant (ON/OFF delay time) can be set by SW16 setting constant user program.
  • Page 271 8. Special I/O Functions Mode setting for the special I/O functions These functions, except the analog setting function, are selected by setting data into SW16 and SW26 by user program. These registers work as mode setting registers for the special I/O functions. The data setting for these registers, i.e. mode setting for the special I/O functions, is effective only at the first scan.
  • Page 272 8. Special I/O Functions Note) In the explanation below, P-OUT means the pulse output function. F E D C B A 9 8 7 6 5 4 3 2 1 0 SW26 0 0 0 0 0 0 0 0 0 0 Bit 0 <...
  • Page 273 8. Special I/O Functions The table below summarizes the mode setting data of each function. In the table, ‘-’ means do not care. Variable input filter constant SW16 F E D C B A 9 8 7 6 5 4 3 2 1 0 1 0 - - - - 0 0 - - 0 0 - - - - High speed counter SW16...
  • Page 274 8. Special I/O Functions 8.2 Variable input filter constant Function The input filter constant (ON/OFF delay time) of the leading 8 points X000 to X007 can be specified by user program within the range of 0 to 15 ms. The default is 10 ms. The setting value is recognized at the first scan.
  • Page 275: Single Phase Up-Counter

    8. Special I/O Functions 8.3 High speed counter 8.3.1 Single phase up-counter Function When the count input is changed from OFF to ON, the count value is increased by 1. When the count value reaches the set value, the count value is reset to 0, and I/O interrupt program is activated (if the interrupt enable flag is ON).
  • Page 276 8. Special I/O Functions Operation Count input Reset input Soft-gate Set value Count value Interrupt Sample program (H1003) In this example, 4099 (H1003) is set in SW16. As a result, the single phase up-counter (channel 1 only) is selected. When R010 comes ON, the data 2000 is written into the set value register (SW18). While R010 is ON, the soft-gate (S240) and the interrupt enable flag (S241) are set to ON to enable the counter operation.
  • Page 277: Single Phase Speed-Counter

    8. Special I/O Functions 8.3.2 Single phase speed-counter Function This function counts the number of changes of the count input from OFF to ON during the every specified sampling time. The count value in a sampling time is stored in the hold value register.
  • Page 278 8. Special I/O Functions Operation Count input Sampling time Soft-gate Internal count value Hold value Sample program (H1403) In this example, 5123 (H1403) is set in SW16. As a result, the single phase speed- counter (channel 1 only) is selected. The sampling time is set as 100 ms, because 10 is written in SW18.
  • Page 279: Quadrature Bi-Pulse Counter

    8. Special I/O Functions 8.3.3 Quadrature bi-pulse counter Function This function counts up or down the quadrature bi-pulse (2-phase pulses whose phases are shifted 90° each other). Counts up when phase A precedes, and counts down when phase B precedes. Both rising and falling edges of each phase are counted. Consequently, 4 times count value against the pulse frequency is obtained.
  • Page 280 8. Special I/O Functions Interrupt assignment Comparison value 1 ¼ I/O interrupt program #1 Comparison value 2 ¼ I/O interrupt program #2 Operation Up count Down count Reset input Soft-gate 2147483647 Comparison value 1 Count value Comparison value 2 -2147483648 Interrupt T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 281 8. Special I/O Functions Sample program (H0803) In this example, 2051 (H0803) is set in SW16. As a result, the quadrature bi-pulse counter is selected. When R010 comes ON, the data 150000 is set into the comparison value 1 register (SW19×SW18), and 200000 is set into the comparison value 2 register (SW21×SW20).
  • Page 282: Interrupt Input Function

    8. Special I/O Functions 8.4 Interrupt input function Function When the signal state of the interrupt input is changed from OFF to ON (or ON to OFF), the corresponding I/O interrupt program is activated immediately. Up to 2 interrupt inputs can be used. The interrupt generation condition can be selected either rising edge (OFF to ON) or falling edge (ON to OFF) for each input.
  • Page 283 8. Special I/O Functions Sample program Main program (H3045) I/O interrupt program #3 Interrupt program A I/O interrupt program #4 Interrupt program B In this example, 12357 (H3045) is set in SW16. As a result, the interrupt input function (2 points, rising for both) is selected.
  • Page 284: Analog Setting Function

    8. Special I/O Functions 8.5 Analog setting function Function The value of the analog setting adjuster is converted into a digital value (0 to 1000) and stored in the SW register. 2 adjusters are provided. (V0 and V1) The SW register data can be used as timer presets or any parameters for function instructions.
  • Page 285: Pulse Output Function

    8. Special I/O Functions 8.6 Pulse output function Function This function is used to output a variable frequency pulse train. The controllable pulse frequency is 50 to 5000 Hz (1 Hz units). The output mode can be selected either CW/CCW or Pulse/Direction (PLS/DIR). In the CW/CCW mode, CW pulse is output when the frequency setting is positive (50 to 5000), and CCW pulse is output when it is negative (-50 to -5000).
  • Page 286 8. Special I/O Functions Operation Pulse enable 1000 -100 -1000 -300 Frequency setting 1kHz Frequency 300Hz 100Hz Pulse output 100Hz 300Hz 1kHz Sample program In this example, 3 (H0003) is set in SW26. As a result, the CW/CCW mode pulse output function is selected.
  • Page 287: Pwm Output Function

    8. Special I/O Functions 8.7 PWM output function Function This function is used to output a variable duty cycle pulse train. The controllable duty cycle is 0 to 100 % (1 % units). ON duty T = Pulse cycle The PWM output is enabled when the pulse enable flag is ON. While the pulse enable flag is ON, the duty cycle (ON duty) can be changed by changing the duty setting value (0 to 100).
  • Page 288 8. Special I/O Functions Operation Pulse enable ON duty setting ON duty PWM output Sample program In this example, 1 (H0001) is set in SW26 and 100 is set in SW28. As a result, 100 Hz PWM output function is selected. When R005 is ON, the PWM output is started with the duty cycle designated by D0200.
  • Page 289: Maintenance And Checks

    Section 9 Maintenance and Checks Precautions during operation, 288 Daily checks, 289 Periodic checks, 290 Maintenance parts, 291 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 290 9. Maintenance and Checks 9.1 Precautions during operation When the T1/T1S is in operation, you should pay attention to the following items. (1) The programmer cable can be plugged or unplugged while the T1/T1S is in operation. When you try to do it, do not touch the connector pins. This may cause malfunction of the T1/T1S owing to static electricity.
  • Page 291: Troubleshooting

    9. Maintenance and Checks 9.2 Daily checks 1. Pay special attention during the maintenance work to minimize the risk of CAUTION electrical shock. 2. Turn off power immediately if the T1/T1S or related equipment is emitting smoke or odor. Operation under such situation can cause fire or electrical shock.
  • Page 292 9. Maintenance and Checks 9.3 Periodic checks 1. Pay special attention during the maintenance work to minimize the risk of CAUTION electrical shock. 2. Turn off power immediately if the T1/T1S or related equipment is emitting smoke or odor. Operation under such situation can cause fire or electrical shock.
  • Page 293 9. Maintenance and Checks (Periodic checks - continued) Item Check Criteria Environment Check that the temperature, humidity, Must be within the range of vibration, dust, etc. are within the general specification. specified range. Programming tool Check that the functions of the Monitoring and other operations programming tool are normal.
  • Page 294 T1/T1S User’s Manual CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 295: Troubleshooting Procedure

    Section 10 Troubleshooting 10.1 Troubleshooting procedure, 294 10.2 Self-diagnostic items, 300 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 296: Power Supply Check

    Failure to do so can cause electrical shock or damage to the T1 and related equipment. 4. Contact Toshiba for repairing if the T1/T1S or related equipment is failed. Toshiba will not guarantee proper operation nor safety for unauthorized repairing.
  • Page 297 10. Troubleshooting 10.1.1 Power supply check If the PWR (power) LED is not lit after power on, check the following points. Check the power connection Connection terminals are correct. The terminal screws are not loose. The terminal block is installed securely. Correct Check the power voltage 85 to 132/170 to 264 Vac (50/60 Hz)
  • Page 298 10. Troubleshooting 10.1.2 CPU check If the PWR (power) LED is lit but the RUN LED is not lit, check the following points. Check the position of the If it is not in R (RUN) position, turn the mode control switch switch to R (RUN) position.
  • Page 299: Input Check

    10. Troubleshooting 10.1.4 Input check If the program is running but the external input signal is not read normally, check the following points: Is the input status LED If not, check the input voltage at the changed ON/OFF according T1/T1S’s input terminals. to the corresponding input If the voltage is not normal, check the input device operation ?
  • Page 300: Output Check

    10. Troubleshooting 10.1.5 Output check If the output status monitored on the programming tool is normal but the external output device (load) is not operated normally, check the following points: Is the output status LED changed ON/OFF according to the program execution ? Check the voltage between If it is the circuit voltage at the output is the output terminal and its...
  • Page 301: Environmental Problem

    10. Troubleshooting 10.1.6 Environmental problem If the following improper operations occur in the controlled system, check possible environmental factors. (1) If an improper operation occurs synchronously with the operation of I/O devices: The noise generated at ON/OFF of the output device (load) may be the cause of the problem.
  • Page 302: Self-Diagnostic Items

    10. Troubleshooting 10.2 Self-diagnostic items If an error is detected by the self-diagnostic check of the T1/T1S CPU, the error messages and the related information shown on the following pages will be recorded in the T1/T1S’s event history table. If the error is severe and continuation of operation is not possible, the T1/T1S turns OFF all outputs and stops the operation (ERROR mode).
  • Page 303 10. Troubleshooting Error message and related information Special Meaning and countermeasures Event Info 1 Info 2 Info 3 device Batt voltage drop S00F In the power-up initialization, data invalidity of RAM (back-up area) has been detected. If retentive registers are used, these validity are not guaranteed.
  • Page 304 10. Troubleshooting Error message and related information Special Meaning and countermeasures Event Info 1 Info 2 Info 3 device Illegal inst Program Address S006 An illegal instruction has been detected in the type - in the S030 program. (Error down) block No.
  • Page 305 10. Troubleshooting Error message and related information Special Meaning and countermeasures Event Info 1 Info 2 Info 3 device Operand error Program Address A register/device which is not supported by type - in the the T1/T1S is programmed. (Error down) block No.
  • Page 306 10. Troubleshooting Error message and related information Special Meaning and countermeasures Event Info 1 Info 2 Info 3 device Sys RAM check err Error Error data Test data S004 In the power-up initialization, an error has address S011 detected by system RAM read/write checking.
  • Page 307: Appendix

    Appendix List of models and types, 306 Instruction index, 309 Basic Hardware and Function CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 308: A.1 List Of Models And Types

    Appendix A.1 List of models and types · · · · Basic unit Model Power supply Input type Type code Part number T1-16 100 - 240 Vac Dry contact T1-MDR16 TDR116*6S 120 Vac T1-MAR16 TAR116*6S 24 Vdc 24 Vdc T1-MDR16D TDR116*3S T1-28 100 - 240 Vac...
  • Page 309 Appendix · · · · T2 I/O modules Description Type code Part number 16 points 24 Vdc/ac input DI31 EX10*MDI31 32 points 24 Vdc input DI32 EX10*MDI32 64 points 24 Vdc input DI235 TDI235**S 16 points 120 Vac input IN51 EX10*MIN51 16 points 240 Vac input IN61...
  • Page 310 Appendix · · · · Cable and others Description Type code Part number T-PDS cable for T1/T1S, 5m length CJ105 TCJ105*CS HP911A cable for T1/T1S, 2m length (spare parts) CJ102 TCJ102*CS RS-232C connector for computer link PT16S TPT16S*AS (with 2 m cable) Option card I/O connector for PT15S TPT15S*AS...
  • Page 311: A.2 Instruction Index

    Appendix A.2 Instruction index · · · · Instruction name 1 bit rotate left Exclusive OR 1 bit rotate right Expanded data transfer 1 bit shift left Flip-flop 1 bit shift right 2’s complement Forced coil 7-segment decode Function generator Absolute value Greater than Addition...
  • Page 312 Appendix Single shot timer Special module data read Special module data write Step sequence initialize Step sequence input Step sequence output Subroutine call Subroutine entry Subroutine return Subtraction Subtraction with carry Table initialize Table invert transfer Table transfer Transitional contact (falling) Transitional contact (rising) Unsigned division Unsigned double/single division...
  • Page 313 Appendix · · · · Instruction symbol U< HTOA U<= U<> IRET U> U>= < MAVE <= WRITE <> XCHG XFER > >= 7SEG NEXT ATOH PID3 READ CALL RSTC CLDN CLDS RTL1 RTR1 D< SETC D<= D<> SHL1 D> SHR1 D>= STIN...

This manual is also suitable for:

Prosec t1s

Table of Contents