Toshiba 6F3B0253- Manuals
Toshiba 6F3B0253– Manual in PDF format online.
Manuals:
Manual Toshiba 6F3B0253
Summary
6F3B0253 Important Information Misuse of this equipment can result in property damage or human injury.Because controlled system applications v ary widely, you should satisfy yourselfas to the acceptability of this equipment for your intended purpose.In no event will Toshiba Corporation be responsibl...
6F3B0253 Basic Hardware and Function 1 CE Marking The Programmable Controller PROSEC T1-16S (hereafter called T1-16S) complies with therequirements of the EMC Directive 89/336/EEC and Low Voltage Directive 72/23/EEC under thecondition of use according to the instructions described in this manual.The...
6F3B0253 2 T1-16S User’s Manual UL/c-UL Listing The Programmable Controller PROSEC T1-16S (hereafter called T1-16S) is UL/c-UL listed asshown below. UL and c-UL Listing File Number : E95637 Product Name : Programmable Controller , T1-16S Product Covered : Main Unit TDR116S6S, TDR116S6C,TDR116S3S, TD...
6F3B0253 Basic Hardware and Function 3 Safety Precautions 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 relatedmanuals so that you can read them anytime while the T1-16S is in operation. G...
6F3B0253 4 T1-16S User’s Manual Safety Precautions Installation: 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...
6F3B0253 Basic Hardware and Function 5 Safety Precautions Operation: 1. Configure emergency stop and safety interlocking circuits outside the T1-16S. Otherwise, malfunction of the T1-16S can cause injury or serious accidents. 2. Operate the T1-16S and the related modules with closing the terminal co...
6F3B0253 6 T1-16S User’s Manual Safety Precautions Maintenance: 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 relatedequipment. 2. W hen you remove both input and output terminal blocks...
6F3B0253 Basic Hardware and Function 7 Safety Precautions Safety Label The safety label as shown on the right isattached to the power terminal of theT1-16S. Remove the mount paper before wiring. Peel off the label from the mount paperand stick it near the power terminalswhere it can be readily seen....
6F3B0253 8 T1-16S User’s Manual About This Manual About This Manual This manual has been prepared for first-time users of Toshiba’s Programmable ControllerT1-16S to enable a full understanding of the configuration of the equipment, and toenable the user to obtain the maximum benefits of the equipmen...
6F3B0253 Basic Hardware and Function 9 About This Manual Terminology The following is a list of abbreviations and acronyms used in this manual. µµµµ s microsecond ASCII American Standard Code For Information Interchange AWG American W ire Gage BCC Block Check Code CCW Counter-Clockwise CPU Central P...
6F3B0253 10 T1-16S User’s Manual Contents Contents Safety Precautions .................................................................................. 3 About This Manual .................................................................................. 8 1. System Configuration .....................
6F3B0253 Basic Hardware and Function 11 Contents 5. Operating System Overview ......................................................... 63 5.1 Operation modes ................................................................................ 64 5.2 About the built-in EEPROM ..............................
6F3B0253 12 T1-16S User’s Manual Contents 10. Troubleshooting .............................................................................. 281 10.1 Troubleshooting procedure ................................................................ 282 10.1.1 Power supply check ................................
6F3B0253 Basic Hardware and Function 13 Section 1 System Configuration 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 Perip...
6F3B0253 14 T1-16S User’s Manual 1. System Configuration 1.1 Introducing the T1-16S The T1-16 is compact, block style, high-performance programmable controller with arange of 16 to 144 input and output points. The figure below shows the T1 Series line-up. The T1 Series consists of the total 16types....
6F3B0253 Basic Hardware and Function 15 1. System Configuration Memory capacity:Program memory capacity of the T1 is 2 k steps. And that of the T1S is 8 k steps.W hole the program and a part of data registers are stored in built-in EEPROM. T1-16/28/40 T1-40S T1-16S Memory RAM (for execution) and EEP...
6F3B0253 16 T1-16S User’s Manual 1. System Configuration 1.2 Features I/O module support:The T1-16S has an interface for connecting the I/O modules. Up to eight modulescan 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 c...
6F3B0253 Basic Hardware and Function 19 1. System Configuration 1.3 System configuration The following figure shows the T1-16S system configuration. IBM-PC compatible personal computer T-PDS software Handy programmer HP911A T1-16S basic unit Peripheral tool I/O modules Computer link function MMI/SCA...
6F3B0253 20 T1-16S User’s Manual 1. System Configuration 1.4 I/O expansion The T1-16S provides I/O expandability by connecting the I/O modules. Up to eightI/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 ...
6F3B0253 Basic Hardware and Function 21 1. System Configuration 1.5 Components 1.5.1 Basic unit The T1-16S is available in four types as shown in the following table. Type Link/ Calendar Power supply Input Output T1-MDR16SS(Enhanced model) Yes T1-MDR16SC(Standard model) No 100-240 Vac,50/60 Hz T1-MD...
6F3B0253 22 T1-16S User’s Manual 1. System Configuration ♦ Behind the programmer port cover PRG H/R V1 V0 Programmer port connector Analog setting adjusters (V0 and V1) Mode control switch (HALT / RUN) Battery holder Battery type: CR2032 (Optional) A tab for battery eject Power supply terminals: Con...
6F3B0253 Basic Hardware and Function 23 1. System Configuration I/O status LEDs: Indicates the ON/OFF status of each I/O signal. ( color: red) SW 54 settingvalue I/O intending for an indication Note 0 (default) Basic unit (L: X000-007, H: Y020-027) 1 I/O module slot 0 2 I/O module slot 1 3 I/O modul...
6F3B0253 24 T1-16S User’s Manual 1. System Configuration Analog setting adjusters: Two analog setting adjusters are provided. The V0 value is stored in SW30 and theV1 value is stored in S W31. The converted value range is 0 to 1000. Refer to section8.5 for details of the analog setting function. Pro...
6F3B0253 26 T1-16S User’s Manual 1. System Configuration 1.5.3 Options The following optional items are available. Item Type Description Cable forprogramming tool CJ105 For T-PDS, 5 m length Programmer portconnector PT16S For RS-232C computer link, with 2 m cable PT15S Soldering type Option card I/O...
6F3B0253 Basic Hardware and Function 27 1. System Configuration 1.6 Programmer port function The interface of the T1-16S’s programmer port is RS-232C. Normally this port isused to connect the programmer. However, this port can also be used for thecomputer link function. The computer link is a data c...
6F3B0253 Basic Hardware and Function 29 1. System Configuration Computer link mode T-series computer link protocol can be used in this mode. A maximum of 32 T1-16Sscan 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 pr...
6F3B0253 30 T1-16S User’s Manual 1. System Configuration Free ASCII modeThe free ASCII mode is used to connect between the T1-16S and various serialASCII 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. There...
6F3B0253 32 T1-16S User’s Manual 1. System Configuration 1.8 Real-time data link system TOSLINE-F10 TOSLINE-F10 is a high speed data transmission system suited for small points I/Odistribution system. By inserting the TOSLINE-F10 remote module (FR112M), theT1-16S can work as a remote station of the ...
6F3B0253 Basic Hardware and Function 33 1. System Configuration 1.9 Peripheral tools The following peripheral tools are available for the T1-16S. T-Series Program Development System (T-PDS) The T-Series Program Development System (T-PDS) is a software which runs onany IBM-PC compatible personal comp...
6F3B0253 34 T1-16S User’s Manual 1. System Configuration T-Series Handy Programmer (HP911A) The HP911A is a hand-held programmer, that can be used to program the T1-16Susing ladder diagram. Its portability makes it ideal for maintenance use at remotelocations. The HP911A has the following features. ...
6F3B0253 Basic Hardware and Function 37 Section 2 Specifications 2.1 General specifications, 38 2.2 Functional specifications, 40 2.3 I/O specifications, 42 2.4 External dimensions, 46
6F3B0253 38 T1-16S User’s Manual 2. Specifications 2.1 General specifications Item T1-16S Power supply v oltage 100 to 240Vac (+10/-15%), 50/60 Hz Power consumption 45VA or less Inrush current 50A or less (at 240Vac, cold start) 24Vdc(24Vdc, ±10%) 0.2A (for external dev ices and/or for input signals...
6F3B0253 40 T1-16S User’s Manual 2. Specifications 2.2 Functional specifications Item T1-16S Control method Stored program, cyclic scan system Scan system Floating scan or constant scan (10 – 200ms, 10ms units) I/O update Batch I/O refresh(direct I/O instruction available at basic unit ’s I/O) Progr...
6F3B0253 Basic Hardware and Function 41 2. Specifications Functional specifications (cont’d) 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 Yes...
6F3B0253 42 T1-16S User’s Manual 2. Specifications 2.3 I/O specifications • Input specifications Item Specifications Input type DC input, current source/sink Number of input points 8 points (8 points/common) Rated input v oltage 24Vdc, +10/-15 % Rated input current 7mA (at 24Vdc) Min. ON v oltage 15...
6F3B0253 Basic Hardware and Function 43 2. Specifications • Input signal connections 24Vdc Service power 24Vdc 3 1 0 L 4 2 NC N T1-16S DC IN − + 24 22 20 6 23 21 Vin 7 5 26 27 25 24Vdc input C C C The 24Vdc ser vice power output is not pr ovided on the DC power supply type. NOTE
6F3B0253 44 T1-16S User’s Manual 2. Specifications • Output specifications Specifications Item Relay output Transistor output Output type Relay contact, normally open Transistor output, current sink Number of output points 6 points (6 pts/common) 2 points(2 points/common) Rated load v oltage 240Vac/...
6F3B0253 Basic Hardware and Function 45 2. Specifications • Output signal connections 24Vdc Service power 24Vdc 3 1 0 L 4 2 NC N T1-16S DC OUT − + 24 22 20 6 23 21 Vin 7 5 26 27 25 C C C RELAY OUT PS + Transister output Relay output PS 240Vac/24Vdc (max.)
6F3B0253 46 T1-16S User’s Manual 2. Specifications 2.4 External dimensions ♦ T1-16S [mm] ♦ I/O module [mm]
6F3B0253 Basic Hardware and Function 47 Section 3 I/O Application Precautions 3.1 Application precautions for input signals, 48 3.2 Application precautions for output signals, 50
6F3B0253 48 T1-16S User’s Manual 3. I/O Application Precautions 3.1 Application precautions for input signals (1) Minimum ON/OFF time of the input signal The following conditions guarantee correct reading of the ON/OFF state of the inputsignal: Input ON time: ON delay time + the time for one scan In...
6F3B0253 50 T1-16S User’s Manual 3. I/O Application Precautions 3.2 Application precautions for output signals (1) 2 points of solid-state output The leading 2 points of output (Y020 and Y021) are solid-state outputs, transistors onthe DC input types.These solid-state outputs are suited for frequent...
6F3B0253 Basic Hardware and Function 53 Section 4 Installation and Wiring 4.1 Environmental conditions, 54 4.2 Installing the unit, 55 4.3 Wiring terminals, 57 4.4 Grounding, 58 4.5 Power supply wiring, 59 4.6 I/O wiring, 61
6F3B0253 54 T1-16S User’s Manual 4. Installation and Wiring 4.1 Environmental conditions Do not install the T1-16S in the following locations: • W here the ambient temperature drops below 0 ° C or exceeds 55 ° C. • W here the relative humidity drops below 20% or exceeds 90%. • W here there is conden...
6F3B0253 Basic Hardware and Function 55 4. Installation and Wiring 4.2 Installing the unit The T1-16S basic unit and the I/O module come equipped with a bracket at the rearfor mounting on a 35mm DIN rail. Installation precautions: • Because the T1-16S is not dust-proof, install it in a dust-proof en...
6F3B0253 Basic Hardware and Function 57 4. Installation and Wiring 4.3 Wiring terminals The terminal screw size of the T1-16S is M3. Use crimp-style terminals of 7mm widthor less useable for M3. The terminal block is not removable (fixed). For input and output signal connections, refer to sections 2...
6F3B0253 Basic Hardware and Function 59 4. Installation and Wiring 4.5 Power supply wiring W ire the power source to the T1-16S power supply terminals. Insulation transformer Line filter Power source T1-16S • Power conditions: AC power supply type DC power supply type Rated voltage 100 to 240Vac, +1...
6F3B0253 Basic Hardware and Function 61 4. Installation and Wiring 4.6 I/O wiring • Refer to sections 2.4 and 3 for instructions on how to properly wire the I/O terminals. • 0.75mm 2 (18 AW G) to 0.3mm 2 (22 AW G) wires are recommended for I/O signals. • Separate the I/O signal cables from high-powe...
6F3B0253 Basic Hardware and Function 63 Section 5 Operating System Overview 5.1 Operation modes, 64 5.2 About the built-in EEPROM, 66 5.3 Scanning, 69
6F3B0253 64 T1-16S User’s Manual 5. Operating System Overview 5.1 Operation modes The T1-16S has three basic operation modes, the RUN mode, the HALT mode andthe ERROR mode. The T1-16S also has the HOLD and RUN-F modes mainly forsystem checking. RUN: The RUN mode is a normal control-operation mode.In...
6F3B0253 72 T1-16S User’s Manual 5. Operating System Overview User program execution: Executes the programmed instructions from the beginning to the END instruction.This is the essential function of the T1-16S.In this section, only the main program execution is mentioned. For other programtypes, suc...
6F3B0253 Basic Hardware and Function 73 Section 6 Programming Information 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 configuration, 92 6.7 Programming language, 98 6.8 Program ex...
6F3B0253 74 T1-16S User’s Manual 6. Programming Information 6.1 Devices and registers The T1-16S program consists of bit-based instructions that handle ON/OFFinformation, such as contact and coil instructions, and register-based (16-bit)instructions, such as those for data transfer and arithmetic op...
6F3B0253 Basic Hardware and Function 75 6. Programming Information Addressing devices A device number of X, Y, R and S devices consist of a register number and bit positionas follows. X 00 4 Represents bit position 0 to F in the register. Decimal number representing the register containing the corre...
6F3B0253 76 T1-16S User’s Manual 6. Programming Information Available address range T1-16S Device/register Symbol Number of points Address range External input device X X000 - X31F External output device Y Total 512 points Y020 - Y31F External input register XW XW 00 - XW 31 External output register...
6F3B0253 Basic Hardware and Function 77 6. Programming Information External input devices (X) These devices (X) indicate the ON/OFF states of external input signals through theinput circuits. External input devices can be used many times in a program. External output devices (Y) The external output ...
6F3B0253 Basic Hardware and Function 79 6. Programming Information Special devices and registers (S/SW) The special devices (S) and special registers (SW ) are used for special purposes. Seelist below. Dev ice/ register Name Function S000 0: Initialization 4: HOLD mode S001 T1/T1S operation mode 1: ...
6F3B0253 82 T1-16S User’s Manual 6. Programming Information Dev ice/ register Name Function S050 CF (carry flag) Used for instructions which manipulate carry S051 ERF (instruction error flag) ON when instruction execution error is occurred (related to alarm flags of S W06) S052 − Reserv ed S053 − Re...
6F3B0253 86 T1-16S User’s Manual 6. Programming Information 6.2 Index modification W hen registers are used as operands of instructions, the method of directlydesignating the register address as shown in Example 1) below is called ‘directaddressing’. As opposed to this, the method of indirectly desi...
6F3B0253 Basic Hardware and Function 87 6. Programming Information The followings are examples of index modifications. W hen I = 0, it designates RW10.W hen I = 1, it designates RW11.W hen I = -1, it designates RW09.W hen I = 10, it designates RW20.W hen I = -10, it designates RW00. W hen J = 0, it ...
6F3B0253 90 T1-16S User’s Manual 6. Programming Information Internally, the T1-16S has information called ‘I/O allocation table’ in its memory. ThisI/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 fo...
6F3B0253 92 T1-16S User’s Manual 6. Programming Information 6.6 User program configuration A group of instructions for achieving the PLC-based control system is called ‘userprogram’. The T1-16S has 8 k steps capacity for storing the user program.A ‘step’ is the minimum unit, which composes an instru...
6F3B0253 Basic Hardware and Function 93 6. Programming Information System information System information is the area which stores execution control parameters. Thefollowing contents are included in the system information. (1) Machine parameters (hardware type, memory type)(2) User program informatio...
6F3B0253 94 T1-16S User’s Manual 6. Programming Information In the user program, the main program is the core. The scan operation explained insection 5.3 is for the main program. The operation of other program types areexplained in the following sections.The following 8 program types are supported b...
6F3B0253 Basic Hardware and Function 95 6. Programming Information 6.6.2 Sub-program #1 If the sub-program #1 is programmed, it is executed once at the beginning of the firstscan (before main program execution). Therefore, the sub-program #1 can be used to set the initial value into the registers.Th...
6F3B0253 96 T1-16S User’s Manual 6. Programming Information 6.6.4 I/O interrupt programs The I/O interrupt program is also the highest priority task. It is executed immediatelywhen the interrupt factor is generated, with suspending other operation. The following 4 types I/O interrupt programs are su...
6F3B0253 Basic Hardware and Function 97 6. Programming Information 6.6.5 Subroutines In the program type ‘Subroutine’, The following number of subroutines can beprogrammed. The T1-16S supports up to 256 subroutines. The subroutine is not a independent program. It is called from other program types(m...
6F3B0253 98 T1-16S User’s Manual 6. Programming Information 6.7 Programming language The programming language of the T1-16S is ‘ladder diagram’.Ladder diagram is a language, which composes program using relay symbols as abase in an image similar to a hard-wired relay sequence. In the T1/T1S, in orde...
6F3B0253 Basic Hardware and Function 99 6. Programming Information 6.8 Program execution sequence The instructions execution sequence is shown below. (1) They are executed in the sequence from block 1 through the final block, which contains the END instruction (or IRET in an interrupt program). (2) ...
6F3B0253 100 T1-16S User’s Manual 6. Programming Information 6.9 On-line debug support functions The following on-line (during RUN) functions are supported in the T1 -16S for effectiveprogram debugging. On-line function 4 k mode 8 k mode Force function Yes Yes Sampling trace function Yes Yes Changin...
6F3B0253 Basic Hardware and Function 101 6. Programming Information Sampling trace function The sampling trace function collects the status of specified devices or register at everyspecified sampling timing. The collected data can be displayed on the programmer(T-PDS) screen in the format of timing ...
6F3B0253 102 T1-16S User’s Manual 6. Programming Information Timer/counter preset value (constant data) changing The preset value (constant data) of timer or counter instruction can be changed in on-line (during RUN) by using the programming tool. Function instruction constant operand changing The c...
6F3B0253 Basic Hardware and Function 103 6. Programming Information 6.10 Password protection The T1-16S has the password function to protect the user program and data fromunauthorized operations.There are four levels of protection. Accordingly, three levels of passwords can beregistered to control t...
6F3B0253 Basic Hardware and Function 105 Section 7 Instructions 7.1 List of instructions, 106 7.2 Instruction specifications, 116
6F3B0253 106 T1-16S User’s Manual 7. Instructions 7.1 List of instructions The T1-16S has 21 types of basic ladder instructions and 97 types of functioninstructions as listed below. The specifications of each instruction will be described indetail later.The tables listing these instructions are prov...
6F3B0253 Basic Hardware and Function 107 7. Instructions Basic ladder instructions (continued) FUN No. Name Expression Function Steps Speed ( µ s) Page − Counter C CNT Q E A B Counts the number of cyclesthe count input (C) comes ONwhile the enable input (E) isON, and turns ON output (Q)when the coun...
6F3B0253 108 T1-16S User’s Manual 7. Instructions Arithmetic operations FUN No. Name Expression Function Steps Speed ( µ s) Page 027 Addition − [ A + B → C ] − Adds data of A and B, andstores the result in C. 4 6.5 143 028 Subtraction − [ A - B → C ] − Subtracts data of B from A,and stores the resul...
6F3B0253 Basic Hardware and Function 109 7. Instructions Logical operations FUN No. Name Expression Function Steps Speed ( µ s) Page 048 AND − [ A AND B → C ] − Finds logical AND of A and B,and stores it in C. 4 5.7 156 050 OR − [ A OR B → C ] − Finds logical OR of A and B,and stores it in C. 4 5.7 ...
6F3B0253 110 T1-16S User’s Manual 7. Instructions Rotate operations FUN No. Name Expression Function Steps Speed ( µ s) Page 078 1 bit rotate right − [ RTR1 A ] − Rotates data of A 1 bit to theright (LSB direction). Thecarry flag changes accordingto the result. 2 6.8 172 079 1 bit rotate left − [ RT...
6F3B0253 Basic Hardware and Function 111 7. Instructions Compare instructions (continued) FUN No. Name Expression Function Steps Speed ( µ s) Page 108 Unsigned greater than − [ A U> B ] − Turns ON output if A > B. (Unsigned integer compare) 3 190 109 Unsigned greater than orequal − [ A U>= ...
6F3B0253 112 T1-16S User’s Manual 7. Instructions Program control instructions FUN No. Name Expression Function Steps Speed ( µ s) Page 128 Subroutine call − [ CALL N. n ] − Calls the subroutine number n. 2 203 129 Subroutine return −− [ RET ] − Indicates the end of asubroutine. 1 21.0 (in a pair)...
6F3B0253 Basic Hardware and Function 113 7. Instructions Functions FUN No. Name Expression Function Steps Speed ( µ s) Page 056 Moving average − [ A MAVE (n) B → C ] − Calculates the average valueof latest n scan values of A,and stores the result in C. 5 159 061 Digital filter − [ A DFL B → C ] − Fi...
6F3B0253 114 T1-16S User’s Manual 7. Instructions Conversion instructions FUN No. Name Expression Function Steps Speed ( µ s) Page 062 Hex to ASCII conversion − [ A HTOA (n) B ] − Converts the hexadecimaldata of n words stating withA into ASCII characters, andstores them in nx2 registersstarting wit...
6F3B0253 Basic Hardware and Function 115 7. Instructions Special I/O instructions FUN No. Name Expression Function Steps Speed ( µ s) Available Page 235 Direct I/O − [ I/O (n) A ] − Performs the immediateblock I/O transfer of nregisters starting with A. 3 20.7 + 21.3 × n √ *1 257 236 Expanded data t...
6F3B0253 Basic Hardware and Function 117 7. Instructions NO contact Expression AInput Output Function NO (normally open) contact of device A.W hen the input is ON and the device A is ON, the output is turned ON. Execution condition Input Operation Output OFF Regardless of the state of d e vice A OFF...
6F3B0253 118 T1-16S User’s Manual 7. Instructions NC contact Expression AInput Output Function NC (normally closed) contact of device A.W hen the input is ON and the device A is OFF, the output is turned ON. Execution condition Input Operation Output OFF Regardless of the state of d e vice A OFF ON ...
6F3B0253 Basic Hardware and Function 121 7. Instructions ( ) Coil Expression AInput ( ) Function Relay coil of device A.W hen the input is ON, the device A is set to ON. Execution condition Input Operation Output OFF Sets dev ice A to OFF − ON Sets dev ice A to ON − Operand Name Dev ice Register Con...
6F3B0253 122 T1-16S User’s Manual 7. Instructions Forced coil Expression AInput Function Regardless of the input sate the state of device A is retained. Execution condition Input Operation Output OFF No operation − ON No operation − Operand Name Dev ice Register Constant Index X Y R S T. C. XW YW RW...
6F3B0253 Basic Hardware and Function 123 7. Instructions I Inverter Expression Input I Output Function W hen the input is OFF, the output is turned ON, and when the input is ON, the output is turnedOFF.This instruction inverts the link state. Execution condition Input Operation Output OFF Inv erts t...
6F3B0253 124 T1-16S User’s Manual 7. Instructions ( I ) Invert coil Expression AInput ( I ) Function W hen the input is OFF, the device A is set to ON, and when the input is ON, the device A is set toOFF. This instruction inverts the input state and store it in the device A. Execution condition Inpu...
6F3B0253 Basic Hardware and Function 125 7. Instructions P Positive pulse contact Expression AInput P Output Function W hen the input is ON and the device A is changed from OFF to ON (OFF at last scan and ON atthis scan), the output is turned ON.This instruction is used to detect the device changing...
6F3B0253 126 T1-16S User’s Manual 7. Instructions N Negative pulse contact Expression AInput N Output Function W hen the input is ON and the device A is changed from ON to OFF (ON at last scan and OFF atthis scan), the output is turned ON.This instruction is used to detect the device changing from O...
6F3B0253 Basic Hardware and Function 127 7. Instructions ( P ) Positive pulse coil Expression AInput ( P ) Function W hen the input is changed form OFF to ON, the device A is set to ON for 1 scan time.This instruction is used to detect the input changing from OFF to ON. Execution condition Input Ope...
6F3B0253 128 T1-16S User’s Manual 7. Instructions ( N ) Negative pulse coil Expression AInput ( N ) Function W hen the input is changed form ON to OFF, the device A is set to ON for 1 scan time.This instruction is used to detect the input changing from ON to OFF. Execution condition Input Operation ...
6F3B0253 132 T1-16S User’s Manual 7. Instructions CNT Counter Expression Count input C CNT Q Output Enable input E A B Function W hile the enable input is ON, this instruction counts the number of the count input changes fromOFF to ON. The count value is stored in the counter register B. W hen the c...
6F3B0253 Basic Hardware and Function 135 7. Instructions END End Expression [ END ] Function Indicates the end of main program or sub-program. Instructions after the END instruction are notexecuted. At least one END instruction is necessary in a program. Execution condition Input Operation Output Op...
6F3B0253 136 T1-16S User’s Manual 7. Instructions FUN 018 MOV Data transfer Expression Input − [ A MOV B ] − Output Function W hen the input is ON, the data of A is stored in B. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name Dev ice Register Constant Ind...
6F3B0253 Basic Hardware and Function 137 7. Instructions FUN 019 DMOV Double-word data transfer Expression Input − [ A+1 ⋅ A MOV B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word (32-bit) data of A+1 ⋅ A is stored in double-word register B+1 ⋅ B. The data range is -2147483648 to 214...
6F3B0253 138 T1-16S User’s Manual 7. Instructions FUN 020 NOT Invert transfer Expression Input − [ A NOT B ] − Output Function W hen the input is ON, the bit-inverted data of A is stored in B. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name Dev ice Regist...
6F3B0253 Basic Hardware and Function 139 7. Instructions FUN 022 XCHG Data exchange Expression Input − [ A XCHG B ] − Output Function W hen the input is ON, the data of A and the data of B is exchanged. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name Dev ...
6F3B0253 140 T1-16S User’s Manual 7. Instructions FUN 024 TINZ Table initialize Expression Input − [ A TINZ (n) B ] − Output Function W hen the input is ON, the data of A is stored in n registers starting with B.The allowable range of the table size n is 1 to 1024 words. Execution condition Input Op...
6F3B0253 Basic Hardware and Function 141 7. Instructions FUN 025 TMOV Table transfer Expression Input − [ A TMOV (n) B ] − Output Function W hen the input is ON, the data of n registers starting with A are transferred to n registers startingwith B in a block. The allowable range of the table size n ...
6F3B0253 Basic Hardware and Function 143 7. Instructions FUN 027 + Addition Expression Input − [ A + B → C ] − Output Function W hen the input is ON, the data of A and the data of B are added, and the result is stored in C.If the result is greater than 32767, the upper limit value 32767 is stored in...
6F3B0253 144 T1-16S User’s Manual 7. Instructions FUN 028 − Subtraction Expression Input − [ A − B → C ] − Output Function W hen the input is ON, the data of B is subtracted from the data of A, and the result is stored in C.If the result is greater than 32767, the upper limit value 32767 is stored i...
6F3B0253 Basic Hardware and Function 145 7. Instructions FUN 029 ∗ Multiplication Expression Input − [ A ∗ B → C+1 ⋅ C ] − Output Function W hen the input is ON, the data of A is multiplied by the data of B, and the result is stored indouble-length register C+1 ⋅ C. Execution condition Input Operati...
6F3B0253 146 T1-16S User’s Manual 7. Instructions FUN 030 / Division Expression Input − [ A / B → C ] − Output Function W hen the input is ON, the data of A is divided by the data of B, and the quotient is stored in C andthe remainder in C+1. Execution condition Input Operation Output ERF OFF No exe...
6F3B0253 Basic Hardware and Function 147 7. Instructions FUN 031 D+ Double-word addition Expression Input − [ A+1 ⋅ A D+ B+1 ⋅ B → C+1 ⋅ C ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are added, and the result is stored in C+1 ⋅ C. The data range is -2147483...
6F3B0253 148 T1-16S User’s Manual 7. Instructions FUN 032 D − Double-word subtraction Expression Input − [ A+1 ⋅ A D − B+1 ⋅ B → C+1 ⋅ C ] − Output Function W hen the input is ON, the double-word data of B+1 ⋅ B is subtracted from A+1 ⋅ A, and the result is stored in C+1 ⋅ C. The data range is -2147...
6F3B0253 Basic Hardware and Function 149 7. Instructions FUN 035 +C Addition with carry Expression Input − [ A +C B → C ] − Output Function W hen the input is ON, the data of A, B and the carry flag (CF = S050) are added, and the result isstored in C. If carry is occurred in the operation, the carry...
6F3B0253 150 T1-16S User’s Manual 7. Instructions FUN 036 - C Subtraction with carry Expression Input − [ A - C B → C ] − Output Function W hen the input is ON, the data of B and the carry flag (CF = S050) are subtracted from A, and theresult is stored in C. If borrow is occurred in the operation, t...
6F3B0253 Basic Hardware and Function 151 7. Instructions FUN 039 U ∗ Unsigned multiplication Expression Input − [ A U ∗ B → C+1 ⋅ C ] − Output Function W hen the input is ON, the unsigned data of A and B are multiplied, and the result is stored indouble-length register C+1 ⋅ C. The data range of A a...
6F3B0253 152 T1-16S User’s Manual 7. Instructions FUN 040 U/ Unsigned division Expression Input − [ A U/ B → C ] − Output Function W hen the input is ON, the unsigned data of A is divided by the unsigned data of B, and thequotient is stored in C and the remainder in C+1.The data range of A and B is ...
6F3B0253 Basic Hardware and Function 153 7. Instructions FUN 041 DIV Unsigned double/single division Expression Input − [ A+1 ⋅ A DIV B → C ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A is divided by the data of B, and the quotient is stored in C and the remainder in C+1...
6F3B0253 154 T1-16S User’s Manual 7. Instructions FUN 043 +1 Increment Expression Input − [ +1 A ] − Output Function W hen the input is ON, the data of A is increased by 1 and stored in A. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name Dev ice Register C...
6F3B0253 Basic Hardware and Function 155 7. Instructions FUN 045 - 1 Decrement Expression Input − [ - 1 A ] − Output Function W hen the input is ON, the data of A is decreased by 1 and stored in A. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name Dev ice R...
6F3B0253 156 T1-16S User’s Manual 7. Instructions FUN 048 AND AND Expression Input − [ A AND B → C ] − Output Function W hen the input is ON, this instruction finds logical AND of A and B, and stores the result in C. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Ope...
6F3B0253 Basic Hardware and Function 157 7. Instructions FUN 050 OR OR Expression Input − [ A OR B → C ] − Output Function W hen the input is ON, this instruction finds logical OR of A and B, and stores the result in C. Execution condition Input Operation Output OFF No execution OFF ON Execution ON ...
6F3B0253 158 T1-16S User’s Manual 7. Instructions FUN 052 EOR Exclusive OR Expression Input − [ A EOR B → C ] − Output Function W hen the input is ON, this instruction finds exclusive OR of A and B, and stores the result in C. Execution condition Input Operation Output OFF No execution OFF ON Execut...
6F3B0253 Basic Hardware and Function 161 7. Instructions FUN 062 HTOA Hex to ASCII conversion Expression Input − [ A HTOA (n) B ] − Output Function W hen the input is ON, the hexadecimal data of n registers starting with A is converted into ASCIIcharacters and stored in B and after. The uppermost di...
6F3B0253 162 T1-16S User’s Manual 7. Instructions FUN 063 ATOH ASCII to Hex conversion Expression Input − [ A ATOH (n) B ] − Output Function W hen the input is ON, the ASCII characters stored in n registers starting with A is converted intohexadecimal data and stored in B and after. The lower byte o...
6F3B0253 Basic Hardware and Function 163 7. Instructions FUN 064 TEST Bit test Expression Input − [ A TEST B ] − Output Function W hen the input is ON, this instruction finds logical AND of A and B. Then if the result is not 0, setsthe output to ON. Execution condition Input Operation Output OFF No ...
6F3B0253 164 T1-16S User’s Manual 7. Instructions FUN 068 SHR1 1 bit shift right Expression Input − [ SHR1 A ] − Output Function W hen the input is ON, the data of register A is shifted 1 bit to the right (LSB direction). 0 is stored inthe left most bit (MSB). The pushed out bit state is stored in t...
6F3B0253 Basic Hardware and Function 165 7. Instructions FUN 069 SHL1 1 bit shift left Expression Input − [ SHL1 A ] − Output Function W hen the input is ON, the data of register A is shifted 1 bit to the left (MSB direction). 0 is stored inthe right most bit (LSB). The pushed out bit state is store...
6F3B0253 166 T1-16S User’s Manual 7. Instructions FUN 070 SHR n bit shift right Expression Input − [ A SHR n → B ] − Output Function W hen the input is ON, the data of register A is shifted n bits to the right (LSB direction) includingthe carry flag (CF = S050), and stored in B. 0 is stored in upper...
6F3B0253 Basic Hardware and Function 167 7. Instructions FUN 071 SHL n bit shift left Expression Input − [ A SHL n → B ] − Output Function W hen the input is ON, the data of register A is shifted n bits to the left (MSB direction) including thecarry flag (CF = S050), and stored in B. 0 is stored in ...
6F3B0253 168 T1-16S User’s Manual 7. Instructions FUN 074 SR Shift register Expression Data input − D SR Q − Output Shift input − S (n) Enable input − E A Function W hile the enable input is ON, this instruction shifts the data of the bit table, size n starting with A,1 bit to the left (upper addres...
6F3B0253 Basic Hardware and Function 169 7. Instructions The figure below shows an operation example. (When X009 is changed from OFF to ON) CF R11F R11E R11D R11C R103 R102 R101 R100 X008 1 0 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 R011 is turned OFF Note • W hen the shift input is ON, the shift operation is ...
6F3B0253 170 T1-16S User’s Manual 7. Instructions FUN 075 DSR Bi-directional shift register Expression Data input − D DSR Q − Output Shift input − S (n) Enable input − E Direction input − L A Function W hile the enable input (E) is ON, this instruction shifts the data of the bit table, size n starti...
6F3B0253 172 T1-16S User’s Manual 7. Instructions FUN 078 RTR1 1 bit rotate right Expression Input − [ RTR1 A ] − Output Function W hen the input is ON, the data of register A is rotated 1 bit to the right (LSB direction). The pushedout bit state is stored in the left most bit (MSB) and in the carry...
6F3B0253 Basic Hardware and Function 173 7. Instructions FUN 079 RTL1 1 bit rotate left Expression Input − [ RTL1 A ] − Output Function W hen the input is ON, the data of register A is rotated 1 bit to the left (MSB direction). The pushedout bit state is stored in the right most bit (LSB) and in the...
6F3B0253 174 T1-16S User’s Manual 7. Instructions FUN 080 RTR n bit rotate right Expression Input − [ A RTR n → B ] − Output Function W hen the input is ON, the data of register A is rotated n bits to the right (LSB direction), and storedin B. After the operation, if the right most bit (LSB) is ON, ...
6F3B0253 Basic Hardware and Function 175 7. Instructions FUN 081 RTL n bit rotate left Expression Input − [ A RTL n → B ] − Output Function W hen the input is ON, the data of register A is rotated n bits to the left (MSB direction), and storedin B. After the operation, if the left most bit (MSB) is ...
6F3B0253 176 T1-16S User’s Manual 7. Instructions FUN 090 MPX Multiplexer Expression Input − [ A MPX (n) B → C ] − Output Function W hen the input is ON, the data of the register which is designated by B in the table, size n startingwith A, is transferred to C. Execution condition Input Operation Ou...
6F3B0253 Basic Hardware and Function 177 7. Instructions FUN 091 DPX Demultiplexer Expression Input − [ A DPX (n) B → C ] − Output Function W hen the input is ON, the data of A is transferred to the register which is designated by B in thetable, size n starting with C. Execution condition Input Oper...
6F3B0253 178 T1-16S User’s Manual 7. Instructions FUN 096 > Greater than Expression Input − [ A > B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is greater than B, theoutput is turned ON. Execution condition Input Operation Output OFF No exe...
6F3B0253 Basic Hardware and Function 179 7. Instructions FUN 097 >= Greater than or equal Expression Input − [ A >= B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is greater than orequal to B, the output is turned ON. Execution condition Inp...
6F3B0253 180 T1-16S User’s Manual 7. Instructions FUN 098 = Equal Expression Input − [ A = B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is equal to B, theoutput is turned ON. Execution condition Input Operation Output OFF No execution OFF ON Exe...
6F3B0253 Basic Hardware and Function 181 7. Instructions FUN 099 <> Not equal Expression Input − [ A <> B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is not equal to B, theoutput is turned ON. Execution condition Input Operation Outpu...
6F3B0253 182 T1-16S User’s Manual 7. Instructions FUN 100 < Less than Expression Input − [ A < B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is less than B, theoutput is turned ON. Execution condition Input Operation Output OFF No execution...
6F3B0253 Basic Hardware and Function 183 7. Instructions FUN 101 <= Less than or equal Expression Input − [ A <= B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is less than or equalto B, the output is turned ON. Execution condition Input Ope...
6F3B0253 184 T1-16S User’s Manual 7. Instructions FUN 102 D > Double-word greater than Expression Input − [ A+1 ⋅ A D > B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is greater than B+1 ⋅ B, the output is turned ON. ...
6F3B0253 Basic Hardware and Function 185 7. Instructions FUN 103 D >= Double-word greater than or equal Expression Input − [ A+1 ⋅ A D >= B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is greater than or equal to B+1 ...
6F3B0253 186 T1-16S User’s Manual 7. Instructions FUN 104 D = Double-word equal Expression Input − [ A+1 ⋅ A D = B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is equal to B+1 ⋅ B, the output is turned ON. Execution conditi...
6F3B0253 Basic Hardware and Function 187 7. Instructions FUN 105 D <> Double-word not equal Expression Input − [ A+1 ⋅ A D <> B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is not equal to B+1 ⋅ B, the output is...
6F3B0253 188 T1-16S User’s Manual 7. Instructions FUN 106 D < Double-word less than Expression Input − [ A+1 ⋅ A D < B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is less than B+1 ⋅ B, the output is turned ON. Execut...
6F3B0253 Basic Hardware and Function 189 7. Instructions FUN 107 D <= Double-word less than or equal Expression Input − [ A+1 ⋅ A D <= B+1 ⋅ B ] − Output Function W hen the input is ON, the double-word data of A+1 ⋅ A and B+1 ⋅ B are compared, and if A+1 ⋅ A is less than or equal to B+1 ⋅ B, t...
6F3B0253 190 T1-16S User’s Manual 7. Instructions FUN 108 U > Unsigned greater than Expression Input − [ A U > B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is greater than B, theoutput is turned ON. Execution condition Input Operation Outp...
6F3B0253 Basic Hardware and Function 191 7. Instructions FUN 109 U >= Unsigned greater than or equal Expression Input − [ A >= B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is greater than orequal to B, the output is turned ON. Execution co...
6F3B0253 192 T1-16S User’s Manual 7. Instructions FUN 110 U = Unsigned equal Expression Input − [ A U = B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is equal to B, theoutput is turned ON. Execution condition Input Operation Output OFF No executi...
6F3B0253 Basic Hardware and Function 193 7. Instructions FUN 111 U <> Unsigned not equal Expression Input − [ A U <> B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is not equal to B, theoutput is turned ON. Execution condition Input Op...
6F3B0253 194 T1-16S User’s Manual 7. Instructions FUN 112 U < Unsigned less than Expression Input − [ A U < B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is less than B, theoutput is turned ON. Execution condition Input Operation Output OFF...
6F3B0253 Basic Hardware and Function 195 7. Instructions FUN 113 U <= Unsigned less than or equal Expression Input − [ A U <= B ] − Output Function W hen the input is ON, the data of A and the data of B are compared, and if A is less than or equalto B, the output is turned ON. Execution condit...
6F3B0253 196 T1-16S User’s Manual 7. Instructions FUN 114 SET Device/register set Expression Input − [ SET A ] − Output Function W hen the input is ON, the device A is set to ON if A is a device, or the data HFFFF is stored in theregister A if A is a register. Execution condition Input Operation Out...
6F3B0253 Basic Hardware and Function 197 7. Instructions FUN 115 RST Device/register reset Expression Input − [ RST A ] − Output Function W hen the input is ON, the device A is reset to OFF if A is a device, or the data 0 is stored in theregister A if A is a register. Execution condition Input Opera...
6F3B0253 198 T1-16S User’s Manual 7. Instructions FUN 118 SETC Set carry Expression Input − [ SETC ] − Output Function W hen the input is ON, the carry flag (CF = S050) is set to ON. Execution condition Input Operation Output CF OFF No execution OFF − ON Execution ON Set Operand No operand is requir...
6F3B0253 Basic Hardware and Function 199 7. Instructions FUN 119 RSTC Reset carry Expression Input − [ RSTC ] − Output Function W hen the input is ON, the carry flag (CF = S050) is reset to OFF. Execution condition Input Operation Output CF OFF No execution OFF − ON Execution ON Reset Operand No ope...
6F3B0253 200 T1-16S User’s Manual 7. Instructions FUN 120 ENC Encode Expression Input − [ A ENC (n) B ] − Output Function W hen the input is ON, this instruction finds the bit position of the most significant ON bit in the bittable, size 2 n bits starting with 0 bit (LSB) of A, and stores it in B. E...
6F3B0253 Basic Hardware and Function 201 7. Instructions FUN 121 DEC Decode Expression Input − [ A DEC (n) B ] − Output Function W hen the input is ON, this instruction sets the bit position which is designated by lower n bits of Ato ON in the bit table, size 2 n bits starting with 0 bit (LSB) of B,...
6F3B0253 202 T1-16S User’s Manual 7. Instructions FUN 122 BC Bit count Expression Input − [ A BC B ] − Output Function W hen the input is ON, this instruction counts the number of ON (1) bits of A, and stores the resultin B. Execution condition Input Operation Output OFF No execution OFF ON Executio...
6F3B0253 Basic Hardware and Function 203 7. Instructions FUN 128 CALL Subroutine call Expression Input − [ CALL N. n ] − Output Function W hen the input is ON, this instruction calls the subroutine number n. Execution condition Input Operation Output OFF No execution OFF ON Execution ON Operand Name...
6F3B0253 204 T1-16S User’s Manual 7. Instructions FUN 129 RET Subroutine return Expression −− [ RET ] − Function This instruction indicates the end of a subroutine. When program execution is reached thisinstruction, it is returned to the original CALL instruction. Execution condition Input Operati...
6F3B0253 Basic Hardware and Function 205 7. Instructions FUN 132 FOR FOR (FOR-NEXT loop) Expression Input − [ FOR n ] − Output Function W hen the input is ON, the program segment between FOR and NEXT is executed n timesrepeatedly in a scan.W hen the input is OFF, the repetition is not performed. (th...
6F3B0253 206 T1-16S User’s Manual 7. Instructions FUN 133 NEXT NEXT (FOR-NEXT loop) Expression Input − [ NEXT ] − Output Function This instruction configures a FOR-NEXT loop.If the input is OFF, The repetition is forcibly broken. and the program execution is moved to thenext instruction. Execution c...
6F3B0253 208 T1-16S User’s Manual 7. Instructions FUN 140 EI Enable interrupt Expression Input − [ EI ] − Output Function W hen the input is ON, this instruction enables the execution of user designated interrupt operation,i.e. timer interrupt program and I/O interrupt programs. Execution condition ...
6F3B0253 Basic Hardware and Function 209 7. Instructions FUN 141 DI Disable interrupt Expression Input − [ DI ] − Output Function W hen the input is ON, this instruction disables the execution of user designated interrupt operation,i.e. timer interrupt program and I/O interrupt programs. Execution c...
6F3B0253 210 T1-16S User’s Manual 7. Instructions FUN 142 IRET Interrupt return Expression −− [ IRET ] − Function This instruction indicates the end of an interrupt program. When program execution reaches thisinstruction, it returns to the original location of the main program (or subroutine). Exe...
6F3B0253 Basic Hardware and Function 213 7. Instructions FUN 145 STIN Step sequence input Expression Input − [ STIN A ] − Output Function W hen the input is ON and the device A is ON, the output is set to ON. Execution condition Input Operation Output OFF No execution OFF ON W hen A is ON ON W hen A...
6F3B0253 214 T1-16S User’s Manual 7. Instructions FUN 146 STOT Step sequence output Expression Input − [ STOT A ] − Function W hen the input is ON, the device A is set to ON and the devices of STIN instructions on the samerung are reset to OFF. Execution condition Input Operation Output OFF No exec...
6F3B0253 218 T1-16S User’s Manual 7. Instructions FUN 155 CLDS Calendar operation Expression Input − [ A CLDS B ] − Output Function W hen the input is ON, this instruction subtracts the date and time stored in 6 registers starting withA from the current date and time, and stores the result in 6 regi...
6F3B0253 Basic Hardware and Function 219 7. Instructions FUN 156 PID3 Pre-derivative real PID Expression Input − [ A PID3 B → C ] − Output Function Performs PID (Proportional, Integral, Derivative) control which is a fundamental method of feed-back control. (Pre-derivative real PID algorithm) This P...
6F3B0253 220 T1-16S User’s Manual 7. Instructions Control block diagram 1 T I ⋅ s Differential limit Derivative Proportional Integral Differential ∆ MV n ( η = 0.1) MVS: Velocity → Position MV n = MV n- 1 ± ∆ MV n H/L: Upper / lower limit DMV: Differential limit MVC n MV n Manual mode Cascade mode A...
6F3B0253 Basic Hardware and Function 221 7. Instructions PID algorithm: ∆ ∆ ∆ ∆ ∆ MV K P I D MV MV MV n n n n n n n P = ⋅ + + = ± − ( ) 1 Here, ∆ P e e e SV PV n n n n n n = − = − − 1 ∆ ∆ I e t Ir T n n I = ⋅ + ∆ ∆ ∆ ∆ D T PV PV t D Dr t T D D D n n n n n n n D D = ⋅ − − ⋅ + + ⋅ = + = − − − ( ) . 1 ...
6F3B0253 222 T1-16S User’s Manual 7. Instructions B+8 Initial status STS F C 8 4 0 Initial operation mode 00 : Manual mode 01 : Auto mode 10 : Cascade mode 11 : (Res erve) Direct / rev erse selection 0 : Direct 1 : Reverse B+9 MV upper limit MH (-25.00 to 125.00 %) Data range: -2500 to 12500 B+10 MV...
6F3B0253 224 T1-16S User’s Manual 7. Instructions FUN 160 UL Upper limit Expression Input − [ A UL B → C ] − Output Function W hen the input is ON, the following operation is executed. (Upper limit for A by B)If A ≤ B, then C = A. If A > B, then C = B. Execution condition Input Operation Output O...
6F3B0253 Basic Hardware and Function 225 7. Instructions FUN 161 LL Lower limit Expression Input − [ A LL B → C ] − Output Function W hen the input is ON, the following operation is executed. (Lower limit for A by B)If A ≥ B, then C = A. If A < B, then C = B. Execution condition Input Operation O...
6F3B0253 226 T1-16S User’s Manual 7. Instructions FUN 162 MAX Maximum value Expression Input − [ A MAX (n) B ] − Output Function W hen the input is ON, this instruction searches for the maximum value from the table of size nwords starting with A, and stores the maximum value in B and the pointer ind...
6F3B0253 Basic Hardware and Function 227 7. Instructions FUN 163 MIN Minimum value Expression Input − [ A MIN (n) B ] − Output Function W hen the input is ON, this instruction searches for the minimum value from the table of size nwords starting with A, and stores the minimum value in B and the poin...
6F3B0253 228 T1-16S User’s Manual 7. Instructions FUN 164 AVE Average value Expression Input − [ A AVE (n) B ] − Output Function W hen the input is ON, this instruction calculates the average value of the data stored in the nregisters starting with A, and stores the average value in B. The allowable...
6F3B0253 Basic Hardware and Function 231 7. Instructions FUN 180 ABS Absolute value Expression Input − [ A ABS B ] − Output Function W hen the input is ON, this instruction finds the absolute value of operand A, and stores it in B. Execution condition Input Operation Output OFF No execution OFF ON E...
6F3B0253 232 T1-16S User’s Manual 7. Instructions FUN 182 NEG 2’s complement Expression Input − [ A NEG B ] − Output Function W hen the input is ON, this instruction finds the 2’s complement value of A, and stores it in B. Execution condition Input Operation Output OFF No execution OFF ON Execution ...
6F3B0253 Basic Hardware and Function 233 7. Instructions FUN 183 DNEG Double-word 2’s complement Expression Input − [ A+1 ⋅ A DNEG B+1 ⋅ B ] − Output Function W hen the input is ON, this instruction finds the 2’s complement value of double-word data A+1 ⋅ A, and stores it in B+1 ⋅ B. Execution condi...
6F3B0253 234 T1-16S User’s Manual 7. Instructions FUN 185 7SEG 7 segment decode Expression Input − [ A 7SEG B ] − Output Function W hen the input is ON, this instruction converts the lower 4 bits data of A into the 7 segment code,and stores it in B. The 7 segment code is normally used for a numeric ...
6F3B0253 236 T1-16S User’s Manual 7. Instructions FUN 186 ASC ASCII conversion Expression Input − [ A ASC B ] − Output Function W hen the input is ON, this instruction converts the alphanumeric characters into the ASCII codes,and stores them in the register table starting with B. (16 characters maxi...
6F3B0253 Basic Hardware and Function 237 7. Instructions FUN 188 BIN Binary conversion Expression Input − [ A BIN B ] − Output Function W hen the input is ON, this instruction converts the 4 digits of BCD data of A into binary, and storesin B. If any digit of A contains non-BCD code (other than H0 t...
6F3B0253 238 T1-16S User’s Manual 7. Instructions FUN 190 BCD BCD conversion Expression Input − [ A BCD B ] − Output Function W hen the input is ON, this instruction converts the binary data of A into BCD, and stores in B. If thedata of A is not in the range of 0 to 9999, the conversion is not execu...
6F3B0253 Basic Hardware and Function 239 7. Instructions FUN 235 I/O Direct I/O Expression Input − [ I/O (n) A ] − Output Function W hen the input is ON, this instruction immediately updates the external input (X W) and output(YW ) registers which are in the range of n registers starting with A. • F...
6F3B0253 Basic Hardware and Function 241 7. Instructions FUN 236 XFER Expanded data transfer Expression Input − [ A XFER B → C ] − Output Function W hen the input is ON, data block transfer is performed between the source which is indirectlydesignated by A and A+1 and the destination which is indire...
6F3B0253 Basic Hardware and Function 243 7. Instructions CPU register ↔ ↔ ↔ ↔ T1S RS-485 port <Receiving> W hen the instruction input is ON, one set of message (from start character to the trailing code)which is received by the RS-485 port is read from the receive buffer, and stored in the CPU...
6F3B0253 246 T1-16S User’s Manual 7. Instructions Operation mode designation (B+1): B+1 Operation mode Description 0 Data exchange mode(Mode 0) Cyclically scans the connected Inv erters (Control & Monitor)(Inv erter command: P+FA01&FA00 and R+FD00&FE07) 1 Monitor mode(Mode 1) Cyclically ...
6F3B0253 Basic Hardware and Function 255 Section 8 Special I/O Functions 8.1 Special I/O function overview, 256 8.2 Variable input filter constant, 260 8.3 High speed counter, 261 8.4 Interrupt input function, 268 8.5 Analog setting function, 270 8.6 Pulse output function, 271 8.7 PWM output functio...
6F3B0253 Basic Hardware and Function 257 8. Special I/O Functions Mode setting for the special I/O functions These functions, except the analog setting function, are selected by setting data intoSW 16 and S W26 by user program. These registers work as mode setting registers forthe special I/O functi...
6F3B0253 Basic Hardware and Function 259 8. Special I/O Functions The table below summarizes the mode setting data of each function. In the table,‘ − ’ means do not care. Variable input filter constant SW 16 F E D C B A 9 8 7 6 5 4 3 2 1 0 Use 1 0 − − − − 0 0 − − 0 0 − − − − High speed counter SW 16...
6F3B0253 260 T1-16S User’s Manual 8. Special I/O Functions 8.2 Variable input filter constant Function The input filter constant (ON/OFF delay time) of the leading 8 points X000 to X007can be specified by user program within the range of 0 to 15ms. The default is 10ms.The setting value is recognized...
6F3B0253 Basic Hardware and Function 261 8. Special I/O Functions 8.3 High speed counter 8.3.1 Single phase up-counter Function W hen the count input is changed from OFF to ON, the count value is increased by 1.W hen the count value reaches the set value, the count value is reset to 0, and I/Ointerr...
6F3B0253 Basic Hardware and Function 263 8. Special I/O Functions 8.3.2 Single phase speed-counter Function This function counts the number of changes of the count input from OFF to ON duringthe every specified sampling time. The count value in a sampling time is stored in thehold value register.Thi...
6F3B0253 264 T1-16S User’s Manual 8. Special I/O Functions Operation Count input Sampling time Soft-gate Internalcount value Hold value Sample program (H1403) In this example, 5123 (H1403) is set in S W16. As a result, the single phase speed-counter (channel 1 only) is selected.The sampling time is ...
6F3B0253 Basic Hardware and Function 265 8. Special I/O Functions 8.3.3 Quadrature bi-pulse counter Function This function counts up or down the quadrature bi-pulse (2-phase pulses whosephases are shifted 90 ° each other). Counts up when phase A precedes, and counts down when phase B precedes. Both ...
6F3B0253 268 T1-16S User’s Manual 8. Special I/O Functions 8.4 Interrupt input function Function W hen the signal state of the interrupt input is changed from OFF to ON (or ON toOFF), the corresponding I/O interrupt program is activated immediately.Up to 2 interrupt inputs can be used. The interrupt...
6F3B0253 270 T1-16S User’s Manual 8. Special I/O Functions 8.5 Analog setting function Function The value of the analog setting adjuster is converted into a digital value (0 to 1000)and stored in the SW register. 2 adjusters are provided. (V0 and V1)The SW register data can be used as timer presets ...
6F3B0253 Basic Hardware and Function 271 8. Special I/O Functions 8.6 Pulse output function Function This function is used to output a variable frequency pulse train. The controllable pulsefrequency is 50 to 5000 Hz (1 Hz units).The output mode can be selected eith e r CW /CCW or Pulse/Direction (PL...
6F3B0253 272 T1-16S User’s Manual 8. Special I/O Functions Operation Pulse enable Frequency setting + Frequency Pulse output - Sample program In this example, 3 (H0003) is set in S W26. As a result, the C W/C C W mode pulseoutput function is selected.W hen R000 is ON, the pulse output is started wit...
6F3B0253 Basic Hardware and Function 273 8. Special I/O Functions 8.7 PWM output function Function This function is used to output a variable duty cycle pulse train. The controllable dutycycle is 0 to 100 % (1 % units). ON duty 50% 70% 60% PW M T T T T = Pulse cycle The PW M output is enabled when t...
6F3B0253 Basic Hardware and Function 275 Section 9 Maintenance and Checks 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
6F3B0253 276 T1-16S User’s Manual 9. Maintenance and Checks 9.1 Precautions during operation W hen the T1-16S is in operation, you should pay attention to the following items. (1) The programmer cable can be plugged or unplugged while the T1-16S is in operation. W hen you try to do it, do not touch ...
6F3B0253 Basic Hardware and Function 277 9. Maintenance and Checks 9.2 Daily checks To maintain the system and to prevent troubles, check the following items on dailybasis. Item Check Correctiv e measures PW R(power) Lit when internal 5V isnormal. RUN Lit when operatingnormally. Status LEDs FLT (fau...
6F3B0253 Basic Hardware and Function 279 9. Maintenance and Checks (Periodic checks - continued) Item Check Criteria Env ironment Check that the temperature, humidity,v ibration, dust, etc. are within thespecified range. Must be within the range ofgeneral specification. Check that the functions of t...
6F3B0253 280 T1-16S User’s Manual 9. Maintenance and Checks 9.5 Battery (1) Install Insert the battery by an angle of 45°.(Turn + side into an upside.) (1) Push the battery horizontal direction. (2) Push from upside and lock. (2) Eject Push the center of the tab by a finger or a pen. Thenthe battery...
6F3B0253 282 T1-16S User’s Manual 10. Troubleshooting 10.1 Troubleshooting procedure If a trouble occurs, determine whether the cause lies in the mechanical side or in thecontrol system (PLC) side. A problem may cause a secondary problem, therefore, tryto determine the cause of trouble by considerin...
6F3B0253 Basic Hardware and Function 293 Appendix A.1 List of models and types, 294 A.2 Instruction index, 295
6F3B0253 294 T1-16S User’s Manual Appendix A.1 List of models and types • Basic unit Model Power supply Input type RTC/RS-485 Type code Part number Yes T1-MDR16SS TDR116S6S 100 – 240Vac No T1-MDR16SC TDR116S6C Yes T1-MDR16SSD TDR116S3S T1-16S 24Vdc 24Vdc No T1-MDR16SCD TDR116S3C • I/O module Descrip...
6F3B0253 Basic Hardware and Function 295 Appendix A.2 Instruction index • Instruction name 1 bit rotate left 173 Exclusiv e OR 158 1 bit rotate right 172 Expanded data transfer 241 1 bit shift left 165 Flip-flop 215 1 bit shift right 164 FOR 205 2’s complement 232 Forced coil 122 7-segment decode 23...
6F3B0253 Basic Hardware and Function 297 Appendix • Instruction symbol ∗ 145 FG 229 U/D 216 + 143 FOR 205 U< 194 +1 154 HTOA 161 U<= 195 +C 149 I/O 239 U<> 193 - 144 IRET 210 U= 192 -1 155 JCR 134 U> 190 -C 150 JCS 134 U>= 191 / 146 LL 225 UL 224 < 182 MAVE 159 W DT 211 <= 18...
TOSHIBA CORPORATION Industrial Equipment Department 1-1, Shibaura 1-chome, Minato-kuTokyo 105-8001, JAPANTel: 03-3457-4900 Fax: 03-5444-9268
Toshiba Manuals
-
Toshiba 26C100U
User Manual
-
Toshiba 26C100U
Manual
-
Toshiba 55SL412U
User Manual
-
Toshiba 55SL412U
Manual
-
Toshiba 50L5200U
User Manual
-
Toshiba 50L5200U
Manual
-
Toshiba 24V4210U
User Manual
-
Toshiba 24V4210U
Manual
-
Toshiba 40L3400U
User Manual
-
Toshiba 40L3400U
Manual
-
Toshiba 50L1350U
User Manual
-
Toshiba 50L1350U
Manual
-
Toshiba 24SLV411U
User Manual
-
Toshiba 24SLV411U
Manual
-
Toshiba 50L2400U
User Manual
-
Toshiba 58L7350U
User Manual
-
Toshiba 32L2400U
User Manual
-
Toshiba 32L2400U
Manual
-
Toshiba 50L1400U
User Manual
-
Toshiba 50L1400U
Manual