Home

Toshiba 6F3B0253 Sprinkler User Manual

image

Contents

1. Name Device Register IX Y R S T C XWYWRWSWI T C D 1 J kK A Countvalue dv TT Example Nania TE t R8818 C885 Note X005 e The transitional contact is required for X006 fl the count input Otherwise counting is Baa we executed every scan during X005 is ON R010 hnc 1 3 in this example e For the direction input and the count C005 input direct linking to a connecting point is not allowed Refer to Note of Shift C 005 i register FUN 074 21 6 T1 16S User s Manual 6F3B0253 7 Instructions FUN 154 CLND Set calendar Expression Input A CLND Output Function When the input is ON the built in clock calendar is set to the date and time specified by 6 registers starting with A If an invalid data is contained in the registers the operation is not executed and the output is turned ON Execution condition Output OFF ON Execution data is valid OFF No execution data is not valid ON Operand Name X Y R S T C XWYWIRWSW TI C O I J K A Statof tave v vi v JvjJvjvjv J Example R8828 R8831 1 I 4D8858 CLND When R020 is ON the clock calendar is set according to the data of D0050 to D0055 and the output is OFF R0031 is OFF If D0050 to D0055 contains invalid data the setting operation is not executed and the output is turned ON R0031 comes ON
2. ee Setting value 0 to 15 Operation Input signal T T T T IT lt gt lt gt lt gt Internal logic Scan cycle 9 9 JM L X device T Input filter constant 0 to 15ms Sample program ji SET S 16FH 88883 MOV SUB17 This program sets the input filter constant to 3ms 260 T1 16S User s Manual 6F3B0253 8 Special I O Functions 8 3 High speed counter 8 3 4 Single phase up counter Function When the count input is changed from OFF to ON the count value is increased by 1 When the count value reaches the set value the count value is reset to 0 and I O interrupt program is activated if the interrupt enable flag is ON The count value is reset to 0 when the reset input comes ON This counter operation is enabled while the soft gate is ON The count value is reset to 0 when the soft gate is changed from ON to OFF The set value is set internally at the timing of the soft gate changing from OFF to ON When the soft gate is OFF the count value can be changed by writing the data into the set value register and setting the count preset flag to ON The count value range is H0000 to HFFFF 16 bit data Hardware condition Count input X000 and X001 ON OFF pulse width 100us or more max 5KHz Reset input X002 and X003 ON OFF duration 2ms or more Related registers SW16 Function
3. X000 X003 axi R100 1scantime 1 scan time Note e The maximum usable number in a program is 2048 4K AVF APF ANF PH NH total 1 26 T1 16S User s Manual 6F3B0253 7 Instructions Positive pulse coil Expression A Input P 4 Function When the input is changed form OFF to ON the device A is set to ON for 1 scan time This instruction is used to detect the input changing from OFF to ON Execution condition Sets device A to OFF ON When the input at last scan is OFF sets Ato ON When the input at last scan is ON sets Ato OFF Operand Name X Y R S T C XWYWIRRWSW T C D J K A Device N IvNINI 1 1 1 Example BI R8181 1 R101 comes ON for only 1 scan when X000 is changed from OFF to ON X000 R100 1 scan time i scan time Note e The maximum usable number in a program is 2048 JAF AF APF ANF PH NH total Basic Hardware and Function 1 27 6F3B0253 7 Instructions Negative pulse coil Expression A Input N H Function When the input is changed form ON to OFF the device A is set to ON for 1 scan time This instruction is used to detect the input changing from ON to OFF Execution condition Output OFF When the input at last scan is OFF sets A to OFF When the input at last scan is ON sets A to ON Sets device A to OFF c
4. 286 10 1 6 Environmental problem iiie Prec prim bnt Presa EPI Qe k Iu ceed pru ess 287 10 2 Self diagnostic items e 288 PP DONO UE eec eee 293 A 1 List Of models and WES i i etra I P aa M I MEME 294 A 2 Instruction Ego A 295 1 2 T1 16S User s Manual 6F3B0253 Section 1 System Configuration 1 1 Introducing the T1 16S 14 1 2 Features 16 1 8 System configuration 19 1 4 I O expansion 20 1 5 Components 21 1 6 Computer link system 27 1 7 T1 16S5 Communication function 28 1 8 Real time data link system 32 1 9 Peripheral tools 33 Basic Hardware and Function 1 3 6F3B0253 1 System Configuration 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 figure below shows the T1 Series line up The T1 Series consists of the total 16 types T1 Series T1 T1 16 JE T1 MDR16 T1 MAR16 T1 MDR16D T1 28 T1 MDR28 F T1 mar2s T1 MDR28D T1 40 T1 MDR40 H T1 manao T1 MDR40D Tis T1 16S T1 MDR16SS_ i i Ti MDR16SC i Ti MDR16SSD l T1 MDR16SCD pcr T1 40S T1 MDR40S E T1 MAR40S T1 MDR40SD 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 l O points T1 16 T1 16S T1 28 T1 40 T1 40S 8 points 14 points 16 points 6 relay plus 2 slid state 12 re
5. eee tS ee 3 Example M incon R8811 t 32 R8818 R8188 32 devices starting with R100 R100 to R11F is specified as a shift register When R010 is OFF the data of the shift register is reset to 0 R100 to R11F are reset to OFF The carry flag CF S050 is also reset to OFF While R010 is ON the data of the shift register is shifted 1 bit to the upper address direction when X009 is changed from OFF to ON At the same time the state of X008 is stored in the leading bit R100 The output R011 indicates the state of the last bit R11F 1 68 T1 16S User s Manual 6F3B0253 7 Instructions The figure below shows an operation example When X009 is changed from OFF to ON ry EH al al ESI EH RN EHE ET X008 VM MAL 1 Lofo l Fo fo ft 4 0 sShitresut L R011 is turned OFF Note e When the shift input is ON the shift operation is performed every scan Use a transitional contact for the shift input to detect the state changing e For the data input and the shift input direct linking to a connecting point is not allowed In this case insert a dummy contact always ON special device SO4F etc just before the input I D SR q Not allowed N s n E A Dummy contact V HDp SR q Allowed I N s n E A Basic Hardware and Function 1 69 6F3B0253 7 Instructions FUN 075 Bi directional shift re
6. 1 i Example X6666 R8881 yYag22 1 Coil YO22 comes ON when the devices X000 and R001 are both OFF X000 m Yo22 c o P 1 18 T1 16S User s Manual 6F3B0253 7 Instructions Transitional contact Rising edge Expression Input JN Output Function When the input at last scan is OFF and the input at this scan is ON the output is turned ON This instruction is used to detect the input changing from OFF to ON Execution condition Regardless of the input state at last scan ON When the input state at last scan is OFF When the input state at last scan is ON Operand No operand is required Example XB888 va822 11 3 I 3 f Coil YO22 comes ON for only 1 scan when the device X000 comes ON X000 Y022 1 scan time iscandima Note e n case of T1 the maximum usable number in a program is 512 dN and WN total e Incase of T1S the maximum usable number in a program is 2048 AN AVF APF ANF PH NH total Basic Hardware and Function 1 1 9 6F3B0253 7 Instructions VE Transitional contact Falling edge Expression Input y Output Function When the input at last scan is ON and the input at this scan is OFF the output is turned ON This instruction is used to detect the input changing from ON to OFF Execution condition Input Output OFF When the input state at last scan is OFF
7. The above operation example is the case of rising edge setting for both inputs 268 T1 16S User s Manual 6F3B0253 8 Special I O Functions Sample program Main program H3045 1t 12357 MOV SUB16 I O interrupt program 3 Interrupt program A I O interrupt program 4 Interrupt program B In this example 12357 H3045 is set in SW16 As a result the interrupt input function 2 points rising for both is selected When X002 is changed from OFF to ON the interrupt program A is executed When X003 is changed from OFF to ON the interrupt program B is executed NOTE AA Even if the Direct I O instruction is used in the interrupt program the corresponding input state X002 or X003 cannot be confirmed Because the interrupt is generated before internal updating of the input states Basic Hardware and Function 269 6F3B0253 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 VO and V1 The SW register data can be used as timer presets or any parameters for function instructions Related registers Remarks Adjuster VO SW30 _ Data range 0 to 1000 Adjuster V1 SW31 Operation Decrease Increase Decrease Increase lt S VO V1 SW30 0 to 1000 SW 31 0 to 1000 Sample program R8818 T 611 Y 826
8. v v vrvN v NV P Input data Control parameter Output data A Process input value PVC B Proportional gain Ke C Manipulation value MV A 1 A mode set value ASV B 1 Integral time T C t Lasterror nt A 2 C modesetvalue CSV B 2 Derivative time Tp C 2 Last derivative value Dy A 3 M mode MV input MMV B 3 Dead band GP C PV int A 4 MV tracking input TMV B 4 A mode initial SV ISV C 4 SV A15 Mode setting MODE B 5 Input filter constant FT C 5 Integral remainder Ir B 6 ASV differential limit DSV C 6 Derivative remainder Dr B 7 C 7 A mode Auto mode B 8 C 8 C mode Cascade mode B 9 C 9 M mode Manual mode B 10 MV lower limit ML B 11 MV differential limit DMV B 12 Control interval setting n Basic Hardware and Function 21 9 6F3B0253 7 Instructions Control block diagram Integral control Integral gt 1 E Auto Tris Al ASV mode n a n DSV Proportional Differential E MVC Sn aoo Gap ie AP 3 Ke LAMY mvs Hit b pmv i x s x ES MV CSV Pasta aha Seca tag ene ian OO x x p Cascade Derivative mode Tos ADa MMV A DyMy l Tn Tos rd Manual Differential limit mode PVn n 0 1 1 PVC MVS Velocity Position E MVn
9. E e ee eee ee Pe EEE IL di UO 2 Example 1 41t B2888 MOV D86808 88188 MOV D8681 88188 MOV D8682 62666 MOV DAGOZ 81888 MOV D664 H 88388 MOV DB8685 H 88388 MOV D8686 01888 MOV D8687 R8818 2 L 4Xu884 FG 84 D8688 D108 When R010 is ON the FG instruction finds the function value f x for x XW004 and stores the result in D0100 The function f x is defined by 2 x 4 2 8 parameters stored in D0600 to D0607 In this example these parameters are set at the first scan Basic Hardware and Function 229 6F3B0253 T Instructions Parameter table 4 registers for x parameters and subsequent 4 registers for corresponding f x parameters y x4 y4 D0600 x D0601 X D0602 X3 D0603 X4 D0604 yi x D0605 y2 D0606 ys D0607 y4 xi yi The FG instruction interpolators f x value for x based on the n parameters of x y For example if XW04 is 1500 x 1500 the result 1405 f x 1405 is stored in D0100 YA X Note e The order of the x parameters should be x x lt x x In the above example the data of D0600 to D0603 should be D0600 lt D0601 lt D0602 x D0603 e If xis smaller than x y is given as f x In this example D0604 data 1800 is stored in D0100 if XW04 is smaller than D0600 2000 e If xis greater than x y is given as f x In this example D0607 data 1800 is stored in D0100 if XW04 is greater than
10. X000 Preset value T000 Note e Time is set in 10 ms units for T1 TO000 to T031 0 to 327 67 s T1S T000 to T063 0 to 327 67 s T 000 e Time is set in 100 ms units for a T1 T032 to T063 0 to 3276 7 s Y021 _ T1S T064 to T255 0 to 3276 7 s lt gt lt gt e Multiple timer instructions TON TOF or Preset time 2s Less than preset time SS with the same timer register are not allowed Basic Hardware and Function 1 29 6F3B0253 7 Instructions TOF OFF delay timer Expression Input A TOF B Output Function When the input is changed from OFF to ON the output and the timer device corresponding to the timer register B are set to ON When the input is changed from ON to OFF timer updating for B is started The elapsed time is stored in B When the specified time by A has elapsed after the input came OFF the output and the timer device are turned OFF Timer updating is stopped The available data range for operand A is 0 to 32767 Execution condition Output Elapsed time preset time timer is updating ON Elapsed time preset time timer is not updating OFF No operation timer is not updating Operand Name X Y R S T C XWYWIRRWSW TI C O I J K v 0 32767 Eg ul Pit A Presettime v v v N N N NV V V B Elapsedtime Jv Example XB888 Y6621 1 I 188188 TOF
11. F 8 7 o Allowable data range 2 digit BCD D0050 HOO Year HOO to H99 1990 2089 D0051 HOO Month H01 to H12 D0052 HOO D H01 to H31 gt Calendar D0053 HOO Hour HOO to H23 LSI D0054 HOO Minute HOO to H59 D0055 HOO i Second HOO to H59 Note e The day of the week is automatically Basic Hardware and Function 21 7 6F3B0253 7 Instructions FUN 155 CLDS Calendar operation Expression Input A CLDS B Output Function When the input is ON this instruction subtracts the date and time stored in 6 registers starting with A from the current date and time and stores the result in 6 registers starting with B If an invalid data is contained in the registers the operation is not executed and the output is turned ON Execution condition Operation No operation ON Execution data is valid No execution data is not valid Operand Name X Y R S T C XWYWIRWSW T C Dd I J K A Subtranend J v N v v N N V B Rest v v Ivriviviv 1 Example R8828 R8835 1 I 4n8858 CLDS D8188 When R020 is ON the date and time data recorded in D0050 to D0055 are subtracted from the current date and time of clock calendar and the result is stored in D0100 to D0105 In normal operation the output is OFF R0035 is OFF If D0050 to D0055 contains invalid data the operation is not executed and the output is turned ON R0035 comes ON Current date
12. 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 x 12 columns A example of a ladder diagram program is shown below MES Te 1 pa gt gazon THR MB dh 1 F When X005 is ON or the data of D0100 is greater than 200 YO27 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 6F3B0253 6 Programming Information 6 8 Program execution sequence The instructions execution sequence is shown below 1 They are executed in the sequence from block 1 through the final block which contains the END instruction or IRET in an interrupt program 2 They are executed in the sequence from rung 1 through the final rung in a block or the END instruction 3 They are executed according to the following rules in any one rung When there is no vertical 1 2 3 4 connection they are FN executed from left to right EE i ient Q When there is an OR bip Wu Hy o 7 connection the OR logic E Pr rm CH portion is executed first B g 5 Q When there is a branch they 1 2 3 4 are executed in the order from H Pg C 2 the upper line to the lower line 5 6 C gt H inati 1 3 4 5 amp A combination of and l pn CH above Hd S
13. B Elapsedtime pod B T v pod T op Example X8888 Y83821 1 L T 188188 SS T883 Y021 and the timer device T 003 is turned OFF 1 second after X000 came ON X000 j Note Preset value e Time is setin 10 ms units for T003 T1 T000 to T031 0 to 327 67 s ij T1S T000 to T063 0 to 327 67 s T 003 zog 7 uc o c mel e Time is set in 100 ms units for T1 T032 to T063 0 to 3276 7 s yoo T1S TO64 to T255 0 to 3276 7 s ET le e Multiple timer instructions TON TOF or Preset time 1 s Preset time 1 s SS with the same timer register are not allowed Basic Hardware and Function 1 31 6F3B0253 7 Instructions Expression Count input c CNT T Output Enable input JE A B Function While the enable input is ON this instruction counts the number of the count input changes from OFF to ON The count value is stored in the counter register B When the count value reaches the set value A the output and the counter device corresponding to B are turned ON When the enable input comes OFF B is cleared to 0 and the output and the counter device are turned OFF The available data range for operand A is 0 to 65535 Execution condition Enable Operation Output input No operation B is cleared to 0 ON Count value B lt set value A OFF Count value B gt set value A ON Operand Name X Y R S T C XWYWIRWSW T
14. tv vv Iv iv J v j ea p p os og sopor qPSISESEW E GJ ee Example ROGOS R8818 1 I 41D8811 D8818 D 8888188888 gt D8181 D8188 When R005 is ON the data of D0011 D0010 and the constant data 100000 is added and the result is stored in D0101 D0100 If the data of D0011 D0010 is 300000 the result 400000 is stored in D0101 D0100 and R010 is turned OFF No overflow underflow D001 1 D0010 300000 D0101 D0100 400000 R010 is OFF Constant 100000 Basic Hardware and Function 1 47 6F3B0253 7 Instructions FUN 032 D Double word subtraction Expression Input A 7 A D B 1 B C f C Output Function When the input is ON the double word data of B 1 B is subtracted from A 1 A and the result is stored in C 1 C The data range is 2147483648 to 2147483647 If the result is greater than 2147483647 the upper limit value 2147483647 is stored in C 1 C and the output is turned ON If the result is smaller than 2147483648 the lower limit value 2147483648 is stored in C1 C and the output is turned ON Execution condition Operation No execution ON Execution normal Execution overflow or underflow occurred Operand Name Device Register X Y R S T C XWYWIRWSW T C Dd I J K A Minuend v v v v vN vN N v j B Subtranend v v v v N N N v LC Difference
15. Data registe r D User specified retentive registers are retained Others are cleared to 0 Index register l J K Cleared to 0 NOTE wA 7 2 70 T1 16S User s Manual 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 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 hours 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 SOOF to ON Therefore check the status of SOOF in the user program and initialize the retentive registers if SOOF is ON 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 The input force and the forced coil are functions for program debugging For details refer to section 6 7 6F3B0253 5 Operating System Overview Self diagnosis Checks the proper operation of the T1 16S itself If an error has detected and cannot
16. Execution condition Operation No execution When the result is not 0 When the result is 0 Operand X Y R S T C xWYW RWSW T C D Ll J K ov p v A Source J J v vV v vV vN N NV V V V B Testda v v v vrN v N VIN N v v Example R8886 1H RUB887 TEST H FFF Logical AND operation is executed for the data of RWO7 and the constant data HOFFF and if the result is not 0 ROOA is turned ON ROOA is turned ON when any device from R070 to RO7B is ON If the data of RWO7 is H4008 ROOA is turned ON FEDCBA98 765 43 210 Rwo7 0 1 0j0j0 0 0 0 0 0 0 0 1 0 0 0 N N 4 0 0 8 AND Constant O o ojojt 1 1 1 1 1 1 1 1 1 1 N N 0 F F F Result 0 0j0j0j0 o oj0j0 0 0j0 1 0 0 0 Result is not 0 ROOA comes ON Basic Hardware and Function 1 63 6F3B0253 7 Instructions FUN 068 SHH 1 bit shift right Expression Input SHR1 A Output Function When the input is ON the data of register A is shifted 1 bit to the right LSB direction 0 is stored in the left most bit MSB The pushed out bit state is stored in the carry flag CF S050 After the operation if the right most bit LSB is ON the output is turned ON Execution condition Input Operation OFF Noexecution OFF ON When LSB 1 When LSB 0 Operand mu Name IX Y R S T C KW YWRWISWI T C D I J kK A Operationdatal w
17. designated by B 1 Direct I O instruction is effective only for the basic unit inputs outputs 2 The expanded data transfer XFER instruction supports some special functions It also supports the communication function The execution speed shown in the above table is for the EEPROM read write function When the Inverter connection mode is selected the execution speed of this instruction is typically 150 us max 500 us NOTE The index modification is available for some instructions The values in the VAV execution speed column show the execution time without index modification If index modification is used approx 20 us is added per one indexed operand Basic Hardware and Function 1 1 5 6F3B0253 7 Instructions 7 2 Instruction specifications The following pages in this section describe the detailed specifications of each instruction On each page the following items are explained Expression Shows the operands required for the instruction as italic characters Function Explains the functions of the instruction with referring the operands shown on the Expression box Execution condition Shows the execution condition of the instruction and the instruction output status Operand Shows available register device or constant value for each operand For constant operand available value range is described If the constant column is just marked Y it means normal value range 32768 to 32767 in 16 bit integer or 21
18. 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 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 e User friendly program editor includes cut amp paste address search amp replace program block move copy etc e Group programming part program development by multiple designers and merging them into a complete program enhance the software productivity e Powerful monitoring I O force and data set functions fully support your program debugging e Documentation of programs with commentary makes your maintenance work easy e Remote monitoring programming via modem radio phone is possible The table below shows the T PDS versions that support the T1 16S Type Versions available for T1 16 28 40 T1 40S T1 16S T PDS for Windows TMWS3S3E1SS Ver 1 0 or later Ver 1 2 or later T PDS for MS DOS TMM33l1SS Ver 1 61 or later Ver 2 1 or later 1 The T1 16S can be used with these versions However in this case there are the following functional limitations e The program size setting is only available as 2 k It is set to 4 k mode in the T1 16S
19. A SHR n B Output Function When the input is ON the data of register A is shifted n bits to the right LSB direction including the carry flag CF S050 and stored in B 0 is stored in upper n bits After the operation if the right most bit LSB is ON the output is turned ON Execution condition Input Operation OFF Noexecution OFF When LSB 1 When LSB 0 Operand Name DXTYTRTS ETE DSIRWIEWISWT T 6 TET TT A Source viv a a E x lL perpessus 1 7 1 3 E SES DEESEENRCEDESEESCINSEEE E Example XB887 R8881 1 L TL Ru8i8 SHR 85 gt Rug828 When X007 is changed from OFF to ON the data of RW18 is shifted 5 bits to the right and the result is stored in RW20 The figure below shows an operation example MSB 58 awis oT1T6ToToTo 1T0T1To oT T1T0 1 0 CF Rw20 0 0j0j0j0 0 1 0 0 0 0 1 0 1 0 0 Result d Ll R001 is turned OFF 0 1 66 T1 16S User s Manual 6F3B0253 7 Instructions FUN 071 n bit shift left Expression Input A SHL n gt B Output Function When the input is ON the data of register A is shifted n bits to the left MSB direction including the carry flag CF S050 and stored in B 0 is stored in lower n bits After the operation if the left most bit MSB is ON the output is turned ON Execution condition Input Operation OFF Noexectin OFF When MSB 1
20. C D J K A Setvalue v v v v N N v v v v 0 65535 X B Countvalue ivl 1 1 1 Example XBB81 Y6621 1 CNT XB882 6665 C818 Note e No transitional contact is required for the X001 LTE I count input The count input rising edge is BEA Lor detected by this instruction X002 e For the count input direct linking to a connecting point is not allowed In this C010 case insert a dummy contact always ON SO4F etc just before the input C 010 Refer to Note of Shift register FUN 074 Multiple counter instructions CNT with Y021 1 32 T1 16S User s Manual 6F3B0253 MCS Master control set reset MCR Expression Input MCS H 7 Instructions k MCR H Function When the MCS input is ON ordinary operation is performed When the MCS input is OFF the state of left power rail between MCS and MCR is turned OFF Execution condition input Sets OFF the left power rail until MCR Ordinary operation L Operand No operand is required Example When X000 is OFF YO21 and Y022 are turned OFF regardless of the states of X001 and X002 Equivalent circuit X000 Q Note E e NE e MCS and MCR must be used as a pair X001 Y021 e Nesting is not allowed O J X002 Y022 m V Basic Hardware and Function 1 33
21. ES CY U 128 J k 14 J la 137 el mm I O module 64 4 mm 46 T1 16S User s Manual 6F3B0253 Section 3 I O Application Precautions 3 1 Application precautions for input signals 48 3 2 Application precautions for output signals 50 Basic Hardware and Function 47 6F3B0253 3 l O Application Precautions 3 1 Application precautions for input signals 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 time for one scan Input OFF time OFF delay time the time for one scan The ON and OFF times of the input signals must be longer than these intervals Increasing the contact current The reliability 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 o o V Poy ot rum Ves R input i ircuit V l le M Wage s Connecting transistor output device An example of connecting a transistor output device to T1 16S s input circuit is shown below e For NPN open collector e For
22. MVn 1 AMVn 14T n n ull H L Upper lower limit Digtal filter DMV Differential limit Integral action control When MV is limited H L DMV and the integral value has same sign as limit over integral action is stopped Velocity Position conversion In Direct mode MV increases when PV is increased MWV z MV AMv In Reverse mode MV decreases when PV is increased gt MMWM z MV AMV Gap dead band operation Error e Algorithm Digital filter PVn 1 FT PVC FT PVn 1 Here 0 000 x FT lt 0 999 220 T1 16S User s Manual 6F3B0253 7 Instructions PID algorithm AMV KP 3 APh EE Aln F AD MV MV 4 AMV Here AP n n 1 e SV PV If GP z 0 Gap is applied Ana fu Attlr If T 0 then Al 0 Ti ABE To PVa 1 PVn At Dn Dr At 1 Tp Dn Dn 1 ADs 1204 Fixed Parameter details A A 1 A 2 A 3 A 4 A5 B 1 B 2 B 3 B 4 B 5 B 6 B 7 Process input value PVC 0 00 to 100 00 Auto mode set value ASV 0 00 to 100 00 Cascade mode set value CSV 0 00 to 100 00 Manual mode MV MMV 25 00 to 125 00 MV tracking input TMV 25 00 to 125 00 Mode setting MODE F C 8 4 0 Proportional gain Ke 0 00 to 327 67 Integral time T 0 000 to 32 767 min Al 0 if T 20 Derivative time Tp 0 000 to 32 767 min Gap dead band GP 0 00 to 10 00 95 Auto mode initial set value ISV 0 00 to 100 00 96 Input filter
23. S005 The I O allocation information and the i f S021 actual I O configuration are not identical Error down Check the I O allocation and the I O module mounting status I O no answer i i S005 No response from the T2 I O module has S022 been received Error down Check the I O allocation the expansion cable connection and the T2 I O module mounting status I O parity error i f i S005 I O bus parity error has been detected in 1 S023 data read write for T2 I O modules Error down Check the expansion cable connection and the T2 I O module mounting status S005 The allocated I O register address exceeds S021 the limit 32 words Error down Check the I O allocation Basic Hardware and Function 289 6F3B0253 10 Troubleshooting Error message and related information Special Meaning and countermeasures device Illegal inst Program Address S006 JAn illegal instruction has been detected in i S030 the program Error down S060 _ Reload the program and execute EEPROM Illegal sys intrpt Unregistered interrupt has occurred No error down If the error occurs frequently replace the unit Invalid Fun inst Program Address Fun No A function instruction which is not supported type in the by the T1 16S is programmed Error down block No block Correct the program Invalid program A basic ladder instruction which is not supported by the T1 16S is programmed Error down SUBR instruct
24. a 1 1 1 1 1 1 ES os l li 1 1 1 1 1 1 1 1 1 i P m Basic Hardware and Function 235 6F3B0253 7 Instructions FUN 186 ASCII conversion Expression Input A ASC B Output Function When the input is ON this instruction converts the alphanumeric characters into the ASCII codes and stores them in the register table starting with B 16 characters maximum Execution condition Operand Name X Y R S T C XWYWIRRWSWI T C D J K A Characters Charac tt ttt ttt tft yt SA fees 1 YP eee ETE du Example R8838 1 T ABCDEFGHIJKLMN ASC D82808 When R030 is ON the characters ABCDEFGHIJKLMN is converted into the ASCII codes and the result is stored in 8 registers starting with lower 8 bits byte of D0200 D0200 to D0207 High Low F 8 7 0 D0200 D0201 D0202 D0203 D0204 D0205 D0206 po 4 D0207 Previous data is remained Note e Only the number of bytes converted are stored The rest are not changed In the above example 14 characters are converted into 14 bytes of ASCII code and these ASCII codes are stored in 7 registers D0200 to D0206 The data of D0207 remains unchanged 236 T1 16S User s Manual 6F3B0253 7 Instructions FUN 188 Expression Input A BIN B Output Function When the input is ON this instruction converts the 4 digits of BCD da
25. e f Index register K is used as operand B the pointer data is discarded Basic Hardware and Function 227 6F3B0253 7 Instructions FUN 164 Expression Input A AVE n B Output Function When the input is ON this instruction calculates the average value of the data stored in the n registers starting with A and stores the average value in B The allowable range of the table size n is 1 to 64 Execution condition Operand Name X Y R S T C XWYWIRWSWI T C D J K A Startoftable v v v v v v vN S n raesze 1 64 7 B Resut J Jv viviv viviviv vi Example R0012 1 D8208 AVE 10 D8528 When R012 is ON the average value of the data stored in the register table D0200 to D0209 10 words and the average value is stored in D0520 D0200 D0201 D0202 D0203 D0204 D0205 D0206 D0207 D0208 D0209 _ D0520 2900 Average value 228 T1 16S Users Manual 6F3B0253 7 Instructions FUN 165 Expression Input A FG n B C Output Function When the input is ON this instruction finds the function value f x for A as x and stores it in C The function f x is defined by the parameters stored in 2 x n registers starting with B Execution condition Operand Name X Y R S T C XWYWIRWSW T C D K A linputvaluex jv v v v v v NINAN v n Parameter size
26. e Some of the added instructions MAVE DFL HTOA ATOH may not be edited monitored depending on the version VA 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 Basic Hardware and Function 33 6F3B0253 1 System Configuration T Series Handy Programmer HP9114 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 e The HP911A supports ladder diagram programming of T Series programmable controllers T1 16S T2 T2E T2N and T3 e Built in EEPROM allows program copy between T Series controllers e Two display modes are available Normal 5 lines and 12 columns Zoom Full device description e On line data set and I O force are useful for system checking e Backlit LCD display allows operation in dim light There are two types of the Handy Programmer HP911 depending on the cable included with Cable included with Versions available for T1 16S HP911A THP911A S 2m cable for T1 16S Ver 1 1 or later HP911 THP911 S 2 m cable for the upper Ver 1 1 or later T series PLCs The T1 16S can be used with the HP911 A However there are the following functional limitations
27. 03 3457 4900 Fax 03 5444 9268
28. 1 SUB38 TON T818 T 818 i 3U838 TON T8011 The above example is a simple flicker circuit of YO20 In this example the ON OFF interval of YO20 can be controlled by the adjuster VO 270 T1 16S User s Manual 6F3B0253 8 Special I O Functions 8 6 Pulse output function Function This function is used to output a variable frequency pulse train The controllable pulse frequency is 50 to 5000 Hz 1 Hz units The output mode can be selected either CW CCW or Pulse Direction PLS DIR In the CW CCW mode CW pulse is output when the frequency setting is positive 50 to 5000 and CCW pulse is output when it is negative 50 to 5000 In the PLS DIR mode DIR is OFF when the frequency setting is positive 50 to 5000 and DIR is ON when it is negative 50 to 5000 lt CW CCW mode gt CW LI LELILBU LET CCW LL TT I PLS DIR mode gt PLS DIR In the both modes pulse output is enabled when the pulse enable flag is ON While the pulse enable flag is ON the pulse frequency can be changed by changing the frequency setting value However the pulse direction the sign of the frequency setting cannot be changed when the pulse enable flag is ON This function can be used to control the speed of a stepping motor etc Related registers SW26 Function sel
29. 2 6 8 C 7 The instructions execution sequence in which function instructions are included also follows the above rules However for program execution control instructions such as jumps JCS loops FOR NEXT subroutines CALL SUBR RET it will depend the specifications of each instruction Basic Hardware and Function 99 6F3B0253 6 Programming Information 6 9 On line debug support functions The following on line during RUN functions are supported in the T1 16S for effective program debugging On line function Sampling trace function preset value function instruction Changing device directi es Program changing in edit Yes mode es EEPROM write command NOTE A Refer to section 6 5 for 4 k 8 k mode Force function Two types of force functions are available input force and coil force The input force is used to disable the external input signals When an external input device is designated as forced input the ON OFF state of the device can be changed manually by using the data setting function of the programming tool regardless of the corresponding external signal state The input force designation is available for the external input devices X The coil force is used to disable the coil instruction When a coil instruction on the program is designated as forced coil the ON OFF state of the coil device can be changed manually by using the data setting function of the program
30. 6F3B0253 7 Instructions JCS _ Jump control set reset JCR Expression Input JCS H JCR H Function When the JCS input is ON instructions between JCS and JCR are skipped not executed When the JCS input is OFF ordinary operation is performed Execution condition input Skips until JCR Operand No operand is required Example When X000 is ON the rung 2 circuit is skipped therefore YO21 is not changed its state regardless of the X001 state When X000 is OFF Y021 is controlled by the X001 state Note e JCS and JCR must be used as a pair e Nesting is not allowed 1 34 T1 16S User s Manual 6F3B0253 7 Instructions END Expression HEND H Function Indicates the end of main program or sub program Instructions after the END instruction are not executed At least one END instruction is necessary in a program Execution condition poe Em Cae CEN Operand No operand is required Example sam g Note e For debugging purpose 2 or more END instructions can be written in a program e Instructions after END instruction are not executed Those steps are however counted as used steps Basic Hardware and Function 1 35 6F3B0253 7 Instructions FUN 018 Data transfer Expression Input A MOV B Output Function When the input is ON the data of A is stored in B Execution condition Operand Name X Y R S T C XWYWIRWSW T C D J K A S
31. D0000 to D0002 a ee 2047 D0000 to D2046 2048 D0000 to D2047 Default value 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 VW 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 8007 comes ON 2 Even in RUN mode the EEPROM Write command can be executed However in this case only the user program is written into the 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 6F3B0253 5 Operating System Overview 5 3 Scanning The flowchart below shows the basic internal operations performed
32. Enable flag for HSC INT gt 00 CH2 disable CH1 disable 01 CH2 disable CH1 enable 10 CH2 enable CH1 disable 11 CH2 enable CH1 enable Bit F Variable input filter constant gt 0 No use fixed to 10ms 1 Use Basic Hardware and Function 257 6F3B0253 8 Special I O Functions Note In the explanation below P OUT means the pulse output function FEDCBA9876543210 sw26 jojojojojojojojojojoj L Bit 0 lt P OUT and PWM master flag gt 0 No use 1 Use Bit 1 lt P OUT PWM selection gt 0 PWM 1 P OUT Bit 2 PLS mode gt 0 CW CCW 1 Pulse Direction PLS DIR P OUT PWM operation error flag These are not user setting items Bit D lt PWM pulse width error gt 0 Normal 1 Error Bit E PWM ON duty setting error gt 0 Normal 1 Error 258 T1 16S User s Manual Bit F Frequency setting error gt 0 Normal 1 Error 6F3B0253 8 Special I O Functions The table below summarizes the mode setting data of each function In the table means do not care Variable input filter constant SW16 Use 10 0 0 0 0 High speed counter Single phase Channel 1 only up counter Channel 2 only Both channels Single phase Channel 1 only Speed counter Channel 2 only Quadrature bi pulse counter Interrupt input function Interrupt 1 only Rising OFF to ON Falling ON to OFF Interrupt 2 only Rising OFF to ON Fa
33. Its buck up period is as follows Environment Expected value temperature Under 30 C 86 F Over 30 C 86 F 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 SOOA is set to ON Therefore when the clock calendar is used it is recommended to check the status of SOOA 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 6F3B0253 6 Programming Information 6 4 I O allocation The external input signals are allocated to the external input devices registers X XW The external output signals are allocated to the external output devices registers Y YW The register numbers of the external input and output registers are consecutive Thus one register number can be assigned for either input or output As for the T1 16S basic unit I O allocation is fixed as follows Inputs 8 points X000 X007 T1 16S Outputs 8 points YO20 YO27 X000 X007 Y020 Y027 Any operations for the I O allocation
34. R020 is turned ON D0125 3000 2 D0020 3000 E R020 is ON If the data of D0125 is 1500 and that of D0020 is 0 the comparison result is false Consequently R020 is turned OFF D0125 1500 D0020 0 E R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 Basic Hardware and Function 1 79 6F3B0253 7 Instructions FUN 098 Equal Expression Input A B Output Function When the input is ON the data of A and the data of B are compared and if Ais equal to B the output is turned ON Execution condition Output ON Execution A B ON A B OFF Operand Name IX Y R S T JC XWYWRWISWI T C D 1 J kK K v 8 5 REIN B TD Je RR UU UU PES C ILILILITVUPPPPPPIP Example R888C R8828 1 I 1Dn8125 D8838 When ROOC is ON the data of D0125 is compared with the data of D0030 and if the data of D0125 is equal to the data of D0030 R020 is turned ON If the data of D0125 is 3000 and that of D0020 is 3000 the comparison result is true Consequently R020 is turned ON D0125 3000 D0030 3000 T R020 is ON If the data of D0125 is 1500 and that of D0020 is 0 the comparison result is false Consequently R020 is turned OFF D0125 1500 D0030 0 ee R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 1 80
35. Reserved S038 JReserved sose Reserved sosD J 2 JReserved SOE J Reserved sosF AJ J Reserved S040 OFF 0 05 s ON 0 05 s 0 1 s interval All OFF at the beginning of RUN mode S046 Timing relay 4 0 s S047 Timing relay 8 0 s S048 Reserved Reserved S049 S04A S04B S04C S04D 1 These devices are set by the T1 16S operating system These devices W 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 6F3B0253 6 Programming Information register S050 CF carry flag Used for instructions which manipulate carr ERF instruction error flag ON when instruction execution error is occurred related to alarm flags of SW06 Reserved Reserved Reserved Reserved Reserved Reserved NENNEN CERE SS NENNEN CNN NENNEN ee MEE CENE Em S058 Reserved mA BEEN EE ERE QNEM NENNEN a C EN RENNES rc es 052 S053 S054 S055 S056 S057 S059 Reserved S05A Reserved S05B Reserved S05C Reserved S05D Reserved S05E Reserved S05F S060 Illegal instruction down ON when illegal instruction is detected S061 Reserved NENNEN NEMINEM S002 Reserved Sd S063 Reserved S064 Boundary error alarm ON when illegal address is designated by indirect addressing operation continued S065 Reserved Reserved S0
36. Response time out No answer Others Inverter error response Refer to Inverter s manual Inverter communication status map B 4 to B 7 This 4 word table shows the communication status map of each Inverter 1 Normal 0 Error or No answer F E D C B A 9 8 7 6 5 4 3 2 1 0 B 4 15 14 13 12 11 10 9 8 7 6 5 4 3 2 11 0 B 5 B 6 B 7 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 246 T1 16S User s Manual 6F3B0253 7 Instructions lt Data exchange mode Mode 0 gt When the instruction input comes ON with the operand B 1 is 0 the Data exchange mode mode 0 is selected In this mode the T1 16S sends the following commands to the Inverters starting from 0 through the Inverter number specified by the operand B and repeats FA01 FA00 FA01 FA00 0 Frequency reference write 0 Operation command write 1 Frequency reference write 1 Operation command write aa n Frequency reference write FAO1 Scan n Operation command write FAOO 0 Operating frequency monitor FDOO 0 Output terminal status monitor FEO7 1 Operating frequency monitor FDOO 1 Output terminal status monitor FEO7 n Operating frequency monitor FDOO n Output terminal status monitor FEO7 The maximum Inverter number n is specified by the operand B The scan execution status and the Inverter communication status are stored in the operand B 2to B 7 The command data table is
37. available ON duty setting is 0 to 100 1 units Y020 PWM output Only one among these 4 functions can be selected SW 16 is used to select the function Note No function selection is required Either one between these 2 functions can be used SW26 is used to select the function Note 6F3B0253 8 Special I O Functions Mode setting for the special I O functions These functions except the analog setting function are selected by setting data into SW16 and SW26 by user program These registers work as mode setting registers for the special I O functions The data setting for these registers i e mode setting for the special I O functions is effective only at the first scan Note In the explanation below HSC and INT mean the high speed counter and the interrupt input functions respectively FEDCBA9876543210 swie o jojoj Jofo L Bit 0 lt HSC and INT master flag gt 0 No use 1 Use Bit 1 lt HSC INT selection gt 0 INT Bits 2 and 3 lt INT No 1 mode gt 00 No use Reserve 01 Rising OFF to ON 10 Falling ON to OFF 11 No use Reserve Bits 6 and 7 lt INT No 2 mode gt 00 No use Reserve 01 Rising OFF to ON 10 Falling ON to OFF 11 No use Reserve Bits A and B lt HSC mode gt 00 Single phase up counter 01 Single phase speed counter 10 Quadrature bi pulse counter 11 No use Reserve Bits C and D lt
38. f there is no ON bit in the bit table the instruction error flag ERF S051 is set to ON 200 T1 16S User s Manual 6F3B0253 7 Instructions Expression Input A DEC n B Output Function When the input is ON this instruction sets the bit position which is designated by lower n bits of A to ON in the bit table size 2 bits starting with 0 bit LSB of B and resets all other bits to OFF Execution condition Operand Name Register X Y R S T C XWYWIRWSW TI C O I J K A Decode source v v v v v v N N V V n Tabesize 1 8 B Startoftable Jv v vIv vIv Example R8811 1 L T1Dp8811 DEC 5 RU885 2 232 bits starting with 0 bit of RWO5 R050 to RO6F are defined as the bit table When R011 is ON the bit position designated by lower 5 bits of D0011 in the bit table is set to ON and all other bits in the table are reset to OFF The following figure shows an operation example FEDCBA9 876543210 pott LL BI blele Ignored H18 24 Sets ON 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 3210 0jojojo ojojo tjo ojojo ojojo ojojo ojojo ojO 0 0 00 RWO06 RW05 Basic Hardware and Function 201 6F3B0253 7 Instructions Expression Input A BC B Output Function When the input is ON this instruction counts the number of ON 1 bits of A and s
39. the T1 16S can perform the following functions for up to 63 Inverters 1 Cyclically scans the Inverters and sends receives the following data to from each Inverter e Send to Inverter Frequency reference write and Operation command write Run Stop etc e Receive from Inverter Operating frequency monitor and Output terminal status monitor 2 Cyclically scans the Inverters and receives the following data from each Inverter e Receive from Inverter Operating frequency monitor and Output terminal status monitor 8 Sends a specified Read command to a specified Inverter and stores the response data 4 Sends a specified Write command with the command data to a specified Inverter b Sends a specified Write command with the command data to all the connected inverters as broadcast Execution condition ON Normalexecution FC ON When error is occurred see Note Operand Name IX Y R S T C IWYWRWSWI T C D I J kK A Datatabe v v v N v v iv J T B nvrtrNo vj v v N v v N TT cjRe485pot Iv IvI vN v NINI JT Parameters Data table designation Parameter and status RS 485 port designation A B Inverttrnumeer C Fixed to H0030 A i Leading address B 1 Operation mode C Fixed to 0 B 2 B 3 Inverter communication status map each bit shows each Inverter status Data table designation A A 1 Type code A
40. the data of double length registers D0101 D0100 and RW21 RW20 are added and the result is stored in D0201 D0200 The RSTC is a instruction to reset the carry flag before starting the calculation If the data of D0101 D0100 is 12345678 and RW21 RW20 is 54322 the result 12400000 is stored in D0201 D0200 D0101 D0100 12345678 Dp0201 D0200 12400000 RW21 RW20 54322 Basic Hardware and Function 1 49 6F3B0253 7 Instructions FUN 036 Subtraction with carry Expression Input A C B gt C Output Function When the input is ON the data of B and the carry flag CF S050 are subtracted from A and the result is stored in C If borrow is occurred in the operation the carry flag is set to ON If the result is greater than 32767 or smaller than 32768 the output is turned ON This instruction is used to perform unsigned subtraction or double length subtraction Execution condition Operation No execution orF Overflow underflow ON Execution Normal Operand Name X Y R S T C XWYWIRWSW TI C O I J K A Minuend J v v v v v v NV N N N v Vv B Subtranend v v v v N N V V V V v v C Difference w v vrvN Iv IN VINI N vp v Example R8813 1 EMEN n C RUgB22 D8218 82801 C RU823 D8211 When R013 is ON the data of double length register RW23 RW22 is su
41. the sub program 1 can be used to set the initial value into the registers The sub program 1 is called the initial program The figure below shows the first scan operation RUN mode transition 1st scan 2nd scan oF _Main program Time The end of the sub program 1 is recognized by the END instruction 6 6 3 Timer interrupt 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 1 scan 1 scan 1 scan ecce E p p sam D 5 I Jb db E Timer interrupt Timer interrupt L Timer interrupt E interval interval Time The end of the timer interrupt is recognized by the IRET instruction Basic Hardware and Function 95 6F3B0253 6 Programming Information 6 6 4 I O interrupt programs The I O interrupt program is also the highest priority task It is executed immediately when the interrupt factor is generated with suspending other operation The following 4 types I O interrupt programs are supported in the T1 T1S 1 I O interrupt 1 The I O interrupt 1 is used with the high speed counter function When 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 IRE
42. 1 1 3 6F3B0253 7 Instructions Conversion instructions 062 Hex to ASCII Converts the hexadecimal conversion data of n words stating with A into ASCII characters and 4 161 stores them in nx2 registers starting with B 063 ASCII to Hex A ATOH n B Converts the ASCII conversion characters stored in n registers stating with A into hexadecimal data and stores them in n 2 registers starting with B Ain B 182 2 s A NEG B Stores the 2 s complement complement value of A in B zn god prem eme en value of A 7 Ain B 1 B 3 node 185 7 segment A 7SEG B Converts lower 4 bits of A decode into 7 segment code and 3 stores it in B ASCII A ASC B Converts the alphanumerics conversion max 16 characters of A into ASCII codes and stores 3 10 them in registers starting with B 188 Binary A BIN B Converts the BCD data in A conversion into binary data and stores it 3 65 5 in B 190 BCD A BCD B Converts the binary data in A conversion into BCD data and stores it 3 55 6 in B 1 14 T1 16S User s Manual 6F3B0253 7 Instructions I O instructions ne y o VO n A WEE es the immediate block I O transfer of n i y 257 registers starting with A 236 will data A XFER B gt C Writes data into the built in EEPROM or reads data from the EEPROM The transfer source and destination are indirectly V 259 designated by A and C The transfer register size is
43. 147 in C 1 C Double word A 7 A D B 1 B C 1 C Subtracts data of B 1 B from subtraction A 1 A and stores the result 4 11 7 148 in C 1 C 35 Addition with A C B gt C Adds data of A B and the carry and stores the result in C The carry flag changes according to the result Subtraction A C B gt C Subtracts data of B and the with carry carry from A and stores the result in C The carry flag changes according to the result 039 Unsigned A U B gt C t C Multiplies data of A and B multiplication and stores the result in double length register C 1 C Unsigned integer operation Unsigned AU B C Divides data of A by B and division stores the quotient in C and the reminder in C 1 Unsigned integer operation Unsigned A 1 A DIV B gt C Divides data of A 7 A by B double single and stores the quotient in C division and the reminder in C 1 Unsigned integer operation 044 031 032 0 36 39 40 41 0 1 08 T1 16S User s Manual 6F3B0253 7 Instructions Logical operations FUN Speed Page 048 AND A AND B gt C Finds logical AND of A and B aa 4 5 7 156 and stores it in C 050 A OR B gt C Finds logical OR of Aand B 4 57 157 and stores it in C 052 Exclusive OR A EOR B 5 C Finds logical exclusive OR of A e 4 5 7 158 and B and stores it in C 064 Bit test A TEST B Turns ON output if logical AND 3 5 0 163 of Aand Bis not O Sh
44. 8 explains the T1 16S s special I O functions Sections 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 UM TS01 E031 O Modules UM TS01 E034 Communication Function UM TSO1 E033 T Series Handy Programmer HP911 Operation Manual UM TSO3 E025 T Series Program Development System T PDS User s Manual UM TS03 E045 8 T1 16S User s Manual 6F3B0253 About This Manual Terminology The following is a list of abbreviations and acronyms used in this manual us microsecond ASCII American Standard Code For Information Interchange AWG American Wire Gage BCC Block Check Code CCW Counter Clockwise CPU Central Processing Unit CW Clockwise EEPROM Electrically Erasable Programmable Read Only Memory H hexadecimal when it appears in front of an alphanumeric string 1 0 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 Basic Hardware and Function 9 6F3B0253 Contents Safety Precautions A 3 About This Manual 2cui eieii
45. A Output Function When the input is ON and the device A is ON the output is set to ON Execution condition Input Operation Output L OFE No execution _______ _OFr ON When Ais ON When Ais OFF S Operand Name Device Registe X Y R S T C xW YWRWISSW T C D LI J K A Ste device v TT T uu T T Example R0028 ZHSTIN R8488 HH STO0T R8481 XB8B885 RB82Z 3HSTIN R8481 MST01T R8482 The following sequential operation is performed When R020 is changed from OFF to ON R400 is set to ON and subsequent 9 devices R401 to R409 are reset to OFF When X004 comes ON R400 is reset to OFF and R401 is set to ON When both X005 and R022 are ON R401 is reset to OFF and R402 is set to ON Ro20 X004 __ C X005 _ 1 R022 R400 R401 R402 Basic Hardware and Function 21 3 6F3B0253 7 Instructions FUN 146 STOT Step sequence output Expression Input STOT AH Function When the input is ON the device A is set to ON and the devices of STIN instructions on the same rung are reset to OFF Execution condition Input OFF ON Operand Name IX Y R S T JC XWYWRWSW T C D I J kK DStepdewes j Logs qq ppp doge Example See example on STIN FUN 145 instr
46. After the operation if the left most bit MSB is ON the output is turned ON Execution condition Input Operation OFF No execution OFF ON When MSB 1 When MSB 0 Operand mu Name IX Y R S T C KW YWRWISWI T C D I J kK A Operationdatal w v vrPNIvNIN VININ V Example XB888 ROGOZ 1 tH RTL1RU815 When X008 is changed from OFF to ON the data of RW15 is rotated 1 bit to the left The figure below shows an operation example MSB LSB F E D C B A 9 8 7 654322 1 0 zelo teu o19 Mt do lo RW15 cf SAAT AASV ASSIA ITD H 1 ojo 1 1 1 0 0 1 1 1 0 1 0 1 Rw15 Result E R002 is turned ON Basic Hardware and Function 1 73 6F3B0253 7 Instructions FUN 080 n bit rotate right Expression Input A RTR n gt B Output Function When the input is ON the data of register A is rotated n bits to the right LSB direction and stored in B After the operation if the right most bit LSB is ON the output is turned ON Execution condition Operation ON When LSB 1 When LSB 0 Operand Name Device ta RWS rrr en X Y R S T C XWYWIRWSWI TI C O I J K A Source Jv v v v v v v v v v v Vv ngntbts ffiws B Destination J v v v v vN IvNINIV N I v Example XB887 R8881 1 L TL LRu818 RTR 85 gt Ru828 When X007 is changed fro
47. C C 4096 words D 3 words I J K Memory Capacitor 1 hour at 25 C back up Battery option Max 2 years Min 6 months Note NOTE VA 1 The user program stored in the EEPROM is transferred to the RAM when power is turned on 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 at the next initial load timing 2 The data of RAM and calendar IC are backed up by built in capacitor and optional battery 3 When the optional battery is used replace the battery periodically with referring to the table below Over 30 C 86 F Operation time per day 40 T1 16S User s Manual 6F3B0253 2 Specifications Functional specifications cont d ltem TS I O capacity 16 points basic 128 points I O modules 24Vdc input 8 points Relay 6 points transistor 2 points Yes 60 s month at 25 C calendar Enhanced model onl Special I O functions e High speed counter 2 single or 1 quadrature Note e Interrupt input 2 points e Adjustable analog register 2 points Pulse output CW CCW or pulse direction e PWM output Communications e 1 port RS 232C programmer port interface for Programmer or Computer link connection e 1 port RS 485 Enhanced model only Programmer Computer link Data link Free ASCII Debug support e Sampling trace 8 devices and
48. D0100 and after Execution status H0000 Normal complete H0001 Communication error parity error framing error H0002 Message length over more than 512 bytes H0003 Receive buffer over flow H0004 Receive time out from start character to the trailing code Time out setting 300 600 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps Message length 0 No receive message 1 to 512 Message length in bytes Note e The XFER instruction is not executed as error in the following cases In these cases the instruction error flag ERF 2 S051 is set to ON If the ERF is set to ON once it remains ON until resetting to OFF by user program 1 The leading address for the RS 485 port designation is other than 0 2 Transfer size is other than 256 3 Mode setting of the RS 485 port is not the free ASCII mode 4 This instruction is programmed in the sub program 1 Basic Hardware and Function 243 6F3B0253 7 Instructions lt Transmitting gt When the instruction input is ON one set of message which is stored in the source table from start character to the trailing code is transmitted through the RS 485 port The execution status is stored in the status flag The instruction input must be kept ON until the transmitting operation is complete Example RHHH1 1 Danin XFER DABIZ ws i Source designation D0010 D0011 00500 D0500 CPU register Transfer size Destination design
49. 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 dotted line Error is detected by self diagnosis 0200 o 0806 NOTE VAV The commands from the programming tool are available when the mode control switch is in R RUN side Basic Hardware and Function 65 6F3B0253 5 Operating System Overview 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 stored 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 User data User specified number of Data register starting with address 0 It is set by SW55 D0000 Dnnnn Setting SW36 SW38 information Programmer port settings SW55 Number of Data register to be saved in the EEPROM SW56 SW57 RS 485 port settings Sampling trace setting information The user program and the data stored in the EEPROM are transferred to the RA
50. OOANDABRWNM OO Note e This instruction deals with the data as signed integer 32768 to 32767 e f there are two or more maximum value in the table the lowest pointer is stored e f Index register K is used as operand B the pointer data is discarded 226 T1 16S User s Manual 6F3B0253 7 Instructions FUN 163 Expression Input A MIN n B Output Function When the input is ON this instruction searches for the minimum value from the table of sizen words starting with A and stores the minimum value in B and the pointer indicating the position of the minimum value in B 1 The allowable range of the table size nis 1 to 64 Execution condition Operand Name X Y R S T C XWYWIRWSW T C D J K PSE i ee NEREEHENEESESESESEZESEREE NBI RENNES NNI aese pp dec dur o po d3 p qd qo 0 op dest B Resut v viviv vivIivI Iv INI Example R8811 1 I 1n8288 MIN 18 D8518 When R011 is ON the minimum value is found from the register table D0200 to D0209 10 words and the minimum value is stored in D0510 and the pointer is stored in D0511 Pointer D0200 D0201 D0202 D0203 D0204 D0205 D0206 D0207 D0208 D0209 gt D0510 1000 Minimum value gt D0511 Pointer ooNnNOoAAON O0O Note e This instruction deals with the data as signed integer 32768 to 32767 e f there are two or more minimum value in the table the lowest pointer is stored
51. PNP open collector 4 41 lt a Ti Ti input input l i circuit circuit 48 T1 16S User s Manual 6F3B0253 3 I O Application Precautions 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 LE Bleeder resistor Oo oO s T1 input O circuit 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 6F3B0253 3 l O Application Precautions 3 2 Application precautions for output signals IN WARNING Configure emergency stop and safety interlocking circuits outside the T1 16S Otherwise malfunction of the T1 16S can cause injury or serious accidents N CAUTION 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 Configure the external circuit so th
52. R S JT JC J XWYWRWSW T C D 1 J kK LA pee p qp pos qp ede peg a Example N Lucas F F Tuna R81BE When X003 is ON R10E is set to ON When X004 is ON R10E is reset to OFF If both are ON R10E is reset to OFF An example timing diagram is shown below xoo3 C l C 3 X004 p R10E Note e For the set input direct linking to a connecting point is not allowed In this case insert a dummy contact always ON SO4F etc just before the input Refer to Note of Shift register FUN 074 Basic Hardware and Function 21 5 6F3B0253 7 Instructions FUN 149 U D Expression Direction input Ju U D a Output Count input 4c Enable input E A Function While the enable input is ON this instruction counts the number of the count input changes from OFF to ON The count direction up count or down count is selected by the state of the direction input The count value is stored in the counter register A The count value range is 0 to 65535 e Up count when the direction input is ON e Down count when the direction input is OFF When the enable input is OFF the counter register A is cleared to 0 Execution condition Enable Operation input No operation A is cleared to 0 Count value is not limit value 0 or 65535 ON Count value is limit value and count input is ON ON Operand
53. RW107 RW176 RW177 RW178 RW179 Data contents 0 Operating frequency 0 Output terminal status No use No use 1 Operating frequency 1 Output terminal status No use No use 19 Operating frequency 19 Output terminal status No use No use Signal direction lt Read lt Read lt Read lt Read lt Read lt Read e The data format for the operating frequency register is 0 01 Hz units For example if it is 60 Hz the corresponding register data is 6000 e The bit assignment of the output terminal status register is as follows For details refer to your Inverter manual F E D C B A 98 7 6 5 4 3 2 1 NK NK NA AN i OUT1 f130 OUT2 f131 FL f132 R1 f133 R2 f134 OUTS 135 OUTA 1136 ALMO ALM1 ALM2 Example operation ALM3 The current operating frequency and the output terminal status of the 0 Inverter are stored in RW100 and RW 101 respectively If the 0 Inverter is operating at 55 Hz the data 5500 is stored in RW100 If the OUT2 terminal of the 0 Inverter is ON the bit 1 of RW101 R1011 becomes 1 250 T1 16S User s Manual 6F3B0253 7 Instructions lt Read command mode Mode 2 gt When the instruction input comes ON with the operand B 7 is 2 the Read command mode mode 2 is selected In this mode the T1 16S sends
54. Special I O Functions ou cece e etre eee eeeeaeeeeeeeeeeetenetaaaees 255 8 1 Special I O function overview ou eeeecscceeeeeeeeeetseeeeeeeeeenenaeaeeeeeees 256 8 2 Variable input filter constant eee ceeeeeee eee eeeeeeeeseeeeeeeeeeeeeeeeenenaaeees 260 8 3 High speed counter MT 261 8 3 1 Single phase up counter acere dece taa persa i rrS Sinn Per rr sad Pride 262 8 3 2 Single phase speed counter ssssssseeeeeeeee 263 8 3 3 Quadrature bi pulse counter eseeeeeeeeneene 265 8 4 Interrupt input function usas ioci ec ri i ittis nic o eire di eie xx se reti eta D cuuE iu EueiSs 268 8 5 Analog setting function isis ioris ocn es eed teed 270 8 6 Pulse output function ec 271 8 7 PWM output function ME Nr c cc 273 9 Maintenance and Checks 124 mee 275 9 1 Precautions during operation sseseeeeeeeeee 276 9 2 BEUVET c TM OO Too 277 9 3 Periodic checks ee eee I TTC NIRE 278 9 4 Maintenance parts aco cobi peti get tutisad esie i tutu cu nud i uEstar nutus 279 9 5 Batey oee ne LIO LU I ee 280 Basic Hardware and Function 1 1 6F3B0253 10 Bil IM c 281 10 1 Troubleshooting procedure seessesenmemme 282 10 1 1 Power supply check M 283 10 1 2 CHOC seco tte ee dus cds enc 284 10 1 3 Program check GMT RI 284 10 1 4 opener etc ee ee ree nee Cm 285 10 1 5 Output hek deme
55. T1 16S User s Manual 6F3B0253 7 Instructions FUN 099 Not equal Expression Input A lt gt B Output Function When the input is ON the data of A and the data of B are compared and if Ais not equal to B the output is turned ON Execution condition Output ON Execution AzB ON A B OFF Operand Name IX Y R S T C XWYWRWISWI T C D I J kK K v 8 5 REIN B TD e RR UU HUNE PES C ILILILITVUPPPPPPIP Example R888C R0026 1 D9125 lt gt BAHAA When ROOC is ON the data of D0125 is compared with the constant data 0 and if the data of D0125 is not 0 R020 is turned ON If the data of D0125 is 10 the comparison result is true Consequently R020 is turned ON D0125 10 x Constant 0 ad R020 is ON If the data of D0125 is 0 the comparison result is false Consequently R020 is turned OFF D0125 0 Constant 0 cet R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 Basic Hardware and Function 1 81 6F3B0253 7 Instructions FUN 100 Expression Input A lt B Output Function When the input is ON the data of A and the data of B are compared and if Ais less than B the output is turned ON Execution condition Output ON Execution A lt B ON A gt B OFF Operand Name IX Y R S T JC XWYWRWISW T C D 1 J kK K v 8 5 HR B TD dcm ERE HUN UU PES C ILI
56. T882 Y021 and the timer device T 002 is turned OFF 1 second after X000 came OFF Preset value T002 Note e Time is set in 10 ms units for T1 TO000 to T031 0 to 327 67 s T1S T000 to T063 0 to 327 67 s T 002 e Time is set in 100 ms units for Ti T032 to T063 0 to 3276 7 s vost 0 EN T1S T064 to T255 0 to 3276 7 s wt Multiple timer instructions TON TOF or Preset time 1 s Less than preset time SS with the same timer register are not allowed 1 30 T1 16S Users Manual 6F3B0253 7 Instructions Single shot timer Expression Input A SS B Output Function When the input is changed from OFF to ON the output and the timer device corresponding to the timer register B are set to ON and timer updating for B is started The elapsed time is stored in B When the specified time by A has elapsed after the input came ON the output and the timer device are turned OFF Timer updating is stopped The available data range for operand A is 0 to 32767 Execution condition Output OFF Elapsed time lt preset time timer is updating ON Elapsed time preset time timer is not updating OFF ON Elapsed time preset time timer is updating ON Elapsed time preset time timer is not updating OFF Operand Name Index X Y R S T C XWYWIRWSW T C D I J K A Presettime jv v v v N vN NP V vV v 0 3277
57. When MSB 0 Operand X Y R S T C XWYWIRWSW T C D J K 4 Name A Source J v v v v v v 4 N N V vN v v 1 npgntbts fise B Destination J v v v v vN IvN IvNIV VN Vv Example XBB888 R8882 1 L TF RRWU818 SHL 83 gt Rug8g28 When X008 is changed from OFF to ON the data of RW18 is shifted 3 bits to the left and the result is stored in RW20 The figure below shows an operation example MSB LSB B A 9 87 6 5 4 3 21 0 1 0 1 0j0j1 1 1 0 0 1 1 1 0 1 0 Rwis CF o o 1 1 1 0j0 1 1 1 0 1 0j0 0 0 RWO2O Result Ll R002 is turned OFF 0 Basic Hardware and Function 1 67 6F3B0253 7 Instructions FUN 074 Shift register Expression Datainput D SR Qq Output D Shift input s n E Enable input A Function While the enable input is ON this instruction shifts the data of the bit table size n starting with A 1 bit to the left upper address direction when the shift input is ON The state of the data input is stored in A The pushed out bit state is stored in the carry flag CF S050 When the enable input is OFF all bits in the table and the carry flag are reset to OFF Execution condition input Resets all bits in the bit table ON When the shift input is ON Last bit When the shift input is OFF state Operand Name p e S pr pe pn T or aT A leadingdevicel N v vV
58. When the input state at last scan is ON Regardless of the input state at last scan Operand No operand is required Example XBB88 Yag22 1 L 3 i Coil YO22 comes ON for only 1 scan when the device X000 comes OFF X000 Y022 i 1 scan time 1 scan time Note e Incase of T1 the maximum usable number in a program is 512 dN and WN total e In case of T1S the maximum usable number in a program is 2048 4K AVF APF ANF PH NH total 1 20 T1 16S User s Manual 6F3B0253 7 Instructions HM jCol O Expression A Input H Function Relay coil of device A When the input is ON the device A is set to ON Execution condition OFF Sets device Ato OFF ON jSetsdevice At0ON Operand Name IX Y R S T C JIWYWRWSWI T C D J K LA Device N IvNINI 1 1 1 Example zi Y8825 1 Coil YO25 comes ON when the devices X000 is ON X000 Y025 Basic Hardware and Function 1 21 6F3B0253 7 Instructions Expression Input XC H Function Regardless of the input sate the state of device A is retained Execution condition OFF Noopron Ss O o 1 ON Nooprain O Operand Name Register X Y R S T C XWYWIRRWSW T C O J K A Device Jvivijv 1 T Example
59. a yag25 1 Device Y025 retains the preceding state regardless of the devices X000 state Set force Reset force Set force Reset force Note e The forced coil is a debugging function The state of a forced coil device can be set ON or OFF by the programming tool 1 22 T1 16S User s Manual 6F3B0253 7 Instructions Expression Input I Output Function When the input is OFF the output is turned ON and when the input is ON the output is turned OFF This instruction inverts the link state Execution condition Inverts the input state Inverts the input state Operand No operand is required Example X66 yYag22 1 I Y022 comes ON when X000 is OFF and Y022 comes OFF when X000 is ON X000 Y022 Basic Hardware and Function 1 23 6F3B0253 7 Instructions Expression A Input 1 H Function When the input is OFF the device A is set to ON and when the input is ON the device A is set to OFF This instruction inverts the input state and store it in the device A Execution condition Sets device A to ON ees 1 Sets device A to OFF E um Operand Name Y R S T C XWYW IRWSW T C D J K LA Device NJN sN 1 1 1 i Example XBB888 Y6625 1 I Y025 comes ON when X000 is OFF and YO25 comes OFF when X000 is ON X000 Y0
60. amp time F 0 H0000 D0054 D0055 D0104 H0030 D0105 H0000 Minute Second D0050 D0100 Year D0051 D0101 H0003 Month minus D0052 D0102 H0007 Day D0053 D0103 H0001 Hour Note e Future date and time cannot be used as subtrahend A e Inthe calculation result it means that 1 year is 365 days and 1 month is 30 days 21 8 T1 16S Users Manual 6F3B0253 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 PID3 instruction has the following features e For derivative action incomplete derivative is used to suppress interference of high frequency noise and to expand the stable application range e Controllability and stability are enhanced in case of limit operation for MV by using digital PID algorithm succeeding to benefits of analog PID e Auto cascade and manual modes are supported in this instruction Digital filter is available for PV e Direct reverse operation is selectable Execution condition Initialization Execute PID every setting interval execution Operand MELLE eee ETE i x v R s r c xw vwIewsw TIC D J K Alfopofinputdata j v v v v vN v v T BlTopofparameter j v v v v vN v vV T ICTopofouputdaa
61. 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 6F3B0253 6 Programming Information 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 PU PUSlot must be blank 0 X Y4W Sioto is for basic unit XW00 XW01 YW02 and YWO3 are assigned internally lt 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 O 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 allocation refer to the programming tool manual NOTE A 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 6F3B0253 6 Programming Inf
62. cause fire or serious accidents Do not attempt to repair Contact Toshiba for repairing Wiring N 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 4 T1 16S User s Manual Safety Precautions Operation N WARNING 1 Configure emergency stop and safety interlocking circuits outside the T1 16S Otherwise malfunction of the T1 16S can cause injury or serious accidents N 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 3 When you attempt to perform force outputs RUN HALT controls etc during operation carefully check for safety 4 Turn on power to the T1 16S before turning on power to t
63. comes ON depending on the 2 30 1 216 up down select input U Up when U is ON down when U is OFF Basic Hardware and Function 1 1 1 6F3B0253 7 Instructions Program control instructions FUN Speed Subroutine call CALL N n Calls the subroutine number n 21 0 203 129 Subroutine HI RET H Indicates the end of a L3 in a f 204 return subroutine pair 132 FOR FOR n When the input of FOR is ON 1 executes the segment from 2 T 205 133 NEXT NEXT FOR to NEXT the number of times specified by n i pair 137 Subroutine H SUBR n H Indicates the start of the 2 included 207 entry subroutine number n in CALL interrupt program ina 141 Disable Disables execution of interrupt 1 pair 209 interrupt program 142 Interrupt return IRET H Indicates the end of an interrupt 1 14 210 program 143 Watchdog WDT n Extends the scan time over p 2 16 1 211 timer reset detection time Step sequence STIZ n A Resets OFF then These initialize devices stating with configure A and sets ON A a series 145 Step sequence STIN A Turns ON output if of step input input is ON and Ais sequence 2 ON STOT AH When input is ON resets OFF the devices of STIN on the same rung and sets ON A Speed us Calculates difference between present date amp time and past date amp time stored in 6 registers starting with A and stores the result in 6 regis
64. configured and requires no special programming Data registers D0000 to D0031 are used for the data transfer T1 16S Station No 1 D0000 D0000 ee i D0016 D0016 i lt o o T1S Station No 2 RS 485 1 km max Basic Hardware and Function 29 6F3B0253 1 System Configuration 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 can communicate with other PLCs using the computer link protocol T1 16S I RS 485 1 km max e Bar code reader e ID system e Weigh scale e Power meter e Printer e Others 30 T1 16S User s Manual 6F3B0253 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 e Control Run Stop Jog Forward Reverse Frequency reference etc e Parameter read write e Broadcast command T1 16S oe RS 485 1 km max RS485 adapter VF A7 VF A7 VF S
65. constant FT 0 000 to 0 999 ASV differential limit DSV 0 00 to 100 00 At MMV differential limit DMMV 0 00 to 100 00 At Data range Data range Data range Data range Data range Oto 10000 0 to 10000 0 to 10000 2500 to 12500 2500 to 12500 Operation mode 00 Manual mode 01 Auto mode 10 Cascade mode 11 Reserve Tracking designation 0 No 1 Yes Data range Data range Data range Data range Data range Data range Data range Data range 0 to 32767 0 to 32767 0 to 32767 Oto 1000 0 to 10000 0 to 999 0 to 10000 0 to 10000 Basic Hardware and Function 221 6F3B0253 7 Instructions B 8 Initial status STS F C 8 4 0 LTT TTT TTT A5 Initial operation mode 00 Manual mode 01 Auto mode 10 Cascade mode 11 Reserve Direct reverse selection 0 Direct 1 Reverse B 9 MV upper limit MH 25 00 to 125 00 Data range 2500 to 12500 B 10 MV lower limit ML 25 00 to 125 00 Data range 2500 to 12500 B 11 MV differential limit DMV 0 00 to 100 00 At Data range 0 to 10000 B 12 Control interval setting n 1 to 32767 times Data range 1 to 32767 Executes PID every n scan Therefore control interval At n x constant scan interval It is treated as n 1 when n lt 0 C Manipulation value MV 25 00 to 125 00 Data range 2500 to 12500 C1 Internal work area C 9 Operation 1 When the instruction input is OFF Initializes the PID3 instru
66. detailed key operations for arm trigger conditions setting on the T PDS refer to the manual for T PDS T PDS screen example of device timing chart Sample range LD E 255 PLC Tla npe Fi Fa Fa A FS Ph Fi Fa Fa Fil NOTE VAV 1 On the T PDS select 3 registers 8 devices as the sampling type 2 As the arm and trigger conditions register values cannot be used 3 The After times setting is not effective for the T1 16S Basic Hardware and Function 1 01 6F3B0253 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 constant operand of function instruction can be changed in on line during RUN by using the programming tool Device changing The device of contact or coil instruction can be changed in on line during RUN by using the programming tool On line program changing When the T1S s memory mode is 4 k mode the program can be changed using normal edit mode rung by rung In the on line program changing it is not allowed to change the number or order of the following instructions END MCS MCR JCS JCR FOR NEXT CALL SUBR RET IRET NOTE VAV The above on line functions are performed on the RAM memory Therefore when program has been changed execute the EEPROM write
67. e This instruction deals with the data as unsigned integer 0 to 65535 Basic Hardware and Function 1 93 6F3B0253 7 Instructions FUN 112 Unsigned less than Expression Input A U lt B Output Function When the input is ON the data of A and the data of B are compared and if Ais less than B the output is turned ON Execution condition Output ON Execution A lt B ON A gt B OFF Operand Name IX Y R S T C XWYWRWISWI T C D I J kK K v 8 5 REIN B TD e RR UU HUNE PES C ILILILITVUPPPPPPIP Example R888C R8828 1 D8125 U lt D8848 When ROOC is ON the data of D0125 is compared with the data of D0040 and if the data of D0125 is less than the data of D0040 R020 is turned ON If the data of D0125 is 43000 and that of D0040 is 45000 the comparison result is true Consequently R020 is turned ON D0125 43000 lt D0040 45000 R020 is ON If the data of D0125 is 50000 and that of D0040 is 50000 the comparison result is false Consequently R020 is turned OFF D0125 50000 2 D0040 50000 Ee R020 is OFF Note e This instruction deals with the data as unsigned integer 0 to 65535 1 94 T1 16S User s Manual 6F3B0253 7 Instructions FUN 113 Unsigned less than or equal Expression Input A U lt B Output Function When the input is ON the data of A and the data of B are compared and if Ais less than or equal to
68. functions are available When the level 1 2 and 3 passwords are registered the T1 16S will be started as protection level 4 In this state for example entering the level 2 password changes the protection level to 2 NOTE A When you use the password function do not forget the level 1 password Otherwise you cannot change release the registered passwords Basic Hardware and Function 1 03 6F3B0253 1 04 T1 16S User s Manual 6F3B0253 Section 7 Instructions 7 1 List of instructions 106 7 2 Instruction specifications 116 Basic Hardware and Function 1 05 6F3B0253 7 Instructions 7 1 List of instructions The T1 16S has 21 types of basic ladder instructions and 97 types of function instructions as listed below The specifications of each instruction will be described in detail later The tables listing these instructions are provided as a quick reference Note In the following table italic character means operand i e register device or constant value Basic ladder instructions FUN 3 Speed NO contact A NO normally open contact of 14 89 dk device A NC contact A NC normally closed contact 1 14 33 BEN NEN 1 14 39 118 Transitional Turns ON output for 1 scan contact rising IN when input changes from OFF 1 3 0 119 to ON Transitional Turns ON output for 1 scan contact falling V when input changes from ON 1 3 0 120 to OFF Coil A Relay coil of device A e M emori n za fal Forc
69. integer 2147483648 to 2147483647 1 84 T1 16S User s Manual 6F3B0253 7 Instructions FUN 103 Double word greater than or equal Expression Input A 7 A D B 1 B Output Function When the input is ON the double word data of A 7 A and B 1 B are compared and if A 1 A is greater than or equal to B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A gt B 1 B ON A 1 A lt B 1 B OFF Operand Name Device Registe x Yy R s T c AYWYWIRWSW T C D 1 J K m TEE EP Lu ee Example R8818 R8814 1 I 1D8181 D8188 D gt D8251 D8250 When R010 is ON the double word data of D0101 D0100 is compared with the double word data of D0251 D0250 and if the data of D0101 D0100 is greater than or equal to the data of D0251 D0250 R014 is turned ON If the data of D0101 D0100 is 250000 and D0251 D0250 is 200000 R014 is turned ON D0101 D0100 250000 2 D0251 D0250 200000 gt R014 is ON If the data of D0101 D0100 is 100 and D0251 D0250 is 0 R014 is turned OFF D0101 D0100 100 lt D0251 D0250 0 A R014 is OFF Note e This instruction deals with the data as double word integer 2147483648 to 2147483647 Basic Hardware and Function 1 85 6F3B0253 7 Instructions FUN 104 D Double word equal Expression Input A 7 A D B 1 B Output Function When the input is ON the double word
70. limit value 32767 is stored in C and the output is turned ON If the result is smaller than 32768 the lower limit value 32768 is stored in C and the output is turned ON Execution condition Output OFF ON Execution normal OFF Execution overflow or underflow occurred ON Operand X Y R S T C WYWRRWSW TI C O I J K A Minuend J v v v v vV N NV N v Vv B Subtranend v v v v N N N V V V v v PG Differences 3p pow og sg d op aes Tl a iD vit Ie d a Example R88685 R8818 1 r T1 8288 62566 gt RU858 When R005 is ON the constant data 2500 is subtracted from the data of D0200 and the result is stored in RW50 If the data of D0200 is 15000 the result 12500 is stored in RW50 and R010 is turned OFF D0200 15000 gt RW50 12500 R010 is OFF Constant 2500 If the data of D0200 is 31000 the result is smaller than the limit value therefore 32768 is stored in RW50 and R010 is turned ON D0100 31000 4 Underflow RW50 1 32768 R010 is ON Constant 2500 144 11 165 users Manual 6F3B0253 7 Instructions FUN 029 Multiplication Expression Input A B C f C Output Function When the input is ON the data of A is multiplied by the data of B and the result is stored in double length register C 1 C Exe
71. 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 reliability 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 explosion 11 Dispose of used battery promptly Keep away from children Do not disassemble and do not dispose of in fire 6 T1 16S User s Manual 6F3B0253 Safety Precautions Safety Label The safety label as shown on the right is attached to the power terminal of the attache N CAUTION A Do not touch terminals Remove the mount paper before wiring while power on Hazardous voltage can shock burn or cause death Peel off the label from the mount paper Do not touch terminals while power on Read related manual thoroughly for safet
72. manipulation value MMV is over written by current MV automatically MMV lt MV And bump less changing from cascade mode to auto mode is available Auto mode set value ASV is over written by current CSV automatically ASV CSV e MV tracking This function is available in auto and cascade modes When the tracking designation A 5 bit 2 is ON tracking input TMV is directly output as MV Manipulation value upper lower limit MH ML is effective but differential limit DMV is not effective When the tracking designation is changed to OFF the operation is started from the current MV Note e PID3 instruction is only usable on the main program e PID3 instruction must be used under the constant scan mode The constant scan interval can be selected in the range of 10 to 200 ms 10 ms increments e The data handled by the PID3 instruction are units Therefore process input value PVC manipulation value MV etc should be converted to 96 units scaling before and or after the PID3 instruction For this purpose the function generator instruction FUN165 FG is convenient Basic Hardware and Function 223 6F3B0253 7 Instructions FUN 160 Expression Input A UL B C Output Function When the input is ON the following operation is executed Upper limit for A by B If A lt B then C A If A B then C B Execution condition Output OFF ON Execution not limited A lt B OFF Execution limited A gt
73. operating frequency and the frequency reference registers are 0 01 Hz units For example if it is 60 Hz the corresponding register data is 6000 e For the data format of the output terminal status register refer to the Monitor mode mode 1 e The bit assignment of the operation command register is as follows For details refer to your Inverter man ual F ED CB A 9 8 7 6 54 3 2 1 0 NN KN NN HK HK AK R Example operation To operate the 0 Inverter at 30 Hz forward rotation write the value 3000 in D2002 and HC400 in D2003 HC400 Bits F E A are 1 and others are 0 The current operating frequency and the output terminal status of the 0 Inverter are stored in D2000 and D2001 respectively 248 T1 16S User s Manual Programmed speed selection 0000 None 0001 Speed 1 0010 Speed 2 1111 Speed 15 PI operation 0 Normal 1 Off DC braking 0 Off 1 On Jog operation 0 off 1 On F R selection 0 Forward 1 Reverse Run Stop 0 Stop 1 Run Free run 0 Normal 1 Free run Emergency stop 0 Normal 1 EMS Reset command 0 Normal 1 Reset Frequency enable 0 Disable 1 Enable Command enable 0 Disable 1 Enable 6F3B0253 7 Instructions lt Monitor mode Mode 1 gt When the instruction input comes ON with the operand B 7 is 1 the Monitor mode
74. operation before turning off power Otherwise program stored in the EEPROM will be overwritten On line EEPROM write The EEPROM write is possible in on line during RUN as well as in HALT mode In the on line EEPROM write user data is not written into the EEPROM During this operation the T1 16S s scan time becomes longer However as it has the time limit per scan the T1 16S s control operation is not stopped 1 02 T1 16S User s Manual 6F3B0253 6 Programming Information 6 10 Password protection The T1 16S has the password function to protect the user program and data from unauthorized operations There are four levels of protection Accordingly three levels of passwords can be registered to control the protection levels These passwords are stored in the built in EEPROM Therefore if you entered changed or cleared the passwords the EEPROM write operation is necessary The outline of the protection levels are shown below For details refer to the manual for the programming tool Protection level 4 disabled functions e Writing register device data e Writing system information e O allocation Protection level 3 disabled functions Strict e Reading program Program write into EEPROM Protection level 2 disabled functions e Clear memory e Writing loading program e T1 T1S operation mode changes by programming tool e Setting changing passwords Protection level 1 disabled functions e None all
75. programmed in the main program and in the interrupt program If this instruction is programmed in both the instruction in the main program should be executed in interrupt disable state Refer to El FUN 140 and DI FUN 141 instructions 240 T1 16S User s Manual 6F3B0253 7 Instructions FUN 236 XFER Expanded data transfer Expression Input A XFER B C Output Function When the input is ON data block transfer is performed between the source which is indirectly designated by A and A 7 and the destination which is indirectly designated by C and C 1 The transfer size number of words is designated by B The transfer size is 1 to 256 words except for writing into EEPROM Data transfer between the following objects are available e CPU register RW or D EEPROM D register e CPU register RW or D T1S RS 485 port T1S only Execution condition OFF Noexecution J Normal execution ON When error is occurred see Note Operand E Name XIYTR STTTC RWIVWIEWIEW T OTT T3 J Source Ex a B Transfersize iNIN IN IN IN N Ems PP PEEL PPP Pee parameter Parameters Source parameter Transfer size and status Destination parameter Type Transfersize C ne Leadingaddres Ba AG E EIC pee for RS 485 port C1 Leading address B 2 pee 2 words Leading address RW register RAM H0003 0 to 255 1 to 256 D register RAM H0004 0 to 4095 1 to 256 D register EEPRO
76. selection Refer to section 8 1 X000 X001 Note X002 X003 SW18 SW20 Data range H0000 to HFFFF Sw22 SW23 S240 S248 Operation is enabled when ON Interrupt enable 241 249 Interrupt is enabled when ON S243 S24B Used to preset the counter value Note When both channels are used X000 to X003 cannot be used as normal input devices However if either one channel is used these inputs for unused channel can be used as normal input devices Interrupt assignment Channel 1 I O interrupt program 1 Channel 2 I O interrupt program 2 Basic Hardware and Function 261 6F3B0253 8 Special I O Functions Operation Count input L IMLL UUU LULLE Reset input Soft gate EM Setvalue Count value Interrupt Sample program H1003 T 84899 MOY SU816 R8818 THK L 82888 MOY SU818 R8818 R8811 38243 taina MOU SUB18 In this example 4099 H1003 is set in SW16 As a result the single phase up counter channel 1 only is selected When R010 comes ON the data 2000 is written into the set value register SW18 While R010 is ON the soft gate S240 and the interrupt enable flag S241 are set to ON to enable the counter operation The counter works as a ring counter with the set value 2000 The count value is stored in SW22 When R010 is OFF and R011 comes ON the cou
77. separate the expansion cable from the power and I O signal cables by or unit at least 50mm e It is recommended to separate the input signal cables from output signal cables T1 16S 200mm or more PT TT ITT Ty E ED ED Ev wm wa wA WR Input Output High power signal signal cable Basic Hardware and Function 61 6F3B0253 62 T1 16S User s Manual 6F3B0253 Section 5 Operating System Overview 5 1 Operation modes 64 5 2 About the built in EEPROM 66 5 8 Scanning 69 Basic Hardware and Function 63 6F3B0253 5 Operating System Overview 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 HALT ERROR HOLD RUN F 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 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 change
78. set R8818 1 I 4 SET RuU828 When R010 is ON the data HFFFF is stored in RW20 R200 to R20F are set to ON The state of RW20 is remained even if R010 comes OFF 1 96 T1 16S User s Manual 6F3B0253 7 Instructions FUN 115 RST Device register reset Expression Input RST A Output Function When the input is ON the device A is reset to OFF ifA is a device or the data 0 is stored in the register A if A is a register Execution condition Input OFF ON Operand Name Constant X Y R S T JC J WYWRWSWI TIC D 1 I J E Pt J K jme LYE TYE TP Example 1 device reset R0011 1 I 4 RST R8885 When R011 is ON R005 is reset to OFF The state of R025 is remained even if R011 comes OFF Example 2 register reset R0011 1 I 4 RST ROZA When R011 is ON the data 0 is stored in RW20 R200 to R20F are reset to OFF The state of RW20 is remained even if R011 comes OFF Basic Hardware and Function 1 97 6F3B0253 7 Instructions FUN 118 SETC Expression Input SETC Output Function When the input is ON the carry flag CF S050 is set to ON Execution condition OFF Noexeuton 1 OFF Operand No operand is required Example R0011 1 t SETC When R011 is changed from OFF to ON the carry flag S050 is set to ON 1 98 T1 16S Users Manual 6F3B0253 7 Instructions FUN 119 RSTC Expression Input RSTC Output Function When the input is
79. specified by the operand A and A f When the instruction input is reset to OFF the operation is stopped after receiving the response from the Inverter currently communicating Example R0000 1 D1000 XFER RW200 gt D1010 Data table designation Parameter amp status RS 485 port D1000 RW200 D1010 H0030 fixed D1001 2000 RW201 D1011 RW202 RW203 RW204 RW205 Inverter comms RW206 status map RW207 When the data for each operand are set as above the following operation condition is specified e RW200 5 The max Inverter number is 5 Therefore T1 16S scans from 0 through 5 Inverters e D1000 4 amp D1001 2000 D2000 is specified as the data table starting address Basic Hardware and Function 247 6F3B0253 7 Instructions Data table Register Data contents D2000 0 Operating frequency D2001 0 Output terminal status D2002 0 Frequency reference D2003 0 Operation command D2004 1 Operating frequency D2005 1 Output terminal status D2006 1 Frequency reference 1 D2007 Operation command D2020 5 Operating frequency D2021 5 Output terminal status D2022 5 Frequency reference D2023 5 Operation command Signal direction lt Read lt Read Write Write lt Read lt Read Write Write lt Read lt Read Write Write e The data format for the
80. type Rated voltage 100 to 240Vac 10 15 24Vdc 20 15 50 60Hz 5 o 45VA or less 18W or less Retentive power Continuous operation for less than 10ms interruption e 1 25mm 16 AWG twisted pair cable should be used for the power cable e The power cable should be separated from other cables Basic Hardware and Function 59 6F3B0253 4 Installation and Wiring Connections of the power supply terminals are shown below e AC power supply type 100 240Vac Ma 100 to 240Vac Grounding e DC power supply type 24Vdc 60 T1 16S User s Manual 6F3B0253 4 Installation and Wiring 4 6 VO wiring 1 Turn off power before wiring to minimize the risk of electrical shock N CAUTION 2 Exposed conductive parts of wire can cause electrical shock Use crimp style terminals with insulating sheath or insulating tape to cover the conductive parts Also close the terminal covers securely on the terminal blocks when wiring has been completed 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 e Refer to sections 2 4 and 3 for instructions on how to properly wire the I O terminals e 0 75mm 18 AWG to 0 3mm 22 AWG wires are recommended for I O signals e Separate the I O signal cables from high power cables by at least 200mm e f expansion rack or unit is used
81. 0030 R020 is turned ON If the data of D0125 is 35000 and that of D0020 is 35000 the comparison result is true Consequently R020 is turned ON D0125 35000 D0030 35000 a R020 is ON If the data of D0125 is 1500 and that of D0020 is 4000 the comparison result is false Consequently R020 is turned OFF D0125 1500 D0030 4000 di R020 is OFF Note e This instruction deals with the data as unsigned integer 0 to 65535 1 92 T1 16S Users Manual 6F3B0253 7 Instructions FUN 111 Unsigned not equal Expression Input A U lt gt B Output Function When the input is ON the data of A and the data of B are compared and if Ais not equal to B the output is turned ON Execution condition Output ON Execution AzB ON A B OFF Operand Name IX Y R S T JC XWYWRWISW T C D I J kK K v 8 5 HR B TD dcm ERE HUN UU PES C ILI ILLI PPPPP Pp Example R888C R8828 1 I 1Dn8125 U lt gt 88888 When ROOC is ON the data of D0125 is compared with the constant data 0 and if the data of D0125 is not 0 R020 is turned ON If the data of D0125 is 41000 the comparison result is true Consequently R020 is turned ON D0125 41000 x Constant 0 R020 is ON If the data of D0125 is 0 the comparison result is false Consequently R020 is turned OFF D0125 0 Constant 0 rr ad R020 is OFF Note
82. 0125 150 Constant 100 _ R020 is ON If the data of D0125 is 0 the comparison result is false Consequently R020 is turned OFF D0125 0 2 Constant 100 R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 Basic Hardware and Function 1 83 6F3B0253 7 Instructions FUN 102 Double word greater than Expression Input A 7 A D gt B 1 B Output Function When the input is ON the double word data of A 7 A and B 1 B are compared and if A 1 A is greater than B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A gt B 1 B ON A 1 A lt B 1 B OFF Operand Name IX Y R S T JC IVYWRWISWI T C D I J kK a qe ELIT a T Pi CC DI IIIPIPPPTPPLLIEL C Pu Example R8818 R8814 1 L T1D8181 D8188 D gt 8888288888 When R010 is ON the data of D0101 D0100 is compared with the constant data 200000 and if the data of D0101 D0100 is greater than 200000 R014 is turned ON If the data of D0101 D0100 is 250000 the comparison result is true Consequently R014 is turned ON D0101 D0100 250000 gt J Constant 200000 R014 is ON If the data of D0101 D0100 is 100 the comparison result is false Consequently R014 is turned OFF D0101 D0100 100 lt Constant 200000 R014 is OFF Note e This instruction deals with the data as double word
83. 100 76 T1 16S User s Manual 6F3B0253 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 relay devices 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 T1 16S T000 to T063 T064 to T255 The timer devic
84. 12 5 5th scan 1006 1000 1005 1009 1012 1007 5 6th scan 1007 1005 1009 1012 1007 1004 5 7th scan 1006 1009 1012 1007 1004 998 5 8th scan 1003 1012 1007 1004 998 994 5 Basic Hardware and Function 1 59 6F3B0253 7 Instructions FUN 061 Digital Filter Expression Input A DFL B C Output Function When the input is ON this instruction calculates the following formula to perform digital filtering for input data A by filter constant by B and stores the result in C yn 1 FL x xn FLx yn 1 Here xnis input data specified by A FL is filter constant 1 10000 of data specified by B data range 0 to 9999 yn is output data to be stored in C yn i iS output data at last scan This instruction is useful for filtering the analog input signal C 7 is used for internal work data Execution condition Execution FL is limited within the range of 0 to 9999 Operand Name X XTYTRIS To AA A linputdata v v vN N v N v Cjowptdaa Jv N vN v viv Example Low DFL D80188 Sig 1 The filtered data of XW04 is stored in D0110 D0111 is used for internal work data Pi tu kK NININ I ov y B Filterconstant v v v v Vv v v T L 1 1 T When D0100 value is small When D0100 value is large XW04 XW04 D0110 D0110 gt gt Time Time 1 60 T1 16S User s Manual 6F3B0253 7 I
85. 2 is divided by the constant data 325 and the quotient is stored in RW27 and the remainder is stored in RW28 If the data of RW22 is 2894 the quotient 8 is stored in RW27 and the remainder 294 is stored in RW28 RW22 2894 RW27 8 quotient Constant 325 RW28 294 remainder Note e f divisor operand B is 0 ERF instruction error flag S051 is set to ON The ERF S051 can be reset to OFF by user program e g RST S051 e f the index register K is used as operand C the remainder is ignored e f operand A is 32768 and operand Bis 1 the data 32768 is stored in C and O is stored in C 1 46 T1 16S User s Manual 6F3B0253 7 Instructions FUN 031 Double word addition Expression Input A 7 A D B 1 B C 1 C Output Function When the input is ON the double word data of A 7 A and B 1 B are added and the result is stored in C 1 C The data range is 2147483648 to 2147483647 If the result is greater than 2147483647 the upper limit value 2147483647 is stored in C 1 C and the output is turned ON If the result is smaller than 2147483648 the lower limit value 2147483648 is stored in C1 C and the output is turned ON Execution condition Output OFF ON Execution normal OFF Execution overflow or underflow occurred ON Operand X Y R S T C XWYWIRWSW T C D J K LAjJAgend S S LE NIE ps IESUS T S pe owe D B dend
86. 25 1 24 T1 16S User s Manual 6F3B0253 7 Instructions Positive pulse contact Expression A Input P Output Function When the input is ON and the device A is changed from OFF to ON OFF at last scan and ON at this scan the output is turned ON This instruction is used to detect the device changing from OFF to ON Execution condition ON State of device Ais OFF OFF State of device A is ON Operand Name X XTY R TS T TS RWIWIRWEW T 6 TT 3T A Device s Nive E 4 gg rd T Example XBBB8 X8883 R8188 11 1 P R100 comes ON for only 1 scan when X000 is ON and X003 changes to ON X000 X003 R100 D 1scantime 1 scan time Note e The maximum usable number in a program is 2048 AN AVF APF ANF PH NH total Basic Hardware and Function 1 25 6F3B0253 7 Instructions Negative pulse contact Expression A Input AN Output Function When the input is ON and the device A is changed from ON to OFF ON at last scan and OFF at this scan the output is turned ON This instruction is used to detect the device changing from ON to OFF Execution condition Ais ON at last scan State of device Ais ON Operand Name X XTRAS To RWIWISWEW T 6 TT 3 A Device s IvvIsISISNI E 4 gg rd T Example XBBBB X8883 R8188 11 1 N R100 comes ON for only 1 scan when X000 is ON and X003 changes to OFF
87. 3 register 256 times function e On line programming e On line EEPROM write 1 High speed counter interrupt input pulse output and PWM output are VAV 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 6F3B0253 2 Specifications 2 3 I O specifications e Input specifications Item Input type Number of input points Rated input voltage Rated input current Min ON voltage Max OFF 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 side External connection Removable terminal block M3 Withstand voltage 1500Vac 1 minute between internal and external circuits Internal circuit Internal circuit 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 e Input signal connections Service ea Ji 24Vdc 24Vdc input NOTE y V 6F3B0253 2 Specifications The 24Vdc service power output is not provided on the DC power supply type Basic Hardware and Function 43 6F3B0253 2 Specifications Output specifications Item Specifications Relay output Transistor output 6 Output type Relay contact normally open Transistor output current si
88. 4 4 OAM a iciestusco boten ERE puer cM nl am eMe a aa Er 58 4 5 Power Supply WINING xiusciesci esu o abe De e AKI Drei RU M II MIDI OU ELUD MEER 59 4 6 pex T E 61 1 0 T1 16S User s Manual 6F3B0253 5 Operating System Overview sse 63 5 1 Operation modes MR 64 5 2 About the built in EEPROM cccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenenaenens 66 5 3 Secus mee Tr E 69 6 Programming Information ssseeemmRR 73 6 1 Devices and registers ifii ee ce indo cio iot aute tes testis 74 6 2 Index modification etc 86 6 3 Real time clock calendar eee ariete taie benennen 88 6 4 VO allocation eer m 89 p 5 1 169 memory mode setlilitj enri rore preparar reta b buen rereeren 91 6 6 User program configuration cuire erectas 92 6 6 1 Main DIOGlEIN MR RETO o o 94 6 6 2 Sub program E ee erene 95 6 6 3 Timer interrupt program te cr 95 6 6 4 CX interrupt programS gets eccass udis ente etuiikas dubi padri cu Ui Dd tud 96 6 6 5 estu MK M cp Te 97 6 7 Programming language ioci nen renun intor tte ann kin annia 98 6 8 Program execution sequence seeessseneemeenn 99 6 9 On line debug support functions ssssseeeeeee 100 6 10 Password protection 2 559 0 0 Gn is ete ling as sie ees 103 7 INSIUCHONS cicoria EEEE REA AEREA ne AE e 105 7 1 List of instructions crm 106 7 2 Instruction specifications Mr 116 8
89. 47483648 to 2147483647 in 32 bit integer is available Whether index modification for a register operand is usable or not is also shown for each operand Example Explains the operation of the instruction by using a typical example Note Explains supplementary information limitations etc for the instruction 1 16 T1 16S User s Manual 6F3B0253 7 Instructions NO contact Expression A Input Output Function NO normally open contact of device A When the input is ON and the device A is ON the output is turned ON Execution condition Regardless of the state of device A ON When device Ais OFF OFF OFF When device A is ON Operand a Name IX Y R S T C XWYWRWISWI T C D I J kK A Device NP N vN INIVIN 1 i Example XBBB8 R8BB81 va822 11 1 I 3 Coil YO22 comes ON when the devices X000 and R001 are both ON X000 LL R001 T Y022 E Basic Hardware and Function 1 1 7 6F3B0253 7 Instructions NC contact Expression A Input Output Function NC normally closed contact of device A When the input is ON and the device Ais OFF the output is turned ON Execution condition Regardless of the state of device A ON When device A is OFF ON When device A is ON Operand a Name IX Y R S T C XWYWRWISW T C D I J Kk A Device NP N vN INIVIN
90. 5 Enhanced model only OOOOOO OOOOOO TXA RXA RXB TXA RXA RXB TXB TRM SG TXB TRM SG MDR16SS MDR16SSD DC IN 599r RELAY OUT DC IN l ae RELAY OUT L SJOl 1 3 5 7 vin21 23 25 27 ncl 1 3 5 7 Vin 21 23 25 27 N nc 0 2 416 20 22 24 26 nc nc 0 2 4 6 c 20 22 24 26 KC VA 1 NC stands for no connect Do not use the NC terminals for wire relaying or branching 2 Forthe connections of the RS 485 communication port the upper terminal block refer to the separate manual T1 16S User s Manual Communication Function The applicable wire size is 0 3mm 22 AWG to 1 25mm 16 AWG The table below shows the recommended wire size 1 25mm 16 AWG 1 25mm 16 AWG I O signals 0 3mm 22 AWG to 0 75mm 18 AWG Basic Hardware and Function 57 6F3B0253 4 Installation and Wiring 4 4 Grounding N CAUTION 1 Turn off power before wiring to minimize the risk of electrical shock 2 Operation without grounding may cause electrical shock or malfunction Connect the ground terminal on the T1 16S to the system ground 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 i
91. 567 the data 1234567 is stored in RW17 RW16 Basic Hardware and Function 1 37 6F3B0253 7 Instructions FUN 020 Invert transfer Expression Input A NOT B Output Function When the input is ON the bit inverted data of Ais stored in B Execution condition Input OFF ON Input OFF _ ON Operand Name IX Y R S T C XWYWRWISW T C D I J kK A Source cp p pop pxqpsp ups ae ara vV d X E Destination E pog xp gp aes xA el a Example R8885 1 I 1RU838 NOT D8288 When R010 is ON the bit inverted data of RW30 is stored in D0200 and the output is turned ON If RW30 is H4321 the bit inverted data HBCDE is stored in D0200 F ED C B A 9 876 5 4 3 2 1 O Rw30 o 1 o o o o 1 t o o 1 o o o o t 4 3 2 1 Bit invert F ED C B A 9 8 7 6 5 4 3 2 1 0 po200 1 o 1 1 1 1 o o 1 1 o 1 1 1 1 0 B C D E 1 38 T1 16S User s Manual 6F3B0253 7 Instructions FUN 022 XCHG Expression Input A XCHG B Output Function When the input is ON the data of A and the data of B is exchanged Execution condition Operand Name IX Y R S T C IWYWRWISWI T C D 1 J kK Ajoeeaiondaa v v v NN N V N NV Vv I Bjopeaiondaa v v vrN vN IN VIN N J v Example R0005 1 R4023 XCHG D8188 When R005 is ON the data of RW23 and D0100 is exchanged If the original data of RW23 is 23456 and that of D0100 is 291 the operation resu
92. 5m length CJ105 TCJ105 CS HP911A cable for T1 T1S 2m length spare parts CJ102 TCJ102 CS RS 232C connector for computer link PT16S TPT16S AS with 2 m cable l O module O connector for DI116M DO116M DD1 16M soldering type l O module O connector for DI116M DO116M DD1 16M flat cable type 294 T1 16S User s Manual 6F3B0253 Appendix A 2 Instruction index Instruction name 1 bit rotate left 1 bit rotate right 1 bit shift left 1 bit shift right 2 s complement 7 segment decode Absolute value Addition Addition with carry AND ASCII conversion ASCII to Hex conversion Average value BCD conversion Bi directional shift register Binary conversion Bit count Bit test Calendar operation Coil Counter Data exchange Data transfer Decode Decrement Demultiplexer Device register reset Device register set Digital filter Direct I O Disable interrupt Division Double word 2 s complement Double word addition Double word data transfer Double word equal Double word greater than Double word greater than or equal Double word less than Double word less than or equal Double word not equal Double word subtraction Enable interrupt Encode End Equal 173 172 165 164 232 234 231 143 149 156 236 162 228 238 170 237 202 163 218 121 132 139 136 201 155 177 197 196 160 239 209 146 233 147 137 286 284 285 288 289 287 148 208 200 135 180 Exclusive OR Expanded dat
93. 648 to 2147483647 Basic Hardware and Function 1 89 6F3B0253 7 Instructions FUN 108 Unsigned greater than Expression Input A U gt B Output Function When the input is ON the data of A and the data of B are compared and if A is greater than B the output is turned ON Execution condition Output ON Execution A gt B ON A lt B OFF Operand Name IX Y R S T C XWYWRWISWI T C D I J kK K v 8 5 REIN B TD e RR UU HUNE PES C ILILILITVUPPPPPPIP Example R888C R8828 1 I 1Dn8125 U gt 48888 When ROOC is ON the data of D0125 is compared with the constant data 40000 and if the data of D0125 is greater than 40000 R020 is turned ON If the data of D0125 is 52000 the comparison result is true Consequently R020 is turned ON D0125 52000 gt Constant 40000 R020 is ON If the data of D0125 is 21000 the comparison result is false Consequently R020 is turned OFF D0125 21000 lt Constant 40000 M R020 is OFF Note e This instruction deals with the data as unsigned integer 0 to 65535 1 90 T1 16S User s Manual 6F3B0253 7 Instructions FUN 109 Unsigned greater than or equal Expression Input A gt B Output Function When the input is ON the data of A and the data of B are compared and if Ais greater than or equal to B the output is turned ON Execution condition Input Output OFF OFF
94. 67 Reserved S068 ON when error occurs in division instruction operation continued ON when BCD data error has detected in BCD operation instructions operation continued ON when table size error has detected in table alarm operation instructions operation continued T1S onl Encode error alarm ON when error occurs in encode instruction operation continued SOC A Reserved SD Reseved 1 2 Sog 3 Reseved og CN JJReeved SAU 1 Devices marked as down are set in the ERROR mode Therefore BE oa S060 Reserved EE S050 S052 S053 S054 S055 S056 S057 S058 S059 SOSA S05B S05C S05D SO5E SO5F soso S061 S062 S068 S065 S066 S067 S06C these devices cannot be used in the user program 2 CF ERF and devices marked as alarm can be reset by the user program 82 T1 16S User s Manual 6F3B0253 6 Programming Information register SW07 Clock calendar Year Lower 2 digits of the calendar year 01 02 They are stored in the lower 8 bits by BCD code SW13 Clock calendar Week Day of the week Sun 00 Mon 01 Sat 06 SWi4 Reserved SW15 Peripheral support priorit Bit 8 S158 is used to select peripheral support priorit SW16 Mode of s
95. 9 VF S9 VF S9 VF S9 Max 64 Inverters Basic Hardware and Function 31 6F3B0253 1 System Configuration 1 8 Real time data link system TOSLINE F10 TOSLINE F10 is a high speed data transmission system suited for small points I O distribution system By inserting the TOSLINE F10 remote 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 TOSLINE F10 system specifications High speed mode Long distance mode Bus terminated at both ends Transmission distance 500 m max total 1 km max total without repeater 750 kbps 250 kbps 512 points 32 words max capacit 7 ms 32 words 12 ms 32 words CRC check VA 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 overall TOSLINE F10 system Typical data link configuration The figure below shows the typical data link configuration Master computer T2E master TOSLINE F10 T1 16S T1 16S T1 16S T2E RI O RI O remote RI O remote I O Operator interface units 32 T1 16S User s Manual 6F3B0253
96. A and the data of B are added and the result is stored in C If the result is greater than 32767 the upper limit value 32767 is stored in C and the output is turned ON If the result is smaller than 32768 the lower limit value 32768 is stored in C and the output is turned ON Execution condition Output OFF ON Execution normal OFF Execution overflow or underflow occurred ON Operand Name Xv RS To jWIWIRWEW T 6 5T T 3 J purse pm B dend J Vv vv Vv vV v c sum J j j Pv vN vN v vN ININVINI N Tv Example R8885 R8818 1 I 1Dn8188 616606 D80118 When R005 is ON the data of D0100 and the constant data 1000 is added and the result is stored in D0110 If the data of D0100 is 12345 the result 13345 is stored in D0110 and R010 is turned OFF D0100 12345 D0110 13345 R010 is OFF Constant 1000 If the data of D0100 is 32700 the result exceeds the limit value therefore 32767 is stored in D0110 and R010 is turned ON D0100 32700 ____ Overflow D0110 32767 R010 is ON Constant 1000 Basic Hardware and Function 1 43 6F3B0253 7 Instructions FUN 028 Subtraction Expression Input A B gt C Output Function When the input is ON the data of B is subtracted from the data of A and the result is stored in C If the result is greater than 32767 the upper
97. B ON Operand Name X X YTRIS To RWIWISWEW 7 6 5T T 3 J ENSE e a e B Upperlimit Jv v v v N N VN V V NV v vV Destination viv vivivjv vJv v v Example R8838 R8848 1 r 1nRu8B18 UL D1200 RU821 When R030 is ON the upper limit operation is executed for the data of RW018 by the data of D1200 and the result is stored in RWO21 RW021 ETE Upper limit B D1 200 gt A RW018 When RWO018 is 3000 and D1200 is 4000 3000 is stored in RWO21 and R0040 is OFF When RWO018 is 4500 and D1200 is 4000 the limit value 4000 is stored in RW021 and R0040 is ON Note e This instruction deals with the data as signed integer 32768 to 32767 224 T1 16S User s Manual 6F3B0253 7 Instructions FUN 161 Expression Input A LL B C Output Function When the input is ON the following operation is executed Lower limit for A by B If A gt B then C A If A lt B then C B Execution condition Output OFF ON Execution not limited A gt B OFF Execution limited A B ON Operand Name X Y R S T C XWYWIRWSW T C O I J K A Operation data v v v v v N NN JNV N v Vv B owet imt Jv v v v N NW V V V V v v C Destination vi viv vivjv vJv v v Example R8831 R8841 1 RWH19 LL D12290 RU822 When R031 is ON the lower lim
98. B the output is turned ON Execution condition Input Output OFF OFF ON Execution A lt B ON A gt B OFF Operand Name Device Register X Y R S T C AXWYWIRWSW T C D 1 J K K v 85 5 REIN a TD e UU UU PES C T T PPPE Example R888C R8828 1 I 1D8125 U lt 35888 When ROOC is ON the data of D0125 is compared with the constant data 35000 and if the data of D0125 is less than or equal to 35000 R020 is turned ON If the data of D0125 is 35000 the comparison result is true Consequently R020 is turned ON D0125 35000 lt Constant 1 35000 i R020 is ON If the data of D0125 is 0 the comparison result is false Consequently R020 is turned OFF D0125 38000 gt Constant L35000 R020 is OFF Note e This instruction deals with the data as unsigned integer 0 to 65535 Basic Hardware and Function 1 95 6F3B0253 7 Instructions FUN 114 Device register set Expression Input SET A Output Function When the input is ON the device A is set to ON if A is a device or the data HFFFF is stored in the register A if A is a register Execution condition Input OFF ON Operand Name Constant X Y R S T JC JWYWIRWSW T C DI I J E Pt J K jme TYE EYE TP Example 1 device set R8818 1 I 4 SET R8825 When R010 is ON R025 is set to ON The state of R025 is remained even if R010 comes OFF Example 2 register
99. D0603 2000 e The valid data range is 32768 to 32767 230 T1 16S User s Manual 6F3B0253 7 Instructions FUN 180 Absolute value Expression Input A ABS B Output Function When the input is ON this instruction finds the absolute value of operand A and stores it in B Execution condition Operand Name x Y RIS T C XWYWIRWSW T C D J K A Source cp P pop rx ae ara vV n Destination E pog xp cp Sp pq pw NY E Example XB886 1 I Q1Ru838 ABS D8121 When X006 is ON the absolute value of RW38 is stored in D0121 For example if RW38 is 12000 the absolute value 12000 is stored in D0121 D0121 IN 32767 12000 0 32767 RW38 Note e The data range of A is 32768 to 32767 If the data of A is 32768 32767 is stored in B Basic Hardware and Function 231 6F3B0253 7 Instructions FUN 182 Expression Input A NEG B Output Function When the input is ON this instruction finds the 2s complement value of A and stores it in B Execution condition Input OFF ON Input OFF _ ON Operand Name Register IX Y R S T C XWYWRWISW T C D I J kK A Source cp P pop rx ae ara vV n Destination E pog xp cp Sp pq pw NY E Example XB887 1 I Q1RU839 NEG D8122 When X007 is ON the 2 s complement value sign inverted data of RW39 is stored in D0122 For example if RW38 is 4660 the 2 s co
100. D1001 3010 D3010 is specified as the command code setting register and D3011 is specified as the command data setting register Data table Register Data contents Signal direction D3010 Command code D3011 Command data Write Example operation For example to write the acceleration time parameter 10 seconds to the 5 Inverter set the command code H0009 into D3010 and the value 100 into D3011 For the command code and the command data format refer to your Inverter manual 252 T1 16S User s Manual 6F3B0253 lt Broadcast mode Mode 4 gt 7 Instructions When the instruction input comes ON with the operand B 1 is 4 the Broadcast mode mode 4 is selected In this mode the T1 16S sends the user specified Write command to all the Inverters as broadcast This mode is useful to send Run Stop command to all the Inverter at the same time V Repeat Sends the specified command with command data to all Inverters broadcast V Checks the acknowledge from 0 Inverter The Inverter number specified by the operand B is ignored The scan execution status and the Inverter communication status are stored in the operand B 2 to B 7 only 0 Inverter responds The command code and the command data setting registers are indirectly specified by the operand A and A f When the instruction input is reset to OFF the operation is stopped after receiving the Example R0000 1 D1000 XFER RW200
101. Data table designation D1000 D1001 3020 response from the Inverter moo Parameter amp status RS 485 port RW201 D1011 RW202 RW203 RW 204 RW205 RW206 RW 207 Inverter comms status map When the data for each operand are set as above the following operation condition is specified e D1000 4 amp D1001 3020 D3020 is specified as the command code setting register and D3021 is specified as the command data setting register Data table Register Data contents Signal direction D3020 Command code D3021 Command data Write Example operation For example to send the Run forward command to all the Inverters set the command code HFA00 into D3020 and the value HC400 into D3021 For the command code and the command data format refer to your Inverter manual Basic Hardware and Function 253 6F3B0253 7 Instructions lt Note gt 1 The XFER instruction is not executed as error in the following cases In these cases the instruction error flag ERF S051 is set to ON If the ERF is set to ON once it remains ON until resetting to OFF by user program e The RS 485 port designation is other than H0030 and 0 e The Inverter number designation is other than 0 to 63 Operation mode setting for RS 485 port is other than the Inverter connection mode 2 This XFER instruction must be programmed in the Main program 8 During the instruction input is ON the data contents in the
102. ENI NENNEN y E e S394 Reseved o RENE CIN po y MEREEE re Doo IEEE GREEN MEE EN HN 396 397 S39B S39C S39D S39E S39F 400 401 HOLD device ON during HOLD mode setting by user program is also available 940 Reseved y 940 ZJL0 Reseved S 9404 Reseved 9405 Z Reseved Z L4 y 9406 AJ Z Reseved 2 4 y 9407 Reseved 9408 Reseved S y 940 Reseved 94A J Z JjReseved Z4 y S4B AJ 4L Reseved S y S4C J s JReseved 0 Q S4D J 4Z2Zl Reseved S y S40E Reseved S S40 Reseved y S395 9396 S397 9398 S399 S39A S398 S39C S39D S39E_ S39F_ S400 S402 S403 S404 S405 S406 S407 S408 S409 S40A S408 S400 S40D S40E S40F 84 T1 16S User s Manual 6F3B0253 6 Programming Information Device Function register SW41 Bit 0 S410 is ON during the sub program 1 is status executed SW42 Reserved SW43 Reserved SW44 Reserved SW45 Reserved SW46 Reserved NENNEN Po y e ee fe Sw47 Reserved E m n ee a on ed a E o a SW48 Reserved SW49 Reserved SW50 Reserved SWb51 Reserved SW52 Re
103. EXT instructions Error down A MCS MCR is programmed inside other MCS MCR segment Error down A JCS JCR is programmed inside other JCS JCR segment Error down Correct the Peripheral LSI err S004 CPU hardware error has been detected in S016 the power up initialization Error down and programming tool cannot be connected Replace the unit if the error remains after power OFF and ON again Program BCC error S006 BCC error has been detected in the user S030 program in the RAM Error down If the error remains after power OFF and ON again reload the program and execute EEPROM write operation RAM check error Error Error data Test data S004 In the power up initialization an error has address S012 detected by RAM read write checking Error down Replace the unit if the error remains after power OFF and ON again Scan time over Scan time S006 The scan time has exceeded 200 ms Error S031 down Correct the program to reduce the scan time or use WDT instruction to extend the check time Pair inst error Program Address I Basic Hardware and Function 291 6F3B0253 10 Troubleshooting Error message and related information Special Meaning and countermeasures device Sys RAM check err Error Error data Test data S004 In the power up initialization an error has address S011 detected by system RAM read write checking Error down and programming tool cannot be connected Replace the unit if the erro
104. FF to ON the data of D0050 is decreased by 1 and stored in D0050 If the data of D0050 is 1022 before the execution it will be 1021 after the execution D0050 D0050 1022 1 gt 1021 Note e There is no limit value for this instruction When the data of operand A is 32768 before the execution it will be 32767 after the execution Basic Hardware and Function 1 55 6F3B0253 7 Instructions Expression Input A AND B gt C Output Function When the input is ON this instruction finds logical AND of A and B and stores the result in C Execution condition Input OFF ON Operand Name X Y R S T C XWYWIRRWSW T C D J K A Source J v v v v v v MN N N N v v E Pome a NE EE NEHEE GESERESETEZNEZEZEZTAE NEUE e ano j N IvIvrivNiviv vINI N NN Example R0012 1 Rug12 AND HFF8B D8838 When R012 is ON logical AND operation is executed for the data of RW12 and the constant data HFFOO and the result is stored in D0030 If the data of RW12 is H3456 the result H3400 is stored in D0030 FEDCBA98 765 43 210 Rw12 10j0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 N N 3 4 5 6 AND Constant 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 O F F 0 0 poos0 o o 1 t o 1t o o o o o o o o o o 3 4 0 0 1 56 T1 16S User s Manual 6F3B0253 7 Instructions FUNo50 OR JOR Expression Input A OR B C Output Func
105. Function 1 75 6F3B0253 7 Instructions FUN 090 Multiplexer Expression Input A MPX n B gt C Output Function When the input is ON the data of the register which is designated by B in the table size n starting with A is transferred to C Execution condition Output OFF ON Normal execution OFF Pointer over no execution ON Operand Name X Y R S T C XWYWIRWSW T C D J K A Startoftable v v v v v v N IET ERAI MR ER EM ERE ERI EP E ERE ERR ERE ERTEILEN IT e B Pointer v v v v N N vy V V V 0 63 C pesinain v v vPN Iv IN VININ J Example R0010 R0012 1 I Qpn8588 MPX 10 RWU838 DOHOS When R010 is ON the register data which is designated by RW30 is read from the table D0500 to D0509 10 registers size and stored in D0005 If the data of RW30 is 7 D0507 data is transferred to D0005 Source table Pointer Destination D0500 0 E T D0501 1 p d D0507 p D0508 D050 _ Note e f the pointer data designates outside the table 10 or more in the above example the transfer is not executed and the output comes ON e The table must be within the effective range of the register address oO ON 1 76 T1 16S User s Manual 6F3B0253 7 Instructions FUN 091 DPX Demultiplexer Expression Input A DPX n B C Output Function When the input is ON the data of A is transferred to the r
106. ILLI PPPPP Pp Example R888C R8828 1 I 1Dn8125 lt D8848 When ROOC is ON the data of D0125 is compared with the data of D0040 and if the data of D0125 is less than the data of D0040 R020 is turned ON If the data of D0125 is 10 and that of D0040 is 15 the comparison result is true Consequently R020 is turned ON D0125 10 D0040 15 R020 is ON If the data of D0125 is 0 and that of D0040 is 50 the comparison result is false Consequently R020 is turned OFF D0125 0 2 D0040 0 F R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 1 82 T1 16S Users Manual 6F3B0253 7 Instructions FUN 101 Less than or equal Expression Input A lt B Output Function When the input is ON the data of A and the data of B are compared and if Ais less than or equal to B the output is turned ON Execution condition Input Operation OFF No execution ON Execution A lt B A gt B Operand Name IX Y R S T JC XWYWRWISWI T C D 1 J kK K v 85 5 REIN a TD e UU UU PES C T T PPPE Example R888C R8828 1 I 1Dn8125 lt 88188 When ROOC is ON the data of D0125 is compared with the constant data 100 and if the data of D0125 is less than or equal to 100 R020 is turned ON If the data of D0125 is 150 the comparison result is true Consequently R020 is turned ON D
107. Instructions FUN 041 Unsigned double single division Expression Input A 7 A DIV B C Output Function When the input is ON the double word data of A 1 A is divided by the data of B and the quotient is stored in C and the remainder in C1 The data range of A 1 A is 0 to 4294967295 and the data range of B and Cis 0 to 65535 If the quotient is greater than 65535 overflow the limit value 65535 is stored in C 0 is stored in C 1 and the instruction error flag ERF S051 is set to ON Execution condition OFF Noexeuton 1 1 OFF ON Normal execution B 0 Overflow B 0 No execution B 0 Operand Name X Y R S T C XWYWIRWSW T C D J K A Dividend v v vN v vV vN N v B Divisor j v v v v Nv N N v Cjowdet N v lviviviv J 1 Example R8818 R8814 1 I 1Dn8281 D8208 DIV 804000 D18088 When R010 is ON the double word data of D0201 D0200 is divided by the constant data 4000 and the quotient is stored in D1000 and the remainder is stored in D1001 If the data of D0201 D0200 is 332257 the quotient 83 is stored in D1000 and the remainder 257 is stored in D1001 D0201 D0200 332257 r D1000 83 quotient Constant 4000 D1001 257 remainder Note e f divisor operand B is 0 ERF instruction error
108. L 14 1024 eo 11 11 LI DUPPEPPLLLE 1 4 destination Example R0010 1 D0500 TMOU 0010 D1000 When R010 is ON the data of D0500 to D0509 10 registers are block transferred to D1000 to D1009 and the output is turned ON D0500 D1000 D0501 D1001 D0502 Block transfer D1002 10 registers D0509 D1009 Note e The source and destination tables can be overlapped Basic Hardware and Function 1 41 6F3B0253 7 Instructions FUN 026 TNOT Table invert transfer Expression Input A TNOT n B Output Function When the input is ON the data of n registers starting with A are bit inverted and transferred to n registers starting with Bin a block The allowable range of the table size nis 1 to 1024 words Execution condition ON Execution CCN Operand Name Register X X YTR S To NWIWWIRWEW T 6 TT Ie A itot source fie n Tablesize aie R pe LECCE PP PP Peer L Example R8818 1 I Q4p8688 TNOT 8885 D8865 When R010 is ON the data of D0600 to D0604 5 registers are bit inverted and transferred to D0865 to D0869 and the output is turned ON D0600 D0865 D0601 Bit invert D0866 D0602 and transfer D0867 5 registers D0603 D0868 D0604 D0869 Note e The source and destination tables can be overlapped 1 42 T1 16S User s Manual 6F3B0253 7 Instructions FUN 027 Addition Expression Input A B C Output Function When the input is ON the data of
109. Leading address A 1 H0003 0 to 255 H0004 0 to 4095 Basic Hardware and Function 245 6F3B0253 7 Instructions Operation mode designation B 7 Operation mode Data exchange mode Cyclically scans the connected Inverters Control amp Monitor Mode 0 Inverter command P FA01 amp FA00 and R FD00 amp FE07 Monitor mode Cyclically scans the connected Inverters Monitor only Mode 1 Inverter command R FDO0 amp FE07 Mode 2 Inverter command R User designation Mode 3 Inverter command P User designation Mode 4 Inverter command P User designation Inverter number B For the operation mode 0 and 1 It specifies the maximum Inverter number For example if it is 5 the T1 16S scans from 0 through 5 Inverters and repeats Setting range is 0 to 63 For the operation mode 2 and 3 It specifies the target Inverter number for sending commands Setting range is 0 to 63 For the operation mode 4 This setting is ignored The broadcast address HFF is used as Inverter number Execution status B 2 F E D C B A 9 8 7 6 5 4 3 2 1 90 Shows the scan count 03 gt 1 gt 2 gt 32767 5051 Comes 1 when the RS 485 port is busy No execution Communication error code B 3 The communication error code responded from the Inverter is shown here If 2 or more Inverters are error the smallest Inverter number s error is stored Refer to Inverter s manual for the error code Meaning 0 No error Normal __
110. Lu Pi CC DI IIIPIPPPPTPPLIITEL C Du Example R8818 R8814 1 I 1D8181 D8188 D lt gt D8251 D8258 When R010 is ON the double word data of D0101 D0100 is compared with the double word data of D0251 D0250 and if the data of D0101 D0100 is not equal to the data of D0251 D0250 R014 is turned ON If the data of D0101 D0100 is 250000 and D0251 D0250 is 200000 R014 is turned ON D0101 D0100 250000 D0251 D0250 250000 R014is ON If the data of D0101 D0100 is 100 and D0251 D0250 is 100 R014 is turned OFF D0101 D0100 100 D0251 D0250 100 R014is OFF Note e This instruction deals with the data as double word integer 2147483648 to 2147483647 Basic Hardware and Function 1 87 6F3B0253 7 Instructions FUN 106 Double word less than Expression Input A 7 A D lt B 1 B Output Function When the input is ON the double word data of A 7 A and B 1 B are compared and if A 7 Ais less than B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A lt B 1 B ON A 1 A gt B 1 B OFF Operand Name IX Y R S T JC IVYWRWISWI T C D I J kK a qe ELIT dd Pi CC DI IIIPPPPPTPPLLIEL C Du Example R8818 R0014 1 D0101 D0100 D lt 8888427788 When R010 is ON the data of D0101 D0100 is compared with the constant data 427780 and if the data of D0101 D0100 is less than 427780 R014 is turned ON If the
111. M H0020 0 to 2047 1 to 32 if destination 1 to 256 if source T1S RS 485 port H0030 1 to 256 Basic Hardware and Function 241 6F3B0253 7 Instructions CPU register built in EEPROM In the EEPROM the D registers are divided into pages as follows T1 16S PUPIN IG uode e Writing data into the EEPROM is D0031 available within one page at a D0032 Page 2 time max 32 words D0063 ee words e For data reading from the EEPROM there is no need to i l consider the pages D2016 Page 64 32 words D2047 Example R8828 1 t 88884 MOV D100AH 88788 MOY D1881 88818 MOV D1882 88832 MOV D1883H 88816 MOV D1884 1888 XFER D1882 gt D1003 When R020 is changed from OFF to ON 10 words of RAM data D0700 to D0709 are written into the EEPROM D0016 to D0025 D1000 H0004 and D1001 700 indicate the leading register of the source table D0700 in RAM D1002 10 indicates the transfer size 10 words 10 registers D1003 H0020 32 and D1004 16 indicate the leading register of the destination table D0016 in EEPROM Note The XFER instruction is not executed as error in the following cases In these cases the instruction error flag ERF S051 is set to ON If the ERF is set to ON once it remains ON until resetting to OFF by user program 1 When the number of words transferred exceeds limit 2 When the source destination table of transfer is out of the valid range 3 When the transfer com
112. M 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 5 Operating System Overview EEPROM RAM User program User program 8 k steps 8 k steps and System info and System info Data register Data register 0 to 2048 words D0000 to Dnnnn user setting user setting Other data Other data The rest of Data register and other registers D Executed when power is turned on it is called initial load or EEPROM Read command is issued from the programming tool The EEPROM Read is possible only in the HALT mode Executed when EEPROM Write command is issued from the programming tool It is possible in either HALT or RUN mode See Note Basic Hardware and Function 67 6F3B0253 5 Operating System Overview 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 SW55 setting Range of Data registers saved Remarks value in EEPROM 0 Nore D0000 onl D0000 to D0001
113. MOV D1881 3r EI In the above example the DI instruction disables the interrupt Then the El instruction enables the interrupt again As a result the rung 2 instructions can be executed without interruption between each instructions Note e Refer to the Dl instruction FUN 141 e f an interrupt factor is occurred during the interrupt disabled state the interrupt is kept waiting and it will be executed just after the El instruction is executed e The El instruction can be used only in the main program 208 T1 16S User s Manual 6F3B0253 7 Instructions FUN 141 DI Disable interrupt Expression Input DI J Output Function When the input is ON this instruction disables the execution of user designated interrupt operation i e timer interrupt program and l O interrupt programs Execution condition Operation No execution Execution Operand No operand is required Example ROGHA 1 DI R8888 2 EI In the above example the interrupt is disabled when R000 is ON and it is enabled when R000 is OFF Note e Refer to the El instruction FUN 140 e f an interrupt factor is occurred during the interrupt disabled state the interrupt is kept waiting and it will be executed just after the El instruction is executed e The Dl instruction can be used only in the main program Basic Hardware and Function 209 6F3B0253 7 Instructions FUN 142 IRET Interrupt return Expression HI IRET H Fun
114. N B TD e RR UU HUNE PES C ILILILITVUPPPPPPIP Example R888C R0026 1 D9125 gt 82588 When ROOC is ON the data of D0125 is compared with the constant data 2500 and if the data of D0125 is greater than 2500 R020 is turned ON If the data of D0125 is 3000 the comparison result is true Consequently R020 is turned ON D0125 3000 gt Constant 2500 _ 2d R020 is ON If the data of D0125 is 100 the comparison result is false Consequently R020 is turned OFF D0125 100 lt Constant 2500 R020 is OFF Note e This instruction deals with the data as signed integer 32768 to 32767 1 78 T1 16S Users Manual 6F3B0253 7 Instructions FUN 097 Greater than or equal Expression Input A gt B Output Function When the input is ON the data of A and the data of B are compared and if Ais greater than or equal to B the output is turned ON Execution condition Input Operation OFF No execution ON Execution AB A B Operand Name IX Y R S T C IWYWRWISWI T C D I J kK K v 85 5 REIN a TD OT UU UU PES C T T PPPE Example R888C R8828 1 D2500 gt D8828 When ROOC is ON the data of D0125 is compared with the data of D0020 and if the data of D0125 is greater than or equal to the data of D0020 R020 is turned ON If the data of D0125 is 3000 and that of D0020 is 3000 the comparison result is true Consequently
115. ON the carry flag CF S050 is reset to OFF Execution condition OFF Noexeuton o Z o o TF Operand No operand is required Example R8818 1 L TMLRSTC When R010 is changed from OFF to ON the carry flag S050 is reset to OFF Basic Hardware and Function 1 99 6F3B0253 7 Instructions FUN 120 ENC Expression Input A ENC n B Output Function When the input is ON this instruction finds the bit position of the most significant ON bit in the bit table size 2 bits starting with 0 bit LSB of A and stores it in B Execution condition OFF Noexeuton 1 OFF ON Normalexecution ON There is no ON bit no execution Operand Name IX Y R S T JC XWYWRWISWI T C D 1 J kK A Startoftable j vjv v vN v v iN J p n raesze 8 BjEnmodereut J v v v iv vivNIvIV IVI Example R8818 1 RW 8S ENC 5 DB8818 2 32 bits starting with 0 bit of RWO5 R050 to RO6F are defined as the bit table When R010 is ON the most significant ON 1 bit position in the bit table is searched and the position is stored in D0010 The following figure shows an operation example RWO06 RW05 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 _ 3210 0 0j0j0 oj1 o oj1 0j0j1 1 0 0 0 0 1 1 1 0 1 0 0 0 1 0 D0010 26 Note e
116. ON Execution A2B ON A B OFF Operand Name IX Y R S T C IWYWRWISWI T C D I J kK K v 85 5 REIN a TD OT UU UU PES C T T PPPE Example R888C R0026 1 D8125 U gt D8828 When ROOC is ON the data of D0125 is compared with the data of D0020 and if the data of D0125 is greater than or equal to the data of D0020 R020 is turned ON If the data of D0125 is 40000 and that of D0020 is 40000 the comparison result is true Consequently R020 is turned ON D0125 40000 2 D0020 40000 T R020 is ON If the data of D0125 is 15000 and that of D0020 is 20000 the comparison result is false Consequently R020 is turned OFF D0125 15000 lt D0020 20000 moo R020 is OFF Note e This instruction deals with the data as unsigned integer 0 to 65535 Basic Hardware and Function 1 91 6F3B0253 7 Instructions FUN 110 Unsigned equal Expression Input A U B Output Function When the input is ON the data of A and the data of B are compared and if Ais equal to B the output is turned ON Execution condition Output ON Execution A B ON A B OFF Operand Name IX Y R S T JC XWYWRWISWI T C D 1 J kK K v 8 5 REIN B TD Je RR UU UU PES C ILILILITVUPPPPPPIP Example R888C R8828 1 I 1Dn8125 U D8838 When ROOC is ON the data of D0125 is compared with the data of D0030 and if the data of D0125 is equal to the data of D
117. R208 are reset to OFF The carry flag CF S050 is also reset to OFF While R010 is ON the following operation is enabled e When X00A is ON shift left the data of the shift register is shifted 1 bit to the upper address direction when X009 is changed from OFF to ON At the same time the state of X008 is stored in the leading bit R200 The output R012 indicates the state of the highest bit R208 e When X00A is OFF shift right the data of the shift register is shifted 1 bit to the lower address direction when X009 is changed from OFF to ON At the same time the state of X008 is stored in the highest bit R208 The output R012 indicates the state of the lowest bit R200 The figure below shows an operation example When X00A is ON and X009 is changed from OFF to ON ME R208 R207 R206 R205 R204 R203 R202 R201 R200 ro 21 0 0 t1 t1 0 0 1 f1j Ee 0 0 1 1 0 0 1 1 90 Shift resutt Ll R012 is turned OFF When X00A is OFF and X009 is changed from OFF to ON EN R208 R207 R206 R205 R204 R203 R202 R201 R200 ES EA Lo qe pre 9p pv COONNNNNNNN Me Shiftresut 1 0 0 1 1 0 0 1 f1 L R012 is turned ON Note e When the shift input is ON the shift operation is performed every scan Use a transitional contact for the shift input to detect the state changing e For the data input the shift input and the enable input direct linking to a connecting point is not allowed In this case insert a dummy c
118. ROR mode operations to correct the program are not accepted In this case execute the Error reset operation by the programming tool to return the HALT mode before starting the correction operation 288 T1 16S User s Manual 6F3B0253 10 Troubleshooting Error message and related information Special Meaning and countermeasures device Batt voltage drop In the power up initialization data invalidity of RAM back up area has been detected If retentive registers are used these validity Boundary error The register of index modification is other modification has exceeded the allowable range That is out of RW T C and D No error down Check the value of the index register Clock calendar error No error down Set the date and time Enhanced model only Duplicate entry No Multiple SUBR instructions which have the i same subroutine number are programmed Error down Check the EEPROM BCC error S004 BCC error has been detected in the user S013 program of the EEPROM Error down Reload the program and execute EEPROM write operation again S EEPROM warning 007 The number of times of writing into EEPROM has exceeded the life 100 000 iti times No error down Replace the unit because the data reliability of the EEPROM will decrease I O bus error S005 An abnormality has been detected in I O S020 bus checking Error down Check the expansion cable connection and I O module mounting status I O mismatch i
119. 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 Subroutine 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 Subroutine number Main program Execution Subroutine a L SUBR 000 KH H CALL N 000 HK Y RETH VA 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 6F3B0253 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 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 Rung number Rung NN _ uu T o o u j
120. T instruction For detailed information refer to section 8 3 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 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 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 including 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 gt l O 1 l Os2 gt VO 3 gt l O 4 96 T1 16S User s Manual 6F3B0253 6 Programming Information 6 6 5 Subroutines In the program type 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 started with the
121. TOSHIBA 6F3B0253 UM TS01 E031 PROGRAMMABLE CONTROLLER PROSEC 11 16S USER S MANUAL Basic Hardware and Function TOSHIBA CORPORATION 6F3B0253 Important Information 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 damage or injury 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 application 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 electrical mechanical photocopying recording or otherwise without obtaining prior written permission from Toshiba Corporation TOSHIBA Corporation 2001 All rights reserved IBM is a registered trademark of International Business Machines Corporation MS DOS and Windows are registered trademarks of M
122. a transfer Flip flop FOR Forced coil Function generator Greater than Greater than or equal Hex to ASCII conversion Increment Interrupt return Invert coil Invert transfer Inverter Jump control reset Jump control set Less than Less than or equal Lower limit Master control reset Master control set Maximum value Minimum value Moving average Multiplexer Multiplication n bit rotate left n bit rotate right n bit shift left n bit shift right NC contact Negative pulse coil Negative pulse contact NEXT NO contact Not equal OFF delay timer ON delay timer OR Positive pulse coil Positive pulse contact Pre derivative real PID Reset carry Set calendar Set carry Shift register 158 241 215 205 122 229 178 179 161 154 210 124 138 123 134 134 182 183 225 133 133 226 227 159 176 145 175 174 167 166 118 128 126 206 117 181 130 129 157 127 125 219 199 217 198 168 Basic Hardware and Function 295 6F3B0253 Appendix Single shot timer 131 Special module data read 245 Special module data write 247 Step sequence initialize 212 Step sequence input 213 Step sequence output 214 Subroutine call 203 Subroutine entry 207 Subroutine return 204 Subtraction 144 Subtraction with carry 150 Table initialize 140 Table invert transfer 142 Table transfer 141 Transitional contact falling 120 Transitional contact rising 119 Unsigned division 152 Unsigned double single divis
123. are and Function 1 51 6F3B0253 7 Instructions FUN 040 Expression Input A U B gt C Output Function When the input is ON the unsigned data of A is divided by the unsigned data of B and the quotient is stored in C and the remainder in Cf The data range of A and B is 0 to 65535 unsigned 16 bit data Execution condition OFF Noexecution OFF ON Normal execution B 0 SON _ No execution B 0 Operand Name X Y R S T C XWYWRRWSW TI C O I J K LA Dividend v v v v v v MN N N N v v B Divisa X M wp on qp wpxpx NES Nd SEE ES SE E PG Quore A p Jr sp d PASS ae EE XE o pex Example R8818 1 D0030 U 88388 D8858 When R010 is ON the data of D0030 is divided by the constant data 300 and the quotient is stored in D0050 and the remainder is stored in D0051 If the data of D0030 is 54321 the quotient 181 is stored in D0050 and the remainder 21 is stored in D0051 D0030 54321 gt RW27 181 quotient Constant 300 RW28 21 remainder Note e f divisor operand B is 0 ERF instruction error flag S051 is set to ON The ERF S051 can be reset to OFF by user program e g RST S051 J e f the index register K is used as operand C the remainder is ignored e This instruction handles the register data as unsigned integer 1 52 T1 16S User s Manual 6F3B0253 7
124. at 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 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 YO20 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 E RE LER Te voltage current thousand voltage current thousand AC 110Vac DC 24Vdc 2A load COSo 1 load L R 0 ms 1A 60 0 5A 110Vac 2A 150 60 1A 1A 24Vdc L R 15ms m COS0 0 5A 2 38Vdc LR 0ms 05A 2 1 0 7 220Vac COSo 1 48Vdc 0 5A L R 15ms 0 2A 0 7 110Vdc 0 5A L R 0m 0 2A 110Vdc 0 2A L R 15ms 0 1A 2A 100 1A 200 220Vac COS A A A A A A 50 T1 16S User s Manual 6F3B0253 3 l O Application Precautions 3 Over
125. ation D0012 00012 D0015 D0013 Execution status D0016 00000 T1S RS 485 port When R0001 is ON one set of message ended by the trailing code stored in the range of D0500 to D0511 12 words is transmitted through the RS 485 port Execution status H0000 Normal complete H0001 H0002 H0003 H0004 H0005 During transmitting the message Communication busy During the reset operation Send time out from start character to the trailing code Send message length error no trailing code in the source table Time out setting 300 600 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps Note e The XFER instruction is not executed as error in the following cases In these cases the instruction error flag ERF 2 S051 is set to ON If the ERF is set to ON once it remains ON until resetting to OFF by user program 1 The leading address for the RS 485 port designation is other than 0 2 Transfer size is out of the range of 1 to 256 3 Mode setting of the RS 485 port is not the free ASCII mode 4 This instruction is programmed in the sub program 1 244 T1 16S User s Manual 6F3B0253 7 Instructions FUN 236 XFER Expanded data transfer Inverter connection mode Expression Input A XFER B C Output Function This function is provided to control Toshiba Inverters VF A7 G7 S9 connected on the RS 485 line When the RS 485 port operation mode is set to the Inverter mode SW56 3
126. be recovered by re tries 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 V 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 time is Scan time zy Scan time uuum a Jl ST LU ouem 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 A iding 9 idling heses Program check At the beginning of the RUN mode the user program is compiled and its validity is checked l 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 ti
127. bination is invalid The EEPROM has a life limit for data writing into an address It is 100 000 times Pay attention not to exceed the limit EEPROM alarm flag S007 is not updated by this instruction Once data writing into the EEPROM is executed EEPROM access read write is prohibited for the duration of 10 ms Therefore minimum 10 ms interval is necessary for data writing The XFER instruction can be programmed in the main program and in the interrupt program If this instruction is programmed in both the instruction in the main program should be executed in interrupt disable state Refer to El FUN 140 and DI FUN 141 instructions 242 T1 16S User s Manual 6F3B0253 7 Instructions CPU register lt T1S RS 485 port Receiving When the instruction input is ON one set of message from start character to the trailing code which is received by the RS 485 port is read from the receive buffer and stored in the CPU registers The transfer size is fixed to 256 words The execution status and the message length in bytes are stored in the status flag The instruction input must be kept ON until the receiving operation is complete Example RB8BBB 1 mannan XFER DBa8B2 DBB85 Source designation Transfer size Ee E designation D0000 H0030 D0002 00256 fixed D0005 D0001 00000 D0003 Doooe 00100 D0004 T1S RS 485 port D0100 CPU register When R0000 is ON one set of received message is read and stored in
128. ble Basic Hardware and Function 23 6F3B0253 1 System Configuration Analog setting adjusters Two analog setting adjusters are provided The VO 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 can 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 O Use two M4 screws for mounting See section 4 2 for T1 installing the unit O DIN rail bracket The DIN rail bracket is provided at the rear for mounting the T1 16S on a 35 mm DIN rail See section 4 2 for installing the unit 24 T1 16S User s Manual 6F3B0253 1 System Configuration 1 5 2 O modules The T1 16S can connect up to eight I O modules The following 10 types o
129. btracted from the data of D0201 D0200 and the result is stored in D0211 D0210 The RSTC is a instruction to reset the carry flag before starting the calculation If the data of D0201 D0200 is 12345678 and RW23 RW22 is 12340000 the result 5678 is stored in DO21 1 D0210 D0201 D0200 12345678 D0211 D0210 5678 RW23 RW22 12340000 1 50 T1 16S User s Manual 6F3B0253 7 Instructions FUN 039 Unsigned multiplication Expression Input A Ux B gt C 1 C Output Function When the input is ON the unsigned data of A and B are multiplied and the result is stored in double length register C 7 C The data range of A and Bis 0 to 65535 unsigned 16 bit data Execution condition Operand Name X Y R S T C XWYWIRWSW T C D J K LA Multiplicand v v v v v v N Nv v vN v v LE M ller ee Are eee eal i a rece qe mS Example R8818 1 L 4pn8858 Ux RUBB5 0DO0181 D8188 When R010 is ON the data of D0050 is multiplied by the data of RWO5 and the result is stored in double length register D0101 D0100 upper 16 bit in D0101 and lower 16 bit in D0100 If the data of D0050 is 52500 and the data of RW05 is 30 the result 1575000 is stored in D0101 D0100 D0050 152500 X rx D0101 D0100 1575000 RWO05 30 Note e This instruction handles the register data as unsigned integer Basic Hardw
130. 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 Hardware check Initial load Register device initialization Self diagnosis Mode HALT mode control RUN mode Y Register device At the first initialization scan Program check At the first scan I O update Timer update User program execution Peripheral support Power up Initialization approx 1 s Scan Scan cycle Basic Hardware and Function 69 6F3B0253 5 Operating System Overview Hardware check Performs checking and initialization of the system ROM the system RAM and the peripheral LSls Initial load Transfers the user program and user data from the EEPROM to the RAM Refer to section 5 2 Register device initialization Initializes regis ters and devices as shown below Register device Initialization External input X XW Forced inputs are retained Others are cleared to O External output Y YW Forced coil devices are retained Others are cleared to 0 Auxiliary device register User specified retentive registers and forced coil devices R RW are retained Others are cleared to 0 Special device register Special setting data are retained Others are cleared to 0 S SW T T cleared to 0 C C cleared to 0
131. ction Operation mode is set as specified by B 8 A 5 bit 0 1 B 8 bit 0 1 Auto mode SV is set as specified by B 4 ASV amp ISV Manual mode MV is set as current MV MMV MV Internal calculation data is initialized MV remains unchanged 2 When the instruction input is ON Executes PID calculation every n scan which is specified by B 12 The following operation modes are available according to the setting of A 5 e Auto mode This is a normal PID control mode with ASV as set value Set value differential limit DSV manipulation value upper lower limit MH ML and differential limit DMV are effective Bump less changing from auto mode to manual mode is available Manual mode manipulation value MMV is over written by current MV automatically MMV lt MV 222 T1 16S User s Manual 6F3B0253 7 Instructions e Manual mode In this mode the manipulation value MV can be directly controlled by the input value of MMV MV differential limit for manual mode DMMV is effective MH ML and DMV are not effective When mode is changed from manual to auto or cascade the operation is started from the current MV e Cascade mode This is a mode for PID cascade connection PID is executed with CSV as set value Different from the auto mode set value differential limit is not effective Manipulation value upper lower limit MH ML and differential limit DMV are effective Bump less changing from cascade mode to manual mode is available Manual mode
132. ction This function is used to output a variable duty cycle pulse train The controllable duty cycle is 0 to 100 1 units ON duty 50 70 60 PWM T g T ie T T Pulse cycle The PWM output is enabled when the pulse enable flag is ON While the pulse enable flag is ON the duty cycle ON duty can be changed by changing the duty setting value 0 to 100 The frequency setting is available in the range of 50 to 5000 Hz 1 Hz units before turning ON the pulse enable flag The frequency changing is not allowed while the pulse enable is ON Note that the minimum ON OFF pulse duration is 100 us Therefore the controllable ON duty range is limited depending on the frequency setting as follows If the ON duty setting value is not available within O to 100 the pulse width error flag comes ON PWM output operation is continued but the duty cycle is not guaranteed Available ON dut 50 100Hz 20 10ms 0 to 100 0 200 Hz 0 2 to 98 100 1000 Hz 10 to 90 100 96 5000 Hz 0 50 100 Related registers SW26 Function selection Refer to section 8 1 device PWM pulse Yong S O Pulse enable flag S270 Output is enabled when ON Frequency setting register SW28 Data range 50 to 5000 Note If the setting value of SW28 or SW29 is out of the allowable range the frequency setting error flag S26F or the ON duty setting error flag S26E comes ON PWM output operation is continued with previous ON duty sett
133. ction This instruction indicates the end of an interrupt program When program execution reaches this instruction it returns to the original location of the main program or subroutine Execution condition Input Execution O xe D 0 gt a No operand is required An interrupt program Timer interrupt I O interrupt 1 2 3 or 4 18 Note e The IRET instruction can be used only in an interrupt program e There is no specific instruction which indicates the beginning of the interrupt program 21 0 T1 16S User s Manual 6F3B0253 7 Instructions FUN 143 Watchdog timer reset Expression Input WDT n Output Function When the input is ON this instruction extend the scan time over detection time by 200 ms Normally T1 T1S detects the scan time over if a scan is not finished within 200 ms This instruction can be used to extend the detection time Execution condition Input OFF ON Input OFF ON Operand Name Register IX Y R S T C XWYWRWISWI T C D 1 J Kk n extendtime 1 100 Example R8828 1 WDT 818 When R020 is ON the scan time detection time is extended by 200 ms The operand n has no effect on the extended time It is fixed as 200 ms Normal detection point Extended point 0 50 100 150 200 250 300 ms l L Extended by 200 ms gt WDT instruction execution Not
134. 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 Load T1 output Load es Fuse appropriate to the common current 4 Output surge protection Where an inductive load is connected to the output a relatively high energy transient voltage will be generated when the relay turns OFF To prevent the problems caused by this surge install a surge absorber in parallel to the inductive load q Load T1 output es circuit Surge absorber Surge absorber e Flywheel diode for DC output Inverse withstand voltage At least three times that of the power supply Forward current Larger than the load current e Varistor for AC output M LT The voltage rating is 1 2 times the maximum peak voltage of the power supply e CR snubber for DC or AC output spes R 0 5 to 1Q per volt coil voltage C 0 5 to 1uF per ampere of coil current non polarity capacitor Basic Hardware and Function 51 6F3B0253 52 T1 16S User s Manual 6F3B0253 Section 4 Installation and Wiring 4 1 Environmental conditions 54 42 Installing the unit 55 4 3 Wiring terminals 57 44 Grounding 58 4 5 Power supply wiring 59 4 6 l O wiring 61 Basic Hardware and Function 53 6F3B0253 4 Installation and Wiring 4 1 Enviro
135. cution condition Operand Name X Y R S T C XWYWIRWSW T C D J K LA Multiplicand v v v v v v N N v vN v v LE M ller a JL pw sers Ev IE NNS Se oo C Product po sp sp wp wwe x qe S Example R88685 1 D0050 RUBB5 gt DO0181 D8188 When R005 is ON the data of D0050 is multiplied by the data of RWO5 and the result is stored in double length register D0101 D0100 upper 16 bit in D0101 and lower 16 bit in D0100 If the data of D0050 is 1500 and the data of RWO5 is 20 the result 30000 is stored in D0101 D0100 D0050 1500 4 x D0101 D0100 30000 RWO05 20 D0101 H0000 upper 16 bit D0100 H7530 lower 16 bit Basic Hardware and Function 1 45 6F3B0253 7 Instructions FUN 030 Expression Input A B C Output Function When the input is ON the data of A is divided by the data of B and the quotient is stored in C and the remainder in C 1 Execution condition OFF Noexecution o OFF Normal execution B z 0 LOONE No execution B 0 Register O x v R s r ec xw vwIRwsw T C D J K A Dividend v v v v Nv N V V V V v v B Divisor Ss j v v v v N N vy V V V v V C Quoiet ESEESS CEA aT Example R88685 1 I mRH22 7 080325 gt RWH2 When R005 is ON the data of RW2
136. data of A 7 A and B 1 B are compared and if A 1 A is equal to B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A B 1 B ON A 1 A B 1 B OFF Operand Name IX Y R S T JC IVYWRWISWI T C D I J kK a qe ELIT a T Pi CC DI IIIPIPPPTPPLLIEL C Pu Example R8818 R8814 1 I T1D8181 D8188 D D8251 D8250 When R010 is ON the double word data of D0101 D0100 is compared with the double word data of D0251 D0250 and if the data of D0101 D0100 is equal to the data of D0251 D0250 R014 is turned ON If the data of D0101 D0100 is 250000 and D0251 D0250 is 250000 R014 is turned ON D0101 D0100 250000 D0251 D0250 250000 R014 is ON If the data of D0101 D0100 is 100 and D0251 D0250 is 0 R014 is turned OFF DO0101 D0100 100 D0251 D0250 0 A R014 is OFF Note e This instruction deals with the data as double word integer 2147483648 to 2147483647 1 86 T1 16S User s Manual 6F3B0253 7 Instructions FUN 105 Double word not equal Expression Input A 7 A D lt gt B 1 B Output Function When the input is ON the double word data of A 7 A and B 1 B are compared and if A 7 A is not equal to B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A B 1 B ON A 1 A B 1 B OFF Operand Name x Y RIS T C xWYWIRRWSW T C D I J KI m LL LLL PPPPPCPPLLLL I
137. data of D0101 D0100 is 250000 R014 is turned ON D0101 D0100 250000 lt Constant 427780 R014 is ON If the data of D0101 D0100 is 430000 R014 is turned OFF D0101 D0100 430000 2 Constant 427780 R014 is OFF Note e This instruction deals with the data as double word integer 2147483648 to 2147483647 1 88 T1 16S User s Manual 6F3B0253 7 Instructions FUN 107 Double word less than or equal Expression Input A 7 A D lt B 1 B Output Function When the input is ON the double word data of A 7 A and B 1 B are compared and if A 1 A is less than or equal to B 1 B the output is turned ON Execution condition Output OFF ON Execution A 1 A lt B 1 B ON A 1 A gt B 1 B OFF Operand Name IX Y R S T JC IVYWRWISWI T C D I J kK a qe ELIT a Pi CC DI IIIPIPPPPTPPLIITEL C Du Example R8818 R8814 1 I 1Dn8181 D81880 D lt 8888888888 When R010 is ON the data of D0101 D0100 is compared with the constant data 0 and if the data of D0101 D0100 is less than or equal to 0 R014 is turned ON If the data of D0101 D0100 is 1 R014 is turned ON D0101 D0100 1 lt Constant 0 R014 is ON If the data of D0101 D0100 is 10000 R014 is turned OFF D0101 D0100 10000 gt Constant 0 A RO014is OFF Note e This instruction deals with the data as double word integer 2147483
138. data table specified by A can be changed However parameters specified by B cannot be changed 4 In the Data exchange mode mode 0 and the Monitor mode mode 1 the T1 16S scans from 0 to the specified number Therefore the Inverter number should be consecutive starting with 0 If an Inverter is disconnected from the network the T1 16S checks its existence periodically When you turn off power to an Inverter for maintenance purpose and turn on again it is recommended to reset the instruction input to re configure the network 254 T1 16S User s Manual 6F3B0253 Section 8 Special I O Functions Special I O function overview 256 Variable input filter constant 260 High speed counter 261 Interrupt input function 268 Analog setting function 270 Pulse output function 271 PWM output function 273 Basic Hardware and Function 255 6F3B0253 8 Special I O Functions 8 1 Special I O function overview The T1 16S supports the special I O functions as listed below SW16 setting is necessary to use this Variable input filter constant Single phase up counter Single phase speed counter Quadrature bi pulse counter Interrupt input function Analog setting function Pulse output function PWM output function 256 T1 16S User s Manual Input filter constant ON OFF delay time can be set by user program The setting range is 0 to 15ms 1ms units Default value is 10ms This function is appli
139. de and lock Push the center of the tab by a finger or a pen Then the battery will be unlocked Remove the battery NOTE A 1 Turn off power when installing or removing the battery for safety 2 The battery type is CR2032 Do not use other types of battery Use of another battery may present a risk of fire or explosion 3 Dispose of used battery promptly Keep away from children Do not disassemble and do not dispose of in fire 280 T1 16S User s Manual 6F3B0253 Section 10 Troubleshooting 10 1 Troubleshooting procedure 282 10 2 Self diagnostic items 288 Basic Hardware and Function 281 6F3B0253 10 Troubleshooting 10 1 Troubleshooting procedure N CAUTION 1 Pay special attention during the troubleshooting to minimize the risk of electrical shock 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 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 and related equipment Contact Toshiba for repairing if the T1 16S or related equipment is failed Toshiba will not guarantee proper operation nor safety for unauthorized repairing If a trouble occurs determine whether the cause lies in the mechanical side or in the control system PLC side A problem may cause a sec
140. e e As for the upper T series PLCs the operand n specifies the extended time However in the T1 T1S it is fixed as 200 ms regardless of the operand n Basic Hardware and Function 21 1 6F3B0253 7 Instructions FUN 144 STIZ Step sequence initialize Expression Input STIZ n A Output Function When the input is ON n devices starting with A are reset to OFF and A is set to ON This instruction is used to initialize a series of step sequence The step sequence is useful to describe a sequential operation Execution condition Output OFF Execution at the rising edge of the input Operand Name Index X Y R S T C XW YWIRWSW T C D K GNE a Pi uk lE i sequence A Statdevice Vv l1 10 Example R8828 1 I 41 STIZ 18 RB8488 When R020 is changed from OFF to ON R400 is set to ON and subsequent 9 devices R401 to R409 are reset to OFF This instruction initializes a series of step sequence 10 devices starting with R400 R409 R408 R407 R406 R405 R404 R403 R402 R401 R400 10 devices starting with R400 Note e The STIZ instruction is used together with STIN FUN 145 and STOT FUN 146 instructions to configure the step sequence e The STIZ instruction is executed only when the input is changed from OFF to ON 21 2 T1 16S User s Manual 6F3B0253 7 Instructions FUN 145 STIN Expression Input STIN
141. e The program size setting is only available as 2 k It is set to 4 k mode in the T1 16S e Some of the added instructions MAVE DFL HTOA ATOH cannot be edited monitored VA 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 34 T1 16S User s Manual 6F3B0253 1 System Configuration Program Storage Module RM102 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 ae The T1 16S s RS 232C programmer port d supports the computer link function When two or more T1 16Ss are connected with a master computer the multi drop adapter Sk CU111 can be used One to N configuration Aud The CU111 is an RS 232C RS 485 converter ro specially designed for the T1 16S s programmer port Basic Hardware and Function 35 6F3B0253 36 T1 16S User s Manual 6F3B0253 Section 2 Specifications General specifications 38 Functional specifications 40 I O specifications 42 External dimensions 46 Basic Hardware and Function 37 6F3B0253 2 Specifications 2 1 G
142. ected When R010 comes ON the data 150000 is set into the comparison value 1 register SW19 SW18 and 200000 is set into the comparison value 2 register SW21 SW20 While R010 is ON the soft gate S240 the interrupt enable flag 1 8241 and the interrupt enable flag 2 S249 are set to ON to enable the counter operation The count value is stored in SW23 SW22 When R010 is OFF and R011 comes ON the count value is preset to the data of D0101 D0100 Basic Hardware and Function 267 6F3B0253 8 Special I O Functions 8 4 Interrupt input function Function When the signal state of the interrupt input is changed from OFF to ON or ON to OFF the corresponding l O interrupt program is activated immediately Up to 2 interrupt inputs can be used The interrupt generation condition can be selected either rising edge OFF to ON or falling edge ON to OFF for each input The I O interrupt program 3 is corresponding to the interrupt input 1 and the I O interrupt program 4 is corresponding to the interrupt input 2 Hardware condition Interrupt input X002 and X003 ON OFF pulse width 100us or more Related registers SW16 Function selection Refer to section 8 1 Interrupt input 1 X002 Interrupt input 2 X003 Interrupt assignment Interrupt input 1 I O interrupt program 3 Interrupt input 2 I O interrupt program 4 Operation Interrupt input 1 Interrupt input 2 Interrupt
143. ected the T1 16S cannot operate normally 20 T1 16S User s Manual 6F3B0253 1 System Configuration 1 5 Components 1 5 4 Basic unit The T1 16S is available in four types as shown in the following table Link Calendar 100 240 Vac 8 points 24 Vdc 6 points relay Enhanced model 50 60 Hz i i ee Standard model 2 points transistor Enhanced model Yes Standard model Link terminals Enhanced model only Operation status LEDs I O status LEDs Low side ooo o0000000 00000006 Mounting hole Programmer port cover Battery holder cover Power supply and _ input output terminals Expantion connector I O status LEDs High side Basic Hardware and Function 21 6F3B0253 1 System Configuration Behind the programmer port cover Programmer port connector Analog setting adjusters VO and V1 1 Mode control 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 outpu
144. ection Refer to section 8 1 Register Remarks CW CCW PLS DIR device Y020 CCW pulse DIR YO21 Pulse enable flag 270 Output is enabled when ON Frequency setting register SW28 Data range 5000 to 50 50 to 5000 Frequency setting error flag S26F ON at error reset OFF automaticall Note The allowable value range of the frequency setting SW28 is 5000 to 50 and 50 to 5000 If the value is out of this range or the sign is changed while the pulse enable flag S270 is ON the frequency setting error flag S26F comes ON Pulse output operation is continued with previous frequency setting Basic Hardware and Function 271 6F3B0253 8 Special I O Functions Operation Pulse enable ST Frequency setting 700 1000 300 100 X 1000 y 300 T1KHz i Frequency 300Hz 100Hz i i Pulse output 100Hz o 300Hz V 1KHz Sample program 11 41L 4 88883 MOV SU826 ROGHA 2 8188 MOV SUB28 S826F 50278 In this example 3 H0003 is set in SW26 As a result the CW CCW mode pulse output function is selected When R000 is ON the pulse output is started with the frequency designated by D0100 If an invalid frequency is designated the frequency setting error flag S26F comes ON and the pulse enable flag S270 is turned OFF Then the pulse output is stopped 2 2 T1 16S User s Manual 6F3B0253 8 Special I O Functions 8 7 PWM output function Fun
145. ed coil A Forced coil of device A State X H of device A is retained 1 2 3 122 regardless of the input state mere ir inverts the input state 1 fia 123 aa e r efe lt H input into device A Positive pulse A Turns ON output for 1 scan contact PH when input is ON and device A 1 125 changes from OFF to ON Negative pulse A Turns ON output for 1 scan contact NFH when input is ON and device A Positive pulse coil A Turns ON device A for 1 scan PH when input changes from OFF 1 to ON i A NH changes from ON to OFF Negative pulse coil Turns ON device A for 1 scan when input changes from ON 1 to OFF OFF delay timer A TOF B Turns OFF output when the time specified by A has elapsed after the input came OFF Bis a timer register Single shot timer A SS B Turns ON output for the time specified by A when the input comes ON Bis a timer register 1 06 T1 16S User s Manual ON delay timer A TON B Turns ON output when the time specified by A has elapsed after the input came ON Bis a timer register 6F3B0253 7 Instructions Basic ladder instructions continued m RNI Name e CNT Q Counts the number of cycles AB the count input C comes ON while the enable input E is ON and turns ON output Q when the count reaches to the value specified by A Bis a counter register Master control set MCS Turns OFF power rail is H Master cont
146. ed for X000 to X007 8 points as a block Counts the number of pulses of single phase pulse train 2 channels of pulse input are available The countable pulse rate is up to 5KHz for each channel Channel 1 X000 count input X002 reset input Channel 2 X001 count input X003 reset input Counts the number of pulses in a specified sampling time The sampling time setting is 10 to 1000ms 10ms units 2 channels of pulse input are available The countable pulse rate is up to 5KHz for each channel Channel 1 X000 count input Channel 2 X001 count input Counts the 2 phase pulses whose phases are shifted 90 each other Counts up when phase A precedes and counts down when phase B precedes The countable pulse rate is up to 5KHz Phase A X000 Phase B X001 Reset X002 Immediately activates the corresponding I O interrupt program when the interrupt input is changed from OFF to ON or ON to OFF 2 points of interrupt input are available X002 Interrupt 1 I O interrupt program 3 X003 Interrupt 2 I O interrupt program 4 The value of the analog setting adjuster is converted into digital value 0 to 1000 and stored in the SW register 2 adjusters are provided on the T1 16S VO SW30 V1 SW31 Variable frequency pulse train can be output The available pulse rate is 50 to 5000Hz 1Hz units Y020 CW or Pulse PLS Y021 CCW or Direction DIR Variable duty cycle pulse train can be output The
147. egister which is designated by B in the table size n starting with C Execution condition Output OFF ON Normal execution OFF Pointer over no execution ON Operand B Name X Y R S T C XWYWIRWSW T C D I J K A Source jv v v v v v PN N N N o v Lx Tables c r oris s spese E qp GC B Pointer v v v v N Iv V V V V 0 63 C startoftable N v vivNIvIv J Example R8811 R8813 1 I QXu884 DPX 18 RU8380 D8588 When R011 is ON the data of XW04 is transferred to the register which is designated by RW30 in the table D0500 to D0509 10 registers size If the data of RW30 is 8 XW04 data is transferred to D0508 Source Destination table Pointer XW04 D0500 L 1 D0501 1 D0507 7 D0508 8 dQ D0509 Note e f the pointer data designates outside the table 10 or more in the above example the transfer is not executed and the output comes ON e The table must be within the effective range of the register address Basic Hardware and Function 1 T7 6F3B0253 7 Instructions FUN 096 Greater than Expression Input A gt B Output Function When the input is ON the data of A and the data of B are compared and if Ais greater than B the output is turned ON Execution condition Output ON Execution A gt B ON A lt B OFF Operand Name IX Y R S T C XWYWRWISWI T C D I J kK K v 8 5 REI
148. endar 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 e 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 e Data 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 special programming e 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 e 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 1 8 T1 16S User s Manual 6F3B0253 1 System Configuration 1 3 System configuration The following figure shows the T1 16S system configuration IBM PC compatible MMI SCADA personal computer Inverter Peripheral tool system IBM PC compatible personal computer EAM L o C j T PDS software RS485 Standard type onl
149. eneral specifications EN NI T1 16S Bpowerconsumpton 45VAorless 24Vdc 3 for external devices and or for input signals 10 5Vdc 15A for I O module Note A 5Vde output rating Note 1 5A for I O module Retentive power interruption Insulation resistance 10MQ or more between power terminals and ground terminal Withstand voltage 1500Vac 1 minute 0 to 55 C operation 20 to 75 C storage 5 to 95 RH no condensation 000Vp p 1us Conform to EMC Directive 89 336 EEC Vibration immunity 9 8m s 1g for 30 minutes per axis on 3 mutually perpendicular axes Shock immunity 98m s 10g 3 shocks per axis on 3 mutually perpendicular axes Approximate weight ry was 24Vdc service power output is not provided on the DC power supply type The maximum output current of the 5Vdc is 1 5A However there is the following restrictions depending on the conditions e When HP911 is used Redused by 0 2A e When RS 485 port is used Reduced by 0 1A e When 24Vdc service power is used Refer to the right chart _ an 5Vdc maximum load current e 0 1 0 2 A 24Vdc service power 38 T1 16S User s Manual 6F3B0253 2 Specifications NIE 3 The 5Vdc current consumption of each I O modules is described below A Check that the total 5Vdc current consumption is within the limit Model Specifications 5Vdc consume
150. ent Furthermore to avoid malfunction of the T1 16S owing to static electricity do not touch the cable ends Do not touch any terminals while the T1 16S is in operation even if the terminals are not live parts This may cause malfunction of the T1 16S owing to static electricity Do not touch the expansion connector pins while the T1 16S is in operation This may cause malfunction of the T1 16S owing to static electricity Fix the expansion connector cover if the expansion connector is not used Turn off power when a battery installs and removes 276 T1 16S Users Manual 6F3B0253 9 Maintenance and Checks 9 2 Daily checks 1 Pay special attention during the maintenance work to minimize the risk A CAUTION of electrical shock 2 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 To maintain the system and to prevent troubles check the following items on daily basis Item Check Corrective measures Status LEDs PWR If the LEDs are not normal see power normal 10 Troubleshooting normally normally Mode control Check that the mode control switch is Turn this switch to R RUN side switch in R RUN side Normal operation is performed when this switch is in R Input LEDs Lit when the corresponding input is e Check that the input terminal ON screw is not loose e Check that the input terminal block is
151. es 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 T7 6F3B0253 6 Programming Information Counter devices and registers C C The counter registers C are used for storing the count value of the counter CNT and the up down counter U D instructions The counter devices C 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 registers 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 Index registers I J and K These index registers are used for indirect addressing for a register For example if the value of is 100 in the following register expression it designates D0100 For details refer to section 6 2 D0000 D0100 if 1 100 78 T1 16S User s Manual 6F3B0253 6 Programming Info
152. es ee Se USEE o ego o e e Example R88685 R8818 1 I 1Dn8181 D81880 D RUB25 RU824 DB8183 D8182 When R005 is ON the double word data of RW25 RW24 is subtracted from the double word data of D0101 D0100 and the result is stored in D0103 D0102 If the data of D0101 D0100 is 1580000 and the data of RW25 RW24 is 80000 the result 1500000 is stored in D0103 D0102 and R010 is turned OFF No overflow underflow D0101 D0100 1580000 D0103 D0102 1500000 R010 is OFF RW25 RW24 80000 1 48 T1 16S User s Manual 6F3B0253 7 Instructions FUN 035 Addition with carr Expression Input A C B C Output Function When the input is ON the data of A B and the carry flag CF S050 are added and the result is stored in C If carry is occurred in the operation the carry flag is set to ON If the result is greater than 32767 or smaller than 32768 the output is turned ON This instruction is used to perform unsigned addition or double length addition Execution condition Operation No execution orF Overflow underflow ON Execution Normal Operand Name Xv RIS To NWIWISWEW T 6 5T T 3 J Emme pa Gs Rea 3 8 EE ER ER IE UH E i Bj ded j VV N V V V V v v efsun j v IvivrivNiviv vIvNI IN v Example R8813 1 T Dnm C RUB28 D8288 6161 C RuUB21 D201 When R013 is ON
153. esigned 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 systems etc The T1 16S has been manufactured under strict quality control However to keep safety of overall automated system fail safe systems should be considered outside the T1 16S In installation wiring operation and maintenance of the T1 16S it is assumed that the users have general knowledge of industrial electric control systems If this product is handled or operated improperly electrical shock fire or damage to this product could result 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 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 Hazard Classifications In this manual the following two hazard classifications are used to explain the safety precautions WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury N CAUTION I
154. esult is stored in D1000 If the data of D1000 is H5678 and D0300 is H4321 the result H1559 is stored in D1000 FEDCBA98765432 10 D1000 o i olilolili lololili lililo olo 5 6 7 8 Exclusive OR Do300 o 1 o o o o 1 1 o o 1 o o o o t 4 3 2 1 D1000 o o o t o 1 o 1 o 1 o 1 1 o o 1 1 5 5 9 1 58 T1 16S Users Manual 6F3B0253 7 Instructions FUN 056 MAVE Expression Input A MAVE n B gt C Output Function When the input is ON this instruction calculates the average value of the latest n scan s register A data and stores it in C The allowable range of nis 1 to 64 This instruction is useful for filtering the analog input signal The latest n scan s data of A are stored in n registers starting with B and C 7 are used as pointer Execution condition Operand Name Register X Y R S T C XWYWIRRWSW TI C O I J K A linputdata jv v v v v v N N V N v n Daasize T T T T TT TTT T p e E eran at ae E eh ale a ES aaa aa a E as C Outputdata N v viviviv viv N Example oum MAVE 85 D8988 Ba The latest 5 scan s data of XW04 is stored in D0900 to D0904 5 registers and the average value of them is calculated and stored in D0010 D0011 is used as internal work data D0010 1st scan 200 2nd scan 40 3rd scan 603 4th scan 805 1000 5 1000 1005 5 1000 1005 1009 5 1000 1005 1009 10
155. f 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 16 points input 24Vdc 5mA Supplied from the DO116M 16 points output 24Vdc 100mA basic unit 5 Vdc 8 points input 24Vdc 5mA 8 points output 24Vdc 100mA AD131M 1 channel analog input 10V DA121M 1 channel analog output 0 to 20mA DA131M 1 channel analog output 10V TC111M 1 channel thermo couple input FR112M TOSLINE F10 remote station 1 word input 1 word output FR112M Other I O modules H H L 1 L 1 e Expantion connector Expantion connectors e a v wi 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 6F3B0253 1 System Configuration 1 5 3 Options The following optional items are available Type Description Cable for CJ105 For T PDS 5 m length orogramming tool connector Option card I O PT15S Cable side connector for Soldering type connector PT15F DI116M DO116M or DD116M Flat cable type Back up batter CR2032 For memory back up Available on the market Programmer port 5r46s For RS 232C computer link with 2 m cable 26 T1 16S User s Manual 6F3B0253 1 System Configuration 1 6 Programmer port func
156. flag S051 is set to ON The ERF S051 can be reset to OFF by user program e g RST S051 e This instruction handles the register data as unsigned integer Basic Hardware and Function 1 53 6F3B0253 7 Instructions Expression Input 1 A Output Function When the input is ON the data of A is increased by 1 and stored in A Execution condition Input OFF ON Input OFF _ ON Operand Name IX Y R S T C IWYWRWISW T C D I J kK A Operationdata w v vrPNIv IN VININ v Example X8884 1 t 1 Dp8858 At the rising edge of X004 changes from OFF to ON the data of D0050 is increased by 1 and stored in D0050 If the data of D0050 is 750 before the execution it will be 751 after the execution D0050 D0050 750 1 gt 751 Note e There is no limit value for this instruction When the data of operand A is 32767 before the execution it will be 32768 after the execution 1 54 T1 16S User s Manual 6F3B0253 7 Instructions FUN 045 Expression Input 1 A Output Function When the input is ON the data of Ais decreased by 1 and stored in A Execution condition Input OFF ON Input OFF _ ON Operand Name IX Y R S T JC XWYWRWISWI T C D I J kK LAjoeeaiondaa w v v vNIivIvN VIVI IN fv Example XBn885 1 tH 1 Dp8858 At the rising edge of X005 changes from O
157. g e The following connection is not allowed H FOR n H NEXT Jj m 206 T1 16S Users Manual 6F3B0253 7 Instructions FUN 137 SUBR Subroutine ent Expression H SUBR n H Function This instruction indicates the begging of a subroutine Execution condition execution Operand Name Constant Index x Y RIS T C XWYWIRWSW T C D I J K E ES we I1 EL EEE ET EE EE EE number Example E SUBR 668 m The begging of the subroutine number 8 is indicated Main program Subroutine H CALL N 008 H SUBR 008 RET Note e The possible subroutine number is 0 to 15 T1 or 0 to 255 T1S e Refer to the CALL instruction FUN 128 and the RET instruction FUN 129 e The SUBR instruction can be programmed only in the program type Subroutine e Nesting of subroutine is not allowed That is the CALL instruction cannot be used in a subroutine e No other instruction cannot be placed on the rung of the SUBR instruction Basic Hardware and Function 207 6F3B0253 7 Instructions FUN 140 Enable interrupt Expression Input El Output Function When the input is ON this instruction enables the execution of user designated interrupt operation i e timer interrupt program and l O interrupt programs Execution condition Operand No operand is required Example 2 F DB8BBB MOV D1888 HDB881
158. g sections The following 8 program types are supported by the T1 16S Main program Sub program 1 Timer interrupt program I O interrupt program 1 I O interrupt program 2 I O interrupt program 3 I O interrupt program 4 Subroutine Ss PB a SS DS YS wa 1 2 3 4 5 6 7 8 NT The blocks are just separators of the program and have no effect on the program execution However by dividing the user program into some blocks the program becomes easy to understand The block numbers need not be consecutive In each program type and block there is no limit of program capacity The only limit is the total capacity Main program The main program is the core of the user program It is executed once in each scan 1 scan time 7 Time 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 94 T1 16S User s Manual 6F3B0253 6 Programming Information 6 6 2 Sub program 1 If the sub program 1 is programmed it is executed once at the beginning of the first scan before main program execution Therefore
159. g 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 Writing program is prohibited 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 suitable for frequent switching application Basic Hardware and Function 1 7 6F3B0253 1 System Configuration DIN rail mounting The T1 16S is equipped with brackets for mounting on a standard 35 mm DIN rail The T1 16S can be mounted on a DIN rail as well as screw 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 cal
160. gister Expression Data input D DSR a Output Shift input n S Enable input E Direction input L Function While the enable input E is ON this instruction shifts the data of the bit table size n starting with A 1 bit when the shift input S is ON The shift direction is determined by the state of the direction input L When L is OFF the direction is right lower address direction When L is ON the direction is left upper address direction The state of the data input D is stored in the highest bit if right shift and stored in the lowest bit A if left shift The pushed out bit state is stored in the carry flag CF S050 When the enable input E is OFF all bits in the table and the carry flag are reset to OFF Execution condition input Resets all bits in the bit table ON S2 ON Shift left execution Highest bit state L OFF Shift right execution Lowest bit state S OFF No execution Highest bit state Operand Name Devce Register X Y R S T C XW YWIRWSW tT Cc Dp J K A leadingdevicel N v N n Devicesize 1 1 64 Example X8888 R8812 1 DSR X8889 Ht 89 R8818 X8886 R8288 1 70 T1 16S User s Manual 6F3B0253 7 Instructions 9 devices starting with R200 R200 to R208 is specified as a shift register When R010 is OFF the data of the shift register is reset to 0 R200 to
161. he 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 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 4 Otherwise charged static electricity on your body can cause
162. hen the response data is stored in D3001 If the response data is 1915 it means 19 15 For the command code and the data format of the response refer to your Inverter manual Basic Hardware and Function 251 6F3B0253 7 Instructions lt Write command mode Mode 3 gt When the instruction input comes ON with the operand B 1 is 3 the Write command mode mode 3 is selected In this mode the T1 16S sends the user specified Write command to the Inverter specified by the operand B and repeats V Sends the specified command with command data to n Inverter V Checks the acknowledge Repeat The target Inverter number n is specified by the operand B The scan execution status and the Inverter communication status are stored in the operand B 2to B 7 The command code and the command data setting registers are indirectly specified by the operand A and A 1 When the instruction input is reset to OFF the operation is stopped after receiving the response from the Inverter Example R0000 1 D1000 XFER RW200 gt D1010 Data table designation Parameter amp status RS 485 port D1000 RW200 D1010 H0030 fixed D1001 3010 RW201 D1011 RW202 RW203 RW204 RW205 Inverter comms RW206 status map RW207 When the data for each operand are set as above the following operation condition is specified e RW200 5 The target Inverter number is 5 Therefore T1 16S communicates with 5 Inverter e D1000 4 amp
163. her the I O allocation table is identical to the actual I O configuration Not identical Execute the automatic I O allocation and check whether the I O allocation table is now identical to the actual I O configuration till not identical Is the allocation mismatch for a specific I O module 286 T1 16S User s Manual If it is the circuit voltage at the output is ON or if it is OV at the output is OFF with the load ON the T1 16S s output circuit may be faulty If itis OV and the load is also OFF check the output power and the output cable connections If it is not normal check the output cable connections If it is normal check the specification of the load also check environmental factors If identical the T1 16S s internal circuit or the output circuit may be faulty If it becomes identical execute the EEPROM write operation If so the card module or expansion unit may be faulty For expansion unit check the expansion cable also 6F3B0253 10 Troubleshooting 10 1 6 Environmental problem If the following improper operations occur in the controlled system check possible environmental factors 1 If an improper operation occurs synchronously with the operation of I O devices The noise generated at ON OFF of the output device load may be the cause of the problem Take necessary measures mentioned in section 3 2 If an improper operation occurs synchrono
164. i i eio iot reddat dod sedo Erato euiees 8 1 System Configuration oo cece eee eee eeeenneeeeeeeeeeeeeneaaees 13 1 1 Introducing the T1 18S uuoounesciiiitoeit tr taisati conta corii e oateis 14 1 2 Pe UU i e pr 16 1 3 System configuration erc 19 1 4 O expansion S oin meee eee ee ee er eee eg een ee eee en eee ee eee 20 1 5 iss qc ener ene ny eer eee ee eee 21 1 5 1 eju Me cT TE 21 1 5 2 VO VON Tr Ea ea 25 1 5 3 Baro UP HR 26 1 6 Programmer port function citeriore de cniin rers brti ei ea cerei aedis 27 1 7 RS 485 port communication function seeseeeseeess 28 1 8 Real time data link system eesssseeeeeeeen 32 1 9 Peripheral tools Mp Cc 33 2 Specifications cinia doudou iratus domi diss 37 2 1 General specifications otia inttr irei RES ipa 38 2 2 Functional specifications ssesesseeeeeeeeeeeennn 40 2 3 VO io eiecit c 42 2 4 External dimensions esssseeeeseeneenmm nne 46 3 VO Application Precautions seeeem ee 47 3 1 Application precautions for input signals sesesssssse 48 3 2 Application precautions for output signals sssesseeessssssssss 50 4 Installation and Wiring sssssseemmHee 53 4 1 Environmental conditions i o eta RED epe RR EMI UI ata SURE EUER MEE 54 4 2 Installing the unit PR mo mo 55 4 3 Wiring Riz enit m 57
165. ication 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 link connection Interface Conforms to RS 458 Transmission system Half duplex Synchronization Start stop system asynchronous Transmission code ASCll binary ASCII Binar Transmission speed 300 600 1200 2400 4800 9600 or 19200 bps 19200 bps fixed Transmission 1 km max distance Framing Start bit 1 bit Special Data bits 7 or 8 bits Parity Odd even or none Stop bit 1 or 2 bits Protocol T series User Inverter VF Special computer defined A7 G7 S9 link ASCII ASCII binary AS messages protocol inar Link configuration NOTE A T1 16S standard model does not have the RS 485 interface 28 T1 16S User s Manual 6F3B0253 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 software T PDS can also be used in this configuration Data link mode Master Computer RS 485 1 km max Max 32 T1 16Ss Two PLCs any combination of T1 16S T2E or T2N can be directly linked together This direct link is inexpensive easily
166. icrosoft Corporation Publication number UM TS01 E031 1st edition April 2001 2nd edition November 2001 6F3B0253 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 contents of the conformity are shown below Application of 89 336 EEC as amended by 91 263 EEC and 92 31 EEC Council Directive 72 23 EEC as amended by 93 68 EEC Manufacture s 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 TDRI16S6S TDR116S6C TDR116S3S TDR116S3C conforms to the following Product Specifications EMC Radiated Interference EN55011 Group 1 Class A Mains Interference EN 55011 Group 1 Class A Radiated Susceptibility ENV50140 Conducted RFI Susceptibility ENV50141 IEC100 4 6 Electrostatic Discharge IECI000 4 2 Electrical Fast Transient IECIO000 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 atypical configuration 3 Product must be installed in accordance with manufacture
167. ift operations 068 1 bit shift right L SHR1 A Shifts data of A 1 bit to the right changes according to the result 1 bit shift left SHL1 A Shifts data of A 1 bit to the left Bi MN MSB direction The carry flag changes according to the result n bit shift right A SHR n gt B Shifts data of A n bits to the right LSB direction and stores the result in B The carry flag changes according to the result 071 n bit shift left A SHL n gt B Shifts data of A n bits to the left MSB direction and stores the result in B The carry flag changes according to the result 074 Shift register D SR F Q When shift input S comes ON S n shifts the data of specified shift L A register 1 bit to the left and stores data input D state into A This operation is enabled while enable input E is ON The carry flag changes according to the result Shift register n devices starting with device A 075 Bi directional When shift input S comes ON shift register shifts the data of specified shift register 1 bit to the left or to the L right depending on direction input L This operation is enabled while enable input E is ON The carry flag changes according to the result Shift register n devices starting with device A Direction Left when L is ON right when L is OFF Basic Hardware and Function 1 09 7 Instructions Rotate operations 078 1 bit rotate RTR1 A Rotates data of A 1 bit to
168. ing Basic Hardware and Function 273 6F3B0253 8 Special I O Functions Operation Pulse enable PT EE ON duty setting 70 20 X 30 70 60 X 70 AE 70 x 7096 ON duty E _ 70 9 30 PWM output 10 20 Sample program 1 1 _ 88881 MOV SW826 88188 MOY SUBZS R8885 2 02800 MOV SUB29 S 26E 5026F 56276 In this example 1 H0001 is set in SW26 and 100 is set in SW28 As a result 100 Hz PWM output function is selected When R005 is ON the PWM output is started with the duty cycle designated by D0200 If an invalid ON duty is designated the ON duty setting error flag S26E comes ON and the pulse enable flag 8270 is turned OFF Then the PWM output is stopped 274 T1 16S User s Manual 6F3B0253 Section 9 Maintenance and Checks Precautions during operation 276 Daily checks 277 Periodic checks 278 Maintenance parts 279 Battery 280 Basic Hardware and Function 275 6F3B0253 9 Maintenance and Checks 9 1 Precautions during operation When 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 When you try to do it do not touch the connector pins This may cause malfunction of the T1 16S owing to static electricity Do not plug nor unplug the expansion cable during power on This can cause damage to the equipm
169. ion 153 Unsigned equal 192 Unsigned greater than 190 Unsigned greater than or equal 191 Unsigned less than 194 Unsigned less than or equal 195 Unsigned multiplication 151 Unsigned not equal 193 Up down counter 216 Upper limit 224 Watchdog timer reset 211 296 T1 16S User s Manual 6F3B0253 Appendix e Instruction symbol 145 FG 229 U D 216 143 FOR 205 U lt 194 1 154 HTOA 161 U lt 195 C 149 O 239 U lt gt 193 144 IRET 210 U 192 1 155 JCR 134 U gt 190 C 150 JCS 134 U gt 191 146 LL 225 UL 224 lt 182 MAVE 159 WDT 211 183 MAX 226 WRITE 247 lt gt 181 MCR 133 XCHG 139 180 MCS 133 XFER 241 gt 178 MIN 227 gt 179 MOV 136 7SEG 234 MPX 176 ABS 231 NEG 232 AND 156 NEXT 206 ASC 236 NOT 138 ATOH 162 OR 157 AVE 228 PID3 219 BC 202 READ 245 BCD 238 RET 204 BIN 237 RST 197 CALL 203 RSTC 199 CLDN 217 RTL 175 CLDS 218 RTL1 173 CNT 132 RTR 174 D 147 RTR1 172 D 148 SET 196 D 188 SETC 198 D 189 SHL 167 D lt gt 187 SHL1 165 186 SHR 166 D gt 184 SHR1 164 D gt 185 SR 168 DEC 201 SS 131 DFL 160 STIN 213 DI 209 STIZ 212 DIV 153 STOT 214 DMOV 137 SUBR 207 DNEG 233 TEST 163 DPX 177 TINZ 140 DSR 170 TMOV 141 EI 208 TNOT 142 ENC 200 TOF 130 END 135 TON 129 EOR 158 Us 151 F F 215 U 152 Basic Hardware and Function 297 6F3B0253 298 T1 16S User s Manual TOSHIBA TOSHIBA CORPORATION Industrial Equipment Department 1 1 Shibaura 1 chome Minato ku Tokyo 105 8001 JAPAN Tel
170. ion is not programmed before RET instruction Error down An abnormality is detected in the program management information Error down Reload the program and execute EEPROM write operation again The program exceeds the executable memory capacity Error down Reduce the program steps Loop nesting error Program Address A FOR NEXT loop is programmed inside type in the other FOR NEXT loop Error down block No block Correct the program No END IRET error No RET error Program Address Sub r No The RET instruction is not programmed in type in the the subroutine program Error down block No block Correct the program No sub r entry Program Address Sub r No The subroutine corresponding to CALL type in the instruction is not programmed Error down block No block Correct the program 290 T1 16S User s Manual 6F3B0253 10 Troubleshooting Error message cM raum information Special Meaning and countermeasures Infoi Info2 device Program Address A register device which is not supported by the T1 16S is programmed Error down The timer or counter register is duplicated in the program Error down The subroutine number programmed with CALL or SUBR instruction is out of the range Error down 0 to 255 Index modification is programmed for instructions in which the index modification is not allowed Error down Correct the The combination is illegal for MCS MCR JCS JCR or FOR N
171. isters 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 External input devices External output devices Auxiliary relay devices Special devices Timer devices Counter devices OAnD lt x Registers are divided into eight types XW External input registers YW External output registers RW Auxiliary relay registers SW Special registers 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 Device X004 for example represents the number 4 bit in the XWOO register Bit position Number MSB ru FEDCBAOS 87268654821 XW00 Aisa L X004 Thus X004 is ON means that bit number 4 of XWOO is 1 Y R and S devices work in a similar manner 74 T1 16S User s Manual 6F3B0253 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
172. it operation is executed for the data of RW019 by the data of D1220 and the result is stored in RW022 C A RW022 gt A RW019 Lower limit B D1 220 NET E E When RWO019 is 1000 and D1220 is 1800 1000 is stored in RW022 and R0041 is OFF When RWO019 is 800 and D1220 is 1200 the limit value 1200 is stored in RW022 and R0041 is ON Note e This instruction deals with the data as signed integer 32768 to 32767 Basic Hardware and Function 225 6F3B0253 7 Instructions FUN 162 Expression Input A MAX n B Output Function When the input is ON this instruction searches for the maximum value from the table of sizen words starting with A and stores the maximum value in B and the pointer indicating the position of the maximum value in B 1 The allowable range of the table size nis 1 to 64 Execution condition Operand Name X Y R S T C XWYWIRWSW T C D J K PSE i ee NEREEHENEESESESESEZESEREE NBI RENNES NNI aese pp dec dr opo e qo 0 op dest B Resut v viviv vivIivI Iv INI Example R8818 1 I 41n8288 MAX 10 D8588 When R010 is ON the maximum value is found from the register table D0200 to D0209 10 words and the maximum value is stored in D0500 and the pointer is stored in D0501 Pointer D0200 D0201 D0202 D0203 D0204 D0205 D0206 D0207 D0208 D0209 D0500 20000 Maximum value D0501 Pointer
173. ium Operand Name X Y R S T C XWYWIRRWSW T C O I J K A Device NIvNINI 1 1 1 i Example EI R8181 1 R101 comes ON for only 1 scan when X000 is changed from ON to OFF X000 R100 1scantime 1 scan time Note e The maximum usable number in a program is 2048 AN AVF APF ANF PH NH total 1 28 T1 16S User s Manual 6F3B0253 7 Instructions TON ON delay timer Expression Input G A TON B Output Function When the input is changed from OFF to ON timer updating for the timer register B is started The elapsed time is stored in B When the specified time by A has elapsed after the input came ON the output and the timer device corresponding to B is turned ON Timer updating is stopped When the input is changed from ON to OFF B is cleared to 0 and the output and the timer device are turned OFF The available data range for operand A is 0 to 32767 Execution condition Output OFF Elapsed time preset time timer is updating OFF Elapsed time 2 preset time timer is not updating ON Operand Name Devce Register X Y R S T C IXW YWIRWSW T C D 1 KI A Presettime jv v v v N vN N14 V vV v 0 3277 B Elapsedtime Jv T 1 1 T T Example X8888 Y6621 1 6206 TON TAHA Y021 and the timer device T 000 is turned ON 2 seconds after X000 came ON
174. l the unit horizontally or upside down for safety reason e 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 positions are not acceptable Basic Hardware and Function 55 6F3B0253 4 Installation and Wiring Dimensions for screw mounting 000 000000 000000 56 T1 16S User s Manual 6F3B0253 4 Installation and Wiring 4 3 Wiring terminals N 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 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 IV Wi 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 48
175. lay plus 14 relay plus 2 solid state 2 slid state No Upto8l O No 2 option cards plus modules 1 expansion rack or unit Total up to 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 1 4 T1 16S User s Manual 6F3B0253 1 System Configuration Memory capacity Program memory capacity of the T1 is 2 k steps And that of the T1S is 8 k steps Whole the program and a part of data registers are stored in built in EEPROM T1 16 28 40 T1 40S T1 16S Memory Memory RAM for execution and EEPROM for back up Program 2 k steps 8 k steps capacity 4 k mode or 8 k mode Data capacity Auxiliary relay 1024 points Auxiliary relay 4096 points Timer 64 points Timer 256 points Counter 64 points Counter 256 points Data register 1024 words Data register 4096 words EEPROM Program and leading 512 Program and the user specified range of back up Data register 0 to 2048 words RAM back up Capacitor 6 hours or more Capacitor 168 hours at 25 C or more at 77 F Battery 2 years or more Control functions In addition to the basic relay ladder functions the T1 T1S provides functions such as data operations arithmetic operations various functions etc Furthermore its high speed counter functions pulse ou
176. lling ON to OFF Both interrupts No 1 Rising No 2 Rising mn o ojojojm ojojo C 0 0 OJ ojojo No 1 Falling No 2 Rising No 1 Falling No 2 Falling OoOj ojojoj oj o oj oj uvu OoOj ojojoj oj o o jorj OoOj ojojoj oj o o oi c OoOj ojojoj o o o o o OoO 2 o 2 oj oj olio OoOj ojojoj oj o o o jec OoOj ojojoj oj oi jo o ojojojoj 2 o e o oij jojojo j v OoOjJojojoj oj o jo oi 1 0 1 and 2 1 0 1 1 e i 1 Pulse output function SW26 FE CW CCW method Pulse Direction PLS DIR method gt PWM output function C BA98765 4321 Use 000000000000 mn m U o For example the following programs can be used to select the quadrature bi pulse counter 1t SET S0168 H SET 50161H SET SB816B or H0803 1 tT 82851 MOY SUB816 Basic Hardware and Function 259 6F3B0253 8 Special I O Functions 8 2 Variable input filter constant Function The input filter constant ON OFF delay time of the leading 8 points X000 to X007 can be specified by user program within the range of 0 to 15ms The default is 10ms The setting value is recognized at the first scan Therefore it cannot be changed after the second scan Related registers SW16 Function selection Refer to section 8 1 SW17 Input filter constant value FEDCBA9 87654383210 No use set to 0 fed
177. lt is as follows RW23 23456 po in 291 D0100 291 D0100 23456 Before operation After operation Basic Hardware and Function 1 39 6F3B0253 7 Instructions FUN 024 TINZ Table initialize Expression Input A TINZ n B Output Function When the input is ON the data of A is stored in n registers starting with B The allowable range of the table size nis 1 to 1024 words Execution condition Operand Name Register X Y R S T C XWYWIRWSW T C O I J K A Source v v v v v v N N V V v n ralesze 1 104 eo 11 11 LI DEPPEPPLLLE 1 4d destination Example R8818 1 I 4 98088 TINZCB188 D8288 When R010 is ON a constant data 0 is stored in 100 registers starting with D0200 D0200 to D0299 and the output is turned ON Consta 0 Do200 Q Do201 0 D0202 o 100 registers D0299 X 1 40 T1 16S User s Manual 6F3B0253 7 Instructions FUN 025 TMOV Table transfer Expression Input A TMOV n B Output Function When the input is ON the data of n registers starting with A are transferred to n registers starting with B in a block The allowable range of the table size nis 1 to 1024 words Execution condition Operand Name Register X Y R S T C XWYWIRWSW T C D J K A Startofsource v v v v vV vN N pn n Talesze
178. m OFF to ON the data of RW18 is rotated 5 bits to the right and the result is stored in RW20 The figure below shows an operation example Eee 71 MSB LSB FEDCBA 98765 43 210 Rwi8 0j1j 0j0j0 0 1 0 1 0j0 1 1 0 1 0 NNNM CF Rwa0 11 1 0 1 0 0 1 0 0 0 0 1 0 1 0 0 Result ee R001 is turned OFF 1 74 T1 16S User s Manual 6F3B0253 7 Instructions FUN 081 RTL n bit rotate left Expression Input A RTL n gt B Output Function When the input is ON the data of register A is rotated n bits to the left MSB direction and stored in B After the operation if the left most bit MSB is ON the output is turned ON Execution condition Operation When MSB 1 When MSB 0 Operand Name _ Device ta RWS rrr ee Index X Y R S T C XWYWIRWSWI TI C O I J K A Source Jv v v v v v v v v v v Vv ngntbts t6 B Destination J v v v v vN IvNINIV VN I Vv Example XB888 R8882 1 L TL Ru8i18 RTL 83 gt Ru828 When X008 is changed from OFF to ON the data of RW18 is rotated 3 bits to the left and the result is stored in RW20 The figure below shows an operation example proe MSB LSB F E DOC BA O98 7 6 5 43 2 10 1 0j1 0j0j1 1 1 0 0 1 1 1 0 1 0 Rwis CF o o 1 1 1 0j0 1 1 1 0 1 0 1 0 1 RWO2O Result L A ge R002 is turned OFF Basic Hardware and
179. ming devices S040 to S047 Basic Hardware and Function 71 6F3B0253 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 program types such 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 72 T1 16S User s Manual 6F3B0253 Section 6 Programming Information 6 1 Devices and registers 74 6 2 Index modification 86 6 83 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 execution sequence 99 6 9 On line debug support functions 100 6 10 Password protection 103 Basic Hardware and Function 73 6F3B0253 6 Programming Information 6 1 Devices and reg
180. ming tool regardless of the coil circuit execution status On the programming tool the forced input and forced coil are expressed as follows Forced input X005 x005 ibd Normal Forced Forced coil Y023 Y023 Cy as eC Normal Forced VA If EEPROM write operation is executed with remaining the force designation the force designation is also saved into the built in EEPROM Because the force function is debugging function release all force designation before executing the EEPROM write operation The force batch release command is available when the T1 16S is in HALT mode 1 00 T1 16S User s Manual 6F3B0253 6 Programming Information Sampling trace function The sampling trace function collects the status of specified devices or register at every specified sampling timing The collected data can be displayed on the programmer T PDS screen in the format of timing chart for devices or trend graph for register The minimum sampling timing is the T1 16S s scan cycle This function is useful for program debugging and troubleshooting Pp 11 168 Sampling target Devices up to 8 and Registers up to 3 Sampling capacit 256 times The collected data is stored in the T1 16S internal buffer The buffer works as a ring buffer and latest collected data can be displayed The sampling start stop condition arm condition and the collection timing trigger condition can be specified by status changing of devices For
181. mode 1 is selected In this mode the T1 16S sends the following Read commands to the Inverters starting from 0 through the Inverter number specified by the operand B and repeats 0 Operating frequency monitor FDOO 0 Output terminal status monitor FEO7 Scan 1 Operating frequency monitor FDOO A 1 Output terminal status monitor FEO7 n Operating frequency monitor FDOO n Output terminal status monitor FEO7 The maximum Inverter number n is specified by the operand B The scan execution status and the Inverter communication status are stored in the operand B 2 to B 7 The monitor data table is specified by the operand A and A f When the instruction input is reset to OFF the operation is stopped after receiving the response from the Inverter currently communicating Example R0000 1 D1000 XFER RW200 gt D1010 Data table designation Parameter amp status RS 485 port D1000 RW200 D1010 H0030 fixed D1001 RW201 D1011 RW202 RW203 RW204 RW205 Inverter comms RW206 status map RW207 When the data for each operand are set as above the following operation condition is specified e RW200 19 The max Inverter number is 19 Therefore T1 16S scans from 0 through 19 Inverters e D1000 3 amp D1001 100 RW100 is specified as the data table starting address Basic Hardware and Function 249 6F3B0253 7 Instructions Data table Register RW 100 RW101 RW 102 RW 103 RW 104 RW105 RW106
182. mplement value 4660 is stored in D0122 2 s complement data is calculated as follows FEDCBA 98 7 65 4 3 2 1 0 Rw39 o o o 1 ojoj1 ojOo O 1 1 O 1 O O 4660 i Bit inverse 141 1 0 1 1 0 1 1 1 0 0 1 0 1 1 4661 j 1 D0122 1jililolililolililifololililolo 4660 Note e The data range of A is 32768 to 32767 If the data of A is 32768 the same data 32768 is stored in B 232 T1 16S Users Manual 6F3B0253 7 Instructions FUN 183 DNEG Double word 2 s complement Expression Input A 7 A DNEG B 1 B Output Function When the input is ON this instruction finds the 2s complement value of double word data A 1 A and stores it in B 1 B Execution condition Operand Name Constant Index X Y R S T C XWYWIRWSW T C D J K A Source v N v v N N N v B Destination v v v vNIvIN J Example XBB887 1 I QRu841 RU848 DNEG D8151 D8158 When X007 is ON the 2 s complement value sign inverted data of double word register RW41 RW40 is stored in double word register D0151 D0150 For example if RW41 RW40 is 1234567890 the 2 s complement value 1234567890 is stored in D0151 D0150 Note e The data range of A 1 A is 2147483648 to 2147483647 If the data of A 7 A is 2147483648 the same data 2147483648 is stored in B 1B Basic Hardware and Function 233 6F3B0253 7 Instructions FUN 185 7SEG_ 7 segment dec
183. n J 1 it designates D0200 D0199 When J 2 it designates D0199 D0198 CAUTION Be careful that the registers do not exceed the address range by the index modification The address range is not checked by the T1 16S NOTE A Substitutions of values into index registers and index modifications can be used any times in a program Normally the program will be easier to see if a value substitution into an index register is positioned immediately before the index modification Basic Hardware and Function 87 6F3B0253 6 Programming Information 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 SW07 to SW13 by 2 digit BCD format as follows 1999 H0099 2000 H0000 2001 H0001 2002 H0002 Jan H0001 Feb H0002 Mar H0003 Dec H0012 SW09 Day 1st H0001 2nd H0002 3rd H0003 31st H0031 Sun H0000 Mon H0001 Tue H0002 Sat H0006 Program example In the following circuit output YO30 turns ON for 1 minute at every Sunday 6 pm H0018 Y8838 1iHSWUB13 8B8B8BHSUB1B8 88824HSU811 8BBBB 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
184. n the reset input comes ON When the soft gate is OFF the count value can be changed by writing the data into the comparison value 1 or 2 register and setting the count preset flag 1 or 2 to ON The comparison value 1 and 2 can be changed even when the soft gate is ON The count value range is 2147483648 to 2147483647 32 bit data Hardware condition Phase A and phase B X000 and X001 ON OFF pulse width 100us or more max 5KHz Reset input X002 ON OFF duration 2ms or more Related registers SW16 Function selection Refer to section 8 1 Comparison value 2 SW21 SW20 Basic Hardware and Function 265 6F3B0253 8 Special I O Functions Interrupt assignment Comparison value 1 I O interrupt program 1 Comparison value 2 I O interrupt program 2 Operation Up count M M LEL Down co nit MI LUI HUE Reset input Softgate 4 2147483647 Comparison value 1 a ms n MD Count value EN Comparison PEN NI value 2 l LN 2147483648 Interrupt Il 266 T1 16S User s Manual 6F3B0253 8 Special I O Functions Sample program H0803 tt 82851 MOV SU816 R8818 L 88088158888 DMOU 3U819 3UB18 88088288888 DMOU 3U821 3UB28 R88180 RB8811 38243 L J T d2 8181 D8188 DMOU SUB19 3UB18 In this example 2051 H0803 is set in SW16 As a result the quadrature bi pulse counter is sel
185. nd retentive data 1 6 T1 16S User s Manual 6F3B0253 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 link network 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 function 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 checkin
186. ndicates 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 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 Basic Hardware and Function 3 Safety Precautions Installation N 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 4 Entering wire scraps or other foreign debris into to the T1 16S 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
187. nk N umber of output points 6 points 2 points pts common 2 points common Rated load voltage 240Vac 24Vdc max 24Vdc Range of load voltage Max 264Vac 125Vdc 20 0 28 0Vdc 2A point resistive 0 5A point resistive 4A common initial value VoltagedropatON 05Vorless Leakage current at OFF 0 1mA or less rimum tat am 0 1ms or less 0 1ms or less LED display for all points lit at ON internal logic side Removable terminal block M3 Withstand voltage 1500Vac 1 minute between internal and external circuits Internal circuit Internal circuit Internal circuit 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 44 11 16S User s Manual 6F3B0253 2 Specifications Output signal connections DC OUT RELAY OUT L Ie zoo Service power 24Vdc NOOO 240Vac 24Vdc max 24Vdc pup ue Transister output Y Relay output Basic Hardware and Function 45 6F3B0253 2 Specifications 2 4 External dimensions T1 16S A F N aS 000 00000000 00000000 9 y TOSHIBA Eres cce HI PROSEC HH T1 zHBH c c rii e MDRI6SS fe AN 4 re Eu I GE c c t c c
188. nmental conditions N 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 exceeds 55 C Where the relative 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 particles In locations exposed to direct sunlight Observe the following precautions when installing enclosures in which the T1 16S will be installed e Provide the maximum possible distance from high voltage or high power panels This distance must be at least 200mm e f installing the enclosures in the vicinity of high frequency equipment be sure to correctly ground the enclosures e When sharing the channel base with other panels check for leakage current from the other panels or equipment 54 T1 16S User s Manual 6F3B0253 4 Installation and Wiring 4 2 Installing the unit 1 Improper installation directions or insufficient installation can cause fire or the units to drop Install the T1 16S and related eq
189. not loose Check that the input voltage is within the specified range Output LEDs Lit when the output is ON and the e Check that the output terminal corresponding load should operate screw is not loose Check that the output terminal block is not loose Check that the output voltage is within the specified range Basic Hardware and Function 277 6F3B0253 9 Maintenance and Checks 9 3 Periodic checks N CAUTION 1 Pay special attention during the maintenance work to minimize the risk of electrical shock 2 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 Check the T1 16S based on the following items every six months Also perform checks when the operating environment is changed Power supply Measure the power voltage at the T1 85 132 170 264Vac AC PS 16S s power terminals 20 4 28 8Vdc DC PS loose Check that the power cable is not damaged condition securely Check that the I O module is inserted securely if an Check that the expansion rack unit is installed securely if an Check that the expansion cable is Not loose not damaged connected securely and the cable is not damaged if an Check that the I O module on the Not loose no play expansion rack is inserted securely if an the T1 16S s terminals specified range installed securely Check that the terminal screw is no
190. nstructions FUN 062 HTOA Hex to ASCII conversion Expression Input A HTOA n B Output Function When the input is ON the hexadecimal data of n registers starting with A is converted into ASCII characters and stored in B and after The uppermost digit of source A is stored in lower byte of destination B and followed in this order The allowable range of nis 1 to 32 Execution condition Operand Name X Y R S T C XWYWIRWSW TI C O I J K A ane Ee ee ee ee eae sd cx s i a Daas p a se dr Ss dep ose 22 B Destination v vV vIvV vNINI T Example R8818 1 I 1Dn8188 HTOA 84 DOZZA When R010 is ON 4 words data of D0100 to D0103 are converted into ASCII characters and stored in 8 words registers starting with D0200 D0100 D0220 D0101 Converted D0221 3 H33 i 2 H32 D0102 gt D0222 D0103 D0223 D0224 D0225 B H42 A H41 D0226 D0227 F H46 E H45 Note e f index register l J or K is used for the operand A only n 1 is allowed Otherwise boundary error will occur Basic Hardware and Function 1 61 6F3B0253 7 Instructions FUN 063 ATOH ASCII to Hex conversion Expression Input A ATOH n B Output Function When the input is ON the ASCII characters stored in n registers starting with A is converted into hexadecimal data and stored in B and after The lower byte of source A is stored as upperm
191. nt value is preset to the data of D0100 262 T1 16S User s Manual 6F3B0253 8 Special I O Functions 8 3 2 Single phase speed counter Function This function counts the number of changes of the count input from OFF to ON during the every specified sampling time The count value in a sampling time is stored in the hold value register This counter operation is enabled while the soft gate is ON When the soft gate is OFF the hold value is cleared to 0 The setting range of the sampling time is 10 to 1000ms 10ms units The count value range is H0000 to HFFFF 16 bit Hardware condition Count input X000 and X001 ON OFF pulse width 100us or more max 5KHz Related registers SW16 Function selection Refer to section 8 1 Function Register device Remarks Channel 1 Channel 2 X000 X001 SW18 SW20 Datarange 1 to 100 Note 1 Hold value SW22 SW23 Data range H0000 to HFFFF S240 S248 Operation is enabled when ON Note 1 The setting data range of the sampling time is 1 to 100 10ms multiplier Note 2 When both channels are used X000 and X001 cannot be used as normal input devices However if either one channel is used the input for unused channel can be used as normal input devices Interrupt assignment No interrupt function Basic Hardware and Function 263 6F3B0253 8 Special I O Functions Operation Count input LUE LLLI ELEVATA LT I LLLLLLTH LIAE Samping imie v AT y AT y AT y AT y AT y AT
192. o EO a C T e S019 Reserved MEER NEN Se Se O a Lee 014 015 S016 S01A Reserved S01B Reserved S01C Reserved S01D Reserved SO1E Reserved SO1F Watchdog timer error ON at error state down S020 c Reserved 021 I O mismatch down ON at error state Reserved Reserved Reserved 025 Reserved S026 Reserved Pe 023 i p ERE QNEM E o ee o S027 Reserved p Em 1 MEER NEN ERE RM S024 028 Reserved 029 Reserved S02A Reserved S02B Reserved S02C Reserved SODD 2 Reseved 1 SOE 2 Reseved 1 y so2F Reseved 4 y S014 S015 S016 S017 S018 S019 SO1A SO1B S01C SO1D S01E S020 S021 S023 S024 S025 S026 S027 S028 S029 S02A S02B S02C 1 These devices are set by the T1 16S operating system These devices A 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 6 Programming Information Device Name Function register S030 ON at error state related to SW06 S031 ON when the scan time exceeds 200 ms S032 Reserved S033 J Reserved S034 jReserved S035 Reserved S036 Reserved S037 Reserved S038 Reserved S039 AJ Reserved SOSA
193. ode Expression Input A 7SEG B Output Function When the input is ON this instruction converts the lower 4 bits data of A into the 7 segment code and stores it in B The 7 segment code is normally used for a numeric display LED Execution condition Input OFF ON Operand Name Device Register Index X Y R S T C XW YWIRWSW tT Cc bp J K Pi J K A Source j v v v v NN N V N V v B Destination v v v Iv Iv Iv VIVIN Example X8888 1 L T RU815 7SEG RU818 When X000 is ON the lower 4 bits data of RW15 is converted into the 7 segment code and the result is stored in lower 8 bits of RW10 0 is stored in upper 8 bits of RW10 For example if RW15 is H0009 the corresponding 7 segment code HOO6F is stored in RW10 FEDCBA 987 65 43 2 1 0 RW15 ojo o ojojojo ojojojo o 1 0 O 1 H0009 Upper 12 bits are ignored E segment decade Rw10 ojojo o ojojo o oj1 1 0 1 1 1 1 HOO6F 0 is stored in upper 8 bits The 7 segment code conversion table is shown on the next page 234 T1 16S User s Manual 6F3B0253 7 Instructions Bici A acc 4 bits 7 segment LED Operand B lower 8 bits m id Hex Binary composition 87 86 65 B4 BS ER BILD o omo L3 9 2 wm s mo Ls eno 7 LE Lo 1 1 1 Rig Iz E i rr j E rc 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Hp l
194. ondary problem therefore try to determine the cause of trouble by considering the whole system If the problem is found in the T1 16S check the following points Normal Normal PWR power LED Follow the procedure in Not lit 10 1 1 Power supply check Lit RUN LED Follow the procedure in Not lit 10 1 2 CPU check Lit User program Follow the procedure in Not normal 10 1 3 Program check operation Input operation Follow the procedure in Not normal 10 1 4 Input check operation Output operation Follow the procedure in Not normal 10 1 5 Output check Also refer to section 10 1 6 for environmental problem 282 T1 16S User s Manual 10 1 1 Power supply check 6F3B0253 10 Troubleshooting If the PWR power LED is not lit after power on check the following points Check the power connection comet Check the power voltage at the T1 16S s terminal Normal Remove the programmer port connector Still unit Remove the 24Vdc service power terminals if it is used Still unit Remove the I O modules D Confirm the internal 5Vdc current consumption if I O module is used Within the imit Insert the removed option modules one by one to pinpoint the faulty card Connection terminals are correct The terminal screws are not loose The terminal block i
195. ontact always ON special device SO4F etc just before the input Refer to Note of Shift register FUN 074 Basic Hardware and Function 1 71 6F3B0253 7 Instructions FUN 078 RTR1 1 bit rotate right Expression Input RTR1 A Output Function When the input is ON the data of register A is rotated 1 bit to the right LSB direction The pushed out bit state is stored in the left most bit MSB and in the carry flag CF S050 After the operation if the right most bit LSB is ON the output is turned ON Execution condition Input Operation OFF Noexecution OFF ON When LSB 1 When LSB 0 Operand mu Name IX Y R S T C KW YWRWISWI T C D I J kK A Operationdatal w v vrPNIvNIN VININ V Example XB887 R8881 1 tH RTR1RU815 When X007 is changed from OFF to ON the data of RW15 is rotated 1 bit to the right The figure below shows an operation example MSB LSB mwis oT1ToToTo oT1ToT1To o o T3 oT1To aUBTEPRERTERTTIRINE Rw 5 o o 1 o o o o 1 o 1t o o o 1 o 1 o Result R001 is turned ON 1 72 T1 16S User s Manual 6F3B0253 7 Instructions FUN 079 RTL1 1 bit rotate left Expression Input RTL1 A Output Function When the input is ON the data of register A is rotated 1 bit to the left MSB direction The pushed out bit state is stored in the right most bit LSB and in the carry flag CF S050
196. ormation 6 5 T1 16S memory mode setting 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 Parameters using the programming tool Then execute the EEPROM write command Basic Hardware and Function 91 6F3B0253 6 Programming Information 6 6 User program configuration A group of instructions for achieving the PLC based control system is called user program The T1 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 figure below shows the T1 16S s memory configuration 4kor8k steps NOTE RAM System information User program Data registers mentioned in section 5 2 Other registers devices Back up area by EEPROM VA For conditions of transfer between RAM and EEPROM see section 5 2 92 T1 16S Users Manual 6F3B0253 6 Programming Information System information System info
197. ost digit of destination B and followed in this order The allowable ASCII character in the source table is 0 H30 to 9 H39 and A H41 to F H46 The allowable range of nis 1 to 64 Execution condition OFF Noexeuton o Z 1 OFF ON Normal execution ON Conversion data error no execution Operand n Name X Y R S T C XWYWIRWSWI T C D J K passum A apo spp ees eee NEL ID il arate size lt i qr prp po pq ppp 4 04 1 2 B Destination v v vIvV NIvNI Example R0011 R0822 1 D0300 ATOH 88 RUB48 When R011 is ON the ASCII characters stored in 8 words of D0300 to D0307 are converted into hexadecimal data and stored in 4 words registers starting with RW040 F 8 7 0 1 H31 i 0 H30 D0300 RW040 D0301 3 H33 2 H32 Converted RW041 D0302 RWO042 D0303 RWO43 D0304 9 H39 i 8 H38 D0305 B H42 A H41 D0306 D H44 i C H43 D0307 F H46 i E H45 Note e f index register l J or K is used for the operand A only n 1 is allowed e If nis odd number lower 2 digits of the last converted data will not be fixed Use even for n 1 62 T1 16S User s Manual 6F3B0253 7 Instructions Expression Input A TEST B Output Function When the input is ON this instruction finds logical AND of A and B Then if the result is not 0 sets the output to ON
198. ource cp P p ob xps ae iar vV vV E Destination A p a p pop ee ese NANa el a Example 1 constant to register R8818 1 12345 MOV D8188 When R010 is ON a constant data 12345 is stored in D0100 and the output is turned ON Example 2 register to register XB885 1 I 4SWU838 MOV RU845 When X005 is ON the data of SW30 is stored in RW45 and the output is turned ON If SW30 is 500 the data 500 is stored in RW45 Example 3 index modification R88568 I 1 L J t mRuaB88 mov I HD8888 MOV moo When R050 is changed from OFF to ON the data of RWOS is stored in the index register and the data of D 0000 1 is stored in YW10 If RWO8 is 300 the data of D0300 is stored in YW10 1 36 T1 16S User s Manual 6F3B0253 7 Instructions FUN 019 DMOV Double word data transfer Expression Input A 7 A MOV B 1 B Output Function When the input is ON the double word 32 bit data of A 7 A is stored in double word register B 1 B The data range is 2147483648 to 2147483647 Execution condition Operand Name Constant Index X Y R S T C XWYWIRWSWI TI C O I J K A Source v v v v N N N V V V v V B Destination v v vrivN v vN vINI N v Example R0011 1 I 1D8181 D8188 DMOU RUB17 RUB16 When R011 is ON a double word data of D0101 D0100 is stored in RW17 RW16 and the output is turned ON If D0101 D0100 is 1234
199. oy Soft gate Ro dae UH Internal ac E r d count value i Pi ba d s EE a 2 Ej Hold value Sample program H1403 1t 85123 MOV SUB16 H 88818 MOV SU818 R8818 6248 2 pe e In this example 5123 H1403 is set in SW16 As a result the single phase speed counter channel 1 only is selected The sampling time is set as 100ms because 10 is written in SW18 While R010 is ON the soft gate S240 is set to ON and the speed counter works The hold value is stored in SW22 264 T1 16S User s Manual 6F3B0253 8 Special I O Functions 8 3 3 Quadrature bi pulse counter Function This function counts up or down the quadrature bi pulse 2 phase pulses whose phases are shifted 90 each other Counts up when phase A precedes and counts down when phase B precedes Both rising and falling edges of each phase are counted Consequently 4 times count value against the pulse frequency is obtained PhaseA A Y E Y Cy R3 Phase B Y i Y i Y as Y V i 2 J Up count Down count When the count value reaches the comparison value 1 or 2 the I O interrupt program 1 or 2 is activated if the interrupt enable flag for each is ON This counter operation is enabled while the soft gate is ON The count value is reset to 0 when the soft gate is changed from ON to OFF The count value is also reset to 0 whe
200. pecial input Used to select the special input functions functions SW17 nput 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 Count values for high Present count values of the high speed counters are speed counter stored High speed counter control Control flags for the high speed counters flags Reserved Mode of special output Used to select the special output functions functions SW21 Special output control flags Control flags for the pulse PWM output Special output frequency Output frequency setting for the pulse PWM output setting Analog setting value 1 Analog setting value 2 Ooo Reseved O sw33 JResved S SW36 PRG port station address Used to set the programmer port station address 1 to 32 SW37 PRG port parity Used to set the programmer port parity O none 1 odd SW38 PRG port response delay Used to set the programmer port response delay time 0 to 30 0 to 300ms These devices are set by the T1 16S operating system These devices W are read only for user SW19 SW21 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 6F3B0253 6 Programming Information register status status status status status S398 S399 s395 i y L mA oo IEEE R
201. r 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 e 1 4 us per contact e 2 3 us per coil e 4 2 us per 16 bit transfer e 6 5 us per 16 bit addition The T1 16S also supports interrupt input function DC input type only This allows immediate operation independent of program scan High performance software 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 function is an important feature for 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 a
202. r current DHM16M 16points 24Vdc 5mA input 50mA DO116M 16points 24Vdc 100mA output 50mA DD116M 8points 24Vdc 5mA input 50mA 8points 24Vdc 100mA output RO108M 8 points 24Vdc 240Vac 1A relay output 260mA AD121M 1ch 12bit analog input 0 to 20mA 0 to 5V PEDI AD131M ich 12bit analog input 10V 260mA DA121M 1ch 12bit analog output 0 to 20mA 0 to 5V PSU DA131M ich 12bit analog output 10V 240mA TC111M_ ich 12bit thermo couple input 400mA FR112M TOSLINE F10 remote station 100mA Basic Hardware and Function 39 6F3B0253 2 Specifications 2 2 Functional specifications Wem sd T1 16S Control method Stored program cyclic 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 RAM and EEPROM no back up battery required Program capacity 8K steps 4K or 8K mode Ladder diagram with function block Instructions Basic 21 rstctons c Funston 97 1 4us contact 2 3us coil 4 2us 16 bit transfer 6 5us 16 bit addition Program types 1 main program 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 User data 512 points 32 words X XW Y YW 4096 points 256 words R RW 1024 points 64 words S SW 256 points T T 64 at 0 01s 192 at 0 1s 256 points
203. r remains after power OFF and ON again Illegal S004 BCC error has been detected in the system BCC S010 program in the ROM Error down and programming tool cannot be connected Replace the unit if the error remains after power OFF and ON again System power off Power OFF noero po Power ON no error Sum nesting err Program Address Sub r No The nesting of subroutines exceeds 3 i levels Error down Correct the f WD timer error Address 1 Address 2 S004 The watchdog timer error has occurred SO1F Error down If the error occurs frequently replace the unit 292 T1 16S User s Manual 6F3B0253 Appendix A 1 List of models and types 294 A 2 Instruction index 295 Basic Hardware and Function 293 6F3B0253 Appendix A 1 List of models and types e Basic unit Model Powersupply Inputtype RTC RS 485 Type code Part number T1 16S 100 240Vac 24Vdc Yes Ti MDR16S8S TDR116S6S T1 MDR16SC TDR116S6C 24Vdc T1 MDR16SSD TDR116S3S T1 MDR16SCD TDR116S3C e I O module Description Type code Part number 16 points 24Vdc input 16 points 24Vdc output 8 points 24Vdc input and 8 points 24Vdc output 8 points relay output 1 channel analog input 0 5V 0 20mA 1 channel analog input 10V 1 channel analog output 0 20mA Peripherals Description Type code Part number e Cable and others Description Type code Part number T PDS cable for T1 T1S
204. ransfer instruction Transfer data of RW10 to D1000 Example 2 J RW10 MOV D0000 Data transfer instruction with index modification Transfer data of RW 10 I to D 0000 J If 2 3 and J 200 the data of RW13 is transferred to D0200 There are 3 types of index register 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 l D0035 MOV J substitutes the data of D0035 in index register J RW20 00030 K substitutes the result of addition in index register K NOTE A 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 Jxl and KxJ are allowed 86 T1 16S User s Manual 6F3B0253 6 Programming Information The followings are examples of index modifications I When 0 it designates RW10 POR When 1 it designates RW11 RW10 When 1 it designates RWO9 When 10 it designates RW20 When 10 it designates RWOO J When J 0 it designates D0201 D0200 When J 1 it designates D0202 D0201 lt lt mee D0201 D0200 When J 2 it designates D0203 D0202 Whe
205. reater than CE integer compare 109 Unsigned A U B Turns ON output if A 2 B greater than or Unsigned integer compare DIS mb ren emer s fous Unsigned integer compare ae M EINNCG not equal Unsigned integer compare em un ee less than Unsigned integer compare E E JHNC less than or Unsigned integer compare equal Special data processing FUN A Speed Device register SET A If Ais a device Sets device A to ON 2 42 196 If Ais a register Stores HFFFF in register A 115 Device register RST A If Ais a device Resets device Ato OFF 2 42 197 If Ais a register Stores 0 in register A 118 Setcarry Sets the carry flag to ON 1 42 198 9 Reset carry Resets the carry flagto OFF 1 42 199 120 Encode E ENCT n B Finds the uppermost ON bit position in the bit file of size 2 4 57 0 200 bits starting with register A and 141 4 stores it in B 121 Decode A DEC n B In the bit file of size 2 bits starting with register B sets ON 69 5 the bit position indicated by 4 99 1 201 lower n bits of A and resets i OFF all other bits 122 Bit count A BC B Counts the number of ON bits of A and stores it in B 147 Flip flop Sets ON device A when set L input S is ON and resets OFF device A when reset input R is 2 26 7 215 ON Reset takes priority 149 Up down While enable input E is ON counts up or down the number L of cycles the count input C
206. rmation Special devices and registers S SW The special devices S and special registers SW are used for special purposes See list below Device Name Function S00 ister S000 0 Initialization 4 HOLD mode T1 T1S operation mode 1 HALT mode 6 ERROR mode 2 RUN mode 3 RUN F mode S008 Fixed time scan time over ON when actual scan time is longer than the setting alarm time as fixed time scan og 3 Reseved 4 y S00A Clock calendar error ON when clock calendar data is illegal alarm SOB AJ Reseved L0 L 4 SOC Reseved _ i S00D TL F10 error alarm ON when TOSLINE F10 transmission error occurs SO0E o Reseved OS SE a data invalid ieee TENTER ZR when retentive data in RAM are invalid alarm NOTE These devices are set by the T1 16S operating system These devices VAY 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 used in the user program Basic Hardware and Function 79 6F3B0253 6 Programming Information register System ROM error down ON at error state System RAM error down ON at error state S012 Program memory error ON at error state down ON at error state Reserved Reserved Reserved S017 Reserved 018 Reserved p
207. rmation is the area which stores execution control parameters The following contents are included in the system information Machine parameters hardware type memory type User program information program ID system comments number of steps used Passwords Retentive register area information T1S program memory mode 4 k steps or 8 k steps Execution control parameters scan mode timer interrupt interval Station number setting for programmer port T1 or RS 485 port communication parameters Enhanced model 8 I O allocation table 9 Input force table 3989298923 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 program The T1 16S has a capacity of 8 k steps of the user program The user program is stored 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 configuration Program types Blocks Main program Block 1 Subroutine Basic Hardware and Function 93 6F3B0253 6 Programming Information 6 6 1 In the user program the main program is the core The scan operation explained in section 5 3 is for the main program The operation of other program types are explained in the followin
208. rol reset I MCR JH MCS and MCR when MCS input is OFF Jump control set rues H Jumps from JCS to JCR MEE hes pap control reset JCR H JCS input is ON ut pair Eje res e s a o 1 4 135 or sub program Data transfer instructions Data transfer Transfers data of A to B Hsu per 019 Double word 5 A 1 A DMOV B 1 B Transfers double word data 137 data transfer of A 1 Ato B 1 B f Invert transfer Soa CC d bit inverted data of Exchanges data of A with B rec m Table initialize 5 A TINZ n B Transfers data of Ato n 140 registers starting with B starting with A to n registers 3 starting with B 026 Table invert A TNOT n B Transfers bit inverted data of transfer n registers starting with A to n registers starting with B Multiplexer A MPX n B gt C Transfers data from the register specified by B in the table size n starting with A to C 091 Demultiplexer A DPX n B gt C Transfers data from A to the register specified by B in the table size n starting with C Basic Hardware and Function 1 07 6F3B0253 7 Instructions Arithmetic operations stores the result in C and stores the result in C i 029 Multiplication A B gt C 1 C Multiplies data of A and B double length register C 1 C stores the quotient in C and 4 9 7 146 the reminder in C 1 Double word A f A D B 1 B gt C f C Adds data of A 1 A and addition B 1 B and stores the result 4 11 6
209. rs instructions Basic Hardware and Function 1 6F3B0253 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 Name Programmable Controller T1 16S Product Covered Main Unit TDR116S6S TDR116S6C TDR116S3S TDR116S3C I O module TDI116M S TDD116M S TDO116M S TADI21M S TADI31M S TDAI21M S TDA131M S TFR112M S Peripherals TRM102 S TCUI11 S THP911A S UL and c UL Listing For Use in Hazardous Locations File Number E184034 Product Name 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 EQUIPMENT IS SUITABLE FOR USE IN CLASS I DIVISION 2 GROUPS A B C DOR 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 2 T1 16S User s Manual 6F3B0253 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 related manuals so that you can read them anytime while the T1 16S is in operation General Information 1 The T1 16S has been d
210. rted into 4 digit BCD and the result is stored in RW22 For example if D0211 is 5432 the BCD data H5432 is stored in RW22 D0211 Binary to BCD RW22 5432 H5432 Note e f the data of Ais smaller than O or greater than 9999 the conversion is not executed and the instruction error flag ERF S051 is set to ON 238 T1 16S User s Manual 6F3B0253 7 Instructions FUN 235 I O Direct I O Expression Input 1 0 n A Output Function When the input is ON this instruction immediately updates the external input XW and output YW registers which are in the range of n registers starting with A For XW register reads the data from corresponding input circuit For YW register writes the data into corresponding output circuit Execution condition Operand Name X Y R S T C XWYWIRRWSW T C D J K n Register size praese p peg ep 3 i e Ames tye LLLLLLLL L registers Example R8818 1 I 4 1 0 84 XUBBB When R010 is ON the 4 registers starting with XWOO XWO0 to YWO3 are updated immediately XWO01 circuit YWOS circuit Basic Hardware and Function 239 6F3B0253 7 Instructions Note e Inthe T1 16S the following register device range is only effective for this Direct I O instruction Input on basic unit Output on basic unit I O module X000 X007 Y020 YO27 Not effective e The Direct I O instruction can be
211. s and EEPROM write are possible only when the T1 is in the HALT mode 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 the programming tool or cycle power off and then on again 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 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 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 Mode control switch is in R RUN side Mode control switch is in
212. s 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 is particularly harmful 2 Equalize the ground potentials when the expansion rack or unit is connected Ground the T1 16S and the expansion rack or unit at a single point 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 ground subject to vibration The grounding marked terminal see below is provided on the T1 16S basic unit for grounding purpose 9 In case of the expansion rack is connected to the T1 16S the rack mounting screw is used for this purpose Mounting panel System ground e 1 25mm 16 AWG wire should be used to connect the T1 16S and the expansion rack unit with the enclosure grounding bus bar e 1000 or less to ground is required 58 T1 16S User s Manual 6F3B0253 4 Installation and Wiring 4 5 Power supply wiring 1 Turn off power before wiring to minimize the risk of electrical shock N CAUTION 2 Applying excess power voltage to the T1 16S can cause explosion or fire Apply power of the specified ratings described below Wire the power source to the T1 16S power supply terminals Insulation Line filter transformer Power source e Power conditions AC power supply type DC power supply
213. s installed securely 85 to 132 170 to 264Vac 50 60 Hz or 20 4 to 28 8Vdc DC power If the PWR LED becomes normal the internal 5Vdc can be shorted in the external connections of this port If the PWR LED becomes normal the 24Vdc service power can be over load If the PWR LED is still unlit the T1 16S basic unit may be faulty Replace the unit The 5Vdc capacity for I O modules is max 1 5A Refer to section 2 1 Replace the faulty I O module Basic Hardware and Function 283 6F3B0253 10 Troubleshooting 10 1 2 CPU check If the PWR power LED is lit but the RUN LED is not lit check the following points Check the position of the mode control switch v Check the FLT fault LED programming Is the RUN LED blinking whether the not used Connect the programming status tool and check the T1 16S s 10 1 3 Program check If itis not in R RUN position turn the switch to R RUN position If the FLT LED is lit or blinking the T1 16S is in the ERROR mode Confirm the error message by connecting the tool Refer to section 10 2 If it is blinking the T1 16S is in the HOLD mode Check your program HOLD device S401 is If the T1 16S stays in HALT mode even when the mode control switch is changed the switch may be faulty If the communication between the T1 16S and the programming tool is not possible the T1 16S may be fault
214. served SW53 Reserved Basic unit I O LED display Used to display the selected I O module status mode 0 Basic unit 1 to 8 I O module slot 0 to 7 9 and 10 TOSLINE F10 data the EEPROM 0 to 2048 initial value is 2048 SW56 RS 485 port operation Used to set the RS 485 port operation mode mode 0 Computer link 1 Data link 2 Free ASCII 3 Inverter connection RS 485 port response Used to set the RS 485 port response delay time dela 0 to 30 0 to 300ms RS 485 port Free ASCII Used for the RS 485 port Free ASCII function Reserved wes 2 jJReeved j NOTE 1 For details of SW54 refer to section 1 5 1 A 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 6F3B0253 6 Programming Information 6 2 Index modification When registers are used as operands of instructions the method of directly designating the register address as shown in Example 1 below is called direct addressing As opposed to this the method of indirectly designating the register by combination with the contents of the index register I J or K as shown in Example 2 below is called indirect addressing 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 t
215. t Not loose not contacting the loose and the terminal has a sufficient next terminal distance to the next terminal Check that the each I O wire is not Not damaged damaged 278 T1 16S User s Manual 6F3B0253 9 Maintenance and Checks Periodic checks continued Item Environment Check that the temperature humidity Must be within the range of vibration dust etc are within the general specification specified range Programming tool Check that the functions of the Monitoring and other operations programming tool are normal are available Check that the connector and cable Not damaged are not damaged User program Check that the T1 16S program and No compare error the master program saved on a floppy disk etc are the same 9 4 Maintenance parts To recover from trouble quickly it is recommended to keep the following spare parts Item of the controlled system Programming tool Master program 1 Expansion rack or unit if an Fuse for I O One of each type module if an used Battery CR2032 if an used These spare parts should not be stored in high temperature and or humidity locations Basic Hardware and Function 279 6F3B0253 9 Maintenance and Checks 9 5 Battery 1 Install side O Insert the battery by an angle of 45 i Turn side into an upside sS a 2 Eject 1 Push the battery horizontal direction 2 Push from upsi
216. t signal wires The terminal screw size is M3 See section 2 4 for details 22 T1 16S User s Manual 6F3B0253 1 System Configuration l O status LEDs Indicates the ON OFF status of each I O signal color red SW54 setting I O intending for an indication Note value 0 default Basic unit L X000 007 H Y020 027 1 l O module slot 0 It indicates these at the 2 I O module slot 1 time of only RUN 3 l O module slot 2 mode 4 l O module slot 3 5 I O module slot 4 6 l O module slot 5 7 I O module slot 6 8 I O module slot 7 9 TOSLINE F10 FR112M Low 1 word 10 TOSLINE F10 FR112M High 1 word Others Basic unit L X000 007 H YO20 027 Operation status LEDs Indicates the operation status of the T1 16S ios RUN PWR PWR Lit Internal 5 Vdc power is normal Power green Not lit Internal 5 Vdc power is not normal green Lit RUN mode in operation red RUN Blinking Not lit FLT Lit Fault red Blinking Not lit Mode control switch Controls the operation modes of the T1 16S When the switch is turned to H HALT side the T1 16S stops program execution HALT mode In this position RUN HALT command from the programmer is disabled When the switch is turned to R RUN side the T1 16S starts program execution This is the position during normal operation In this position RUN HALT command from the programmer is also availa
217. ta of A into binary and stores in B If any digit of A contains non BCD code other than HO through H9 the conversion is not executed and the instruction error flag ERF S051 is set to ON Execution condition Eg M BCD data error Operand OS iSe m F 6 8T TT3TK X XHY ERS LE LG PW RWISWLT LG D EEKE K Source BCD H0000 H9999 Binar Example R0017 1 RW828 BIN D8127 When R017 is ON the BCD data of RW28 is converted into binary data and the result is stored in D0127 For example if RW28 is H1234 the binary data 1234 is stored in D0127 RW28 BCD to Binary D0127 H1234 39 __ gt 1234 Note e f any digit of operand A contains non BCD data e g H13A6 the conversion is not executed and the instruction error flag ERF 2 S051 is set to ON Basic Hardware and Function 237 6F3B0253 7 Instructions FUN 190 BCD Expression Input A BCD B Output Function When the input is ON this instruction converts the binary data of A into BCD and stores in B If the data of A is not in the range of 0 to 9999 the conversion is not executed and the instruction error flag ERF S051 is set to ON Execution condition Operation No execution Normal execution ON Binary data error Operand IX Y R S T C XW YWIRW SW T D I1 J KI a E tt EE PE Example R0019 1 D0211 BCD RW822 When R019 is ON the data of D0211 is conve
218. ters starting with B 1 12 T1 16S Users Manual 6F3B0253 7 Instructions Functions 056 Moving A MAVE n B gt C Calculates the average value average of latest n scan values of A and stores the result in C 061 Digital filter A DFL B 2 C Filters the value of A by filter constant specified by B and stores the result in C 156 Pre derivative A PID3 B 5 C Performs PID control pre real PID derivative real PID algorithm Process value PV A Set value SV A 7 PID parameters B and after Manipulation value MV C 160 Upper limit A ULB gt C Upper limits the value of A by B and stores the result in 4 C 161 Lower limit A LL B gt CH Lower limits the value of A by B and stores the result in C 162 Maximum A MAX n B Finds the maximum value of value n registers data starting with A and stores the value in C and the pointer in C 1 163 Minimum value A MIN n B Finds the minimum value of n registers data starting with A and stores the value in C and the pointer in C 1 164 Average value A AVE n B Calculates the average value of n registers data starting with A and stores the result in C 165 Function A FG n B C Finds f x for given x A and generator stores it in C The function us 4 ie EN CN a a a MN ND oo f x is defined by parameters stored in a table 2xn registers starting with B Basic Hardware and Function
219. the right LSB direction The carry flag changes according to the result 079 1 bit rotate left RTL1 A Rotates data of A 1 bit to the left MSB direction The E ud flag changes according to the result 0 80 n bit rotate A RTR n 2 B Rotates data of A n bits to i the right LSB direction and stores the result in B The carry flag changes according to the result 081 n bit rotate left A RTL n gt B Rotates data of A n bits to the left MSB direction and stores the result in B The carry flag changes according to the result 6F3B0253 Compare instructions T 096 Greater than_ IA gt B Turns ON output if A gt B 097 Greater than or A gt B Turns ON output if A2 B equal Turns ON output if A B 099 Not equal dA lt gt Br Turns ON output if A B 100 Turns ON output if A B equal greater than if A 7 A gt B 1 B greater than or if A 7 A gt B 1 B equal 106 Double word A 7 A D lt B t B Turns ON output less than if A 7 A lt B 1 B 105 Double word A 1 A D B t B Turns ON output not equal if A 1 A B 1 B 107 Double word A 1 A D lt B t B Turns ON output less than or if A T A B 1 B equal 104 Double word A 1 A D B t B Turns ON output equal if A 7 A B 1 B 1 10 T1 16S User s Manual 6F3B0253 7 Instructions Compare instructions continued m 108 Unsigned e A U gt B Turns ON output if A gt B 120 g
220. the event history table This event history table can be displayed on the programming tool Power ON OFF is also registered If the T1 16S has entered into ERROR mode connect the programming tool to the T1 16S to confirm the error message in the event history table This information is important to recover from a trouble For the key operations on the programming tool to display the event history table refer to the separate manual for the programming tool An example of the event history lt Event History gt Date Time Event Count Info 1 Info 2 Info 3 Mode 1 98 02 21 16 48 01 l Onoanswer 3 400 04 RUN DIT 2 98 02 21 15 55 26 System power on 1 INIT 3 98 02 21 12 03 34 System power off 1 RUN 4 98 01 15 09 27 12 System power on 1 INIT 5 98 01 14 19 11 43 System power off 1 HALT 6 3 M 001 H0024 HALT DM 98 01 14 10 39 11 No END IRET error In the event history table No 1 message indicates the latest event recorded Each column shows the following information Date The date when the error has detected Enhanced model only Time The time when the error has detected Enhanced model only Event Error message Count Number of times the error has detected by retry action Info n Related information to the error detected Mode T1 16S s operation mode in which the error has detected INIT means the power up initialization Down Shows the T1 16S has entered into ERROR mode by the error detected If the T1 16S is in the ER
221. the user specified Read command to the Inverter specified by the operand B and repeats V Sends the specified command to n Inverter V Receives the response and stores the data into the register Repeat The target Inverter number n is specified by the operand B The scan execution status and the Inverter communication status are stored in the operand B 2 to B 7 The command setting register and the response data storing register is indirectly specified by the operand A and A f When the instruction input is reset to OFF the operation is stopped after receiving the response from the Inverter Example R0000 1 D1000 XFER RW200 gt D1010 Data table designation Parameter amp status RS 485 port D1000 RW200 D1010 H0030 fixed D1001 3000 RW201 D1011 RW202 Execution status RW203 RW204 RW205 Inverter comms RW206 status map RW207 When the data for each operand are set as above the following operation condition is specified e RW200 3 The target Inverter number is 3 Therefore T1 16S communicates with 3 Inverter e D1000 4 amp D1001 3000 D3000 is specified as the command setting register and D3001 is specified as the response data storing register Data table Register Data contents Signal direction D3000 Command code D3001 Response data lt Read Example operation For example to read the output current from the 3 Inverter set the command code HFEO3 into D3000 T
222. tical to the actual I O configuration Still not dential Is the allocation mismatch for a specific I O module If not check the input voltage at the T1 16S s input terminals If the voltage is not normal check the input device and the cable If the voltage is normal the T1 16S s input circuit may be faulty If the monitored X device state is identical to the state of the input status LED the cause may lie in the user program or in the environment If it is forced release the force designation then execute the EEPROM write operation If identical the T1 16S s internal circuit or the input circuit may be faulty If it becomes identical execute the EEPROM write operation If so the card module or expansion unit may be faulty For expansion unit check the expansion cable also Basic Hardware and Function 285 6F3B0253 10 Troubleshooting 10 1 5 Output check If the output status monitored on the programming tool is normal but the external output device load is not operated normally check the following points Is the output status LED No changed ON OFF according to the program execution Yes Check the voltage between the output terminal and its common terminal It should be OV when the output is ON and it should be the circuit voltage when the output is OFF Normal Check the voltage at the load S Y Check whet
223. tion 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 link 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 Start bit 1 bit Data bits 8 bits fixed Parity Odd or none Stop bit 1 bit fixed Protocol T series computer link ASCII Programmer binar Transmission delay option 0 to 300 ms By using the multi drop adapter CU1 11 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 Operator Interface Master Computer RS 232C RS 485 1 km max Max 32 T1 16Ss Basic Hardware and Function 27 6F3B0253 1 System Configuration 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 commun
224. tion When the input is ON this instruction finds logical OR of A and B and stores the result in C Execution condition Input OFF ON Operand Name X Y R S T C XWYWIRRWSW T C D J K A Source J v v v v v v P N N N N v v porse ae NE EENEHEESEIERSESETENEZEZEZTANE EU ejor I p qp od p quere N Example R0012 1 R4013 OR RUB2B8 D8831 When R012 is ON logical OR operation is executed for the data of RW13 and RW20 and the result is stored in D0031 If the data of RW13 is H5678 and RW20 is H4321 the result H5779 is stored in D0031 FEDCBA98 765 43 21 0 RW13 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 5 6 7 8 OR Rw20 o 1 o olo o 1 1 o o 1 ojo ojo 1 4 3 2 1 Doo31 jo 1 o t o 1 1 1 o 1 1 1 1 o o 1 N X B 7 7 9 Basic Hardware and Function 1 57 6F3B0253 7 Instructions FUN 052 EOR Exclusive OR Expression Input A EOR B C Output Function When the input is ON this instruction finds exclusive OR oA and B and stores the result in C Execution condition Input OFF ON Operand Name X Y R S T C XWYWIRRWSWI T C D J K A Source J v v v v v v 4 N N N N v v E oure UENUNENENEENEHEESGSEZSERSESETENEZEZEZTAENE NEUE C eedusveOR w v Iviviviv vIvIN v Example R0012 1 D1000 EOR D8388 DIHOA When R012 is ON exclusive OR operation is executed for the data of D1000 and D0300 and the r
225. tores the result in B Execution condition Input OFF ON Operand Name Device Register Index X Y R S T C XW YWIRWSW tT Cc bp J K Pi J K A Source j v v v v N N N V NV V v B Countdata N v v Iviviv J Example R0026 1 I 1Ru832 BC D182 When R020 is ON the number of ON 1 bits of the register RW032 is counted and the result is stored in D0102 The following figure shows an operation example FEDCBA9 876543210 Rwo32 o o 1 o o 1 1 1 o 1 o 1 t o o o Counts the number of ON 1 bits 2 7 V FEDCBA9 876543210 D0102 0j0j0j0 0j0j0 0 0j0j0 OJO 1 1 1 Tl The result data 7 is stored in binary 202 T1 16S User s Manual 6F3B0253 7 Instructions FUN 128 CALL Subroutine call Expression Input CALL N n Output Function When the input is ON this instruction calls the subroutine number n Execution condition Input OFF ON Operand Name Constant Index X Y R S T C XWYWIRWSW T C D I JJ K E K nee I TL R34 ES TI A r9 number Example XBB887 1 CALL N 888 When X007 is ON the subroutine number 8 is called When the program execution is returned from the subroutine the output is turned ON Main program Subroutine HI CALL N 008 H HI SUBR 008 RET Note e The possible subroutine number is 0 to 15 T1 or 0 to 255 T1S e Refer to the SUBR ins
226. tput OFF Norepetiion OFF ON Repetiion ON Operand Name Index X X vR TS TT nans T 6 5T T 3 J Ese TITLLLPPPPPPPPPPISSE times Example ROBOS ne ne J FOR 88838 This segment is executed 30 times repeatedly in a scan EXT When R005 is ON the program segment between FOR and NEXT is executed 30 times ina scan R005 FOR 30 Executed 30 times in a scan when R005 is ON IH NEXT J Basic Hardware and Function 205 6F3B0253 7 Instructions FUN 133 NEXT NEXT FOR NEXT loop Expression Input NEXT Output Function This instruction configures a FOR NEXT loop If the input is OFF The repetition is forcibly broken and the program execution is moved to the next instruction Execution condition Forcibly breaks the repetition Operand No operand is required Example iri 88888 MOY I I When R005 is ON the program segment between FOR and NEXT is executed 30 times in a scan In the above example the rung 3 is executed 30 times As a result the data of D0000 to D0029 are transferred to D0500 to D0529 Block transfer Note e The FOR instruction must be used with a corresponding NEXT instruction one by one e Nesting of the FOR NEXT loop is not allowed That is the FOR instruction cannot be used in a FOR NEXT loop e The FOR and NEXT instructions cannot be programmed on the same run
227. tput functions and data communication functions allow its application to a wide scope of control systems T1 16 28 40 T1 40S T1 16S Language Ladder diagram with function block Number of Basic 17 types _ Basic 21 types Basic 21 types instructions Function 76 types Function 99 types Function 97 types nesting not allowed up to 3 levels of nesting Execution speed 1 4 us contact 2 3 us coil 4 2 us transfer 6 5 us addition Real time Yes year month day week hours clock calendar minutes seconds Communication RS 232C RS 232C programmer port programmer port RS 485 multi purpose 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 1 5 6F3B0253 1 System Configuration 1 2 Features l 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 counte
228. truction FUN 137 e Incase of T1 nesting of subroutines is not allowed That is the CALL instruction cannot be used in a subroutine e Incase of T1S nesting of subroutines is possible up to 3 levels e The CALL instruction can be used in an interrupt program However it is not allowed that the same subroutine is called from an interrupt program and from main program Basic Hardware and Function 203 6F3B0253 7 Instructions FUN 129 RET Subroutine return Expression L RET H Function This instruction indicates the end of a subroutine When program execution is reached this instruction it is returned to the original CALL instruction Execution condition Execution j Operand No operand is required Example e EH Main program Subroutine IH CALL N 008 H H SUBR 008 RET Note e Refer to the SUBR instruction FUN 137 e The RET instruction can be programmed only in the program type Subroutine e The RET instruction must be connected directly to the left power rail 204 T1 16S User s Manual 6F3B0253 7 Instructions FUN 132 FOR FOR FOR NEXT loop Expression Input FOR n Output Function When the input is ON the program segment between FOR and NEXT is executed n times repeatedly in a scan When the input is OFF the repetition is not performed the segment is executed once Execution condition Input 1 Operaion Ou
229. type of device X Y R or S As for the timer T and the counter C devices a device number is expressed as follows Tad Corresponding register number decimal number Represents the type of device T or 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 number Represents the type of register XW YW RW SW T C or D The index registers I J and K do not have the number I J or K Basic Hardware and Function 75 6F3B0253 6 Programming Information Available address range Auxiliary relay device R_ 4096 points ROO0 R255F 1024 points D ET CE J 256 words C000 C255 4096 words D0000 D4095 Index register LOK iwora K no address 256 words RW000 RW255 256 points T 000 T 255 uc W W W W J K NOTE 1 1 word 16 bits A 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 O 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 Upper 16bits Lower 16bits In this manual a double word register is expressed by using For example D0101 D0
230. uction Note e The STIZ STIN and STOT instructions are used together to configure the step sequence e Two or more STOT instructions can be placed on one rung to perform simultaneous sequences Aia STIN RH HH IT R Bz H STOT RES e Two or more STIN instructions can be placed on one rung in parallel or in series to perform loop or convergence of sequences Max 11 STIN instructions on one rung REE ASTIN Raae Ir J L H STIN REM 4 e To perform the conditional branch sequence selection separate the rungs as follows This limitation is applied to T1 version 1 00 only STIN A STOT BH STIN A STOT B j STOT CH STIN A STOT C Not allowed Available 21 4 T1 16S User s Manual 6F3B0253 7 Instructions FUN 147 F F Flip flop Expression Setinput s F F Q Output Resetinput R A Function When the set input is ON the device A is set to ON When the reset input is ON the device A is reset to OFF When both the set and reset inputs are OFF the device A remains the state If both the set and reset inputs are ON the device A is reset to OFF The state of the output is the same as the device A Execution condition input input OFF No execution A remains previous state Same Resets A to BEE as A Sets Ato ON Resets A to OFF Operand Bu Name IX Y
231. uipment in accordance with the instructions described in this section N CAUTION 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 Entering wire scraps or other foreign debris into to the T1 16S and related equipment can cause fire or malfunction Pay attention to prevent entering them into the T1 and related equipment during installation and wiring NOTE The T1 16S basic unit and the I O module come equipped with a bracket at the rear Ae for mounting on a 35mm DIN rail Installation precautions e Because the T1 16S is not dust proof install it in a dust proof enclosure e 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 e Allow at least 70mm on all sides of the unit for ventilation e 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 e f high frequency equipment is installed in the enclosure together with the T1 16S special attention is required for grounding See section 4 4 Be sure to install the unit vertically with keeping the power terminals downside Do not instal
232. usly with the operation of surrounding equipment or high frequency equipment The noise induced in I O signal lines may be the cause of the problem The surge voltage voltage fluctuations or differences of grounding potentials may cause the problem depending on the power supply system or the grounding system Check the operation in accordance with the precautions in section 4 For some cases isolation from the ground may lead to the stable operation 3 If an improper operation occurs synchronously with the operation of machinery The vibration of the equipment may cause the problem Check that the installation status of the units and take necessary measures 4 If a similar failure is repeated after the unit is replaced Check that no metal debris or water drops has been entered into the unit module Apart from the above points consider climatic conditions If the ambient temperature is beyond the specified range stable operation of the system is not guaranteed Basic Hardware and Function 287 6F3B0253 10 Troubleshooting 10 2 Self diagnostic items If an error is detected by the self diagnostic check of the T1 16S CPU the error messages and the related information shown on the following pages will be recorded in the T1 16S s event history table If the error is severe and continuation of operation is not possible the T1 16S turns OFF all outputs and stops the operation ERROR mode The latest 15 error messages are stored in
233. v vrPNIvNIN VININ V Example XB887 R8881 1 tH SHR1RU815 When X007 is changed from OFF to ON the data of RW15 is shifted 1 bit to the right The figure below shows an operation example MSB LSB F mwis oT1ToToToo T T1 o oToT 1 oT To NNNNNN NN NN NN NN CF Rw15 o o 1 o o o o 1 o 1 o o o 1t o 1 o Result 0 R001 is turned ON 1 64 T1 16S User s Manual 6F3B0253 7 Instructions FUN 069 SHL1 1 bit shift left Expression Input SHL1 A Output Function When the input is ON the data of register A is shifted 1 bit to the left MSB direction 0 is stored in the right most bit LSB The pushed out bit state is stored in the carry flag CF S050 After the operation if the left most bit MSB is ON the output is turned ON Execution condition Input Operation OFF No execution OFF ON When MSB 1 When MSB 0 Operand mu Name IX Y R S T C KW YWRWISWI T C D I J kK A Operationdatal w v vrPNIvNIN VININ V Example XB888 R8882 1 tH SHL1RU815 When X008 is changed from OFF to ON the data of RW15 is shifted 1 bit to the left The figure below shows an operation example MSB LSB F awis op AAA AVA AAAI H 1 ojo 1 1 1 o o 1 1 1 0 1 0 0 Rw15 Result Ll R002 is turned ON 0 Basic Hardware and Function 1 65 6F3B0253 7 Instructions FUN 070 n bit shift right Expression Input
234. y T1 16S basic unit E T1 16S Handy programmer RS232C HP911A Eg I O modules Computer link function MMI SCADA system d ee II 8 modules max Basic Hardware and Function 1 9 6F3B0253 1 System Configuration 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 T1 16S maximum configuration 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 Ae 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 conn
235. y Check the user program based on the following points if it is running but the operation does not work as intended 1 Whether duplicated coils are not programmed 2 Whether a coil device and a destination of a function instruction are not overlapping 3 Whether the ON OFF duration of an external input signal is not shorter than the T1 16S s scan time 4 Whether a register device which is used in the main program is not operated erroneously in the interrupt program NOTE V When you write modify the program it is necessary to execute the EEPROM write operation before turning off power to the T1 Otherwise the old program stored in the built in EEPROM will be over written and your program modification will disappear 284 T1 16S User s Manual 10 1 4 Input check 6F3B0253 10 Troubleshooting If the program is running but the external input signal is not read normally check the following points Is the input status LED changed ON OFF according to the corresponding input device operation Yes Connect the programming tool and monitor the corresponding X device state in RUN mode Not normal Check whether the X device is forced or not Not forced Check whether the I O allocation table is identical to the actual I O configuration Not identical Execute the automatic I O allocation and check whether the I O allocation table is now iden
236. y and stick it near the power terminals Stick this seal on unit or near unit where it can be readily seen Take off this sheet before wiring Contact Toshiba if the label is damaged Basic Hardware and Function 7 6F3B0253 About This Manual 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 of the equipment This manual introduces the T1 16S and explains the system configuration specifications installation 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 This manual consists of 10 main sections and an appendix Section 1 outlines the T1 16S configuration To fully understand the T1 168 it is important to read this section carefully Sections 2 to 4 describe the hardware used in designing external circuits and panels Sections 5 to 7 are mainly concerned with software Section

Download Pdf Manuals

image

Related Search

Related Contents

Omega Engineering M-4066 Satellite Radio User Manual  LIT203 AEROUS Oxygen Concentrator_061311  1 1 2 2 S S  Life-365™ Service Life Prediction Model™  PNY GF780IGTX3GEPB NVIDIA GeForce GTX 780 Ti 3GB graphics card  DuoGen User`s Manual  EXHIBITOR SERVICE MANUAL The Original Wedding Expo  MANUAL DE INSTRUCCIONES  VIO 300 D    

Copyright © All rights reserved.
Failed to retrieve file