TOSHIBA T1-16S User Manual

6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
UM-TS01∗∗∗-E031
PROGRAMMABLE CONTROLLER
PROSEC
T1- 16S
−−−− Basic Hardware and Function −−−−
TOSHIBA CORPORATION
Important Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Misuse of this equipment can result in property damage or human injury. Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential dam age or inju ry that may result from the use of this equipment.
No patent liability is assumed by Toshiba Corporation with respect to use of information, illustrations, circuits, equipment or examples of applic ation in this publication.
Toshiba Corporation reserves the right to make changes and improvements to this publication and/or related products at any time without notice. No obligation shall be incurred other than as noted in this publication.
This publication is copyrighted and contains proprietary material. No part of this book may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means elect rical, mechani c al, photocopying, recording, or otherwise without obtaining prior written permission from Toshiba Corp oration.
6F3B0253
© TOSHIB A Corpor ation 2001. A ll rights reserv ed
IBM is a registered tr ademark of International B usi ness Machi nes Corpor ation. MS-DOS and Windows are registered trademarks of Microsoft Corporation.
Publication number: UM-TS01∗∗∗-E031 1st edition A pril 2001, 2nd edition November 2001
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
CE Marking
The Programmable Controller PROSEC T1-16S (hereafter called T1-16S) 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. The conte nts of the conformity are sho wn below .
Application of EMC : 89/336/EEC (as amended by 91/263/EEC and 92/31/EEC) Council Directive LVD : 72/23/EEC (as amended by 93/68/EEC)
Manufactures Name : Toshiba Corporation,
Fuchu Operations-Social Infrastructure Systems
Address : 1, Toshiba-Cho
Fuchu-shi TOKYO 183-8511 Japan
declares, that the product
Product Name : Programmable Controller , T1-16S
Model Number : TDR116S6S, TDR116S6C
TDR116S3S, TDR116S3C
conforms to the following Product Specifications:
EMC Radiated Interference : EN 55011 Group 1 Class A Mains Interference : EN 55011 Group 1 Class A Radiated Susceptibility : ENV50140 Conducted RFI Susceptibility : ENV50141, IEC100-4-6. Electrostatic Discharge : IEC1000-4-2 Electrical Fast Transient : IEC1000-4-4
LVD : EN61131-2:1995 3.10 Dielectric Properties
4. Mechanical Requirements
Supplementary information :
(1) Included Handy Programmer THP911A*S.
(2) Included each type of associated input/output unit in a typical configuration. (3) Product must be installed in accordance with manufacturers instructions
Basic Hardware and Function
1
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
UL/c-UL Listing
The Programmable Controller PROSEC T1-16S (hereafter called T1-16S) is UL/c-UL listed as shown below.
UL and c-UL Listing
File Number : E95637 Product Na me : Programmable Controller , T1-16S Product Covered : Main Unit
TDR116S6S, TDR116S6C, TDR116S3S, TDR116S3C
I/O module
TDI116M*S, TDD116M*S, TDO116M*S, TAD121M*S, TAD131M*S, TDA121M*S, TDA131M*S, TFR112M*S
Peripherals
TRM102**S, TCU111**S, THP911A*S
UL and c-UL Listing For Use in Hazardous Locations
File Number : E184034 Product Na me : Programmable Controller , T1-16S Product Covered : Main Unit
TDR116S6S, TDR116S6C
Locations Class : Class I, Division 2, Groups A, B, C, D
Important Notice : 1. THIS EQU I PMENT IS S U ITABLE F OR USE I N CLASS I,
DIVISION 2, GROUPS A, B, C, D OR NON-HAZARDOUS LOCATIONS ONLY.
2. WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR CLASS I, DIVISION 2.
3. WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
T1-16S User’s Manual
2
Safety Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
This manual is prepared for users of Toshiba’s Programmable Controller T1-16S. Read this manual thoroughly before using the T1-16S. Also, keep this manual and related manuals so that you can read them anytime while the T1-16S is in operation.
General Information
1. The T1-16S has been designed and manufactured for use in an industrial environment. However, the T1-16S is not intended to be used for systems which may endanger human life. Consult Toshiba if you intend to use the T1-16S for a special application, such as transportation machines, medical apparatus, aviation and space systems, nuclear controls, submarine syste ms, etc.
2. The T1-16S has been manufactured under strict qualit y control. However, to keep safety of overall automated system, fail-safe systems should be considered outside the T1-16S.
3. In installation, wiring, operation and maintenance of the T1-16S, it is assumed that the users have general knowledg e of industrial electric control systems. If this product is handled or operated improperly, electric al shock , fire o r da m age to this product could result.
4. This manual has been written for users who are familiar with Programmable Controllers and industrial control equipment. Contact Toshiba if you have any questions about this manual.
5. Sample programs and circuits described in this manual are provided for explaining the operations and applications of the T1-16S. You should test completely if you use them as a part of your application system.
6F3B0253
Hazard Classifications
In this manual, the following two hazard classifications are used to explain the safety precautions.
!
WARNING
!
CAUTION
Even a precaution is classified as CAUTION, it may cause serious results depending on the situation. Observe all the safety precautions described on this manual.
Indicates a potentially hazardous situation which, if not avoided, could result in death o r serious injury.
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury. It may also be used to alert
against unsafe practices.
Basic Hardware and Function
3
Safety Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Installation:
!
CAUTION
1. Excess temperature, humidity, vibration, shocks, or dusty and corrosive gas environment can cause electrical shock, fire or malfunction. Install and use the T1­16S and related equipment in the environment described in this manual.
2. Improper installation directions or insufficient installation can cause fire or the units to drop. Install the T1-16S and related equipment in accordance with the instructions described in this manual.
3. Turn off power before installing or removing any units, modules, racks, terminal blocks or battery. Failure to do so can cause electrical shock or damage to the T1­16S and related equipment.
6F3B0253
4. Entering wire scra ps or other f o reign debris into t o the T1 -1 6S and related equipment can cause fire or malfunction. Pay attention to prevent entering them into the T1-16S and related equipment during installation and wiring.
5. Turn off power immediately if the T1-16S 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 a ttemp t to repair. Contact Toshiba for repairing.
Wiring:
!
CAUTION
1. Turn off power before wiring to minimize the risk of electrical shock .
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. Also close the terminal covers securely on the terminal blocks when wiring has been completed.
3. Operation without grounding may cause electrical shock or malfunction. Connect the ground terminal on the T1-16S to the system ground.
4. Applying excess power voltage to the T1-16S can cause explosion or fire. Apply power of the specified ratings described in the manual.
5. Improper wiring can cause fire, electrical shock or malfunction. Observe local regulations on wiring and grounding.
T1-16S User’s Manual
4
Safety Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Operation:
!
WARNING
1. Configure emergency stop and safety interlocking circuits outside the T1-16 S. Otherwise, malfunction of the T1-16S can cause injury or serious accidents.
!
CAUTION
2. Operate the T1-16S and the related modules with closing the terminal covers. Keep hands away from terminals while power on, to avoid the risk of electrical shock.
6F3B0253
3. When you attempt to perform force outputs, RUN/HALT controls, etc. duri ng operation, carefully check for safety.
4. Turn on power to the T1-16S b e fore turning on power to the loads. Failure to do so may cause unexpected behavior of the loads.
5. Do not use any modules of the T1-16S for the purpose other than specified. This can cause electrical shock or injury.
6. Do not modify the T1-16S and related equipment in hardware nor software. This can cause fire, electrical shock or injury.
7. Configure the external circuit so that the external 24 Vdc power required for transistor output circuits and power to the loads are switched on/off simultaneously. Also, turn off power to the loads before turning off power to the T1-16S.
8. Install fuses appropriate to the load current in the external circuits for the outputs. Failure to do so can cause fire in case of load over-current.
9. Check for proper connections on wires, connectors and modules. Insufficient contact can cause malfunction or damage to the T1-16S and related equipment.
Basic Hardware and Function
5
Safety Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Maintenance:
!
CAUTION
1. Turn off power before removing or replacing units, modules, terminal blocks or wires. Failure to do so can cause electrical shock or damage to the T1-16S and related equipment.
2. When you remove both input and output terminal blocks with wires for maintenance purpose, pay attention to prevent inserting them upside down.
3. Touch a grounded metal part to discharge the static electricity on your body before touching the equipment.
6F3B0253
4. Otherwise, charged static electricity on your body can cause malfunction or failure.
5. Do not disassemble the T1-16S because there are hazardous voltage parts inside.
6. Perform daily checks, periodical checks and cleaning to maintain the system in normal condition and to prevent unnecessary troubles.
7. Check by referring “Troubleshooting” section of this manual when operating improperly. Contact Toshiba for repairing if the T1-16S or related equipment is failed. Toshiba will not guarantee proper operation nor safety for unauthorized repairing.
8. The contact relia b ility of the output relays will reduce if the switching exceeds the specified life. Replace the unit or module if exceeded.
9. The battery used in T1-16S may present a risk of fire of chemical burn if mistreated. Do not recharge, disassemble, heat above 100ºC (212ºF), or incinerate.
10. Replace battery with CR2032 only. Use of another battery may present a risk of fire or explosi on.
11. Dispose of used battery promptly. Keep away from children. Do not disassemble and do not dispose of in fire.
T1-16S User’s Manual
6
Safety Label
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The safety label as shown on the right is attached to the power terminal of the T1-16S.
Remove the mount paper before wiring. Peel off the label from the mount paper
and stick it near the power terminals where it can be r eadily seen.
Contact Toshiba if the label is damaged.
Safety Precautions
CAUTION
!
Do not touch ter min al s while power on.
Hazardous voltage can shock, burn or cause death. Do not touch terminals while power on. Read related manual thoroughly for safety. Stick this seal on unit or near unit.
Take off this sheet before wiring.
6F3B0253
Basic Hardware and Function
7
About This Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
About This Manual
This manual has been prepared for first-time users of Toshiba’s Programmable Controller T1-16S to enable a full understanding of the configuration of the equipment, and to enable the user to obtain the maximum benefits o f the equipment.
This manual introduces the T1-16S, and explains the system configuration, specifications, in stallation and wiring for T1-16S’s basic hardware. This manual provides the information for designing T1-16S user program, such as the internal operation, memory configuration, I/O allocation and programming instructions. Information for maintenance and troubleshooting are also provided in this manual.
The T1-16S’s computer link function and T1-16S’s multi-purpose communication functions are covered by the separate manual. Read the T1-16S User’s Manual ­Communication Function - for details.
Inside This Manual
6F3B0253
This manual consists of 10 main sections and an appendix. Section 1 outlines the T1-16S configuration. To fully understand the T1-16S, it is
important to read this section carefully. Sections 2, to 4 describe the hardware used in designin g ex t ernal circuits and panels. Sections 5 to 7 are mainly concerned with software . S ection 8 exp la in s the T1-16S’s special I/O functions. S ec ti ons 9 and 10 describe the maintenance procedure for the T1-16S, to ensure safe operation and long service life .
Related Manuals
The following related manuals are available for T1-16S. Besides this manual, read the following manuals for your better understanding.
T1-16S User’s Manual
- Basic Hardware and Function - (this manual)
- I/O Modules -
- Communication Function ­T-Series Handy Pro g r ammer (H P911) Op erat ion Man ual T-Series Program Development System (T-PDS) User’s Manual
UM-TS01∗∗∗-E031 UM-TS01∗∗∗-E034 UM-TS01∗∗∗-E033 UM-TS03∗∗∗-E025 UM-TS03∗∗∗-E045
8
T1-16S User’s Manual
Terminology
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The following is a list of abbreviations and acronyms used in this manual.
µµµµs microsecond ASCII American Standard Code For Information Interchange AWG American Wire Gage BCC Block Check Code CCW Counter-Clockwise CPU Central Proc essing Unit CW Clockwise EEPROM Electrically Erasable Programmable Read Only Memory H hexadecimal (when it appears in front of an alphanumeric string) I/O Input/Output LED Light Emitting Diode LSB Least Significant Bit ms millisecond MSB Most Significant Bit PWM Pulse Width Modulation RAM Random Access Memory ROM Read Only Memory Vac AC voltage Vdc DC voltage
6F3B0253
About This Manual
Basic Hardware and Function
9
Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Contents
Safety Precau t ions .................................................................................. 3
About This Manual .................................................................................. 8
1. System Configuration .................................................................... 13
1.1 Introducing the T1-16S ................................................................ 14
1.2 Features .............................................................................................. 16
1.3 System configuration .......................................................................... 19
1.4 I/O expansion ...................................................................................... 20
1.5 Components........................................................................................ 21
1.5.1 Basic unit ......................................................................................... 21
1.5.2 I/O modules ...................................................................................... 25
1.5.3 Options ............................................................................................ 26
1.6 Programmer port function .................................................................. 27
1.7 RS-485 port communication function ................................................. 28
1.8 Real-time data link system ................................................................. 32
1.9 Peripheral tools .................................................................................. 33
6F3B0253
2. Specifications .................................................................................. 37
2.1 General specifications ........................................................................ 38
2.2 Functional specifications .................................................................... 40
2.3 I/O specifications ................................................................................ 42
2.4 External dimensions ........................................................................... 46
3. I/O Application Precautions .......................................................... 47
3.1 Application precautions for input signals ............................................ 48
3.2 Application precautions for output signals .......................................... 50
4. Installation and Wiring ................................................................... 53
4.1 Environmental conditions ................................................................... 54
4.2 Installing the unit ................................................................................. 55
4.3 Wiring terminals .................................................................................. 57
4.4 Grounding ........................................................................................... 58
4.5 Power supply wir i ng ............................................................................ 59
4.6 I/O wiring ............................................................................................ 61
T1-16S User’s Manual
10
Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. Operating System Overview ......................................................... 63
5.1 Operation modes ................................................................................ 64
5.2 About the built-in EEPROM ................................................................ 66
5.3 Scanning ............................................................................................. 69
6. Programming Information ............................................................. 73
6.1 Devices and registers ......................................................................... 74
6.2 Index modification ............................................................................... 86
6.3 Real-time clock/calendar .................................................................... 88
6.4 I/O allocation ....................................................................................... 89
6.5 T1-16S memory mode setting.............................................................. 91
6.6 User program configurati on ................................................................ 92
6.6.1 Main program .................................................................................. 94
6.6.2 Sub-program #1 .............................................................................. 95
6.6.3 Timer interrupt program .................................................................. 95
6.6.4 I/O interrupt programs ..................................................................... 96
6.6.5 Subroutines .................................................................................... 97
6.7 Programming language ...................................................................... 98
6.8 Program executi on sequence ............................................................ 99
6.9 On-line debug support functions ........................................................ 100
6.10 Password protection ........................................................................... 103
6F3B0253
7. Instructions ...................................................................................... 105
7.1 List of instructions .............................................................................. 106
7.2 Instruction specifications .................................................................... 116
8. Special I/O Functi o n s .................................................................... 255
8.1 Special I/O function overview ............................................................. 256
8.2 Variable input filter constant .............................................................. 260
8.3 High speed counter ............................................................................ 261
8.3.1 Single phase up-counter ................................................................. 262
8.3.2 Single phase speed-counter ............................................................ 263
8.3.3 Quadrature bi-pulse counter ............................................................ 265
8.4 Interrupt input function ........................................................................ 268
8.5 Analog setting function ....................................................................... 270
8.6 Pulse output function .......................................................................... 271
8.7 PWM output function .......................................................................... 273
9. Maintenance and Checks .............................................................. 275
9.1 Precautions during operation ............................................................. 276
9.2 Daily checks ........................................................................................ 277
9.3 Periodic checks ................................................................................... 278
9.4 Maintenance parts ............................................................................... 279
9.5 Battery................................................................................................. 280
Basic Hardware and Function
11
Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
10. Troubleshooting .............................................................................. 281
10.1 Troubleshooting procedure ................................................................ 282
10.1.1 Power supply check ......................................................................... 283
10.1.2 CPU check ....................................................................................... 284
10.1.3 Program check ................................................................................. 284
10.1.4 Input check ....................................................................................... 285
10.1.5 Output check .................................................................................... 286
10.1.6 Environmental problem .................................................................... 287
10.2 Self-diagnostic items .......................................................................... 288
Appendix ......................................................................................................... 293
A.1 List of models and types ..................................................................... 294
A.2 Instruction index ................................................................................. 295
6F3B0253
T1-16S User’s Manual
12
Section 1
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
System Configuration
6F3B0253
1.1 Introducing the T1-16S, 14
1.2 Features, 16
1.3 System configuration, 19
1.4 I/O expansion, 20
1.5 Components, 21
1.6 Computer link system, 27
1.7 T1-16S Communication function, 28
1.8 Real-time data link system, 32
1.9 Peripheral tools, 33
Basic Hardware and Function
13
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.1 Introducing the T1-16S
The T1-16 is compact, block style, high-performance programmable controller with a range of 16 to 144 input and output points. The figu re below shows the T1 Series line-up. The T1 Series consists of the total 16 types.
T1 Series T1 T1-16 T1-MDR16 T1-MAR16 T1-MDR16D
T1-28 T1-MDR28 T1-MAR28 T1-MDR28D T1-40 T1-MDR40 T1-MAR40 T1-MDR40D
T1S T1-16S T1-MDR16SS T1-MDR16SC T1-MDR16SSD T1-MDR16SCD
T1-40S T1-MDR40S T1-MAR40S T1-MDR40SD
6F3B0253
I/O points:
The T1 Series are available in five models, T1-16, T1-28, T1-40, T1-40S and T1­16S. Each model has the following I/O points.
T1-16S T1-28 T 1-40 T1-40S
14 points (12 relay plus
16 points (14 relay plus 2 solid-state)
Input
Output
T1-16
8 points 14 points 24 points 8 points
(6 relay plus 2 slid-state)
2 slid-state)
Expansion
No Up to 8 I/O
modules. Total up to
No 2 option cards plus
1 expansion rack or unit. Total up to 382 points.
144 points.
The T1-16S can expand its I/O points by connecting I/O modules. Up to eight I/O modules can be connected. If eight 16-point I/O modules are connected to the T1­16S, it can control up to 144 points.
T1-16S User’s Manual
14
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. System Configuration
Mem o r y cap acity:
Program memory capacity of th e T1 is 2 k steps. And that of the T1S is 8 k steps. W hole th e program and a part of data registers are stored in built-in EEPROM.
T1-16/28/40 T1-40S Memory Program capacity Data capacity
EEPROM back-up RAM back-up
(at 25°C) (at 77°F)
Control functions:
In addition to the basic relay ladder functi ons , the T1/T1S provides functions such as data operations, arithmetic operations, various functions, etc. Furthermore, its high­speed counter functions, pulse output functions and data communication functions allow its application to a wide scope of control systems.
Language Number of instructions Subroutines
Execution speed Real-time clock/calendar Communication
RAM (for execution) and EEPROM (for back -up)
2 k steps 8 k steps
(4 k mode or 8 k mode)
Auxiliary relay: 1024 points
Timer: 64 points
Counter: 64 points
Data register: 1024 words
Program and leading 512
words of Data register
Capacitor: 6 hours or more Capacitor: 168 hours
T1-16/28/40 T1-40S
Ladder diagram w ith function block Basic: 17 types
Function: 76 types 16
(nesting not allowed)
1.4 µs/contact, 2.3 µs/coil, 4.2 µs/transfer, 6.5 µs/addition No Yes (year, month, day, week, hours,
RS-232C (programmer port)
Auxiliary relay: 4096 points Timer: 256 points Counter: 256 points Data register: 4096 words Program and the user specified range of Data register (0 to 2048 words)
or more
Basic: 21 types Function: 99 types
256 (up to 3 levels of nesting)
minutes, seconds) RS-232C (programmer por t),
RS-485 (multi-purpose)
T1-16S
Capacitor: 1 hour or more Battery: 2 years or more
T1-16S
Basic: 21 types Function: 97 types
Construction:
The T1-16S is a compact, easy-handling block style programmable controller. The T1-16S has all of the features of a block style controller. In addition, the T1-16S has modular expandability. The T1-16S provides flexibility into the block style controller.
Series compatibility:
Programming instructions are upward compatible in the T-Series programmable controllers. The T1/T1S programs can be used for other models of the T-Series, T2, T2E, T2N, T3 and T3H. Peripheral tools can also be shared.
Basic Hardware and Function
15
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.2 Features
I/O module support:
The T1-16S has an interface for connecting the I/O modules. Up to eight modules can be connected to the T1-16S. By using the 16 points I/O module, the T1-16S can control up to 144 I/O points.
Built-in high-speed counter:
Two single-phase or one quadrature (2-phase) pulses can be counted. The acceptable pulse rate is up to 5 kHz. (DC input type only)
Built-in analog setting adjusters:
Two analog setting adjusters are provided on the T1-16S. This allows operators to adjust time or other control parameters easily using a screwdriver.
High speed processing:
Sophisticated machine control applications require high speed data manipulations. The T1-16S is designed to meet these requirements.
1.4 µs per contact • 2.3 µs per coil
4.2 µs per 16-bit transfer • 6.5 µs per 16-bit addition
The T1-16S also supports interrupt input function (DC input type only). This allows immediate operation independent of program scan.
6F3B0253
Hi gh performance s oftware:
The T1-16S offers 21 basic ladder instructions and 97 function instructions. Subroutines, Interrupt functions, Indirect addressing, For/Next loops, Pre-derivative real PID, etc. are standard on the T1-16S. These functions allow the T1-16S to be applied to the most demanding control applications.
Battery-less operation:
The T1-16S has a standard built-in EEPROM, permitting operation without need of a battery. Also, the variable data can be written into and/or read from the EEPROM, providing completely maintenance-free back-up operation. This fun ct ion is an impo rt a nt feature f or OEMs, because it can eliminate the need for changing the battery every few years. (Optional battery is also available to back-up real-time clock and retentive data)
T1-16S User’s Manual
16
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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. (DC input type only)
Built-in computer link function:
The T1-16S’s RS-232C programmer port can accept the computer link protocol (data read/write). This results in easy connection to a higher level computer, an operator interface unit, etc. The parity setting of the programmer port can be selected either odd or none. The none parity mode is provided especially for telephone modem connection. Using modems, remote programming/monitoring is available.
Real-time control data li nk net wo rk:
By connecting the TOSLINE-F10 remote module (FR112M) to the T1 -16S, high­speed data link network can be established. In this network, upper T-series PLC model (T2/T2E/T2N or T3/T3H) works as master and up to 16 T1-16Ss can be connected as remote. Each T1-16S can exchange data with the master through 1 word input and 1 word output. The transmission speed can be selected either 750 kbps or 250 kbps.
Sampling trace f unction:
The sampling trace is the function to collect the user specified data every user specified timing (minimum every scan), and to display the collected data on the programmer screen in time chart and/or trend graph format. This function is useful for checking the input signals changing.
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: Writ ing program is prohibi ted Level 1: No protection (changing passwords is available only in this level)
Two points of solid-state output:
Each model of the T1-16S has two points of solid-state output (transistors for DC input type and triacs for AC input type). These solid-state outputs are suitabl e for frequent switching application.
Basic Hardware and Function
17
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
DIN rail mounting:
The T1-16S is equipped with brackets for mounting on a standard 35 mm DI N rail. The T1-16S can be mounted on a DIN rail as well as sc rew mounting.
On-line program changes:
When the T1-16S’s memory mode is set to 4 k steps mode, on-line (in RUN mode) program changes are available. Furthermore, program writing into the built-in EEPROM is also available in RUN mode. These functions are useful in program debugging stage.
Real-time clock/calendar function: (Enhanced model only)
The T1-16S has the real-time-clock/calendar function (year, month, day, day of the week, hours, minutes, seconds) that can be used for performing scheduled operations, data gathering with time stamps, etc. To back-up the real-time clock/calendar data, use of the optional battery is recommended.
RS-485 multi-purpose communication port: (Enhanced model only)
The T1-16S has an RS-485 multi-purpose communication port. Using this port, one of the following communication modes can be selected.
•••• Computer link mode: T-series computer link protocol can be used in this mode. Up to 32 T1-16Ss can be connected to a master computer. By using this mode, MMI/SCADA system can be easily configured.
•••• Dat a link mode: Two PLCs (any combination of T1S, T2E or T2N) can be directly linked together. This direct link is inexpensive, easily configured and requires no spec ial programming.
•••• Free ASCII mode: User defined ASCII messages can be transmitted and received through this port. A terminal, printer, bar-code reader, or other serial ASCII device can be directly connected.
•••• Inverter connection mode: This mode is specially provided to communicate with Toshiba Inverters (ASDs) VF-A7/G7/S9 series. By using this function, the T1-16S can control and monitor the connected Inverters.
6F3B0253
T1-16S User’s Manual
18
1.3 System configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The fo llo win g figure sho ws the T1-16S system configuration .
Peripheral tool
IBM-PC compatible
personal computer
MMI/SCADA
system
1. System Configuration
IBM-PC compatible
personal computer
6F3B0253
Inverter
T-PDS
software
Handy programmer
HP911A
Comput er link fun c t i on
MMI/SCADA
system
RS485 (Standard type only)
T1-16S basic unit
T1-16S
RS232C
I/O modules
8 modules max.
Basic Hardware and Function
19
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.4 I/O expansion
The T1-16S provides I/O expandability by connecting the I/O modules. Up to eight I/O modules can be connected.
Available I/O modules
DI116M: 16 points DC input DO116M: 16 points DC output DD116M: 8 points DC input + 8 points DC output RO108M: 8 points relay output AD121M: 1 channel analog input (0 to 5V or 0 to 20mA) AD131M: 1 channel analog input (-10 to +10V) DA121M: 1 channel analog output (0 to 20mA) DA131M: 1 channel analog output (-10 to +10V) TC111M: 1 channel thermocouple input (type K, J, E, or ±50mV) FR112M: TOSLINE-F10 remote station
6F3B0253
T1-16S maximum configuration
T1-16S main unit
Up to 8 I/O modules
NOTE
(1) The 5Vdc power to the I/O modules is supplied from the main unit. The main
unit can supply maximum 1.5A of the 5Vdc power to the I/O modules. Check the current consumption of each I/O module used. Refer to section 2.1.
(2) The connecting order of the I/O modules is not restricted except TOSLINE-
F10 remote station FR112M. When the FR112M is used, it must be the right end module.
(3) If more than 8 I/O modules are connected, the T1-16S cannot operate
normally.
T1-16S User’s Manual
20
1.5 Components
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.5.1 Basic unit
The T1-16S is available in four types as shown in the following table.
Type T1-MDR16SS (Enhanced model) T1-MDR16SC (Standard model) T1-MDR16SSD (Enhanced model) T1-MDR16SCD (Standard model)
Link/ Calendar Power supply
100-240 Vac,
Yes
No
Yes
No
50/60 Hz
24 Vdc
6F3B0253
1. System Configuration
Input
8 points - 24 Vdc 6 points - relay,
Output
2 points - transistor
Link terminals
(Enhanced model only)
Programmer
port cover
Battery holder
cover
Power s upply and
input/output terminals
Operati on status LED s
I/O status LEDs (Low side)
Mounting hole
Expantion connector
I/O status LEDs (High side)
Basic Hardware and Function
21
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Behind the programmer port cover
6F3B0253
Programmer port conne ctor
Analog setting adjusters (V0 and V1)
PRG
V1 V0
H/R
Mode c ontrol switch (HALT / RUN)
Battery holder Battery type: CR2032 (Optional)
A tab for battery eject
Power supply terminals:
Connect the power cable and grounding wire. The terminal screw size is M3.
See sections 4.4 and 4.5 for wiring.
Input terminals:
Connect input signal wires. The terminal screw size is M3. See section 2.4 for
details.
Output terminals:
Connect output signal wires. The terminal screw size is M3. See section 2.4 for
details.
T1-16S User’s Manual
22
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
I/O status LEDs:
Indicates the ON/OFF status of each I/O signal. (color: red)
SW54 setting value
0 (default) 1 2 3 4 5 6 7 8 9 10 Others
Operation status LEDs:
Indicates the operation status of the T1-16S.
I/O intending for an indication
Basic unit (L: X000-007, H: Y020-027) I/O module slot 0 I/O module slot 1 I/O module slot 2 I/O module slot 3 I/O module slot 4 I/O module slot 5 I/O module slot 6 I/O module slot 7 TOSLINE-F10 (FR112M), Low 1 word TOSLINE-F10 (FR112M), High 1 word Basic unit (L: X000-007, H: Y020-027)
6F3B0253
Note
It indicates these at the time of only RUN mode.
FLT RUN PWR
PWR (Power) (green)
RUN (green)
FLT (Fault) (red)
Mode control switch:
Controls the operation modes of the T1-16S.
H (HALT)
Lit Not lit Lit Blinking HOLD mode Not lit Lit Blinking Hardware error (programmer c annot be connected) Not lit
When the switch is turned to H (HALT) side, the T1-16S stops
Internal 5 Vdc power is norm al. Internal 5 Vdc power is not normal. RUN mode (in operation)
HALT mode or ERROR mode ERROR mode
Normal
program execution (HALT mode). In this position, RUN/HALT command from the programmer is disabled.
R (RUN)
When the switch is turned to R (RUN) side, the T1-16S starts program execution. This is the position during normal operation. In this positio n, RUN/HALT command f rom the programmer is also available.
Basic Hardware and Function
23
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Analog setting adjusters:
Two analog setting adjusters are provided. The V0 value is stored in SW30 and the
V1 value is stored in SW31. The converted value range is 0 to 1000. Refer to section
8.5 for details of the analog setting function.
Programmer port connector:
Used to connect the programmer cable. The interface is RS-232C. This port c an also
be used for the computer link function. Refer to section 1.6 for more information
about the computer link function.
Expansion connector:
Used to connect the I/O module.
RS-485 port (Enhanced model only):
Used to connect a computer (SCADA system), operator interface unit, other T1-16S,
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 T1-16S’s RS-485 multi-
purpose communication functions.
Mounting holes:
Used to fix the T1-16S on a mounting frame by screws. The mounting holes are
provided at two opposite corners .
DIN rail bracket:
The DIN rail bracket is provided at the rear for mounting the T1-16S on a 35 mm DIN
T1
rail. See section 4.2 for installing the unit.
6F3B0253
Use two M4 screws for mounting. See section 4.2 for installing the unit.
T1-16S User’s Manual
24
1.5.2 I/O modules
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The T1-16S can connect up to eight I/O modules.
The following 10 types of the I/O modules are available.
For specification details of the I/O modules, refer to the separate manual “T1-16S
User’s Manual I/O Modules −“.
DI116M DO116M DD116M
RO108M AD121M AD131M DA121M DA131M TC111M FR112M
Type
1. System Configuration
Description 16 points input, 24Vdc – 5mA 16 points output, 24Vdc – 100mA 8 points input, 24Vdc - 5mA + 8 points output, 24Vdc – 100mA 8 points relay output, 24Vdc/240Vac - 1A 1 channel analog input, 0 to 5V / 0 to 20mA 1 channel analog input, ±10V 1 channel analog output, 0 to 20mA 1 channel analog output, ±10V 1 channel thermo-couple input TOSLINE-F10 remote station, 1 word input + 1 word output
FR112M
Other I/O modules
6F3B0253
Power supply Supplied from the basic unit (5 Vdc)
Expantion connector Expantion connectors
NOTE
(1) If more than 8 I/O modules are connected, T1-16S cannot operate normally. (2) The TOSLINE-F10 remote station module (FR112M) must be connected at the
right end. Tow or more FR112Ms cannot be used together.
Basic Hardware and Function
25
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.5.3 Options
The following optional items are available.
Item Cable for programming tool Programm er port connector Option card I/O connector Back-up battery
6F3B0253
Type
CJ105 PT16S
PT15S PT15F CR2032 For memory b ack up. (A v ailable on the market.)
For T-PDS, 5 m length For RS-232C computer link , with 2 m cable
Cable side connector for DI116M, DO116M, or DD116M
Description
Soldering type Flat cable type
T1-16S User’s Manual
26
1.6 Programmer port function
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The interface of the T1-16S’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 li nk function. The computer link is a data communication function between computer or operator interface unit and the T1-16S. The data in the T1-16S can be read and written by creating simple communication program on the computer. The computer link protocol of the T1-16S is published in “T1-16S User’s Manual Communication Function −”.
Item Interface Transmission system Synchronization Transmission speed Transmission distance Framing
Protocol Transmission delay option 0 to 300 ms
By using the multi-drop adapter (CU111), multiple T1-16Ss can be connected on an RS-485 line. The T-series PLC programming software (T-PDS) can also be used in this configuration.
1. System Configuration
Specifications Conforms to RS-232C Half-duplex Start-stop system (asynchronous) 9600 bps (fixed) 15 m max.
Start bit: Data bits: Parity: Stop bit: T-series computer link (ASCII )
Programmer (binary)
1 bit 8 bits (fixed) Odd or none 1 bit (fix ed)
6F3B0253
Operator Interface
RS-232C
C U
T1-16S
T1-16S
Master Computer
RS-485 (1 km max.)
C U
T1-16S
Max. 32 T1-16Ss
C U
T1-16S
Basic Hardware and Function
27
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.7 RS-485 port communication function
The T1-16S enhanced model has an RS-485 multi-purpose communication port. This port can work independent of the programmer port. By using this communication port, one of the following four communication modes is available, computer link mode, data link mode, free ASCII mode, and Inverter connection mode. For details of these functions, refer to the separate manual “T1-16S User’s Manual Communication Function −”.
Item
Interface Transmission system Half-duplex Synchronization Transmission code Transmission speed
Transmission distance Framing
Protocol
Link configuration
Computer Conforms to RS-458 Start-stop system (asynchronous)
ASCII/binary ASCII 300, 600, 1200, 2400, 4800, 9600, or 19200 bps 1 km max.
Start bit: 1 bit Data bits: 7 or 8 bits Parity: Odd, even, or none Stop bit: 1 or 2 bits T-series
computer link (ASCII), Programmer (binary) 1-to-N
link
Free ASCII
User defined ASCII messages
N/A
Inverter
connection
Binary
Inverter VF­A7/G7/S9 binary protocol
1-to-N
6F3B0253
Data link
Binary 19200 bps (fixed)
Special
Special
1-to-1
NOTE
T1-16S standard model does not have the RS-485 interface.
T1-16S User’s Manual
28
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. System Configuration
Computer link mode
T-series computer link protocol can be used in this mode. A maximum of 32 T1-16Ss can be connected to a master computer. By using this mode, all the T1-16S’s data can be accessed by a master computer. The T-series PLC programming sof t wa re (T-PDS ) can als o be used in this configuration.
Master Computer
T1-16S
RS-485 (1 km max.)
T1-16S T1-16S
Max. 32 T1-16Ss
T1-16S
Data link mode
Two PLCs (any combination of T1-16S, T2E or T2N) can be directly linked together. This direct link is inexpensive, easily configured and requires no special programming. Data registers D0000 to D0031 are used for the data transfer.
T1-16S
Station No. 1
D0000
D0015 D0016
RS-485 (1 km max.)
T1S
T1
Station No. 2
D0000
D0015 D0016
D0031
D0031
Basic Hardware and Function
29
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Free ASCII mode
The free ASCII mode is used to connect between the T1-16S and various serial ASCII devices, such as a micro computer, bar code reader, printer, display, etc. By using this mode, the T1-16S can work as a communication master. Therefore, the T1-16S c a n communic ate with other PLCs u s in g the computer link protocol .
T1-16S
6F3B0253
RS-485 (1 km max.)
Bar-code reader
ID system
Weigh scale
Power meter
Printer
Others
T1-16S User’s Manual
30
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. System Configuration
Free ASCII mode
The T1-16S's Inverter connection mode is a special function to monitor/control the Toshiba Inverters (ASDs) VF-A7/G7/S9 through the RS-485 line. Using this mode, the T1-16S can perform the following functions for the Inverters connected on the RS-485 line without any special communication program.
Monitoring − Operating frequency and Terminal status
Control Run/Stop/Jog, Forward/Reverse, Frequency reference, etc.
Parameter read/write
Broadcast command
T1-16S
RS-485 (1 km max.)
RS485 adapter
888
VF-A7 VF-S9VF-A7
888
888 888
VF-S9
888 888
VF-S9 VF-S9
(Max. 64 Inverters)
Basic Hardware and Function
31
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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 module (FR112M), the T1-16S can work as a remote station of the TOSLINE-F10 network. On this network, the T1-16S sends 1 word data to the master station and receives 1 word data from the master station.
Item
Topology Transmission distance (without repeater) Transmission speed Scan transmission capacity Scan cycle Error checking
NOTE
Typical data link configuration
The figu re below s hows the ty pical data link c onfiguration.
(1) Refer to the separate “T1 User’s Manual Option Card and I/O
Module −“ for details of the TOSLINE-F10 remote card (FR112).
(2) Refer to the separate TOSLINE-F10 User’s Manual for details of
TOSLINE-F10 system specifica t io n s
High speed mode Bus (terminated at both ends) 500 m max. (total)
750 kbps 512 points (32 words) max.
7 ms/32 words CRC check
overall TOSLINE-F10 system.
Master
computer
Long distance mode
1 km max. (total) 250 kbps
12 ms/32 words
6F3B0253
T2E
(master)
TOSLINE-F10
T1-16S T1-16S
Operator interface units
T1-16S User’s Manual
32
T2E
(remote)
RI/O RI/O T1-16S
RI/O: remote I/O
1.9 Peripheral tools
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The following peripheral tools are available for the T1-16S.
T-Series Program D e velopment 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, T3/T3H and S2T.
User-friendly program editor includes cut & paste, address search & replace, program bloc k move/copy, etc.
Group programming part program development by multiple designers and merging them into a complete program enhance the software productivity.
Powerful monitoring, I/O force and data set functions fully support your program debugging.
Do c umentat ion of program s wit h commentary makes your maintenance work easy.
Remote monitoring/programming via modem (radio/phone) is possible.
The table below s hows t he T-PDS versions that support the T1-16S.
T-PDS for Windows TMW33E1SS Ver 1.0 or later T-PDS for MS-DOS TMM33I1SS Ver 1.61 or later
*1) The T1-16S can be used with these versions. However, in this case, there are
the following functional limitations.
The program si z e setting is only available as 2 k. It is set to 4 k mode in the
Some of the added instructions (MAVE, DFL, HTOA, ATOH) may not be
NOTE
6F3B0253
1. System Configuration
Type Part number Versions avail able for
T1-16S. edited/monitored. (depending on the version)
The connection cable for the T1-16S is different from that for upper T-Series PLCs. These cables are supplied separately. Connection cable for T1-16S ... Type: CJ105, 5 m length Connection cable for T2/T3 . Type: CJ905, 5 m length
T1-16/28/40 T1-40S/T1-16S
*1)
*1)
Ver 1.2 or later Ver 2.1 or later
Basic Hardware and Function
33
1. System Configuration
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
T-Series Handy Programmer (HP911A)
The HP911A is a hand-held programmer, that can be used to program the T1-16S using ladder diagram. Its portability makes it ideal for maintenance use at remote locations. The HP911A has the following features.
The HP911A supports ladder diagram programming of T-Series programmable controllers T1-16S, T2/T2E/T2N and T3.
Built-in EEPROM allows program copy between T-Series controllers.
Two display modes are available,
- Normal: 5 lines and 12 columns
- Zoom: Full device description
On-line data set and I/O f o rce are useful for system checking.
Backlit LCD display allows operation in dim light.
6F3B0253
There are two types of the Handy Programmer (HP911) depending on the cable included with.
Type Part number Cable included with Versions available for T1-16S HP911A HP911
THP911A∗S THP911∗∗S
2 m cable for T1-16S Ver 1.1 or later 2 m cable for the upper
T-series PLCs
Ver 1.1 or later
The T1-16S can be used with the HP911(A). However, there are the following functional limitations.
The program si z e setting is only available as 2 k. It is set to 4 k mode in the T1­16S.
Some of the added instructions (MAVE, DFL, HTOA, ATOH) cannot be edited/monitored.
NOTE
A 2 m connection cable for the T1-16S (Type: CJ102) is supplied with the HP911A. The cable for the T2/T3 is available separately. (Type: CJ902, 2 m length)
T1-16S User’s Manual
34
Program Storage Module (RM102)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
1. System Configuration
The program storage module (RM102) is an external memory for storing the T1-16S program. By using the RM102, program saving from the T1-16S to the RM102, and program loading from the RM102 to the T1-16S can be done without need of a programmer. Because the RM102 has an EEPROM, maintenance-free program storage and quick saving/loading are available.
Multi-drop adapter (CU111)
The T1-16S’s RS-232C programmer port supports the computer link function. When two or more T1-16Ss are connected with a master computer, the multi-drop adapter (CU111) can be used. (One-to-N configuration) The CU111 is an RS-232C/RS-485 converter specially designed for the T1-16S’s programmer port.
Basic Hardware and Function
35
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
T1-16S User’s Manual
36
Section 2
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Specifications
6F3B0253
2.1 General specifications, 38
2.2 Functional specifications, 40
2.3 I/O specifications, 42
2.4 Ext ernal dimensions, 46
Basic Hardware and Function 37
2. Specifications
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2.1 General specifications
Item T1-16S
Power supply voltage 100 to 240Vac (+10/-15%), 50/60 Hz Power consumption 45VA or less Inrush current 50A or less (at 240Vac, cold start) Output rating
AC Power type
(Note) Power supply voltage 24Vdc (+20/-15%)
Power consumption 18W or less Inrush current 25A or less (at 24Vdc)
DC Power type
5Vdc output rating (Note) 1.5A (for I/O module)
Retentive power interruption 10ms or less Insulation resistance 10M or more
Withstand voltage 1500Vac - 1 minute Ambient temperature 0 to 55°C (operation), -20 to 75°C (storage) Ambient humidity 5 to 95%RH, no condensation Noise immunity 1000Vp-p/1µs, Conform to EMC Directive 89/336/EEC Vibration immunity 9.8m/s2 (1g)
Shock immunity 98m/s2 (10g)
Approximate weight 500g
24Vdc (24Vdc, ±10%) 5Vdc 1.5A (for I/O module)
6F3B0253
0.2A (for external devices and/or for input signals)
(between power terminals and ground terminal)
(for 30 minute s per axis, on 3 mut ually perpendicular axes)
(3 shocks per axis, on 3 mu tually perpendicular axes)
NOTE
(1) 24Vdc service power output is not provided on the DC power supply type. (2) The maximum output current of the 5Vdc is 1.5A. However there is the following
restrictions, depending on the conditions.
When HP911 is used:
Redused by 0.2A
When RS-485 port is used:
Reduced by 0.1A
(A)
1.5
1.0
5Vdc
When 24Vdc service power is used:
Refer to the right chart.
maximum load current
24Vdc service power
0.2 (A)0.1
38 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2. Specifications
NOTE
(3) The 5Vdc current consumption of each I/O modules is described below.
Check that the total 5Vdc current consumption is within the limit.
Model Specifications 5Vdc consumer
current DI116M 16points, 24Vdc-5mA input. 50mA DO116M 16points, 24Vdc-100mA output. 50mA DD116M 8points, 24Vdc-5mA input.
8points, 24Vdc-100mA output. RO108M 8 points, 24Vdc/240Vac – 1A relay output 260mA AD121M 1ch. 12bit analog input.
(0 to 20mA, 0 to 5V) AD131M 1ch. 12bit analog input. (±10V) 260mA DA121M 1ch. 12bit analog output.
(0 to 20mA, 0 to 5V) DA131M 1ch. 12bit analog output. (±10V) 240mA TC111M 1ch. 12bit thermo couple input. 400mA FR112M TOSLINE-F10 remote station. 100mA
50mA
260mA
350mA
Basic Hardware and Function 39
2. Specifications
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2.2 Functional specifications
Item T1-16S
Control method Stored program, cyclic scan system Scan system Floating scan or constant scan (10 – 200ms, 10ms unit s) I/O update Batch I/O refresh
Program memory (Note) RAM and EEPROM (no back-up battery required) Program capac i ty 8K steps
Programming language Ladder diagram with function block Instructions Basic: 21
Execution speed
Program t ypes
User data
back-up
I/O register 512 points/ 32 words (X/XW, Y/YW) Auxiliary relay 4096 points/ 256 words (R/RW) Special r el ay 1024 points/ 64 words (S/S W) Timer 256 points (T./T)
Counter 256 points (C./C) Data register 4096 words (D) Index r egister 3 words (I, J, K) Capacitor 1 hour (at 25°C)Memory Battery (option) Max. 2 years.
6F3B0253
(direct I/O instruction available at basic unit’s I/O)
(4K or 8K mode)
Function: 97
1.4µs/contact, 2.3µs/coil,
4.2µs/16-bit transfer, 6.5µs/16-bit addition 1 main program 1 sub-program (initial program) 1 timer interrupt (interval: 5 to 1000ms, 5ms units ) 4 I/O interrupt (high-speed counter and interrupt input) 256 subroutines (up to 3 levels of nesting)
64 at 0.01s, 192 at 0.1s
Min. 6 months. (Note)
NOTE
(1) The user program stored in the EEPROM is transferred to the RAM
(2) The data of RAM and calendar IC are backed up by built-in capacitor (3) When the optional battery is used, replace the battery periodically with
time per day
40 T1-16S User’s Manual
when power is turned on. Therefore, if the program is modified, it is necessary to issue the EEPROM Write command from the programming tool. O t herwise, the modified program is over-written by original EEPROM contents at the next initial load timing.
and optional battery. refe rrin g to the table below .
Annual average air temperature
Under 30°C (86°F) Over 30°C (86°F) Over 8 hours 2 years 1 yearOperation Under 8 hours 1 year 6 months
Functional spec ifications (cont’d)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Item T1-16S
I/O capacity 16 points (basic)
+128 points (I/O modules) Input 24Vdc input (8 points)I/O type Output Relay (6 points) + transistor (2 points)
I/O terminal block Fixed Real-time clock /calendar Special I/O functions (Note)
Communications interface
Debug support function
Yes, ±60 s/month at 25°C
(Enhanced model only)
High speed counter, 2 single or 1 quadrature
Interrupt input, 2 points
Adjustable analog register, 2 points
Pulse output, CW+CCW or pulse+direction
PWM output
1 port RS-232C (programmer port)
- for Programmer or Computer link connection
1 port RS-485 (Enhanced model only)
- Programmer
- Computer link
- Data link
- Free ASCII
TOSLINE-F1 0 remote (by I/O module)
Sampling trace, 8 devices and 3 register - 256 times
On-line programming
On-line EEPROM write
6F3B0253
2. Specifications
NOTE
(1) High-speed counter, interrupt input, pulse output and PWM output are
available in the DC input types. (2) High-speed counter and interrupt input cannot be used simultaneously. (3) Pulse output and PWM output cannot be used simultaneously.
Basic Hardware and Function 41
2. Specifications
0 C
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2.3 I/O specifications
Input specifications
Input type DC input, current source/sink Number of input points 8 points (8 points/common) Rated input voltage 24Vdc, +10/-15 % Rated input current 7mA (at 24Vdc) Min. ON voltage 15V dc Max. O FF voltage 5Vdc ON delay time 0 to 15ms OFF delay time 0 to 15ms Input signal display LED display for all points, lit at ON, internal logic
External connecti on Removable termi nal block, M3 Withstand voltage 1500Vac, 1 minute
Internal c i r cuit
6F3B0253
Item Specifications
*1 *1
side
(between internal and external circuits)
LED
7
Internal cir cuit
*1: User can change the input ON/OFF delay time of the DC input.
The setting range is 0 to 15ms. (Default value = 10ms) Refer to section 8.2.
42 T1-16S User’s Manual
Input signal connections
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
T1-16S
6F3B0253
2. Specifications
DC IN
Service power
24Vdc
NOTE
L
C
NCN
+ 2422206
31
0
42
Vin
75
C C
2321
26
2725
24Vdc
24Vdc input
The 24Vdc service power output is not provided on the DC power supply type.
Basic Hardware and Function 43
2. Specifications
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Output specifications
Output ty pe Relay contact, no rmally open Transistor output, curr ent sink Number of output points 6 points
Rated load voltage 240Vac/24Vdc (max.) 24Vdc Range of load voltage Max. 264Vac/125Vdc 20.0 - 28.0Vdc Maximum l oad current 2A /poi nt (resisti ve),
ON resistance Voltage drop at ON
Leakage current at OFF None 0.1mA or less Minim um load 5Vdc, 10mA
ON delay time 10ms or less 0.1ms or less OFF del ay t ime 10ms or less 0.1m s or l ess Input signal display LED display f or all points, lit at ON, i nternal logic side External connecti on Removable terminal bl oc k, M3 Withstand voltage 1500Vac, 1 minute (between internal and external circuits) Internal c i r cuit
Relay output Transistor output
(6 pts/common)
4A/common 50m or less
(init i al v al ue)
(50mW)
LED
6F3B0253
SpecificationsItem
2 points (2 poi nts/ common)
0.5A/point (resistive)
0.5V or less
LED
Ry
Internal c ircu it
*1: The switching life of the relay output is as follows.
20 million times or more (mechanical) 100 thousand times or more (electrical, at maximum rated voltage and current)
22
27
C
Internal circuit
Vin 20 21
C
44 T1-16S User’s Manual
Output signal connections
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
T1-16S
6F3B0253
2. Specifications
L
N
Service power
24Vdc
C
NC
+ 24 22 20 6
Transister output
DC OUT
3 1
0
4 2
24Vdc
Vin
7 5
C
+
RELAY OUT
23 21
26
27 25
C
PS
240Vac/24Vdc (max.)
PS
Relay output
Basic Hardware and Function 45
2. Specifications
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2.4 External dimensions
T1-16S
6F3B0253
I/O module
[mm]
[mm]
46 T1-16S User’s Manual
Section 3
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
I/O Application Precautions
6F3B0253
3.1 Application precautions for input signals, 48
3.2 Application precautions for output signals, 50
Basic Hardware and Function 47
3. I/O Application Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3.1 Application precautions for input signals
6F3B0253
!
WARNING
Configure emergency stop and safety interlocking circuits outside the T1-16S. Otherwise, malfunction of the T1-16S can cause injury or serious accidents.
(1) 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 t ime 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.
(2) Increasing the contact current
The reliab ilit y of some contacts cannot be guaranteed by the specified input current. In this case, install an external bleeder resistor to increase the contact current.
Bleeder resistor
I
I
V
R
1
I2
T1 input circuit
V
R
=
II
Wattage
1
2
V
3
R
(3) Connecting transistor output device
An example of connecting a transistor output device to T1-16S’s input circuit is shown below.
For NPN open collector
48 T1-16S User’s Manual
For PNP open collector
C
T1 input circuit
C
T1 input circuit
3. I/O Application Precautions
circuit
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
(4) Countermeasures against leakage current
When a switch with an LED or 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.
6F3B0253
LE
Bleeder resistor
T1 input
C
Select a bleeder resistor according to the following criteria: (a) The voltage between the input terminals must be lower than the OFF voltage
when the sensor is switched off. (b) The current must be within the allowable range when the sensor is switched on. (c) Calculate the wattage of the bleeder resistor by multiplying the current when the
sensor is switched on times three.
Basic Hardware and Function 49
3. I/O Application Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3.2 Application precautions for output signals
6F3B0253
!
WARNING
Configure emergency stop and safety interlocking circuits outside the T1-16S. Otherwise, malfunction of the T1-16S can cause injury or serious accidents
!
CAUTION
1. Turn on power to the T1-16S before turning on power to the loads. Failure to do so may cause unexpected behavior of the loads.
2. Con figure the exter nal circuit s o that the external 24Vdc power required for the transistor output circuits and power to the loads are switched on/off simultaneously. Also, turn off power to the loads before turning off power to the T1-16S.
3. Install fuses appropriate to the load current in the external circuits for the outputs. Failure to do so can cause fire in case of load over-current.
(1) 2 points of solid-state output
The leading 2 points of output (Y020 and Y021) are solid-state outputs, transistors on the DC input types. These solid-state outputs are suited for frequent switching applications. Note that the specifications of the solid-state outputs and other outputs (relays) are different.
(2) Switching life of output relays
Expected relay life is more than 100,000 electrical cycles at rated maximum voltage and current, and more than 20 million mechanical cycles. The expected contact life (electrical cycles) is shown on the table below.
Load
voltage AC 110Vac, 2A 340 DC 24Vdc, 2A 280 load
COSφ = 1 110Vac, 2A 150 24Vdc, 2A 60
COSφ = 0.7 220Vac, 2A 220 48Vdc, 1A 200
COSφ = 1 220Vac, 2A 100 L/R = 15 ms 0.2A 420
COSφ = 0.7
Load
current
Expected life
(thousand)
Load
voltage
Load
current
Expected life
(thousand)
1A 720 load L/R = 0 ms 1A 600
0.5A 1,600 0.5A 1,300 1A 320 L/R = 15 ms 1A 150
0.5A 700 0.5A 350 1A 500 L/R = 0 ms 0.5A 420
0.5A 1,100 48Vdc, 0.5A 130 1A 210 110Vdc, 0.5A 200
0.5A 460 L/R = 0 ms 0.2A 550
110Vdc, 0.2A 150 L/R = 15 ms 0.1A 350
50 T1-16S User’s Manual
3. I/O Application Precautions
circuit
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
(3) Over-current protection
The output circuit of the T1-16S does not contain protective fuses. Fuses rated for the output should be provided by the user.
6F3B0253
T1
Load
output
Load
PS
Fuse appropriate to the common current
(4) Output surge protection
Wh ere an inductiv e load is connected to the output, a relatively high energy transient voltage will be generated when the relay turns OFF. To prevent the problems caused by this surge, install a surge absorber in parallel to the inductive load.
Load
T1 output
PS
Surge a bsorber
Surge a bsorber:
Flywheel diode (for DC output)
Inverse withstand voltage: At least three times that of the power supply Forward current: Larger than the load current
Varistor (for AC output)
The voltage rating is 1.2 times the maximum (peak) voltage of the power supply
CR snubber (for DC or AC output)
R: 0.5 to 1 per volt coil voltage C: 0.5 to 1µF per ampere of coil current (non-polarity capacitor)
Basic Hardware and Function 51
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
52 T1-16S User’s Manual
Section 4
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Installation and Wiring
6F3B0253
4.1 Envir onmental conditions, 54
4.2 Installing the unit, 55
4.3 Wiring terminals, 57
4.4 Grounding, 58
4.5 Power supply wir ing, 59
4.6 I/O wiring, 61
Basic Hardware and Function 53
4. Installation and Wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4.1 Environmental conditions
6F3B0253
!
CAUTION
Excess temperature, humidity, vibration, shocks, or dusty and corrosive gas environment can cause electrical shock, fire or malfunction. Install and use the T1-16S and related equipment in the environment described in this section.
Do not install the T1-16S in the following locations:
Where the ambient temperature drops below 0°C or ex ceeds 55°C.
Where the re la t ive humidity drops below 20% or exceeds 90%.
Where there is condensation due to sudden temperature changes.
In locations subject to vibration that exceeds tolerance.
In locations subject to shock that exceeds tolerance.
Where there are corrosive or flammable gases.
In locations subject to dust, machining debris or other par ticles.
In locations exposed to direct sunlight.
Observe the following precautions when installing enclosures in which the T1-16S will be installed:
Provide the maximum possible distance from high-voltage or high-power panels. This distance must be at least 200mm.
If installing the enclosures in the vicinity of high-frequency equipment, be sure to correctly ground the enclosures.
When sharing the channel base with other panels, check for leakage current from the other panels or equipment.
54 T1-16S User’s Manual
4.2 Installing the unit
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
4. Installation and Wiring
NOTE
!
CAUTION
1. Improper installation directions or insufficient installation can cause fire or the units to drop. Install the T1-16S and related equipment in accordance with the instructions described in this section.
2. Turn off power before installing or removing any units, modules, racks or terminal blocks. Failure to do so can cause electrical shock or damage to the T1-16S and related equipment.
3. Entering wire scraps or oth e r foreign debris int o t o the T1-1 6S and related equipment can cause fire or malfunction. Pay attention to prevent entering them into the T1 and related equipment during installatio n and wiring.
The T1-16S basic unit and the I/O module come equipped with a bracket at the rear for mounting on a 35mm D I N rail.
Installation precautions:
Because the T1-16S is not dust-proof, install it in a dust-proof enclosure.
Do not install the unit directly above equipment that generates a large amount of
heat, such as a heater, transformer, or large-capacity resistor.
Do not install the unit within 200mm of high-voltage or high-power cables.
Allow at leas t 70mm on all sides of the unit for ventilation.
For safely during maintenance and operation, install the unit as far as possible from
high-voltage or power equipment. Alternatively, keep the unit separate using a metal plate or similar separator.
If high-frequency equipment is installed in the enclosure together with the T1-16S, special attention is required for grounding. See section 4.4.
B e su re to install th e uni t ver tic ally wit h keeping the power terminals downside. Do not install the unit horizontally or upside-down for safety reason.
Use M4 size screws to mount the T1-16S. (Recommended torque: 1.47N⋅m = 15Kgf⋅cm)
Upward
Mount the T1-16S on a vertical panel. All other mounting posi tions are not acceptable.
Basic Hardware and Function 55
4. Installation and Wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Dimensions for screw mounti ng:
6F3B0253
56 T1-16S User’s Manual
4.3 Wiring terminals
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
4. Installation and Wiring
!
CAUTION
1. Turn off power before wiring to minimize the risk of ele c trical shock .
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. Also close the terminal covers securely on the terminal blocks when wiring has been completed.
3. Turn off power before removing or replacing units, modules, terminal blocks or wires. Failure to do so can cause electrical shock or damage to the T1-16S and related equipment.
The terminal screw size of the T1-16S is M3. Use crimp-style terminals of 7mm width or less useable for M3. The terminal block is not removable (fixed).
NOTE
For input and output signal connections, refer to sections 2.4 and 3.
T1-MDR16SS .... AC power supply model T1-MDR16SSD..DC power supply model
RS-485 (Enhanced model only)
RS-485 (Enhanced model onl y)
TXA RXA RXB
TXB TRM SG
MDR16SS
N
NOTE
DC OUT
C
0 L 4 2
3 1
+ 24 22 20 6
NC
(1) NC stands for ”no connect”. Do not use the NC terminals for wire
Vin
7 5
C
RELAY OUT DC IN
23 21
27 25
26
C
TXA RXA RXB
TXB TRM SG
MDR16SSD
C
NC
-
NC
NC
0 + 4 2
3 1
relaying or branching.
(2) For the connections of the RS-485 communication port (the upper
terminal block), refer to the separate manual “T1-16S User’s Manual ­Communication Function -.
2
The applicable wire size is 0.3mm
(22 AWG) to 1.25mm2 (16 AWG). The t able below
shows the recommended wire size.
Type of signal Reco mmended wire size Power 1.25mm2 (16 AWG) Grounding 1.25mm2 (16 AWG) I/O signals 0.3mm2 (22 AWG) to 0.75mm2 (18 AWG)
DC OUT
Vin
7 5
C
RELAY OUT DC IN
23 21
27 25
24 22 20 6
26
C
Basic Hardware and Function 57
4. Installation and Wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4.4 Grounding
6F3B0253
!
CAUTION
The optimum method for grounding electronic equipment is to ground it separately from other high-power systems, and to ground more than one units of electronic equipment with a single-point ground. Although the T1-16S has noise immunity to be used in industrial operating conditions, grounding is important for safety and reliability.
Check the grounding against the following criteria.
1. The T1-16S must not become a path for a ground current. A high-frequency current
2. Equalize the ground potentials when the expansion rack or unit is connected.
3. Do not connect the ground of the T1-16S to that of high-power systems.
4. Do not use a ground that has unstable impedance, such as painted screws, or
1. Turn off power before wiring to minimize the risk of ele c trical shock .
2. Operation without grounding may cause electrical shock or malfunction. Connect the ground terminal on the T1-16S to the system ground.
is particularly harmful. Ground the T1-16S and the expansion rack or unit at a single point.
ground subject to vibration.
The grounding marked terminal (see below) is provided on the T1-16S basic unit for grounding purpose.
In case of the expansion rack is connected to the T1-16S, the rack mounting screw is used for this purpose.
T1-16S
System ground
2
1.25mm rack/unit with the enclosure grounding bus bar.
100 or less to ground is required.
(16 AWG) wire should be used to connect the T1-16S and the expansion
Mounting panel
58 T1-16S User’s Manual
4.5 Power supply wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
4. Installation and Wiring
!
CAUTION
Wire the power source to the T1-16S power supply terminals.
1. Turn off power before wiring to minimize the risk of electrical shock.
2. Applying excess power voltage to the T1-16S can cause explosion or fire. Apply power of the specified ratings described below.
Power source
Line filter
T1-16S
Insulation transformer
Power conditions: AC power suppl y type DC power s upply type
Rated voltage 100 to 240Vac, +10/-15% 24Vdc, +20/-15% Frequency Power consumption 45VA or less 18W or less Retentive power interruption
2
1.25mm
The power cable should be separated from other cables.
(16 AWG) twisted-pair cable should be used for the power cable.
50/60Hz, ±5%
Continuous operation for less than 10ms
-
Basic Hardware and Function 59
4. Installation and Wiring
-
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Connections of the power supply terminals are shown below.
AC power supply type
6F3B0253
100 to 240Vac
DC power supply type
100-240Vac
N
24 Vdc
- +
L
Grounding
+
24Vdc
Grounding
60 T1-16S User’s Manual
4.6 I/O wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
4. Installation and Wiring
!
CAUTION
Refer to sections 2.4 and 3 for instructions on how to properly wire the I/O
0.75mm
Separate the I/O signal cables from high-power cables by at least 200mm.
If expansion rack or unit is used, separate the expansion cable from the power and
It is recommended to separate the input signal cables from output signal cables.
1. Turn off power before wiring to minimize the risk of electrical shock.
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. Also close the terminal covers securely on the terminal blocks when wiring has been completed.
3. Turn off power before removing or replacing units, modules, terminal blocks or wires. Failure to do so can cause electrical shock or damage to the T1-16S and related equipment.
terminals.
2
(18 AWG) to 0.3mm2 (22 AWG) wires are recommended for I/O signals.
I/O signal cables by or unit at least 50mm.
T1-16S
Input
signal
Output
signal
200mm or more
High-power
cable
Basic Hardware and Function 61
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
62 T1-16S User’s Manual
Section 5
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Operating System Overview
6F3B0253
5.1 Operation modes, 64
5.2 About the built-in EEPROM, 66
5.3 Scanning, 69
Basic Hardware and Function 63
5. Operating System Overview
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5.1 Operation modes
The T1-16S has three basic operation modes, the RUN mode, the HALT mode and the ERROR mode. The T1-16S 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-16S reads external signals, executes the user program stored in the RAM, and outputs signals to the external devices according to the user program. It is in the RUN mode that the T1-16S performs scans the user program logic, which is the basic operation of a PLC. Program changes and EEPROM write are possible while the T1-16S is in the RUN mode. Refer to section 6.9.
HALT: The HALT mode is a programming mode.
In this mode, user program execution is stopped and all outputs are switched off. Program loading into the T1-16S is possible only in the HALT mode. For the standard T1, program changes and EEPROM write are possible only when the T1 is in the HALT mode.
6F3B0253
ERROR: The ERROR mode is a shutdown mode as a result of self-diagnosis.
The T1-16S enters the ERROR mode if internal trouble is detected by self­diagnosis. In this mode, program execution is stopped and all outputs are switched off. The cause of the shutdown can be confirmed by connecting the programming tool. To exit from the ERROR mode, execute the Error Reset command from t he programming tool, or cycle power off and then on again.
HOLD: The HOLD mode is provided mainly for checking the external I/O signals.
In this mode, user program execution is stopped, with input and output updating is executed. It is therefore possible to suspend program execution while holding the output state. Moreover, a desired output state can be established by setting any data by using the programming tool.
RUN-F: The RUN-F mode is a forced RUN mode provided for program checking.
This mode is effective when using the expansion I/Os. Deferent from the normal RUN mode, the RUN-F mode allows operation even if the registered I/O modules are not actually mounted.
64 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. Operating System Overview
The operation modes are switched by the mode control switch provided on the T1-16S and the mode control commands issued from the programming tool.
The mode transition conditions are shown below.
(Power ON)
n
o
t
HOLD
RUN
p
p
qs
HALT
r
t
n o p
q
r s t u
s
RUN-F
ERROR
Mode control switch is in R (RUN) side. Mode control switch is in H (HALT) side. Mode control switch is turned to H (HALT) side, or HALT command is issued from
the programming tool. Mode control switch is turned to R (RUN) side, or RUN command is issued from
the programming tool. Force RUN (RUN-F) command is issued from the programming tool. HOLD command is issued from the programming tool. HOLD Cancel command is issued from the programming tool. Error Reset command is issued from the programming tool.
(dotte d line) Error is detected by self-diagnosis.
p
u
NOTE
The commands from the programming tool are available when the mode control switch is in R (RUN) side.
Basic Hardware and Function 65
5. Operating System Overview
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5.2 About the built-in EEPROM
The T1-16S is equipped with a built-in EEPROM and a RAM as standard features. The user program is s tored in the EEPROM so that the user program can be maintained without the need of a battery. A part of the Data register can also be stored in the EEPROM. The table below shows the contents stored in the built-in EEPROM.
User program Entire program (8 k steps) and System information User data User specified number of Data register starting with address 0.
It is set by SW55. D0000 - Dnnnn
(up to 2048 words) Setting information
SW36 - SW 38:
Programmer port settings
SW55:
Number of Data register to be saved in the EEPROM
SW56 - SW 57:
RS-485 port settings
Sampling trace setting information
6F3B0253
T1-16S
The user program and the data stored in the EEPROM are transferred to the RAM when power is turned on. Subsequent program execution is done based on the RAM contents. Program editing is also performed on the RAM contents.
Therefore, if the program is modified, it is necessary to issue the EEPROM Write command from the programming tool. Otherwise, the modified program is over­written by original EEPROM contents when the power is turned off and on again.
66 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. Operating System Overview
EEPROM
User program
(8 k steps)
and System info
c
RAM
User program
(8 k steps)
and System info
d
Data register
(0 to 2048 words,
user setting)
Executed when power is turned on (it is called initial load) or EEPR OM Read
c
command is issued from the programming tool. The EEPROM Read is possible only in the HALT mode.
Data register
(D0000 to Dnnnn,
user setting)
Other dataOther data
The rest of Data
registe r and
other registers
Executed when EEPROM W rite command is issued from the programming tool.
d
It is possible in either HALT or RUN mode. (See Note)
Basic Hardware and Function 67
5. Operating System Overview
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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.
6F3B0253
SW55 setting
value
Range of Data registers saved
in EEPROM
Remarks
0 None 1 D0000 only 2 D0000 to D0001 3 D0000 to D0002
:: 2047 D0000 to D2046 2048 D0000 to D2047 Default value
Others D0000 to D2047 Regarded as 2048
When the EEPROM Write command is executed, the T1-16S checks the value of SW55 and saves the Data registers into the EEPROM depending on the SW55 value. The value of SW55 itself is also saved in the EEPROM. At the initial load or the EEPROM Read command is executed, the T1-16S checks the value for SW55 in the EEPROM and transfers the corresponding number of data to the Data registers of the RAM.
NOTE
(1) The EEPROM has the life limit for writing. It is 100,000 times. Pay
attention not to exceed the limit. If the number of execution of EEPROM Write command exceeds 100,000 times, EEPROM alarm flag (S007) comes ON.
(2) Even in RUN mode, the EEPROM Write command can be executed.
However, in this cas e , only the user program is written into t he EEPROM. (D register data and setting information are not saved.)
(3) The data in the EEPROM can also be read or written by using the
program instruction (FUN236 XFER instruction).
(4) When the EEPROM writing is executed by the XFER instruction in the
user program, T1-16S does not update the internal EEPROM write counts. Therefore the EEPROM alarm flag (S007) will not correspond to this operation. Pay attention to the life limit of the EEPROM.
68 T1-16S User’s Manual
5.3 Scanning
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The flo wch art below shows th e basic int ernal operations performed by the T1-16S 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.
Power ON
Hardware check
Initial load
Register/device
initialization
6F3B0253
5. Operating System Overview
Power-up Initialization (approx. 1 s)
Scan
Self-diagnosis
Mode
control
RUN mode
Register/device
initialization
Program chec k
I/O update
Timer update
User program
execution
HALT mode
At the first scan
At the first scan
Scan cycle
Peripheral
support
Basic Hardware and Function 69
5. Operating System Overview
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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.
Register/device Initialization External input (X/XW) Forced inputs are retained. Others are cleared to 0. External output (Y/YW) Forced coil devices are retained. Others are cleared to 0. Auxiliary device/register (R/RW) Special device/register (S/SW) Timer dev ice/register (T./T) Counter device/register (C./C) Data register (D) User specified retentive registers are retained. Others are
Index register (I, J, K) Cleared to 0.
6F3B0253
User specified retentive registers and forced coil devices are retained. Others are cleared to 0. Special setting data are retained. Others are cleare d to 0.
User specified retentive registers are retained. Others are cleared to 0. User specified retentive registers are retained. Others are cleared to 0.
cleared to 0.
NOTE
(1) When the data stored in the EEPROM (Data registers) are used, these
registers should be specified as retentive. Otherwise, these data are transferred from EEPROM to RAM, but then cleared to 0 at the initialization.
(2) The data in the retentive registers are stored in RAM and backed up by
built-in capacitor and by the optional battery if used. The back-up period is 1 hour s or more at 25 ° C . If optional battery (CR2032) is used, the back-up period is 1 year or more at 25 °C. The T1-16S checks the validity of the retentive data at the power-up initialization, and if they are not valid, sets the special device (S00F) to ON. Therefore, check the status of S00F in the user program and initialize the retentive registers if S00F is ON.
(3) The retentive registers can be set by the programming tool for RW, T,
C and D registers. The registers from address 0 to the designated address for each type are set as retentive registers. Refer to the separate manual for the programming tool for setting the retentive registers.
(4) The input force and the forced coil are functions for program
debugging. For details, refer to section 6.7.
70 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. Operating System Overview
Self-diagnosis:
Checks the proper operation of the T1-16S itself. If an error has detected and cannot be recovered by re-trie s , the T1-16S 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. The scan mode − floating scan or fixed-time scan − is also controlled hear.
NOTE
The floating scan:
When one scan is finished, immediately starts the next scan. The scan time is shortest, but may vary depending on the program execution status.
Scan timeScan time Scan time
The fixed-time scan:
The scan operation is started every user-specified time. The time setting range is 10 to 200 ms (10 ms units). If an actual scan needs longer time than the setting time, it works as the floating scan.
Scan time (50 ms fixed) Scan time (50 ms fixed)
(idling) (idling)
Program check:
At the beginning of the RUN mode, the user program is compiled and its validity is checked.
I/O update:
Reads the external input signals into the external input devices/registers (X/XW), and sends the data of the external output devices/registers (Y/YW) to the external output circuits. Then the outputs (relays, etc.) changes the states and latches until the next I/O update timing. The states of the forced input devices are not updated by this operation.
Timer update:
Updates the timer registers which are activated in the user program, and the timing devices (S040 to S047).
Basic Hardware and Function 71
5. Operating System Overview
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
User program execution:
Executes the programmed instructions from the beginning to the END instruction. This is the essential function of the T1-16S. In this section, only the main program execution is mentioned. For other program types, s uch as timer interrupt, etc., refer to section 6.5.
Peripheral support:
Supports the communications with the programming tool or external devices connected by the computer link function. The time for this operation is limited within approx. 2 ms in the floating scan mode, and within allowable idling time in the fixed­time scan mode. If the special relay S158 is set to ON, the peripheral support priority mode is selected. In the peripheral support priority mode, the peripheral support time is not limited. As the result, the communication response is improved although the scan time becomes long at the time.
6F3B0253
72 T1-16S User’s Manual
Section 6
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Programming Information
6F3B0253
6.1 Devices and registers, 74
6.2 Index modification, 86
6.3 Real-time clock/calendar, 88
6.4 I/O allocation, 89
6.5 T1-16S memory mode setting, 91
6.6 User program configur ation, 92
6.7 Programming language, 98
6.8 Program execution sequence, 99
6.9 On-line debug support functions, 100
6.10 Password protection, 103
Basic Hardware and Function 73
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6.1 Devices and registers
The T1-16S 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.
Devices are divided into six types: X External input devices
Y External output devices R Auxiliary relay devices S Special devices T. Timer devices C. Counter devices
6F3B0253
Registers are divided into eight types: XW External input registers
YW External output registers RW Auxiliary relay registers SW Special regi sters T Timer registers C Counter registers D Data registers I, J, K Index registers
Device and register numbers
X devices share the same memory area as XW registers. Devic e X004, fo r ex ample, represents the number 4 bit in the XW00 register.
Bit position / Number
(MSB) (LSB)
FEDCBA9876543210
XW00 1
X004
Thus, "X004 is ON" means that bit number 4 of XW00 is 1. Y, R, and S devices work in a similar manner.
74 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Programming Information
Addressing devices
A device number of X, Y, R and S devices consist of a register number and bit position as follows.
X 00 4
Represents bit position 0 to F in the register. Decimal number representing the register containing the corresponding
device. Represents the type of devic e. (X, Y, R, or S)
As for the timer (T.) and the counter (C.) devices, a device number is expressed as follows.
T. 12
Corresponding register number. (decimal number) Represents the type o f devic e. (T. o r C.)
Dot (.) is used to identify as device.
Addressing registers
A register number except the index registers is expressed as follows.
XW 01
Register number. (decimal num ber) Represe nts the t y pe of register. (XW, YW , RW, S W, T, C or D)
The index registers (I, J and K) do not have the number.
J
I, J, or K
Basic Hardware and Function 75
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Available address range
External input device X X000 - X31F External output device Y External input reg i ster XW XW00 - XW31 External output regis t er YW Auxiliary relay device R 4096 points R000 - R255F Auxiliary relay register RW 256 words RW000 - RW255 Special device S 1024 points S000 - S63F Special register SW 64 words SW00 - SW63 Timer device T. 256 points T.000 - T.255 Timer register T 256 words T000 - T255 Counter device C. 256 points C.000 - C.255 Counter register C 256 words C000 - C255 Data register D 4096 words D0000 - D4095 Index register
6F3B0253
T1-16SDevice/register Symbol
Number of points Address range
Total 512 points
Y020 - Y31F
Total 32 words
YW02 - YW31
I 1 word I (no address)
J 1 word J (no address)
K 1 word K (no address)
NOTE
(1) 1 word = 16 bits (2) The available data range in each register is -32768 to 32767 (H8000 to
H7FFF) except for the timer and the counter registers. The data range of the timer register is 0 to 32767. That of the counter register is 0 to 65535.
(3) Double-word (32 bits) data is available in two consecutive registers.
In this case, lower address register stores the lower 16 bits data. (MSB) F -------------0 F ------------ 0 (LSB)
D0100D0101
Upper 16bits Lower 16bits
In this manual, a double-word register is expressed by using ‘⋅’. For exampl e, D0101⋅D0100.
76 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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. They can be used for coils in a program.
External input registers (XW)
These (XW) are 16-bit registers for storing values, which are received from the input circuits.
External output registers (YW)
These 16-bit registers (YW) are used for storing values, which are sent to the output circuits.
Auxiliary r elay dev ices and registers (R/RW)
The auxiliary relay devices (R) are used to store intermediate results of sequences. The auxiliary relay registers (RW) are used to store temporary results of function instructions. The data in R/RW cannot be output directly to the output circuits. It is necessary to move the data to Y/YW. It is possible to make these registers retentive so that they retain data in the event of a power failure. See section 5.3.
Timer devices and registers (T./T)
The timer registers (T) are used for storing the elapsed time of timer instructions, the on-delay (TON), off-delay (TOF) and single-shot (SS) timers.
0.01 s base timers and 0.1 s base timers are provided. Time base T1-16S
0.01 s T000 to T063
0.1 s T064 to T255
The timer devices (T.) work as the output of the timer instructions. It is possible to specify the T registers as retentive to retain their data in the event of a power failure. See section 5.3.
Basic Hardware and Function 77
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Counter dev ices a nd 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.) work 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. See section 5.3.
Data registers (D)
Functionally the data registers (D) are the same as auxiliary relay reg i sters (RW) except that the D registers cannot be used as devices. A part of the data registers are saved in the built-in EEPROM as fixed data and transferred into the RAM at the initial load. The range of the data registers saved in the EEPROM can be specified by SW55. See section 5.2.
It is possible to specify the D registers as retentive to retain their data in the event of a power failure. See section 5.3.
6F3B0253
Index registers (I, J, and K)
These index registers are used for indirect addressing for a register. For example, if the value of I is 100 in the following register expression, it designates D0100. For details, refer to section 6.2.
I
D0000 D0100 if I=100
78 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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/
register S000 0: Init ializ ation 4: HOLD mode S001 T1/T1S operation mode 1: HALT mode 6: ERROR mode S002 2: RUN mode S003 3: RUN-F m ode S004 CPU error (down) ON at error state (related to SW01) S005 I/O error (down) ON at error state (related to SW02) S006 Program error (down) ON at error state (related to SW03) S007 EEPROM alarm (alarm) ON when EEPROM write exceeds 100,000 times S008 Fixed-time scan time-over
(alarm) S009 S00A Clock/calendar error
(alarm) S00B S00C S00D TL-F10 error (alarm) ON when TOSLINE-F10 transmission error occurs S00E S00F Retentive data invalid
(alarm)
NOTE
(1) These devices are set by the T1-16S operating system. These devices
Name Function
ON when actual scan time is longer than the setting time as fixed-time scan
Reserved ON when clock/calendar data is illegal
Reserved Reserved
Reserved ON when retentive data in RAM are invalid
are read only for user.
(2) Devices marked as (down) are set in the ERROR mode. Therefore
these devices cannot be used in the user program.
(3) Devices marked as (alarm) are set in the normal operation mode.
These devices can be u se d in the u s er program.
Basic Hardware and Function 79
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
Device/
register S010 System ROM error (down) ON at error state S011 System RAM error (down) ON at error state S012 Program memory error
(down) S013 EEPROM error (down) ON at error state S014 S015 S016 S017 S018 S019 S01A S01B S01C S01D S01E S01F Watchdog timer error
(down) S020 S021 I/O mismatch (down) ON at error state S022 S023 S024 S025 S026 S027 S028 S029 S02A S02B S02C S02D S02E S02F
Name Function
ON at error state
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved ON at error state
Reserved
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
NOTE
(1) These devices are set by the T1-16S operating system. These devices
are read only for user.
(2) Devices marked as (down) are set in the ERROR mode. Therefore
these devices cannot be used in the user program.
80 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Programming Information
Device/
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 S033 S034 S035 S036 S037 S038 S039 S03A S03B S03C S03D S03E S03F S040 Timing relay 0.1 s OFF 0.05 s / ON 0.05 s (0.1 s interval) S041 Timing relay 0.2 s OFF 0.1 s / ON 0.1 s (0.2 s interval) S042 Timing relay 0.4 s OFF 0.2 s / ON 0.2 s (0.4 s interval) All OFF at the S043 Timing relay 0.8 s OFF 0.4 s / ON 0.4 s (0.8 s interval) beginning of S044 Timing relay 1.0 s OFF 0.5 s / ON 0.5 s (1.0 s interval) RUN mode S045 Timing relay 2.0 s OFF 1.0 s / ON 1.0 s (2.0 s interval) S046 Timing relay 4.0 s OFF 2.0 s / ON 2.0 s (4.0 s interval) S047 Timing relay 8.0 s OFF 4.0 s / ON 4.0 s (8.0 s interval) S048 S049 S04A S04B S04C S04D S04E Always OFF Always OFF S04F Always ON Always ON
Name Function
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Reserved Reserved Reserved Reserved Reserved Reserved
NOTE
(1) These devices are set by the T1-16S operating system. These devices
are read only for user.
(2) Devices marked as (down) are set in the ERROR mode. Therefore
these devices cannot be used in the user program.
Basic Hardware and Function 81
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
Device/
register S050 CF (carry flag) Used for instructions which manipulate carry S051 ERF (instruction error flag) ON when instruction execution error is occurred
S052 S053 S054 S055 S056 S057 S058 S059 S05A S05B S05C S05D S05E S05F S060 Illegal instruc t ion (down) ON when illegal instruc tion is detected S061 S062 S063 S064 Boundary error (alarm) ON when illegal address is designated by indirect
S065 S066 S067 S068 Division error (alarm) ON when error occurs in division instruction (operation
S069 BCD data error (alarm) ON when BCD data error has detected in BCD S06A Table operation error
(alarm)
S06B Encode error (alarm) ON when error occurs in encode instruction (operation S06C
S06D S06E S06F
Name Function
(related to alarm flags of SW06)
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Reserved Reserved Reserved
addressing (operation continued) Reserved Reserved Reserved
continued) operation instructions (operation continued)
ON when table size error has detected in table operation instructions (operation continued) (T1S only)
continued) Reserved Reserved Reserved Reserved
NOTE
(1) Devices marked as (down) are set in the ERROR mode. Therefore
these devices cannot be used in the user program.
(2) CF, ERF a nd devices marked as (alarm) can be r eset by the user
program.
82 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Programming Information
Device/
register SW07 Clock/calendar (Year) Lower 2 digits of the calendar year
SW08 Clock/calendar (Month) Month (01, 02, ... 12) They are stored in SW09 Clock/calendar (Day) Day (01, 02, ... 31) the lower 8 bit s by SW10 Clock/calendar (Hour) Hour (00, 01, ... 59) BCD code SW11 Clock/calendar (Minute) Minute (00, 01, ... 59) SW12 Clock/calendar (Second) Second (00, 01, ... 59) SW13 Clock/calendar (Week) Day of the week
SW14 SW 15 Peripheral support prior ity Bit 8 (S158) is used to select peri pher al support pri or ity SW16 Mode of special input
functions SW17 Input filter constant Used to set the input filter constant SW18 Preset values for high Used to set the preset values for high speed counters SW19 speed counter SW20 SW21 SW 22 Count values for high Present count val ues of the high speed counters are SW23 speed counter stored SW24 High speed counter control
flags SW25 SW26 Mode of special output
functions SW27 Special output control flags Control flags for the pulse/PWM output SW 28 Special out put frequency
setting SW29 PWM output duty setting Pulse duty setting for the PWM output SW30 Analog setting value 1 Input value of the analog setting adjuster V0 SW31 Analog setting value 2 Input value of the analog setting adjuster V1 SW32 SW33 SW34 TL-F10 send data TOSLINE-F10 transmission data (send to master) SW35 TL-F10 receive data TOSLINE-F10 transmission data (receive from master) SW36 PRG port station address Used to set the programmer port station address
SW37 PRG port parity Used to set the programmer port parity (0=none, SW38 PRG port response delay Used to set the programmer port response delay time
Name Function
(01, 02, ... )
(Sun = 00, Mon = 01, ... Sat = 06)
Reserved
Used to selec t the specia l input functions
Control flags for the high speed counters Reserved
Used to select the special output functions
Output frequency setting for the pulse/PWM output
Reserved Reserved
(1 to 32) 1=odd) (0 to 30: 0 to 300ms)
NOTE
(1) These devices are set by the T1-16S operating system. These devices
are read only for user.
(2) Devices marked as (down) are set in the ERROR mode. Therefore
these devices cannot be used in the user program.
Basic Hardware and Function 83
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6F3B0253
Device/ register
S390 Timer interrupt execution
status S391 I/O interrupt #1 execution
status S392 I/O interrupt #2 execution
status S393 I/O interrupt #3 execution
status S394 I/O interrupt #4 execution
status S395 S396 S397 S398 S399 S39A S39B S39C S39D S39E S39F S400 S401 HOLD device ON during HOLD mode (setting by user program is also
S402 S403 S404 S405 S406 S407 S408 S409 S40A S40B S40C S40D S40E S40F
Name Function
ON during execution ON during execution ON during execution ON during execution ON during execution
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
available) Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
84 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Programming Information
Device/ register
SW 41 S ub-progr am #1 execution
status SW42 SW43 SW44 SW45 SW46 SW47 SW48 SW49 SW50 SW51 SW52 SW53 SW54 Basic unit I/O LED display
mode SW55 Number of EEPROM write
data SW56 RS-485 port operation
mode SW57 RS-485 port response
delay SW58 RS-485 port Free ASCII
flags SW59 SW60 SW61 SW62 SW63
Name Function
Bit 0 (S410) is ON during the sub-program #1 is executed Reserved
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Used to display the selected I/O module status
(0 = Basic unit, 1 to 8 = I/O module slot 0 t o 7, 9 and 10 = TOSLINE-F10) Used to set the number of data registers to be saved in the EEPROM (0 to 2048, initial value is 2048) Used to set the RS-485 port operation mode (0 = Computer link, 1 = Data link, 2 = Free ASCII, 3 = Inverter connection) Used to set the RS-485 port response delay time (0 to 30: 0 to 300ms) Used for the RS-485 port Free ASCII function
Reserved Reserved Reserved Reserved Reserved
NOTE
(1) For details of SW54, refer to section 1.5.1. (2) For details of SW55, refer to section 5.2. (3) For details of SW56 through SW58, refer to the Communication
function manual.
Basic Hardware and Function 85
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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’. In particular, in this case, since the address is modified using an index register, this is called ‘index modification’.
Example 1)
[ RW10 MOV D1000 ] Data tran sfer instruct io n
Transfer data of R W10 to D1000
6F3B0253
Example 2)
I J
[ RW10 MOV D0000 ] Data transfer instruction (with index modification)
Transfer data of RW(10 + I) to D(0000 + J) (If I = 3 and J = 200, the data of RW13 is transferred to D0200)
There are 3 types of index register, I, J and K. Each type processes 16-bit integers (-32768 to 32767). There are no particular differences in function between these 3 types of index register.
There is no special instruction for substituting values in these index registers. These are designated as destination of data transfer instructions, etc.
[ 00064 MOV I ] (substitutes 64 in index register I) [ D0035 MOV J ] (substitutes the data of D0035 in index register J) [ RW 2 0 + 00030 K ](substitutes the result of addition in index register K)
NOTE
(1) The index modification is available for RW, T, C and D registers. (2) If index registers are used as a double-length register, only the
combinations J×I and K×J are allowed.
86 T1-16S User’s Manual
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The followings are examples of index modifications.
6F3B0253
!
CAUTION
I RW10
J D0201
NOTE
D0200
Be careful that the registers do not exceed the address range by the index modification. The address range is not checked by the T1-1 6 S .
Substitutions of values into index registers and index modifications can be used an y times in a program. Normal l y, the program will be easier to see if a value substitution into an i ndex regist er is positioned immediately before the index modification.
When I = 0, it designates RW10. When I = 1, it designates RW11. When I = -1, it designates RW09. When I = 10, it designates RW20. When I = -10, it designates RW00.
When J = 0, it designates D0201⋅D0200. When J = 1, it designates D0202⋅D0201. When J = 2, it designates D0203⋅D0202. When J = -1, it designates D0200⋅D0199. When J = -2, it designates D0199⋅D0198.
Basic Hardware and Function 87
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6.3 Real-time clock/calendar (Enhanced model only)
The T1-16S enhanced model 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 S W 0 7 to SW13 b y 2-digit BCD format as follows.
Register Function Data SW07 Year 1999 = H0099, 2000 = H0000, 2001 = H0001, 2002 = H0002 ... SW 08 Month J an. = H0001, Feb. = H0002, Mar. = H0003, ... Dec. = H0012 SW 09 Day 1st = H0001, 2nd = H0002, 3rd = H0003, ... 31st = H0031 SW 10 Hour H0000, H0001, H0002, ... H0022, H0023 SW 11 Minute H0000, H0001, H0002, ... H0058, H0059 SW 12 Second H0000, H0001, H0002, ... H0058, H0059 SW 13 Week Sun. = H0000, Mon. = H0001, Tue. = H0002, ... Sat. = H0006
Program example:
In the following circuit, output Y030 turns ON for 1 minute at every Sunday 6 pm.
6F3B0253
(H0018)
Clock/calendar back up:
The clock/calendar continues updating even while the power to the T1-16S is off by built-in capacitor and by the optional battery (CR2032) if used. Its buck-up period is as follows.
Environment
temperature Under 30 °C (86 °F) 2 hours 2 year 1 hours 1 year Over 30 °C (86 °F) 1 hours 1 year 30 minutes 6 months
Expected value Guarantee value
Capacitor Battery Capacitor Battery
As shown in the table, it is recommended to use the optional battery when the real­time clock/calendar function is used.
In the T1-16S, the validity of the clock/calendar is checked. If the data is not valid by excess power off period, special relay S00A is set to ON. Therefore, when the clock/calendar is used, it is recommended to check the status of S00A in the user program.
Setting the clock/calendar:
To set the clock/calendar data, the following 2 ways are available. In both cases, the week data is automatically calculated. (1) Setting the clock/calendar data on the system information screen of the
programming tool.
(2) Using the Calendar Set instruction (CLND) in the user program.
88 T1-16S User’s Manual
6.4 I/O allocation
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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.
As for the T1-16S basic unit, I/O allocation is fixed as follows.
X000 --- X007 Y020---- Y027
6F3B0253
6. Programming Information
Inputs: 8 points (X000 - X007)
T1-16S Outputs: 8 points (Y020 - Y027)
Any operations for the I/O allocation are not required if only the T1-16S basic unit is used. However, if the I/O modules are used with the T1-16S, the I/O allocation operation is necessary. Refer to the separate manual "T1-16S User's Manual - I/O Modules -".
Basic Hardware and Function 89
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Internally, the T1-16S has 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.
Unit Slot I/O type
PU
0 X+Y 4W 1 2
0
1
3 4 5 6 7 0 1 2 3 4 5 6 7
6F3B0253
PU slot must be blank Slot 0 is for basic unit (XW00, XW01, YW02 and YW03 are assigned internally)
Slots 1 to 7 of unit 0 are not used (must be blank)
These slots are for I/O modules
The T1-16S operating system automatically sets the I/O type ‘X+Y 4W’ on the slot 0 at unit 0 position when the memory clear is executed for the T1-16S.
When the T1-16S program is developed in off-line, the above I/O allocation table should be set before programming. For this operation (called manual I/O allocat ion) , refe r to t he programming tool manual.
NOTE
(1) Unit base address setting function is not supported by the T1-16S.
Do not use this function with the T1-16S. It will causes malfunction.
(2) When the TOSLINE-F10 station module FR112M is used, allocate it at
the end of the I/O modules.
90 T1-16S User’s Manual
6.5 T1-16S memory mode setting
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The program capacity of the T1 -16S is 8 k steps. However, user can set the T1-16S’s program capacity to 4 k steps. It is called the T1-16S’s memory mode. That is, the T1-16S 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. Refer to section 6.9 for the on-line debug support functions.
To set the T1-16S’s memory mode, write 4 k or 8 k on the Program Size Setting of the System Pa rameters u sing the programm ing tool. Then execute the EEPROM write command.
6F3B0253
6. Programming Information
Basic Hardware and Function 91
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6.6 User program configuration
A group of instructions for achieving the PLC-based control system is called ‘user program’. The T1-16S has 8 k steps capacity for storing the user program. A ‘step’ is the minimum unit, which composes an instruction. Number of steps required for one instruction is depending on the type of instruction. Refer to section 7.1.
The fig u re below shows the T1-16S’s memory configuration.
6F3B0253
RAM
System information
4 k or 8 k steps
NOTE
For conditions of transfer between RAM and EEPROM, see section 5.2.
User program
Data registers
mentioned in
section 5.2
Other registers/
devices
Back-up area by EEPROM
92 T1-16S User’s Manual
6F3B0253
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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 (6) Execution control parameters (scan mode, timer interrupt interval) (7) Sta t i o n number setting for programmer port (T1), or RS-485 port communication
parameters (Enhanced model) (8) I/O allocation table (9) Input force table
The system information is stored in the built-in EEPROM. Therefore, when this information is modified, the EEPROM write operation is necessary. Otherwise, these are over-written by original EEPROM contents at the next initial load timing.
User progr am
The T1-16S has a capacity of 8 k steps of the user program. The user program is s tored by each program types as shown in the following diagram, and is managed by units called blocks in each program types.
User program configuration Program type internal configurati on
(Program types) (Blocks)
Main program
Sub-program #1
Timer interrupt I/O interrupt #1 I/O interrupt #2 I/O interrupt #3
Block 1
Block 2
Block 10
Block N
(N = max. 256)
I/O interrupt #4
Subroutine
Block 1
Basic Hardware and Function 93
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
In the u ser 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-16S.
(1) Main program (2) Sub-program #1 (3) Timer interrupt program (4) I/O interrupt program #1 (5) I/O interrupt program #2 (6) I/O interrupt program #3 (7) I/O interrupt program #4 (8) Subroutine
The blocks are just separators of the program, and have no effect on the program execution. However, by dividing the us er program into some blocks, the program becomes easy to understand. The block numbers need not be consecutive.
6F3B0253
In each program type and block, there is no limit of program capacity. The only limit is the total capacity.
6.6.1 Main program
The main program is the core of the user program. It is executed once in each scan.
Mode Main programTimerI/O I/OMode
In the above figure,
Mode means the mode control operation I/O means the I/O update processing Timer means the timer up date processing Main program means the main program execution the self-diagnostic check and peripheral support are omitted in this figure.
The end of the main program is recognized by the END instruction. Although instructions may be present after the END instruction, these portions will not be executed.
1 scan time
Time
Timer
Main program
94 T1-16S User’s Manual
6.6.2 Sub-program #1
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
If the sub-program #1 is programmed, it is executed once at the beginning of the first scan (before main program execution).
Theref o re , t h e sub-progra m #1 can be us e d to set the init ial value into th e registers. The sub-program #1 is called the initial program.
The fig u re below s hows the first scan operation.
6F3B0253
6. Programming Information
RUN mode
transition
I/O
1st scan
The end of the sub-program #1 is recognized by the END instruction.
6.6.3 Timer interr upt program
The timer interrupt is the highest priority task. It is executed cyclically with a user specified interval, with suspending other operation. The interrupt interval is set in the system information. (5 to 1000 ms, 5 ms units)
1 scan
Scan
2nd scan
Main programSub#1Timer I/OMode Timer
Time
1 scan1 scan1 scan
Main program
Timer interrupt
Timer interrupt
interval
Time
Timer interrupt
interval
The end of the timer interrupt is recognized by the IRET instruction.
Basic Hardware and Function 95
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
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. W hen the count
value reaches the preset value, etc., the I/O interrupt #1 is activated immediately
with suspending other operation. The end of the I/O interrupt #1 is recognized by
the IRET instruction. For detailed information, refer to section 8.3. (2) I/O interrupt #2
The I/O interrupt #2 is also used with the high speed counter function. Refer to
section 8.3 for details.
6F3B0253
(3) I/O interrupt #3
The I/O interrupt #3 is used with the interrupt input function. When the state of the
interrupt input is changed from OFF to ON (or ON to OFF), the I/O interrupt #3 is
activated immediately with suspending other operation. The end of the I/O
interrupt #3 is also recognized by the IRET instruction. For detailed information,
refer to section 8.4. (4) I/O interrupt #4
The I/O interrupt #4 is also used with the interrupt input function. Refer to section
8.4 for details.
If an interrupt factor is generated while other interrupt program is executing ( in cluding the timer interrupt), the interrupt factor is held. Then it will be activated after finishing the other interrupt program execution.
If two or more interrupt factors are generated at the same time, the priority is as follows.
Timer > I/O #1 > I/O #2 > I/O #3 > I/O #4
96 T1-16S User’s Manual
6.6.5 Subroutines
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
In the program t ype ‘Subroutine’, The following number of subroutines can be programmed.
The T1-16S supports 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. One subroutine is st ar t ed wi t h the SUBR instruction, and ended by the RET
instruction. It is necessary to assign a subroutine number to the SUBR instruction. The available
subroutine numbers are 0 to 255. [ SUBR (000) ]
6F3B0253
6. Programming Information
Subro u tine number The RET instruction has no subroutine number. The instruction that calls a registered subroutine is the CALL instruction. The CALL
instruction has the subroutine number to be called. [ CALL N.000 ]
Subro u tine number
Main program Subroutine
Execution
flow
[ SUBR (000) ]
[ CALL N.000 ]
 [ RET ]
NOTE
(1) Multiple subroutines can be programmed in a block. However, one
subroutine in one block is recommended.
(2) From the inside of a subroutine, other subroutines can be called
(nesting). Its allowable level is up to 3 levels.
Basic Hardware and Function 97
6. Programming Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6.7 Programming language
The programming lan guage of the T1-16S 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.
The ladder diagram program is constructed by units called ‘rung’. A rung is defined as one network which is connected each other.
1
6F3B0253
RungRung number
2
3
The rung numbers are a series of numbers (decimal number) starting from 1, and cannot be skipped. There is no limit to the number of rungs.
The size of any one rung is limited to 11 lines × 12 columns. A example of a ladder diagram program is shown below.
When X005 is ON or the data of D0100 is greater than 200, Y027 comes ON. Y027 stays ON even if X005 is OFF and the data of D0100 is 200 or less. Y027 will come OFF when X006 comes ON.
98 T1-16S User’s Manual
Loading...