Home
USER`S MANUAL - ElectricalManuals.net
Contents
1.
2. 75 90 125 When 16 point I O module installed ate oa 75 90 125 138 max 106 5 201 y 215 A bye 143 max 229 Basic expansion unit UBA1 UBB1 When 32 64 point I O MC11 installed A a 328 El 22 PROSEC T2E 2 Specification 2 3 I O Module DI31 em Specifications EX10 MDI31 Input Voltage Range 12 24V 12 dc ac 50 60Hz 16 point DC AC input Minimum ON Voltage 9 6V or more Maximum OFF Voltage 3 6V or less leak current 0 7mA or less Input Current Typ Approx 8mA at 24Vdc 01234567 89ABCDEF No of input point 16 points common ON Delay N Mode 10ms or less dc 20ms or less ac H Mode 1 5ms or less dc OFF Delay N Mode 10ms or less dc 15ms or less ac H Mode 1 5ms or less dc Withstand Voltage 1500Vac 1minute Current Consumption 15mA 5Vdc or less Weight Approx 200g Filter Selection Circuit Confiauration O O e O e O 3 A a D 12 24Vac dc IN ynoJ19 euJaju LED Display Filter Sel
3. 5 12V PULSE IN At the factory setting the PI2 is set to 12V input quadrature and normal counter operation See the Circuit Configuration for other settings 44 PROSEC T2E ltem PI121 EX10 MP121 12V 10 5 12V setting 5V 10 5 5V setting Input Voltage A B M Range EXT 12 24Vdc 10 15 9V 12V setting 3 5V 5V setting Minimum ON A B M Voltage EXT 9 6V 2V 12V setting 1V 5V setting 3 6V 12V 7 5mA 12V setting 5V 10mA 5V setting X Voltage EXT Input Current EXT Number of Input Points 24V 10mA 12V 5mA 1 point phase A B M and ETX Pulse Counting Speed Counter Configuration 100Kpps max pulse width 4u sec or more 24 bit binary Quadrature Phase A B 90 degree phase shift up down Pulse Input Mode Up Down _ Phase A count up phase B count down Normal Counter clears at simultaneous ON timing of phase M and EXT input edge always executes count apart from this Counter Operation Hold Executes count only when both phase M and EXT input are ON Mode External EXT Input Operation External EXT Input Delay count stops when either is OFF Count value maintained Counter clear is at the same timing as the Normal Mode Counter clears at simultaneous ON timing of phase M and EXT input edge ON OFF OFF ON each 5mS or less Withstand Voltage Current Consumption 1500Vac 1
4. Unit 0 Unit 1 Unit 2 Unit 3 Slot ee Slot ges Slot hee Slot oS PU 0 X 4W 0 Y 1W 0 Y 1W 0 TL F 1 X 4W 1 Y 1W 1 Y1W 1 X 1W 2 X 4W 2 Y 1W 2 Yiw 2 X 1W 3 3 Y 1W 3 3 X1W 4 4 Y 2W 4 4 X1W 5 Y 2W 5 Y 2W 6 5 X 2W 6 Y 2W 6 Y 2W 6 6 X 2W 7 7 Y 2W 7 7 X 2W YAY When the rack other than the BU218 is used for the basic unit slot 0 is regarded as vacant User s manual 195 4 I O Allocation Manual I O Allocation This is the method by which the user edits the input output allocation information on the I O allocation information screen of the programmer T PDS and writes it to the T2E The manual I O allocation is used in the following cases When carrying out programming in a state in which the I O modules are not fully mounted When it is desired to remove a special module from the the subjects of batch input output When using the starting address setting function When allocating a specified number of registers to slot left vacant for future addition When carrying out off line programming When using a serial interface module which requires iX Y 4W For manual I O allocation module types are set for each slot The module types which can be set at this time are as shown below Module types are expressed by combinations of function classifications and numbers of registers occupied except for MMR TL S TL F and OPT Function Classification Number of Registers Occupied
5. Setting Function Operation Mode after Remarks Position power up SW 3 OFF Automatic HALT RUN Automatic RUN start occurs ON Stand by RUN Starts up in HALT mode Ready to start operation by an operate command from the programmer or by shifting the operational mode switch gt HALT RUN NOTE VAV The RUN Stand by switch is set to RUN at the factory User s Manual 9 1 System Configuration 4 5 Selection Switch of optional Communication function Setting Position Function Operation SW 4 OFF Computer Link The T2E can communicate with a master computer using T series computer link protocol ON Data Link The T2E executes data link with other T2E OFF Serial Interface The T2E is communicate with external devices using ASCII code ON Reserved No operation NOTE VAV 1 These switches are set to computer link function at the factory 2 For details of the operation mode see Section 1 4 6 Programmer Port Parity Setting Function Position SW 6 Remarks Odd Parity 8 bit Data 9600bps Data length is 11bit 8 bit Data 9600bps Data length is 1 Obit The Programmer Port Parity switch is set to Odd Parity at the factory The T2E can connect to Modem by using this switch Control signals CTS DTR etc should be set to No Use at the modem side Response of the T2E V1 1 can be delayed on the programmer port using SW38 Pr
6. BU218 50mA or less 1600y BU268 50mA or less 1500y BU266 50mA or less 1400y UBA1 50mA or less 1400y UBA2 50mA or less 1400y UBB1 50mA or less 1500y UBB2 50mA or less 1500y 16 point DC AC input 12 24V DI31 15mA or less 5 200g 32 point DC input 24V DI32 80mA or less 200g 64 point DC input 24V DI235 100mA or less 250g 16 point AC input 100 120V IN51 15mA or less 250g 16 point AC input 200 240V IN61 15mA or less 250g 12 point relay output RO61 50mA or less DC24V 140mA 250g RO62 40mA or less DC24V 100mA 2509 16 point transistor output DO31 60mA or less DC5 24V 35mA 200g 32 point transistor output DO32 250mA or less DC5 24V 100mA 200g 64 point transistor output DO235 250mA or less 250g 16 point transistor PNP DO233P 60mA or less 200g 12 point triac output AC61 300mA or less 200g 4ch analog input 8bit Al21 50mA or less DC12 24V 50mA 200g 4 20mA 1 5V 4ch analog input 12bit 4 20mA 1 5V 4ch analog input 8bit Al22 50mA or less DC24V 50mA 200g Al31 50mA or less DC12 24V 50mA 200g 0 10V 4ch analog input 12bit Al32 50mA or less DC24V 50mA 200g 10V 2ch analog output 8bit AO31 70mA or less DC24V 90mA 2009 4 20mA 1 5V 0 10V 2ch analog output 12bit AO22 170mA or less DC24V 90mA 2009 4 20mA 1 5V 2ch analog output 12bit AO32 170mA or less DC24V 90mA 2009 10V 1ch pulse input Pl21 80mA or less 200g MC11 200mA or
7. m al Table transfer Arithmetic operations 31 FUN No Double length addition enueu sasn Lec Ladder Diagram Instructions Function Instructions Representation Arithmetic operations Double length multiplication Double length division Addition with carry Subtraction with carry Double length addition with carry Double length subtraction with carry Unsigned double single division E Number of cri Summary Boyan required Remarks us Multiplies the contents of A 1 A by the contents of B 1 B and stores the result in C 1 C 2 C 1 C Divides the contents of A 1 and A by the contents of B 1 B and stores the quotient in C 1 C and the remainder in C 4 C 3 A 2 Adds the contents of the carry flag and the contents of B to the contents of A and stores the result in C The carry flag changes according to the operation result A 2 D Subtracts the contents of B and the contents of the carry flag from the contents of A and stores the result in C The carry flag changes according to the operation result Adds the contents of the carry flag to the contents of A 1 A and the contents of B 1 B and stores the result in C 1 C The carry flag changes according to the operation result Subtracts the contents of B 1 B plus the contents of the car
8. Add a further 1 to the content of and store content of XW012 in D 3000 1 Incidentally Pt is a positive pulse contact which becomes ON once only when device A starts up from OFF to ON up to the instruction execution of the following scan t 1s Oris multiplication instruction which multiplies A by B and stores it in double length register 1 1 His an increment instruction which adds 1 to the content of A and stores it in MOV HF is a data transfer instruction which substitutes the content of in NOTE VAV 1 Substitutions of values to index registers and index modification may be carried out any number of times during a program Therefore normally the program will be easier to see if a value substitution to an index register is executed immediately before index modification 2 Be careful that the registers do not exceed the address range through index modification When the results of index modification exceed the address range the instruction becomes non executable and special relays S0051 and S0064 which indicate boundary error become ON 186 PROSEC T2E 3 5 Digit Designation 3 User Data There is a method called digit designation which is a special designation method for register data Digit designation treats 1 digit 4 bits of a hexadecimal number as a data unit It is a method of designation in which a number of digi
9. 4 Sampling trace function Collects data from specified devices registers when the sampling conditions set by the programmer are realized and stores it in the sampling buffer Also the number of sampling data may be selected 3 registers 8 devices 2048 times 7 registers 8 devices 1024 times The evaluation of the sampling trace conditions and the data collection are executed at the bottom of the scan The sampling data read by the programmer can be displayed in timing charts 5 Status latch function Transfers specified device register data in batches to the latch data store area when the latch conditions set by the programmer are realised or when the latch instruction is run The latch conditions are evaluated and data collected at the bottom of the scan However when the latch instruction is run the data is collected when the instruction is executed Latched data can be displayed on the programmer NOTE VAV Any setting for the sampling trace function is not needed in the T2E The T2E has built in sampling buffer 8K words User s manual 125 5 RAS Functions 5 6 Debug Support Function The following T2E support functions enable the user program to be debugged Refer to separate manuals for programmers for operation of these 1 Input force coil force function Batch input data is not updated in the input force specified register device The registers devices which can be specified for forced in
10. 1 Execution time measurement function Measures the following execution times This data can be verified by reading the programmer e Scan cycle present value maximum value minimum value 1ms units e Main program execution time present value maximum value minimum value 1ms units e Sub program execution time sub program No 1 present value maximum value minimum value are all the same values 1ms units e Timer interrupt execution time latest value maximum value minimum value 0 1ms units NOTE VAV 1 The scan cycle value includes the scan overhead and all interrupts occurring during the scan 2 With the main program and the sub program execution times the interrupt time for any interrupts occurring are excluded 2 On line trace function This function traces the status during program execution and displays on the programmer screen power flow display register value display in the circuit range being monitored by the programmer Since this displays data from the point in time that the instruction is executed rather than at the end of a scan cycle it is also useful for program debugging 3 Status monitor function Collects and displays the status of up to 8 points of devices registers specified using the auxiliary display functions of the programmer on line trace screen immediately after the point in time when the above on line trace is run 124 PROSEC T2E 5 RAS Functions
11. 6 Double Length BCD This is 8 digit BCD data which is expressed by using consecutive registers MSB LSB F C B 8 7 4 3 0 F C B 8 7 4 3 0 4 Bit positions 107 10 105 10 10 10 10 10 Register A 1 Register A The registers are designated in the form 1 A and A becomes the lower 4 digits while ON becomes the upper 4 digits Example When processing a double length BCD by registers XW001 XW000 XW000 becomes A while XW001 becomes A 1 and XW000 becomes the lower 4 digits while XW001 becomes the upper 4 digits The following Table shows the numerical range and the expression format in which double length BCD data can be processed Hexadecimal Expression Numerical Value Register A 1 Register A 99999999 9999 9999 J f J 1 0000 0001 0 0000 0000 User s manual 183 3 User Data 3 4 Index Modification When registers are used by 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 registers 1 J K as shown in Example 2 below is called the indirect addressing In particular in this case since the address is modified using an index register this is called index modification Example 1 RW100 MOV D3500 D
12. 2 3 2 Sub Program Sub program 1 can be created which is executed only once at the head of the first scan when the T2E starts to RUN Therefore when used for the initial value setting of registers in order that it may not be programmed in the main program it also has the effect of reducing the total scan time e For details of sub program operation see Part2 Section 3 2 Input Procedure for Sub Program 1 When first ccreating the program if the program editing mode is entered without designation main program edit is selected Therefore when editing sub program 1 select sub program edit with the following procedure when starting to edit T PDS operation Press F2 Read with the program edit screen Select Sub program from the window Select Block designation from the window Designate the program number Always designate 1 After designating the block number usually 1 create the program in the same way as for the main program Enter the END instruction at the end of the sub program as well For details see T PDS operation manuals 144 PROSEC T2E 2 User Program Configuration 2 3 3 Interrupt Program There is one type of interrupt program This is 1 fixed cycle interrupt program which is executed cyclically with specified cycle time in system information There is one type of interrupt program This is 1 fixed cycle interrupt program which is executed cyclically
13. C Number of ae Summary steps me d Remarks required require us Carries out BCD addition of the contents of A and B and stores the result in C Subtracts the contents of B from the contents of A in BCD and stores the result in C Multiplies the contents of A and B together in BCD and stores the result in C 1 C Divides the contents of A by the contents of B in BCD and stores the quotient in C and the remainder in C 1 Adds the contents of B 1 B to the contents of A 1 and A in BCD and stores the result in C 1 C Subtracts the contents of B 1 B from the contents of A 1 and A in BCD and stores the result in C 1 C Multiplies the contents of A 1 A by the contents of B 1 B in BCD and stores the result in C 3 C 2 C 1 C Divides the contents of A 1 A by the contents of B 1 B in BCD and stores the quotient in C 1 C and the remainder in C 3 C 2 Adds B plus the contents of the carry flag to A in BCD and stores the result in C The carry flag changes according to the operation result Subtracts B plus the contents of the carry flag from A in BCD and stores the result in C The carry flag changes according to the operation result Adds the contents of B 1 B plus the contents of the carry flag to A 1 A in BCD and stores the result in C 1 C The carry flag changes according to the operation res
14. D Data MItiAli ZAtiOM scans miss uni ips aiaa arial Ci it id SEEE 100 Data Register Dit a aaa es ese ao 155 DEBUG MOde ot A A ob chsts ctdsadts EE 101 DEVIC ann iia E dees 149 Diagnostics Item Listincu a a RR 83 Diagnostics Display FUNCTION 0 eee eeeceeeeeeeeeeeeeeeeeeeaeeceeeeeeeeeeeeneeseaeeseaeeeeaeeseeaeeseaeeseaeeseaeeeeeaeeseaeeseeeeeeeeeee 128 Digit Designation carni anio 187 Direct Input Output Processing iio A A Abi 109 153 Double Length BED incor fte 183 Double Length Integer cicooocionisrsmatccincrin tiroteo 182 E Edged MOCIfICAtlOR APPO OOOO 05 5oP aaa aaia o Ee e EE aa E eE 208 End Stopien aiaa ia dina iad a aed a ies 215 EEPROM WITO uosio cesta chee tac Aalst hcg vas il och Se le A E Bae na ae ee estes 117 EEPROM Read iii e e eae e E eE aeaeaie a a Ee ai e eege 117 Error Mod rn a a A elena ii 101 Eve mt MISIOTY raison a EE eiae EEEE Re EE Eeoa Ee SEE aeaaee S SEEE 83 121 Execution Time Measurement Function ecceeceeeseeeeeeeeeeeeeeeneeeeaeeseseeeesaeeeaeeseaeeeeaeeseaeeeeeeeeseaeeseaeeeneeeeee 124 Expanded File Register aiena sedate araa aaa 151 155 User s manual 257 Index F File Register F alacant lia fenol id ii 155 Floating a ia 106 FOrcO FUNCION iia ii AA A E AA AA AA A A 126 A OS 205 Function INStrUCtION se iio is ia o A selesacaseienctecetiasmeeettacleentter 208 Functional Specifications vic ineeie ne iee iaia oia oa aia a aeaa aia aap odiei aia aiaiai 97 H HAET MOQO
15. Transmission i DN211 Device Net Scanner module OPT 1 When executing automatic allocation in the state with a CF211 mounted in the unit it is registered as X Y 4W However it is necessary to modify this to iX Y 4W in manual I O allocation 194 PROSEC T2E 4 I O Allocation For instance when automatic I O allocation is executed with the I O module mounting state shown below the CPU reads the I O module types which are mounted and creates input output allocation information and it registers it in system information Module Mounting State 1 2 3 4 PU 5 6 7 Cc 16 16 16 16 32 32 32 Power a a spol P vVacant point point point point point point point PPY y input input input input input input input 0 1 2 3 4 5 6 7 P 4ch 4ch 4ch 2ch 2ch ower analog analog analog Vacant Vacant analog analog Vacant supply input input input output output 0 1 2 3 4 5 6 7 P 16 16 16 16 32 32 32 32 ies point point point point point point point point PPY output output output output output output output output 0 1 2 3 4 5 6 7 p 16 16 16 ower point point point Vacant Vacant Vacant Vacant Vacant supply output output output Input Output Allocation Information Basic Unit Unit 0 n rjo Expansion Unit 1 Unit 1 Expansion Unit 2 Unit 2 Expansion Unit 3 Unit 3
16. 00000000 CN2 2 Specification ltem Load voltage DO32 EX10 MDO32 5 24Vdc 10 5 Output ON current Saturation voltage when ON 100mA point when load voltage 24V 20mA point when load voltage 5V 800mA common 0 4V or less Number of output points Output type 32 points Current sinking ON Dela OFF Delay 1msec or less 2msec or less Leakage current When OFF External connections 0 1mA or less 2 x 24 pin connectors Number of Common 4 8 points minus common 1500Vac 1 minute 250mA 5Vdc or less 2A common x 4 Approx 250g Withstand voltage Current consumption Built in fuse Weight Circuit Configuration amp LED display Internal Circuit External Connections Drawing CN1 YWn NOTE VAV Connectors on the Module FCN 365P024 AU made by Fujitsu Cable side connectors Soldering type standard attached FCN 361J024 AU made by Fujitsu FCN 360C024 E made by Fujitsu Connector Connector cover User s manual 31 2 Specification 64 point Transistor Output Item DO235 Output type Current sinking Number of output 64 points Load Voltage 5 24Vdc 10 5 Output ON Current 0 1A point 9 6 26 4Vdc 0 05A point 4 5 9 5Vdc Saturation voltage when ON 0 4V or less Leakage current when OFF 0 1mA or less 24Vdc ON delay 1ms or less OFF delay 1ms or less External Connections 2
17. CS2RF Programming Tool T PDS MM3311 for MS DOS T PDS MW33E1 for Windows Handy HP911 Programmer Analog output AO32 Pulse input Positioning module Serial Interface CF211 Minimum and Maximum configuration are shown on next page As mentioned in Section 1 4 the following racks are available Part Number Application Number of Module Remarks Installation TBU218 S Dedicated to the 8 Basic unit TBU268 S For basic unit 7 For either the For expansion unit 8 basic unit or TBU266 S For basic unit 5 the expansion 6 4 7 For expansion unit unit EX10 UBA1 Dedicated to the Not expandable EX10 UBB1 For basic unit For either the For expansion unit basic unit or EX10 UBB2 For basic unit the expansion For expansion unit unit 4 PROSEC T2E 1 System Configuration 1 Minimum Configuration 2 o 2 5 Yn ns D o A gt D o 55 Ola o Jo o a Basic unit with 8 I O modules BU218 BUGA UBAZ e Power Supply CPU 1 0 Power Supply Basic unit with 5 I O modules BU266 Basic unit with 4 I O modules UBA1 UBB1 2 Maximum Configuration Basic unit Number of I O module 8 I O modules BU218 7 I O modules BU268 UBA2 UBB2 5 I O modules BU266 4 I O modules UBA1 UBB1 Power Supply Expansion Unit 8 I O modules BU268 UBB2 6 I O modules BU266 5 I O modules UBB1 Power Supply Expans
18. IN61 200 240Vac 50 60HZ User s manual 27 2 Specification 12 point Relay Output 01234567 RO61 EX10 MRO61 24Vdc 20 MAX 240Vac 10 MAX Maximum load 2A point resistive load 1A point inductive load 4A 4points common 209 z 6 T GA C3 COIL 24Vd RELAY OUT pe en 5V or more Number of output points 12 points 4 points common OFF dela 15ms or less Withstand voltage 1500Vac 1 minute Current consumption 50mA 5Vdc or less External relay Coil 24Vac 10 140mA all points ON 10mA point Circuit Configuration LED display A Internal circuit Terminal Connections Drawing NOTE VAV 1 ON OFF life of relays Electrical 100 000 times Mechanical 20 million times 2 No overload protection fuses are built into this module Therefore always make sure to insert fuses suitable to the current capacity 28 PROSEC T2E 2 Specification 8 point Isolated Relay Output 01234567 RELAY OUT RO62 EX10 MRO62 Leadantege e 20 MAX 240Vac 10 MAX Maximum load 2A point resistive load 1A point inductive load pe 5V or more Number of output points 8 points each point isolated OFF Dela 15msec
19. SW176 W0768 W0783 The corresponding bit is ON when the W register is updated normally SW177 W0784 W0799 swi78 W0800 W0815 an The lowest address of W register corresponds to bit 0 in the swi79 W0816 W0831 SW and in the order sw180 W0832 W0847 SW183 W0880 W0895 TOSLINE S20 scan healty map wos96 Wo911 SW185 W0912 W0927 SW186 W0928 W0943 SW187 W0944 W0959 SW188 W0960 W0975 SW189 Wwo0976 W0991 SW190 W0992 W1007 User s manual 177 3 User Data 3 3 Processing Register Data It has already been explained the a register is a location which houses 16 bits of data In the T2E instruction words the the following types of data can be processed using single registers or multiple consecutive registers Unsigned integers integers in the range 0 to 65535 Integers integers in the range 32768 to 32767 BCD integers in the range 0 to 9999 expressed by BCD code Unsigned double length integers integers in the range 0 to 4294967295 Double length integers integers in the range 2147483648 to 2147483647 Double length BCD integers in the range 0 to 99999999 expressed by BCD code However there are no dedicated registers corresponding to the types for processing these types of data The processing of the register data varies according to which instruction word is used In other words as shown in the following example even when the same register is used if the data type of the instruction wo
20. Special Name Function Register SW042 2 Reserved for future use SW056 The T2E sends back the response on the communication port after waiting for specified time value 10ms in the computer link mode specified value range 0 30 SW057 Communication port response delay mode SW058 Reserved for future use SW067 End text for Free ASCII mode Can be changed as the trailing code when in the Free ASCII mode trailing code Initial value ODH ee in nes Special SWO069 Reserved for future use User s manual 167 3 User Data Scan healty map for TOSLINE 30 168 PROSEC T2E 3 User Data ON when W0032 transmission normal ON when W0033 transmission normal S Scan healty map for TOSLINE 30 User s manual 169 3 User Data S074F ON when W0079 transmission norma Scan healty map for TOSLINE 30 170 PROSEC T2E 3 User Data S076F ON when W0111 transmission normal Scan healty map for TOSLINE 30 User s manual 171 3 User Data S0781 Output inhibit status S0784 Scan transmission error ON when scan transmission error occurs S0785 S0786 Reserved for future use S0787 TOSLINE F10 H1 A S0788 E command Transmission stop Transmission stop by setting ON S0789 Output inhibit Output inhibit by setting ON S078A S078B S078C Reserved for future use S078D S078E S078F S0790 Transmission status ON during transmission S0791 Scan transmission ON during
21. Step number 0 2047 mmm mmm Macro number 0 127 216 PROSEC T2E 5 Programming Language 12 13 14 Macro Entry This expresses the start of a macro program The macro entry has no action program Steps are connected below the macro entry Only 1 macro entry can be programmed in 1 block mmm mmm Macro number 0 127 Macro End This expresses the end of a macro program Macro end has transition condition which corresponds 1 to 1 and returns to the corresponding macro step when this transition condition is satisfied SFC Jump This expresses a jump to any arbitrary step Jump has transition condition which corresponds 1 to 1 and jump destination label numbers When the transition condition is satisfied the active state jumps to the step following the designated label When the jump transition condition and the transition condition for the following step are simultaneously satisfed jump has priority eli lill Label number 0 1023 SFC Jump is located immediately after a step Jumps with the same label number may be present in multiple locations User s manual 217 5 Programming Language 15 NOTE VAV Note that when labels corresponding to SFC and SFC are mot present or when labels with the same label number are present in SFC Label This expresses the return destination from an SFC end and the jump destination from a SFC jump Label is lo
22. Turns output ON if A 1 A B 1 B floating point data comparison fee Turns output ON if A 1 A B 1 B floating point data comparison R Turns output ON if A 1 A lt B 1 B floating point data comparison Turns output ON if A 1 A lt B 1 B floating point data comparison R w BK 5 a a a a a a R obenbue7 Puiwweiboild S Ove del 93ISOYd Ladder Diagram Instructions Function Instructions Special data processing Representation 114 Set device register 115 Rerest device register 116 Table bit set 117 Table bit reset 123 Double length bit count Summary If A is a device Sets device A to ON If A is a register Stores HFFFF in register A If A is a device Resets device A to OFF If A is a register Stores 0 in register A From the bit file of n words headed by the register B the instruction takes the bit in the location indicated by A and sets it to ON From the bit file of n words headed by the register B the instruction takes the bit in the position Ea by A and resets it to OFF Resets the carry flag In the bit file of size 2 bits headed by A the instruction stores the uppermost ON bit position in register B Takes the bit file of size 27 bits headed by B the bit position indicated by the lower n bits of register A to ON and sets all t
23. by the number of bits specified by A The carry flag changes according to the result Rotates the data in A 1 bit to the right LSB 1 bit rotate right with carry I RRC1 A 7 direction including the carry flag The carry flag changes according to the result obenbue7 Gulwwesbold S 9E del 9ISOYd Ladder Diagram Instructions Function Instructions i Rotate Name Representation Summary Rotates the data in A 1 bit to the left MSB 1 bit rotate left with carry r direction including the carry flag The carry flag changes according to the result Rotates the data in A n bits to the right LSB direction including the carry flag and stores the result in B The carry flag changes according to the result n bits rotate right with carry Rotates the data in A n bits to the left MSB direction including the carry flag and stores the result in B The carry flag changes according to the result n bits rotate left with carry If B is a register Takes the table of m words headed by B and rotates it to the right low address direction by the number of words indicated by A Same as register m bit file n bits rotate right specification in FUN82 with carry If B is a device Takes the bit file of m bits headed by B including the carry flag and rotates it to the right LSB direction by the number of bits indicated by A The carry flag changes according to
24. e External 24Vdc Output Terminals These are terminals for supplying 24Vdc to external equipment such as sensors and to relay output modules 24Vdc 10 0 5A max e Run Signal Output Terminals When the T2E is in the operating mode RUN built in contact is closed 240Vac 10 24Vdc 20 2A max Can also be used on expansion units e Power Supply Terminals Connect to the power supply line See 4 7 Wiring the power supply e Line Filter Ground Terminal Frame Ground Terminal These are grounding terminals See 4 6 Grounding methods NOTE VAV 1 The maximum rated output of 1 power supply is 15W this includes the internal 5Vdc and external 24Vdc output combined Configure the system referring to the Module Current Consumption Table on the next page so that the following equation is satisfied 15W25V x Total 5V current max 2 5A 24V x external 24V current max 0 5V 2 Do not connect the external 24V supply terminals to the other power supply systems and do not run the wiring over long distances 3 This power supply module is dedicated power supply for the T2E and T2 EX100 Do not use it by itself for other purposes 6 PROSEC T2E 1 System Configuration Module Current Name Model Internal 5Vdc External 24Vdc Weight Consumption Table approx PU234E 600mA or less i 200g Communication Card w Battery CM231E 200mA or less 100g CM232E 200mA or less E 1009 Battery Card BT231E 1009
25. not in the mounted state However in this case also operation cannot be executed when a module of a different type to the registered module is mounted I O mismatch NOTE vay Be careful of the followings when executing manual 1 0 allocation When either base unit except BU218 is used for the basic unit slot 0 is regarded as vacant Unit Leading Address In manual I O allocation the starting register address input output registers Setting of each unit can be set and registered The register addresses can be arranged for every unit by using this function Also when an I O module is added in a vacant slot in the future it is possible to avoid affecting the register addresses of other units Unit Starting Address Setting Display Screenon T PDS Unit 0 Unit 1 Unit 2 Unit 3 Top Register No Top Register No Top Register No Top Register No 0 15 35 50 In the case of this screen example address allocations can be carried out from XW YWOOO for the basic unit from XW YW015 for expansion unit 1 from XW YWO35 for expansion unit 2 from XW YWO050 for expansion unit 3 NOTE VAV Settings by which latter stage units become lower register addresses cannot be made User s manual 197 4 I O Allocation 4 3 When input output allocation information is registered by carrying out Register and Module automatic allocation or individual allocation equiv
26. the input terminals User s manual 39 2 Specification 2 Channel Analog Output 8 bit Item Output Range AO31 EX10 MA031 1 5V 4 20mA paired output 0 10V 0 5V Load Impedance Number of Output Points 5V full scale terminal 5KQ or more 10V full scale terminal 10KQ or more 20mA full scale terminal 600Q or less 2 points each voltage current pair each N side common Resolution Overall Accuracy 0 250 full scale 1 FS Conversion Cycle External Power Supply Break Failure Approx 1msec No Voltage Insulation 5 10V e 20mA Current Consumption 1500Vac 1 minute 70mA 5Vac or less External Power Supply Weight 24Vdc 10 90MA Approx 200g Circuit Configuration The A031 type is set to 1 5V 4 20mA setting at the factory Refer to the circuit configuration for other settings Internal circuit Terminal Connections 40 PROSEC T2E J1 J2 switching jumpers J2 short Reference value OV OmA J1 short Reference value 1V 4mA CH1 CH2 operation J11 switching jumper Output voltage level for CH1 Up side short 5V Down side short 10V J12 switching jumper Output voltage level for CH2 Up side short 5V Down side short 10V Constant voltage circuit Isolate external power supply line 24Vdc f
27. 01 02 04 08 Input batch input output subject Output batch input output 01 02 04 08 subject 02 04 08 Input output batch input output subject Xx Y Y ix iY Z SP PT Input other than batch 01 02 04 08 input output subject 01 02 04 08 Output other than batch input output subject i Input output other than batch o pee HS INEA CSC CTN MAMA CIC in os e rosa A roses 7 HO rre As 1 Allocations to input output modules are X and iX to input modules Y and Y to output modules and X Y and iX Y to input output mixed modules The input output registers which correspond to modules with the designation i attached are not included in batch input output subjects 2 SP is used when allocating an arbitrary number of registers to a vacant slot MMR is not used in the T2E TL S is allocated to data transfer device TOSLINE S20 TL F is allocated to data transfer device TOSLINE F10 Zis allocated to data transfer device TOSLINE 30 196 PROSEC T2E 4 I O Allocation NOTE VAV Input output allocation information can be freely edited and registered by carrying out manual I O allocation However it is necessary that the registered input output allocation information and the I O module mounting state should agree for starting up RUN When executing the forced run command operation RUN F mode is possible even if the modules registered in the allocation information are
28. 5 8kQ 24Vdc Minimum ON Voltage 16V Maximum OFF Voltage 5V ON delay 10ms or less than OFF delay 15ms or less than External Connections 2 x 40 pin connectors Number of Commons 8 Common Number of Input Configuration Points per Common eco Common Polarity No Polarity Derating Condition See next page Current Consumption 100mA 5Vdc or less Withstand voltage 1500Vac 1 minute Weight Approx 250g Circuit Configuration LED display CN1 LC1 Internal Circuit User s manual 25 2 Specification 26 PROSEC T2E Terminal Connections CN1 CN2 B A A B 4 OL 0 Nc 20 20 NC E EA pen NC 19 19 NC O O O O HC1 LC1 2L 2H E m8 pa 9 a FH FL 3L 3H O O O O O O 4 4 O O EH EL 4L 4H DH DL 5L 5H O O O O O O 6 6 O O CH C 6L 6H O O O O O O 7 17 O O BH BL 7L 7H O O 13 O O O O O O o ijo o E 9H 9L 8L 8H O O O O O O 10 10 O O O O 010 8L O O O O 9L 11 11 9H O O HCO LCO AL AH ES A S mai Ee eee O O O O O O 13 13 O O O O emiz 7 6L O O O O CL 14114 CH O O O O 5H 6 SL O O O O DL 15115 DH O O EH O O 4H 4L O O O O EL 16 116 O O O O 3H 3L O O O O FL 17117 EN O O HC1 o a s 54 LN 181189 O O 1H 1L O O NC 19119 NC O O 0H OL O O NC 20 20 NC H L L H CN1 CN2 B AA B 20 1 Power Supply Tir CN1 L XWn ab
29. A 66 4 9 Power up down SEQUENCE ci es 68 care csc e rey On 69 5 MAINTENANCE AND CHECKS Os Dany A 70 Pedy ror AE e as 5 3 Spare Parts to Keep in Stock 5 4 Battery Replace me ci PP OOTO 76 6 TROUBLESHOOTING BT Troubleshooting TREN Ossia niente id 77 oC PONE SUPON ON Rosini 78 6 3 CPU Check EFO OOE A Ivar 79 6 5 Input CA ici ienaam ienaa iendane Aani Seniai n Aan Senia EEAS Eiaa EEEa eSEE EAEE 80 SLET a NAE y gt NEEE AS S EN S E ES E E NA N S T 81 6 7 Faults Due to External Problems usina iii 82 6 8 List Of Self Diagnostic Check Items 83 xXi Contents PART 2 FUNCTIONS 1 0VERVIEW tI TE Sy SUS i CoAT Musee 95 1 2 Functional Specifications 2 0PERATIONS 21 Basic nemna Operaon Calas 98 22 SV GIS tapes 99 2 39 Mode A Sune stan ida cane dda shane sagged anie Sodan Seana CS OOO PANE E A E E A A A E AE A A nua lata laine lana leat aad 2 4 1 Scan Mode Eke PUNTO PPS SS I o PP nr 108 EAS TINO UDA Ee E 110 2 5 Peripheral SUPPO cc aaea Saaka EEEREN 111 2 6 Programming Support FUNCHONS sss ssssassssna niece eerie aut eenuuenReuaesuiER 112 3 USER PROGRAM RUNNING CONTROL 3 1 Program Classification 3 2 RUN UEP OGRA THE santa 3 3 Run Interrupt Program 4 PERIPHERAL MEMORY SUPPORT AN Py tease ea een ened een nen eee eran 117 5 RAS FUNCTION ERED E A ai A A 118 o E E ten r ens teneo eno aenraeeaisaneneeaGe a 118 Bee al e Seca IP eee eee eee cere erence NA 121 E MEMO PE UL 123 5 5 Execut
30. Basic unit Peripherals il PS E MY j e Expansion cable Expansion unit LLL Expansion unit Handy Programmer I HP911 i PS Expansion unit 00000 Ml T Operator I F i il PS L F etc Telephone TOSLINE S20 VACANT T PDS Software a 2 Modem TOSLINE F10 wire T2E Remote 1 0 User s manual 95 1 Overview Example 2 Computer Link Function with CM231E or CM232E One to N configuration One to one configuration T2E with CM231E T2E with CM232E Master computer Master computer RS485_ RS232C Example 3 Data Link Function with CM231E or CM232E CM231E RS485 CM232E RS232C Example 4 Free ASCII Function with CM231E or CM232E One to N configuration One to one configuration T2E with CM231E T2E with CM232E 96 PROSEC T2E 1 Overview 1 2 Functional Specifications Item Specifications Control Method Stored program cyclic scan system 1 0 Method Batch l O refresh Direct I O or combination Number of I O points 1 024 points 64 words Program Ladder diagram relay symbol function block language SFC Sequential Function Chart Program 9 5K steps capacity Main memory RAM capacitor back up Optional memory EEPROM RAM memory Built in capacitor more than 3 days 25 C back up Optional battery more than 5 years 25 C Basic ladder instructions 24 function block instructions 180 transfer single length double len
31. CN1 H XWn 1 eN CN2 L XWn 2 24Vdc CN2 H XWn 3 o Lo Connectors on the Module FCN 365P040 AU made by Fujitsu Cable side connectors Soldering type standard attached Connector FCN 361J040 AU made by Fujitsu Connector cover FCN 360C040 E made by Fujitsu Derating Condition Number of input ON points per 1 conncctor 32 100 26 80 20 60 21 6Vdc or less 24Vdc 26 4Vdc Ambient temperature 16 point AC input 01234567 89ABCDEF 0 T O 8 O ey O Oe com 100 120Vac IN 2 Specification Item Input Voltage Range Sine wave IN51 EX10 MIN51 100 120Vac 10 15 50 60Hz IN61 EX10 MIN61 200 240Vac 10 15 50 60Hz Maximum OFF voltage Sine wave 80Vac or more 30Vac or less leak current 2mA or less 160Vac or more 60Vac or less leak current 2mA or less Number of Input Points 16 points single common 16 points single common ON Delay Sine wave OFF Delay Sine wave 20mS or less 15mS or less 20mS or less 15mS or less Voltage Insulation Current Consumption 1500Vac 1 minute 15mA 5Vdc or less 1500Vac 1 minute 15mA 5Vdc or less Weight Circuit Configuration Approx 250g indication Approx 250g Intermal circuit IN51 100 120Vac 50 60HZ
32. H xwio gt D101 200 PROSEC T2E 5 Programming Language 2 SFC Sequential Function Chart This is a programming language suitable for process stepping control sequential control Also it is a language which makes the flow of control easy to see Therefore it is effective for program maintenance and standardization SFC program is composed of structure part which shows the flow of control action program which shows the operation of each step and transition condition parts which enable the process to advance Action part and transition condition parts are produced by ladder diagrams SFC can be considered as an execution control element for making a program easier to see by arranging the control processes and conditions rather than a single programming language SFC Structure Initial ste 0 m Transition eee Step O a Divergence of simultaneous Transition condition 0 C End step The flow of control advances downward from the initial step and when it reaches the end step it returns to the initial step A step corresponds to an operational process and there is an actionprogram corresponding to each step The condition of shifting from one step to the next is called transition and there is a transition condition corresponding to each transition When the immediately preceding step of a transition is in the active state and the transition condition is ON the state of the immediately prece
33. I f 1 i 1 i 1 i 1 1 1 1 i 1 1 1 1 f 1 i 1 1 1 1 t 10 t 4 b 4 1 bt ee 4 i 1 i 1 i 1 i 1 i 1 I i j 1 l 1 I 1 1 t 1 t 1 11 bee A Sede ee A ed eee ee Beh Se f Ladder diagram is a language which composes programs using relay symbols as a base in an image similar to a hard wired relay sequence In the T2E in order to achieve an efficient data processing program ladder diagram which are combinations of relay symbols and function blocks are used Relay Symbols These are NO contacts NC contacts coils and contacts and coils to which special functions are given Each of these is called an instruction Basic ladder instructions Example NO contact Input Output When device A is ON the input side and the output side become conductive Viewed from the aspect of program executiorQhe operation is such that when the input is ON and the content of device A is also ON the output will become ON 204 PROSEC T2E 5 Programming Language Function Blocks These are expressed as boxes which each show 1 function As types of function there are data transfers the four arithmetic operations logic operations comparative decisions and various mathematical functions Each of these is called an instruction Function instructions In a function block there are 1 or more inputs and 1 output When a certain condition is satisfied by the input state a specified function
34. IU Q System T PDS pg S software which a runs on IBM or i Compatible Expansion Cable personal computer Personal Expansion Unit Computer Q N 5 Handy Programmer Expansion Unit HP911 Q Ss an 5 MN Expansion Unit LCD Display etc a iT T T IO SaaS aaa ae ae a L LIL IN The following functions can be 3 iad Fal leg available only using CM231 CM232 Hilo ma Computer Link Data transmission module eSerial I F DeviceNet Scanner TOSLINE S 20 0 ptic wire Personal Data Link TOSLINE F 10 wire Computer Dual T2E T2Ns can be TOSLINE 30 Optic wire communicated each other Up to a maximum of 3 expansion units can be connected Note 1 T PDS MS DOS software V2 06 or later is available for the T2E T PDS Windows software V1 1 or later is available for the T2E Dn a ____ Zl User s manual 3 1 System Configuration eBasic Configuration el O module eData transmission Module BU218 DC input DeviceNet scanner DN211 BU268 TOSLINE S20 SN221 BU266 SN222 Rack UBA1 AC input TOSLINE F10 MS211 UBA2 IN61 RS211 UBB1 Transistor output TOSLINE 30 LK11 UBB2 LK12 Power Supply PS261 Module PS31 CPU Module PU234E Triac output Communication CM231E Relay output Card w Battery CM232E Battery Card BT231E CAR3 Analog input Expansion Cable CAR5 CAR7
35. ON When the output is ON the corresponding LED should be lit and the corresponding external load should operate eCheck whether the input voltage is within the specified value eCheck whether there is any slack in the input terminal block eCheck whether the module is securely mounted eCheck whether the external load voltage is within the specified value eCheck the built in fuse eCheck whether there is any slack in the output terminal block eCheck whether the module is securely mounted Check the switch position on the CPU module Operation is executed when the operation mode switch HALT RUN is to Run Put the switch to the specified position 5 Maintenance and Checks NOTE VAV When a serious error Such as system RAM abnormal is detected after power is switched ON the FAULT LED on the CPU will blink In this condition communication with programmer cannnot be executed When this condition does not change even if the power is switched ON again exchange CPU modules User s manual 71 5 Maintenance and Checks 5 2 Periodic Checks Check the following items periodically about once every 6 months Check also when the operating conditions enviroment change Item Check Criteria Power Supply Power supply voltage measure 85 264Vac at the module s power supply 20 4 28 8Vdc terminals Is there any slack in the power Must not be loose supply terminal b
36. Sw114 meme station No 33 No 48 register and in the order SW115 station No 49 No 64 SW116 SW117 SW118 Reserved for future use Sw119 Sw120 station No 1 No 16 The corresponding bit is ON when the station is standby Sw121 station No 17 No 32 ma Nra ah The lowest station number corresponds to bit 0 in the SW Swi22 ymap station No 33 No 48 register and in the order SW123 station No 49 No 64 Reserved for future use Register SW128 WO0000 W0015 The corresponding bit is ON when the W register is Sw129 W0016 W0031 up ated normaly The lowest station number corresponds to bit 0 in the SW SW130 W0032 W0047 register and in the order SW131 W0048 W0063 SW132 W0064 W0079 SW133 W0080 W0095 SW134 woo96 wWwo111 SW135 TOSLINE S20 W0112 W0127 sw136 50an healty map W0128 W0143 SW137 W0144 W0159 SW138 W0160 W0175 SW139 W0176 W0191 SW140 W0192 W0207 SW141 W0208 W0223 SW142 W0224 W0239 SW143 W0240 W0255 User s manual 175 3 User Data Special ere SW144 The corresponding bit is ON when the W register is updated normally SW145 SW146 The lowest address of W register corresponds to bit 0 in the SW147 SW and in the order SW148 SW149 SW150 SW151 SW152 SW153 SW154 SW155 SW156 SW157 SW158 SW159 TOSLINE S20 heal swieo scan healty map SW161 SW162 SW163 SW164 SW165 SW166 SW167 SW168 SW169 SW170 SW171 SW172 SW173 SW174 SW175 176 PROSEC T2E 3 User Data Register
37. above RUN mode in that scan control begins even if the allocated I O modules appearing on the status check initially are not actually mounted If other modules are mounted instead the mode does not run Otherwise the action is the same as the above RUN mode HOLD This is the scan hold mode Only the batch I O is run but the timer update and the user program execution are halted The scan mode continues previous scan mode The I O module test is performed by the data monitor and set up function DEBUG This is the program debugging mode Program bebugging functions single step execution single rung execution run N scan execution break point set up prohibition of external I O update etc can be used this mode Refer to 5 6 for details of debug function ERROR This is the error mode The T2E goes to this ERROR mode when any error is detected in the self diagnostic checks operation cannot be resumed by the prescribed retry action and operation cannot be continued correctly In ERROR mode all output are OFF and the error reset command from the programmer is effective the error reset command will recover from ERROR mode to HALT mode Refer to 5 RAS Functions for details of diagnostic 102 PROSEC T2E 2 Operations The transition conditions for each mode are shown below e When power turns to ON Operation mode RUN stand by mode transition factor operation switch switch mode after DIP SW 3 t
38. above may happen Example Composition of the main program when transferring the three data D1000 D1001 and D1002 from an interrupt program to the main program D1000 MOV D2000 D1001 MOV D2001 D1002 MOV D2002 In the above program when an interrupt occurs between instructions synchronisation between D2000 D2001 and D2002 cannot be guaranteed In this case make 1 instruction by using the table transfer instruction as follows H D1000 TMOV 3 D2000 User s manual 225 5 Programming Language 4 With respect to the index registers l J K the data of these registers are saved when interrupt occurs and restored when operation returns to main program automatically However beacuse of this even if an index register is used only in an interrupt program the data continuity of the index register between interrupt intervals is not kept In such case use another register to store index value substitute the value into an index register in the interrupt program Example Interrupt may occur here H RW30 MOV 14 D2000 MOV RW50 H Interrupt program 1 H MOV D1000 store the index register I for main program n 1 D1000 MOV restore the index register I n IRET 226 PROSEC T2E 5 Programming Language 5 5 List of instructions a An instruction list is given in the sequence of ladder diagram instructions and SFC instructions on the next page and thereafter The groups in the list corres
39. alphanumerics maximum 16 characters 186 ASCII conversion A ASC B indicated by A and converts them into ASCII code Stores the result in the location headed by B 188 Binary conversion A BIN Converts a ra data in A into binary data and stores it in 189 Double length binary A DBIN Converts the double length BCD data in conversion into binary data and stores it in B 1 B mold Tee data in A into BCD data and 191 Double length BCD DBCD B Converts the binary data in A 1 A into BCD data conversion pi and stores it in B 1 B Converts the double length integer of A into Figating paint conversion L A 1 A FLT B 1 B floating point data and stores it in B 1 Converts the floating point data of A 1 AE Fixed point conversion L A 1 A FIX B 1 B 4 double length integer data and stores it ie pea max pee max obenbue7 Bunuule1IDolg SG enueu sasn Lye Ladder Diagram Instructions Function Instructions Group E BCD operation BCD additon BCD subtraction BCD multiplication BCD division Double length BCD addition Double length BCD subtraction Double length BCD division BCD addition with carry BCD subtraction with carry Double length BCD addition with carry Double length BCD subtraction with carry Doub e length BCD multiplication Representation A 1 A DB C B 1 B gt C 1
40. bit as a numerical value User s manual 187 3 User Data Below the operation of digit designation is described for the case when digit designation is executed as a source operand a register for executing a instruction using its data and the case when digit designation is executed as a destination operand a register which stores the result of instruction execution It is possible to carry out digit designation for both a reference operand and a transfer destination operand with 1 instruction 1 Digit Designation for MOV Instruction Example 1 Q1 X0054 MOV D1000 data transfer instruction The tranfer data of 1 digit 4 bits data starting with X0054 as the lower 4 bits and apper 12 bits which are 0 Then the transfer data is stored in D1000 XW005 QUEMA D1000 Example 2 Q2 Xwo00 MOV R10018 data transfer instruction The data of the lower 2 digits 8 bits of XW000 is transferred to the 2 digits 8 bits which start from R0018 F 8 4 0 wo AZ ro ZA eo ee ad oor wert Le Rw001 WMT The value of RW001 before transfer remains 188 PROSEC T2E 3 User Data 2 Digit Designation for instruction Data Exchange Example 3 Q2 R0000 XCHG D000 data exchange instruction It is like a mixture of examples 1 and 2 2 digits 8bits datastarting with ROOO are transferred to the lower 8 bits of D0000 and 8 bits data which are 0 are
41. block for communication from optional card in the case of CM231E Take off black cover on the front of CPU panel 2 Taking care that optional card is mounted in the correct direc tion insert it into CPU pancel 3 Corresponding with position of connectors connect CPU module and optional card 4 By using the part which is atttached with optional card con nect both CPU module and optional card to fix 5 Put a terminal block for communion into optional card in the case of CM231E 14 PROSEC T2E 1 System Configuration 1 5 Racks As mentioned in Section 1 1 the rack is available in the seven types The rack has two kinds of types racks for dedicated to the Basic unit and for Basic Expansion unit Application Number of Module Remarks Installation Dedicated to the 8 Basic unit BU268 For basic unit For expansion unit BU266 For basic unit For expansion unit UBA1 Dedicated to the UBA2 Basic unit UBB1 For basic unit For either the For expansion unit basic unit or the UBB2 For basic unit expansion unit For expansion unit For either the basic unit or the expansion unit Not expandable COIN BU268 fitter 1 Two expansion connectors are provided in the BU268 and the BU266 The right side connector is for connecting the basic unit previous expansion unit The left side connector is for connecting the next expansion unit 2 Use a blind slot cover
42. content of XW005 is 100 is to say that the numerical value 100 is stored in a location in the user data memory indicated by XWO005 Also user data is divided into registers and devices according to the type of data to be stored Although the expression relay is also used a relay should be regarded as one type of device A register is area which stores 16 bits of data provided it is a positive integer the register can express any numerical value from 0 to 65535 and it is expressed as a combination of a function type and a register address the register address is a decimal number Example D 1024 Ml On the other hand a device is an area which stores 1 bit of data it expresses 1 or 0 in other words ON or OFF and it is expressed as a combination of a function type and a device address However a device does not use an independent memory area It is allocated as 1 bit in the 16 bits of the corresponding register Therefore the device address is expressed in the form of the corresponding register address bit position Register address decimal number Function type D Data register Example X 005 6 ees Lor position there are 16 positions 0 F Register address decimal number Function type X Input device corresponds to input register XW User s manual 149 3 User Data The correspondence between register data and device data should be considered as follows Example Wh
43. cor 10 i t E FA NEXT sob Ratne COED eee H CALL N 20 ys Sub routine SUBR 20 FE 6 RET When the JCS input is ON the instructions from the rung following JCS to the rung of JCR are read and skipped at high speed instructions are only read and not executed When the JCS input is OFF execution is normal When the JUMP instruction input is ON execution shifts to the rung following the LBL instruction with the designated label number 03 in the example on the left the numbers in the diagram on the left are the execution sequence at this time When the JUMP instruction input is OFF execution is normal When the FOR instruction input is ON the instructions between FOR and NEXT are repeatedly executed the designated number of times 10 times in the example on the left and when the designated number of times is reached execution is shifted to the rung following the NEXT instruction When the FOR instruction input is OFF execution is normal When the CALL instruction input is ON execution is shifted to the rung following the SUBR instruction with the designated sub routine number 20 in the example in the left When the RET instruction is reached execution is _ returned to the instruction following the CALL instruction destination the numbers in the diagram on the left are the execution sequence at this time When the CALL instruction input is OFF execution is normal User s m
44. d a a RA E A Constant value register 67 FNCO2B Bede A a Constant value register 67 252 PROSEC T2E APPENDICES Ordering Information Name Specifications Type Part number e Basic configuration pte eN basic unit expansion BU218 TBU218 S 7 8 slot basic expansion unit BU268 TBU268 S 5 6 slot basic expansion unit BU266 TBU266 S 7 8 slot basic expansion unit UBB2 EX10 UBB2 7 slot dedicated basic unit not expandable UBA2 EX10 UBA2 4 5 slot basic expansion unit UBB1 EX10 UBB1 4 slot dedicated basic unit not expandable UBA1 EX10 UBA1 Power supply 100 240VAC PS261 TPS261 S module 24VDC PS31 EX10 MPS31 CPU module 9 5K steps calendar EEPROM PU234E TPU234E S O Dedicated options for the T2E RS485 with built in battery CM231E TCM231EAS Optional cards pn RS232C with built in battery CM232E TCM232EAS Battery card built in battery BT231E TBT231EAS e Input output module DC AC input 16 point 12 24 VDC AC 8mA DI31 EX10 MD131 DC input 32 point 24VDC 5mA DI32 EX10 MD132 64 point 24VDC 4mA DI235 TDI235 S 16 point 100 120VAC 7mA IN51 EX10 MIN51 16 point 200 240VAC 6mA IN61 EX10 MIN61 12 point 240VAC 24VDC 2A point MAX RO61 EX10 MRO61 Isolated relay output 8 point 240VAC 24VDC 2A point MAX RO62 EX10 MRO62 16 point 5 24VDC 1A point MAX DO31 EX10 MDO31 Transisitor output 32 point 5 24VDC 100mA point DO32 EX10 MDO32 Sink typ
45. down lt Up down gt Count up Count down Count Operation Mode lt Normal gt Holding NOTE VAV When executing direct input two registers should be specified to input 46 PROSEC T2E 2 Specification Single Axis Position Control EX10 MMC11 Number of Control Axes 1 axis Control Units Pulse inch mm etc Control Range 999 999 Point Data Capacity i 64 points Maximum Speed 200kpps Operating Speed Selection Origin return speed Maximum speed Minimum speed 0 26 seconds 999 999 command units 0 99 seconds X Y 4 W 64 bits EEPROM 12 24Vdc zero marker 5 12 24V Acceleration deceleration System Acceleration deceleration Time Backlash Compensation Zero Position Offset Amount Dwell Time I O occupancy points Parameter Storage External Input Voltage Input Input Current 10mA when 24V input ON OFF Delay 5msec zero marker 1msec bs ae Mode Switch Setting 1 CW CCW error counter cat put 2 PULSE DIR pulse direction error counter clear Output Output Method Open collector 5 24V 50mA ON OFF Delay 2uS RUN Output Method Open collector 5 24V 50mA Output Operation ON during normal operation Internal 200mA Current 400mA when HP connected 5Vdc Consumption External 100mA 12 24Vdc 1 RUN
46. floating point data of B 1 B from A 1 A and stores the result in C 1 C Multiplies the floating point data of A 1 A by B 1 B and stores the result in C 1 C Divides the floating point data of A 1 A b B 1 B and stores the result in C 1 C wm wo Finds the logical AND of A and B and stores it in C S 2 o o N S 2 Finds the logical AND of A 1 and A and B 1 B and stores it in C 1 and C S 2 Finds the logical OR of A and B and stores in C 4 6 Finds the logical OR of A 1 and A and B 1 B 4 8 and stores it in C 1 and C Finds the exclusive logical OR of A and B and stores it in C oe Finds the exclusive logical OR of A 1 A and B 1 and B and stores it in C 1 C Fins the negative exclusive logical OR of A and B and stores it in C Finds the negative exclusive logical OR of A 1 A and B 1 and B and stores it in C 1 C A A t 2 o obenbue7 Bunuule1IDolg SG enueu sasn Eez Ladder Diagram Instructions Function Instructions operations Representation A 1 A DTST B 1 A TTST n B A A E 1 bit shift right Execution time required us Finds the logical AND of the table of size n headed by A and the table of size n headed by B and stores it in the location headed 3 301 8 5n by C Find
47. for input from the previous unit the left hand is for output to the next unit User s manual 61 4 Installation and Wiring NOTE VAV 1 Separate the expansion cables as far as possible from other cables In particular isolate them at least 200mm from power lines 2 4 types of expansion cables are available 0 3m 0 5m 0 7m and 1 5m Select according to the positions of the units 4 5 Grounding Grounding Point It is advisable for the grounding of electronic devices to carry out dedicated grounding which is isolated from that of power systems and to carry out single point grounding between 2 or more electronic devices In the T2E noise proofing is designed which takes the actual application into account and ithas a satisfactory noise immunity without carrying out grounding of the device itself However as a precaution correct grounding is recommended from the viewpoint of reliability Carrying out grounding check against the following criteria 1 The electronic equipment case must not become a path for a ground current High frequency currents are particularly harmful 2 Equalise the ground potentials when 2 or more units of electronic equipment are to be connected Single point grounding is best 3 Do not connect to power system earths High frequency isolation is necessary 4 Do not connect to unstable earths parts with unstable impedance such as painted screws and parts subject to vibrati
48. in 10ms units The scan time setting can be registered monitored on the system information screen of the programmer Sub Program Execution Time This is invalid setting is not needed in the T2E Fixed cycle Timer Interrupt Interval This sets and registers the interrupt cycle of the time interrupt program The setting limits are 5 1000ms in 5ms units The fixed timer interrupt cycle can be registered monitored on the system information screen of the programmer 140 PROSEC T2E 2 User Program Configuration 14 Computer Link Parameters This sets and registers the parameters when using optional communication functions Computer link Data link Free ASCII port These parameters can be registered monitored on the system information screen of the programmer The parameter items and their setting limits are as follows i Computer link Free ASCII port Station No 1 32 initial value 1 Baud rate bps 300 600 1200 2400 4800 9600 19200 initial value 9600 Parity None odd even initial value odd Data length bits 7 8 initial value 8 Stop bit 1 2 initial value 1 ii Data link Station No 1 initial value 1 Master station 2 32 Slave station 15 Input Output Allocation Information This stores input output allocation information and unit leading address designation information This information is created either by executing the automatic I O alloc
49. less DC12 24V 100mA 250g Serial Interface CF211 550mA or less 200g TOSLINE 30 wire LK11 250mA or less 7 200g TOSLINE 30 optical LK12 200mA or less 200g TOSLINE S20 wire SN221 600mA or less 250g TOSLINE S20 optical SN222A 700mA or less 250g TOSLINE F10 Master Station MS211 600mA or less 250g TOSLINE F10 Remote Station RS211 600mA or less 250g Devicenet scanner DN211 500mA or less 200g NOTE The external 24Vdc in the Table are not power supplies for input output signals They are the power supplies required for module operation a __ User s manual 7 1 System Configuration 1 3 CPU Module There is one type of CPU module with functions as shown below Type PU234E Specification RAM capacitor back up EEPROM User program 9 5k step ladder SFC real time clock The PU234E has three types of dedicated optional cards as follows Either of them can be mounted on the PU234E Specification RS485 built in battery BT231E RS232 built in battery Battery Operation Mode Switch C PU234E HALT RUN Setting Switches of Operation Mode Programmer port connector RUN FLT BAT C00 Status display LED aud RUN FauLT BATtery RUN ROM r R S Co PROSEC w T2 COM CU Blank cover for optional card OPT RS232C RUN Green FAULT Red Lit Status dis
50. load is connected rush current will flow when output is charged to ON At that time necessary measures must be taken to protect the output transistor from being destroyed by the rush current To limit the rush current there are two effective measures One is to connect a resistor to the load in series The other is to apply dummy current to the load by conncting a resistor between the output terminals 6 If an inductive load is connected transient overvoltage will occur when the output is changed to OFF This surge voltage will be absorbed into the diode D mentioned before so that the transistor will be protected However if the output cable is installed closely to other signal lines the surge voltage may cause other problem In this case install a flywheel diode in parallel with the inductive load as near as possible to the load A suitable surge absorption element should be selected according to the application Flywheel diode Peak inverse voltage for voltage clamping o Pt 3times the power supply voltage or more Forward current ot Load current or more Varistor Rated voltage about for voltage clamping l twice the maximum peak power supply voltage Snubber CR R 0 5 1Qper 1V coil voltage circuit for high voltage frequency attenuation C 0 5 1uF per 1A coil current Non polar capacitor User s manual 55 3 Application Precautions for I O Modules 3 3 Triac Output Module 1 Over Current Prote
51. manual the following two hazard classifications are used to explain the safety precautions A WARNING ndicates a potentially hazardous situation which if not avoided could result in death or serious injury JIN CAUTION Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury It may also be used to alert against unsafe practices 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 Introduction Safety Precautions Safety Precautions Installation CAUTION 1 Excess temperature humidity vibration shocks or dusty and corrosive gas environment can cause electrical shock fire or malfunction Install and use the T2E 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 T2E and related equipment in accordance with the instructions described in this manual 3 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 T2E and related equipment 4 Entering wire scraps or other foreign debris into to the T2E and related equipment can cause fire or malfunction Pay attention to prevent entering them into the T2E and related equipment durin
52. marker pulse input use only one of 5Vdc or 12 24Vdc Output Circuit B12 External power supply 12 24Vdc RUN output RUN output 0V CW pulse pulse output CW pulse pulse output OV CCW pulse direction output CCW pulse direction output OV Error counter clear output Error counter clear output OV 2 A12 External power supply OV 48 PROSEC T2E 2 Specification Serial Communication de CF211 Interface TCF211 S Common memory 160 words x 2 Transmission mode Full duplex Synchronizing asynchrounus Start stop method Interface Conforms to RS232C 1CH Transmission Code ASCII Frame Format Start bit 1bit Data 7 or 8bits Parity even odd none When none parity is selected the data bit length must be 8 bits Stop bit 1 or 2bit When 2 stop bits is selected the data bit length must be 7 bits Transmission Speed _ 300 600 1200 2400 4800 9600 19200bps 1 O occupancy points i X Y 4W Data exchange system By READ WRITE instructions of the T2E LED Displa Transmission data Isolation none between RS232C Port and internal circuit Current Consumption 550mA or less Circuit Configuration j 7 CPU ll St Reset switeh External Connections D SUB 9pin female User s manual 49 2 Specification 50 PROSEC T2E 3 Application Precautions for I O Modules 3 1 Input Modules 1 Minimum ON OFF time of input signal The conditions for guaranteed
53. number of instruction steps is a maximum of 121 steps s ss 2 3 4 5 6 7 8 9 10 11 l i i 4 l t 1 H 1 i 1 i i 1 I 2 ee Ries ee eee ER E E ee E E i I i i 1 L t 1 I 1 i t i 1 I y 1 i 3 Pe E EE E OE rere era E 1 I I 1 1 I I L ll i t 1 I I 1 1 1 L 4 E A OE A TEEL A A Sere l ji 1 t i 1 ii 1 1 I ja 4 1 I l 5 Se O O ae A A A 1 i I t 1 i i I i I i t i t i i 6 A tales E E me E ee 1 t I i i i i i I i 4 1 i I t 7 A NEEESE E TSE ees N E S I I 1 I J 1 1 1 I 1 I i i j i I 1 1 I 1 i I i 8 a tae ise dE a I i 1 li I 1 i t I 9 ee eee ane E Se A A eee ae i I t 1 I I t if 1 I I 1 i i if 10 E O eee ei A eae ee i 4 1 t 1 t 1 t 1 I l 1 t i i i 1 I I j i I 1 1 1 i 1 11 ie a A A ee ee ee el a A 2R a In a case when a larger size than the above is required as an action program a sub routine is used CALL instruction Even if there is no action corresponding to a step this does not affect SFC operation In this case the step becomes a dummy step a step which waits only the next transition condition will be satisfied In programming by designating the step on the SFC screen and selecting the detail display mode the monitor edit screen for the action program corresponding to that step will appear In the case when the content of the action program is only 1 instruction out of the SET instruction the RST instruction coil invert coil pos
54. remains in HALT mode and no error registration takes place Program check 3 Diagnostics during User program syntax is checked scanning Error registration error down However when start up is activated by a command from the programmer a message is displayed it remains in HALT mode and no error registration takes place Diagnostics I O bus check Diagnostics details Checks that I O bus is normal at batch I O processing Processing when error detected Error registration then error down However after a fixed number of retries only registration takes place no error down I O response check Checks that response when I O module is accessed is within specified response time limits At batch I O processing and at direct I O instruction Error registration then error down However after recovered by retries only registration takes place no error down 119 User s manual 5 RAS Functions 120 PROSEC T2E I O bus parity check Bus parity is checked when the 1 0 module is accessed At batch I O processing and direct I O instruction Error registration then error down However recovere by retries only registration takes place no error down LP function check LP illegal instruction detection check Test program run in LP language processor and checked for correct results When running the user program Checks whether or
55. required T c Zz Remarks Zz o wo l al o wo l al fee fee o o de wo Iv wo 2 al wo 2 al wo t al o m e a eN D F 3 wo t al wo 2 Y wo 2 a o wm o o ej de 2 N Compare de Compares the register tables starting from A and 95 Bit file comparison B B and stores the non matching bits in C Greater than r Turns output ON if A gt B integer comparison 97 Greater than or equal to 7 Turns output ON if A B integer comparison Turn output ON if A B integer comparison Not equal to m Turns output ON if A B integer comparison 100 Smaller than Turns output ON if A lt B integer comparison 101 Smaller than or equal to 4 Turns output ON if A lt B integer comparison 102 ength greater than r Turns output ON if A 1 and A gt B 1 B E 7 double length integer comparison Double length greater than J Turns output ON if A 1 and A gt B 1 B or equal to double length integer comparison r i Turns output ON if A 1 and A B 1 B 104 dd LL double length integer comparison r E Turns output ON if A 1 and A B 1 B 108 ength not equal to double length integer comparison 106 Double length smaller than 1 i g output ON if A 1 and A lt B 1 B e length integer comparison Double length smaller
56. scan transmission 50792 S0793 Reserved for future use 0794 S0796 dad TOSLINE F10 CH1 status S0798 S0799 S079A Reserved for future use S079B S079C S079D S079E S079F Refer to the TOSLINE F10 manual for details 172 PROSEC T2E 3 User Data Biti assignment in the register is the same as SW078 and swo79 a SW094 The corresponding bit comes ON when the LW register is SWO095 not updated normally The lowest adress of LW register corresponds to bit O in SW097 the SW register and in the order SW102 scan error map Refer to the TOSLINE F10 manual for details User s manual 173 3 User Data Special Device Test mode ON when test mode 1102 Reserved for future use 1100 Zz D i oO S1101 S1103 1104 Master slave ON when master station 1105 Scan inhibit ON when scan transmission inhibit 1106 Stor TOSLINE S20 station status S1108 Reserved for future use 1109 S110A S110B S1110 S1111 1112 1113 1114 1115 1116 1117 Reserved for future use 1118 1119 S111A 111B s111C S111D S111E N S111F Refer to the TOSLINE S20 manual for details 174 PROSEC T2E 3 User Data Special Name Function Register SW112 station No 1 No 16 The corresponding bit is ON when the station is online SW113 station No 17 No 32 swns I ala station No 17 No 32 The lowest station number corresponds to bit 0 in the SW
57. stations MAX 17 stations MAX 16 stations Transmission capacity 8 16 32 words W0000 W0127 Response speed 25ms when 32words 19 2ms when 32words e DeviceNet Scanner Under development The DeviceNet is a field network It can achieve data linkage between PLCs and remote I O communication The T2E can use the DeviceNet scanner module It is effective when connecting DeviceNet systems to the T2E The T2E station can be mounted in any slots in the same way as for I O modules DN211 Twisted pair Cable Bus 125kHz 250kHz 500m 250m 100m Max 64 stations Transmission speed Transmission Distance Number of stations User s Manual 19 1 System Configuration 20 PROSEC T2E 2 Specification 2 1 Item Specification General Specification Rated Voltage 100 240Vac Remarks PS261 Voltage Fluctuation Range Power Supply Frequency PS31 PS261 PS31 1 50 60Hz Frequency Fluctuation Range Retentive power interruption Power Supply 1 47 63Hz module Power consumption 1 53VA or less PS261 10ms or less at maximum load for one power supply 2 22W or less Inrush current 1 15A at 100Vac 35A at 240Vac or less 2 30A 10ms or less Insulation resistance Withstand voltage 10MQor more PS31 PS261 PS31 between power terminals and ground terminals 1500Vac 1minute 1 Ambient temperature 0 to 5
58. than _p A 1 output ON if A 1 and A lt B 1 B or equal to T double length integer comparison o a w 2 xy obenbue7 Bunuule1IDolg S enueu sasn 6Ec Ladder Diagram Instructions Function Instructions eS Z Representation 216 Floating point less than Floating point less than or equal 3 D Compare 108 Unsigned greater than A U gt B Unsigned greater than or equal to 10 Unsigned equal to Unsigned not equal to 112 Unsigned smaller than J Unsigned smaller than or equal to 212 Floating point greater than 1 Floating point greater than e f or equal 214 Floating point equal y 215 Floating point not equal Execution time required us Number of Summary steps required Remarks Turns output ON if A gt B unsigned integer comparison wo 1 al Turns output ON if A gt B unsigned integer comparison wo Fi al o Turns output ON if A B unsigned integer comparison Turns output ON if A B unsigned integer comparison wo Fi al o Turns output ON if A lt B unsigned integer comparison wo A al o Turns output ON if A lt B unsigned integer comparison wo Fi oa o wo A al o Turns output ON if A 1 A gt B 1 B floating point data comparison Turns output ON if A 1 A gt B 1 B floating point data comparison
59. the count direction increment decrement is made according to the state of the up down selection input U see below ON UP count increment OFF DOWN count decrement obenbue7 Gulwwesbold S ove 301 93ISOYd Ladder Diagram Instructions Function Instructions Number of dl Representation Summary steps required required a 5 If the input is ON the instruction calls the subroutine for Suprontnie cal L CALLN nn J the Se aie number nn Subroutine return RE Indicates the end of the subroutine EN Conditional jump T JUMP Inthe Input is ON jumps directly to the label for the label Jump label KE LBL nn 7 Indicates the jump destination for the conditional jump 132 FOR NEXT loop FORn 132 FORNextIooe L FO Executes the section from FOR to NEXT the number of times specified by n 137 Subroutine entry HE SUBR nn H Indicates the entrance to the subroutine number nn L n 138 STOP STOP Stops the program Enable interrupt Enables execution of the interrupt program L H 3 1 3 2 2 2 1 4 4 1 142 Interrupt program end H 141 Disable interrupt EE Disables execution of the interrupt program IRET Indicates the end of the interrupt program 143 Watchdog timer reset wotn F Extends the scan time over detection time 2 Turns OFF the n devices headed 144 Step sequence initialize by device A and turns A ON activation of s
60. the initial step must be made the lowest step number in that sequence See 2 above 4 A sequence selection diverges above transitions and converges below transitions Also a simultaneous sequence diverges above a steps and converges below a steps SER A However the divergence must end in a corresponding convergence Therefore programs such as the following are not allowed User s manual 223 5 Programming Language 5 The jump destination of a SFC jump may be either in the upward direction or in the downward direction or it may be in another SFC program Also it is possible to jump to the outside from within a branch Since a SFC jump can be very freely used in this way take thorough precautions so that the SFC logic will not become abnornal so that multiple unrelated steps in a series of SFC will not become active through jumping A SFC jump is always positioned immediately after a step Also although basically a SFC label is positioned immediately after a transition it is positioned between the convergence line and the step in the case of a sequence selection convergence EEE mot iS The states active inactive of SFC steps are not power cut retained When starting up all steps become inactive The output of an SFC step can be controlled by sandwiching the SFC program block by ladder diagram master control MCS MCR When the input of MCS is OFF the power rail of the action program correspondi
61. them vertically on the mounting frame 8 Mount the units securely using the rack mounting screws of M4 size Screws torque approx 1 47N m 15kgf cm 60 PROSEC T2E 4 Installation and Wiring 4 3 Mounting the Modules Always mount the power supply module in the left end slot of the rack Also mount the CPU module in the slot next to the power supply module of the basic unit Execute the following procedure for module installation LA 1 Taking care that they are securely A inserted in the slots of the base unit install modules in sequence starting with the power source module at the left end 2 Push securely until the front panel of the module clicks into the base unit NOTE VEY watery always turn power OFF before installing and removing modules or installing and removing terminal blocks 2 After installing the modules secure the unit so that it can be mounted vertically including when in transport 4 4 Connecting the Up to three expansion units 8 slot or 6 slot can be connected in the T2E For Expansion Unit the expansion units use BU268 8 slot or BU266 6 slot common use basic expansion units Expansion connectors CPU module Expansion ie TOMI or p more for ventilation FG terminals Single point grounding For details see 4 5 Grounding NOTE 2 VON sion connectors are fitted on the 5 slot I O type BU266 and the 7 slot I O type BU268 racks The right hand connector is
62. timer register update as follows 22us timer register update time e Timing relay update The timing relay S0040 S0047 ON OFF status is controlled by using the 10msec system interrupt The binary counter is configured as shown on the next page When RUN is started up they are all OFF 110 PROSEC T2E 2 Operations S0040 0 1sec S0041 0 2sec S0042 0 4sec S0043 0 8sec S0044 1 0sec S0045 2 0sec S0046 4 0sec S0047 8 0sec 4 0sec p 2 5 Peripheral support Peripheral support processing interprets the request commands from the periphrals programmer computer link data transmission module process the requests and responds Peripheral support processing time is limited up to 2 5ms per one scan so that scan time is as constant as possible If it takes more than 2 5ms to process peripheral support this processing is stopped once within 2 5ms and remained processing is continuously performed in the next scan SCAN 2 5ms max When 2 or more request commands are received simultaneously from the request source the processing priority is as follows Programmer Port gt Optional communication port gt TOSLINE S20 Computer Link As for data link processing it may take 0 5ms at the worst case in addition to the above lt Peripheral support priority mode gt When special relay S158 is ON peripheral support processing time is not limited and takes place in one scan It result
63. when RUN starts up 2 Re setting of warning flag executed by user program as required Reserved for future use UN Hh Swo010 Calendar data Hour Hour 00 23 The lower 8 bits are stored swo11 Calendar data Minute Minute 00 59 in BOD gode SW012 Calendar data Second Second 00 59 swo13 Calendar data Day of the week ti ae aa dai Es SWO014 Reserved for future use 1 The calendar data setting is performed by calendar setting instruction or by calendar settingoperation by programmer It is ineffective to write data directly to the special registers 2 When the data cannot be read correctly due to a calendar LSI fault these registers become HOOFF 3 Calendar accuracy is 30 seconds month User s manual 161 3 User Data Special soso ME 0152 0153 Reserved for future use S0154 S0155 S0156 S0157 S0158 Periphral support priority Periphral support processing has been carried out in one scan when ON sotsa O E ES Reserved for future use EEN Se Special N ag SW017 Number of registration The designated error code 1 64 are stored in order of execution in SW018 7 SWO033 the earlier the code the lower the address and the number of registration SW017 is updated Swo19 Error code 2 SW020 Error code 3 The earliest error code occuring in the registered error codes the content of Error code 4 SW018 is stored in the leading error code SW016 E
64. with specified cycle time in system information Fixed cycle Timer interrupt program This is executed cyclically with a cycle of 5 1000ms which is registered in system information When no cycle is registered blank it is not executed Set the interval setting of the timer interrupt with 5ms units in item 16 of the T PDS system control information screen For details see T PDS operation manuals NOTE VAV For details of interrupt program operation see Part 2 Section 3 3 For an interrupt program From the leading instruction of the lowest block number in fixed cycle interrupt program To the IRET instruction of the ladder diagram in fixed cycle interrupt program this may be either in the same block or in a different block is registered as fixed cycle timer interrupt program Input Procedure for Interrupt Programs When first creating the program if the program editing mode is entered without designation main program edit is selected Therefore when editing without an interrupt program select interrupt program edit with the following procedure when starting to edit T PDS operation 1 Press F2 Read on the program edit screen 2 Select Timer interrupt program from the window 3 Select Block designation from the window 4 After designating the block number usually 1 create the program in the same way as for the main program For details see T PDS operation manuals
65. x 40pin connectors Number of Common 8 Common Number of Output Configuration points per common Common Polainty minus 8 points Current Consumption 250mA 5Vdc or less Withstand voltage 1500Vac 1 minute Built in fuse none Surge Protection Diode Weight Approx 250g Circuit Configuration LED display O 8L CN1 LC Internal Circuit 32 PROSEC T2E 2 Specification Terminal Connecting CN1 B A P24L1 AR A CN1 CN2 B AA B Oo o 20 1 Load Power Supply CN1 L XWn 5 24Vdc CN1 H XWn 1 CN2 L XWn 2 CN2 H XWn 3 1 20 Connectors on the Module FCN 365P040 AU made by Fujitsu Cable side connectors Soldering type standard attached Connector FCN 361J040 AU made by Fujitsu Connector cover FCN 360C040 E made by Fujitsu eee eee ee ee User s manual 33 2 Specification DO233P TDO233P S Item 16 point Transistor Output DO233P Load power supply 12 24Vdc 10 5 Internal current consumption 35mA or less 01234567 7 1A point external power supply 7V or more 89ABCDEF Output ON current 1 2A 4 points 4 element transistor array Output ON resistance Number of output points 16 points single plus common Leak current when Output 0 1mA or less Voltage insulation 1500Vac 1 minute PMPO ve Current consumpt
66. 0 multiplies the arc cosine value by 100 then stores it in B wo z D Divides the value of A by 10000 multiplies the arc tangent value by 100 then stores it in B 3 4 Finds the exponential of 1 1000 of the absolute value of A and stores it in B 1 B Calculates the common logarithm of the absolute CON 3 4 value of A multiplies it by 1000 and stores the result in B obenbue7 Bunuuwelbolg S 9vc del 9ISOYd Ladder Diagram Instructions Function Instructions UN Number of ee Group Name Representation Summary steps gure Remarks requir equired us 160 75 5n 143 39 4n headed by B e Converts the ASCII data in n registers headed by A ASCII HEX conversion L A n B into HEX e and stores them in the registers headed by B Conversion Converts the HEX data in n registers headed by A HEX ASCII conversion into ASCII data and stores them in the registers Absolute value Stores the absolute value of A in EIE 181 Double length absolute A DABS B Stores H absolute value of A 1 and A in value B 1 2 s complement Stores the 2 s complement of A in gt 183 Double length 2 s A DNEG B Stores the 2 s complement of A complement A 1 B data and stores in B 1 B Converts the bottom 4 bits of A into 7 segment 7 segment decode code and code stores in B Double lenght conversion Converts the signed data in A into double length Takes the
67. 1 to steps Steps have the two states of active and inactive When a step is active the power rail of the corresponding execution program will be in the live state power rail ON When a step is inactive the power rail of the corresponding action program will be in in the cut off state power rail OFF On the other hand a transition is located between step and step and expresses the conditions for transition of the active state from the step immediately before upper step to the following step lower step Corresponding transition conditions are annexed 1 to 1 to transitions For instance in the diagram above when step 120 is active the execution program poweryail corresponding to step 120 becomes ON In this state when device A becomes ON the transition conditions are satisfied and step 120 becomes inactive and step 121 becomes active In accompaniment to this theaction program power rail corresponding to step 120 becomes OFF executed as power rail OFF and the action program power rail 210 PROSEC T2E 5 Programming Language Overall Configuration corresponding to step 121 becomes ON The following illustrates the overall configuration of an SFC program m Macro Program SFC Main Figg NO X0010 Ac SFC initialization Macro entry AN Initial step Macro number 100 E oid mr 7 7 7 Macro number 100 21 Step Ta A Step number gt 2 wee 22 Tra
68. 2 TOSLINE S20 Scan healty map Sw191 SW192 Reserved for future use SW255 User s manual 157 3 User Data S0000 0 Initializing 4 HOLD mode S0001 1 HALT mode 6 ERROR mode S0002 Operation Mmode 2 RUN mode 9 D HALT 3 RUN F mode A D RUN S0003 S0004 CPU error Down ON when error occurs OR condition of related flag in SW001 S0005 1 O error Down ON when error occurs OR condition of related flag in SW002 S0006 Program error Down ON when error occurs OR condition of related flag in SW003 EEPROM number of writing times ON when EEPROM number of writing times 100 000 exceeded S0007 f execeeded Warning operation contiunes S0008 Conststant scan delay Warning ON when actual scan time exceeds the constant scan time setting S0009 Reserved for future use S000A Calendar LSI error Warning On when calendar timer data fault operation continues S000B Reserved for future use S000C TOSLINE 30 error Warning ON when TOSLINE 30 error operation continues S000D TOSLINE F10 fault Warning S000F Battery voltage low Warning S0012 Program memory error Down On when program memory RAM error COo o oe ON when language processor LP error Reserved for future use S001F Watch dog timer error Down ON when watch dog timer error occurs 1 This area is for reference only Do not write 2 The error flag becomes ON and is so maintained through the occurrence of a cause it i
69. 5 C operation Ambient humidity Atmosphere 20 90 RH No corrosive gases Sulphurous acid gas 0 05ppm or less Hydrogen sulphide 01ppm or less no condensation Dust Vibration immunity 10mg m or less Shock immunity Noise immunity 1000Vp p 1us Complied for EMC Directive of CE marking Grounding Construction Grounding resistance 100Q or less Installed in control panel Cooling 16 7Hz 3mm p p 3 mutually perpendicular awes 98m s 10g 3 shocks per axis on 3 mutually perpendicular awes Natural air cooling Insulated Circuits e between Power supply circuit and I O circuit e between Accessible metal parts and Power supply circuit e between Accessible metal parts and I O circuit e between SELV circuit and Power supply e between SELV circuit and I O circuit Notes 1 Accessible metal parts Racks Protective ground terminal etc SELV Safety Extra Low Voltage circuit Internal logic circuit The accessible metal parts of the peripherals which are connected to the programmable controller by the standard cable are connected to the Protective ground terminal or double insulated sess A AAA A User s manual 21 2 Specification 2 2 External dimensions Basic dedicated unit BU218 E J J p E a Basic expansion unit BU266 Basic expansion unit BU268
70. 8 0000 063F Total 1024 points 10012 Direct output register 00340 Input device i 000 127 128 words RW100 x Q D device Link register 0000 1023 1024 words F0500 Link relay register Link relay ie 4 oO N rc File register Index register NOTE VAV In the T2E 1 word is treated as equal to 16 bits and the number of registers is counted in word units User s manual 151 3 User Data 3 2 Registers and Devices Input Registers and Input Devices Output Registers and Output Devices The following Tables describe the functions and address ranges for each function type of registers and devices Codes Input registers XW Input devices X Addresses Input registers 000 063 64 words Common use as output Input devices 0000 063F 1024 points J registers output devices Functions These are allocated in the input module as register units word units by performing input output allocation The signal state inputted to the input module is stored in the corresponding input register by batch input output timing except for modules which have the designation i attached when allocating An input device expresses 1 bit of the corresponding input register The data of input registers input devices basically do not change during 1 scan However when executing a direct I O instruction FUN235 data is read from the corresponding input module when the ins
71. 8 lines by 5 columns Capacities per Action Transition condition Action program capacity 121 steps Transition condition capacity 110 steps See 5 5 List of Instructions for the required numbers of steps for SFC instructions and ladder diagram instructions The starting and re setting of an SFC program is carried out by the SFC initialization instruction SFC instruction ladder diagram instruction SFC initialization makes the steps in a designated area inactive and makes the initial step active Therefore the area of the steps designated by SFC initialization the number of initialized steps includes all the step numbers which are used in that SFC program including macro programs as well Take care that step numbers used in other SFC programs are not involved For instance if the SFC initialization designation is 50 steps from step number 0 and step 50 is used in that SFC program when SFC initialization is executed with step 50 in the active state step 50 will remain active On the other hand if the SFC initialization designation is 201 steps from step number 100 and step 300 is used in another SFC program when SFC initialization is executed with step 300 in the active state step 300 will become inactive without any condition 222 PROSEC T2E 5 Programming Language 3 There is no limit to the step number sequence used in 1 SFC program including macro programs However
72. Analog input 12bit 4 channel not isolated between channels 1 5V 4 20mA 12bit resolution 4 channel not isolated between channels 10V 10V 12bit resolution User s Manual 17 1 System Configuration 1 8 Description Analog output 8bit Specification 2 channel not isolated between channels 1 5V 1 10V 4 20mA 8bit resolution Analog output 12bit 4 channel not isolated between channels 4 20mA 1 5V 12bit resolution 4 channel not isolated between channels 10V 10V 12bit resolution Pulse input Single axis positioning 1 channel two phase with zero marker 5 12Vdc 100kpps max 24bit counter 1 axis 100kpps max position data memory capacity 64 points Serial Interface RS 232C 1port Common memory 160Wx2 For detailed specifications of each I O module see Section 2 3 I O Module Specifications Data Transmission By applying the following 4 types of data transmission module according to the system requirements the T2E can configure the flexible and efficient control Module systems e TOSLINE F10 PLC to PLC data linkage and remote I O systems are configured by the TOSLINE F10 data transmission equipment Up to 8 T2 stations can be mounted in any slots in the same way as I O modules Topology MS211 RS211 High speed setting MS211 RS211 Long distance setting Bus twisted pair cable Transmission speed Transmiss
73. Apply power of the specified ratings described in the manual Improper wiring can cause fire electrical shock or malfunction Observe local regulations on wiring and grounding Operation 1 WARNING Configure emergency stop and safety interlocking circuits outside the T2E Otherwise malfunction of the T2E can cause injury or serious accidents CAUTION Operate the T2E and the related modules with closing the terminal covers Keep hands away from terminals while power on to avoid the risk of electrical shock When you attempt to perform force outputs RUN HALT controls etc during operation carefully check for safety Turn on power to the T2E before turning on power to the loads Failure to do so may cause unexpected behavior of the loads Do not use any modules of the T2E for the purpose other than specified This can cause electrical shock or injury Do not modify the T2E and related equipment in hardware nor software This can cause fire electrical shock or injury Configure the external circuit so that the external power required for output modules and power to the loads are switched on off simultaneously Also turn off power to the loads before turning off power to the T2E Introduction Safety Precautions Operation continued ZA CAUTION 8 Install fuses appropriate to the load current in the external circuits for the outputs Failure to do so ca
74. D Display Meaning of Error and Countermeasures The LBL instruction for the label No designated by a JUMP instruction has not been programmed in the same program type Or a LBL instruction is programmed on a point before by the JUMP instruction Backward jump Program the LBL instruction in a regular position No sub entry Program type Block No Address in block Sub routine No The SUBR instruction for the sub routine No designated by a CALL instruction has not been programmed Program the SUBR Instruction No RET error Program type Address in block Sub routine No S0006 O O No RET instruction has been programmed Block No S0030 in the sub routine Program the RET instruction Sub nesting err Program type Address in block Sub routine No S0006 O 0 Sub routine nesting has exceeded 6 layers Block No S0030 Alter the program so that sub routine nesting is 6 layers or less Loop nesting error Program type Address in block S0006 O 0 FOR NEXT instruction nesting has Block No S0030 exceeded 6 layers Alter the program so that FOR NEXT instruction nesting is 6 layers or less Bunooysajgno 9 301 9ISOYA 06 Classification Program Error Message and Associated Information SFC step No error SFC marco No err No SFC macro entry Program type Block No Program type Block No Pr
75. EX10 ABP1 to prevent debris from collecting in the rack where no I O modules is mounted and PU234E is mounted in BU218 3 When the UBB1 or the UBB2 is used as expansion unit only one expansion unit can be connected to the basic unit User s Manual 15 1 System Configuration e Setting the Unit No When using the BU268 or the BU266 for combined type basic unit expansion units set the Unit No before operating The setting is carried out by a rotary switch in the upper part of the expansion connector on the left hand side of the rack CATA n CCA The rack used for Switch Setting Basic Unit 0 Expansion Units Set in the order 1 gt 2 gt 3 starting from the unit closest to the basic unit VAV 1 Switches will be set at O at the factory 2 Be careful not to duplicate Unit Nos on units 3 Do not use setting 4 9 as these are not for use 1 6 Expansion Cables These are used for connecting the basic unit and the expansion units They are available in the following four lengths CS2RF 1 5m NOTE VAV The maximum cable length between units is 1 5m The maximum total cable length is 4 5m 16 PROSEC T2E 1 7 1 System Configuration I O Modules Various types of I O modules are available for the T2E as shown in the following Table Thus it can respond to a wide variety of applications I O modules can be mounted in any slot in the base uni
76. M can be written up to 100 000 times guaranteed depending on the hardware The EEPROM alarm flag S0039 comes ON if the EEPROM is written more than the limitation Thereafter operation is not guaranteed S0039 may come ON when power is turned OFF during writing into EEPROM In this case carry out Write EEPROM command once Nevertherless if S0039 is ON it is recommended that the CPU module should be changed 117 User s manual 5 RAS Functions 5 1 Overview The meaning of RAS is Reliability Availability and Serviceability the RAS function is the general term used for the functions installed in the T2E which increase the reliability and serviceability of the applied systems and support the operation of the system This section explains the self diagnostic functions installed in the T2E the maintenance functions the debugging functions and the system checks which can be run by the T2E user 5 2 Diagnostics The T2E runs checks on itself The details of these self diagnostics which are designed to prevent abnormal operation the timing of the diagnosis and procedure when malfunctions are detected are shown below In building up the system consider the system operation safety should a in case of a T2E shut down fail safe and the system operation backup function In the following explanation error registration means the storing of the details of the error and the time when it occurred on the event history tab
77. N MOC cidad 101 PROG NUM DG a EE E E A E E E EE A a E AS dis A 203 S Sampling Buffer ee ee seeeseeeeseeeseeeeseeecseeecsaeecsnesssaeeesaeeesaeecsaeessanesssaeeesaeessaeecsaeessaeeseeeessaeessaeesseeseenerees 139 Sampling Trace FuNCHON caco A is 125 A E E ee oe aon 104 scan GY CIC ses ces cs a e eeataee T 106 SCAN MOE ii aaa 106 SCAM TIME Sii eeta eai ra ieai id dc 140 Sequence Selection ee eeeeneseseeeeseeeeeeeesseneceaeeceanereneeeeaeesanersanessaneseeseseeeesacecsanessaneseeeesseeeenenessaneseanerens 215 Sequence Time Over Detection ee eeesesssnecesneceseeeeseeeesenecsanessaneseeseeseeessanessaneseaneseeeeeseeessanessaneseanerens 131 A O 201 210 User s manual 259 Index SEC Capacity viii ls A ias 222 Single Rung Execution Function ooooononccnonononocncononcnonenonnnnnnnonernn cnn nn roer ran rra one nn ner n nene nene rra ene nnn ne rnnnernne 127 Single Step Execution FUNCTION oooooocccnocaccooncnoncnononononononon ccoo no non nn nn nn nan n nn narran nr nnn nr nene nn nr enn n nr aan r nennen nenat 127 Special Device iii A A wales dei ie ia EAS EA AAA 156 Special Register SW coioiconcionincnin conc in lol ia 156 Status Lateh FUNCION iia a a id aa 125 Status Monitor FUNCION ici it pac 124 SN e 210 SS o KA E EEE tives bedtesdys ss heuadbee civdeleue dive cdenneeare dani 139 SUD Progra seian aenean eiaa o eeaeee ad hara beaa ia Ea anapa be E Eeoae EA EaR 116 144 SU oige LON t ANE cuca o A 146 SE e UnA 139 S
78. No N FailureDetection 24Vdc Withstand voltage 1500Vac 1 minute 1500Vac 1 minute Current Consumption 170mA 5Vdc or less 170mA 5Vdc or less External Power Required 24Vdc 10 90mA 24Vdc 10 90mMA Weight Approx 200g Approx 200g 4 20mA 1 5V Circuit Configuration Internal circuit AO22 only Terminal Connections Drawing AO22 only Isolate external 24Vdc line from other signal lines Use shielded twisted pair cables for analog signals 42 PROSEC T2E 2 Specification 2 Channel Analog Output D A Conversion Me pip Continued Analog Values mA Analog Values V 2000 4000 2000 2000 4000 Digital Values Digital Values 4 20mA range A 0 004 x D 4 1 5V range A 0 001xD 1 A Analog value 10V range A 0 005 x D D Digital value Data Format Output occupies 2 words e 4 20mA 1 50 FEDCBA987654321 0 ww EEF F lbjlojolojojojolojojojofo D Data bit 12 bits 0 4000 H0000 HOFA0 No effect No effect on D A conversion FEDCBA9876543210 w FEEF F Is ojojojolojojojojojo o S Sign bit 0 Positive 1 Negative Data bit 11 bits 2000 2000 HF830 HO7DO 2 s complement if negative NOTE VAV When executing direct output two registers both channels should be specified to output NB FJ User s manual 43 2 Specification Single Channel Pulse Input
79. TOSHIBA UM TS02E E001 PROGRAMMABLE CONTROLLER PROSEC T2E USER S MANUAL Basic Hardware and Function Main Menu Contents Toshiba Corporation 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 1997 All rights reserved PROSEC and TOSLINE are registered trademarks of TOSHIBA Corporation IBM is a registered trademark of International Business Machines Co
80. User Program Configuration User Program Configuration Program Type Internal Configuration Program Types Blocks Main program Block 1 Sub program 1 Timer interrupt program a x Block 2 Sub routine x Block 3 N X Block n n max 256 Block 1 w N Also in each program type the user program is arranged by units called blocks Internally a block definition label is present at the head of each block The program type block number and programming language information are in the block definition label there is no need for the user to be concerned with the block definition label Although the 2 programming languages of ladder diagram and SFC can be used in combination in the T2E only 1 language can be used in any 1 block NOTE VAV 1 In each program type and block there is no limit to the program capacity number of steps The only limit is the total capacity 9 5K steps 2 The block numbers need not be consecutive In other words there may be vacant blocks in the sequence 138 PROSEC T2E 2 User Program Configuration 2 2 System information is the area which stores execution control parameters System Information and user program management information when executing a user program and occupies 0 5K of the user program memory The following details are included in system information 1 Program ID This is th
81. W33E1 TMW33E1SS Handy programmer attached 2m cable between programmer and PC HP911 THP911 S TOSLINE S20 support software MS DOS vorsion English MM23I SMM23I SS S LS ES IBM PC or compatible CJ905 TCJ905 CS RS232C RS485 RS232C RS485 converter for computer link ADP 6237B EX25PADP6237B converter O Accessories CPU Battery ER6 EX25SER6 For PS31 EX10 SFB20 For PS261 TFU923 AS Fuses For DO31 EX10 SFA50 For DO32 EX10 SFA20 For AC61 EX10 SFC20 256 PROSEC T2E A Annuciator Relay sisirin niinniin aaaea aa ii eain ipia aii iii 128 163 AO P Og a diodes 219 Atitomatic VO AllOCatiON 20 A cdi a aa a a a desde tee dite ees 193 Auxiliary DSVICO A caia dla id cda sao dec ta amia keai iieiaei 154 Auxiliary Register RW coito ii a tii 154 B Batch AUD A aa eaa iS 108 Batch Input Output Processing mitin ii add tada 108 Batch Input Output MethOd oocooocccnococonoccnoncnonononanonononcnnno conan cra nn r anar enn cren nr nnn nr rana nr amen eran AEEA nr anne nan nannnnnnns 109 Bit Pattern Check Function cccccccccceeeeceeeeeeeeeeeeeeneeeeeeaneeeesaeeeseaeeeesecaeeeseceneeeseeeeeeseeeeeeeseeeeeseneetenees 129 Break point FUNCTION wi eigsc tes ci ti ca cities 127 C Constant SCAM iii iii gated via ees dea cid ci n dicta lla ina od 107 Counter Device Guaita td id iaa 154 Counter Register Diiesrutaninda setbacaeeleesioreseettesbehetdosedetasacelatssancanadvetcenatiecccnduseteadieegcysieseats teense 154
82. When it is necessary to execute repetitions of the same process ina User s manual 145 2 User Program Configuration 2 3 4 Sub Routines program this process can be registered as a sub routine This sub routine can be executed by calling it this is referred to as sub routine calling at the required location By this means the number of program steps can be reduced and at the same time the program becomes easier to see since the functions have been put in order Sub routines can be called from other program types main program sub programs interrupt program and from other sub routines they can also be called from the action part portion of SFC For sub routines from the SUBR instruction of the ladder diagrams in a type sub routine to the RET instruction of the ladder diagrams in the type this may be either in the same block or in a different block is registered as 1 sub routine A maximum of 256 registrations is possible It is necessary to assign a sub routine number to the SUBR instruction sub routine entry instruction The limits of effective numbers are from 0 to 255 SUBR 000 Sub routine number The RET instruction sub routine return instruction has no sub routine number The instruction which calls a registered sub routine is the CALL instruction 146 PROSEC T2E 2 User Program Configuration sub routine call instruction of ladder diagrams The CALL instruction requ
83. _ _ latest input data incorporated in XW YW data output externally batch I O processing scan 77 7 YW data fixed with reference to XW data running user program So basically this has the advantage that high speed scans can take place so that I O module data is not exchanged during user program execution and also it is easy to create program logic which prevents XW data changing during user program execution This method is called the batch I O processing method refresh method There is also another method of the T2E operation whereby I O module data exchange takes place during user program execution using IW I instead of XW X and OW O instead of YW Y This method is called the direct I O processing method It is recommended that the I O modules used in direct I O are inhibited the batch I O they have i specification on I O allocation so shorten the time for batch I O processing NOTE VAV 1 Use the following criteria for batch I O processing time 2 input XW 3 output YW 4 link W 22us register 5 LW 22us register 6 1 0 modules with i specification on I O allocation iX iY iX Y are not approximately 45us register part of batch I O processing Refer to Part 3 for I O allocation 7 Forced input device X link register relay Z and link relay L are not part of batch I O processing The force function is explained in section 5 8 Refer to the data transmission module manual for
84. alence between Correspondence _ egistersnand modules is automatically determined by the following rules 1 In any unit allocation is the low address registers are allocated in sequence from the module at the left end 2 In a case when the unit leading address is not set it is never set by automatic allocation the registers are allocated in continuation from the previous stage unit 3 A slot for which a module type is not set any vacant slot in automatic allocation is the same does not occupy any registers 4 The cases of basic expansion type rack except BU218 which has 8 slots also are handled in the same way as standard size rack 8 slots for input output allocation and they are regarded as having slots without settings in the latter portions of the unit Therefore these portions do not occupy registers 5 Slots for which SP space is set output registers are allocated internally by a number of set words 6 Modules for which Z OPT TL S and TL F are set do not occupy input output registers XW YW 7 Input output registers which are not allocated to I O modules become output registers YW in the programming Thus they can be used in the same way as auxiliary registers relays RW R NOTE VAV For the allocation of link registers link relays to data transmisson modules see the separate manual for these modules 198 PROSEC T2E 4 I O Allocation The following Tables show the a
85. am and register data The user program memory has a capacity of 10K steps step is a unit for instruction storage and stores the user program configureed by a series of instructions The user data memory stores variable data for user program execution It is separated by function into input output registers data registers etc 136 PROSEC T2E 2 User Program Configuration 2 1 The user program memory can be divided into the system information Overview storage area and the user program storage area as shown below User Program Memory Configuration System information 0 5K steps 9 5K steps System information is the area which stores execution control parameters for executing the user program and user program control information and it always occupies 0 5K steps User program The user program is divided into the program types of main program sub programs interrupt programs and sub routines depending on the function Of these the main program is the core of the user program On the other hand when it is difficult to achieve the requested control functions by the main program alone sub programs and interrupt programs are used as required but need not be provided Also sub routines are used when repetition of the same process in a program is required or in order to see the program more easily by making one function into a block but may not be provided if not required User s manual 137 2
86. ansition to step 102 will be from H the next scan onward 102 3 Step transition processing means making the previous step inactive and the following step active if the transition condition is satisfied based on the result of evaluation of the transition condition 4 Execution of the action program unit corresponding to the active step is carried out by switching the power rail ON and executing the actionprogram unit corresponding to the inactive step by switching the power rail OFF At this time as shown in the following diagram the execution sequence is from top to bottom and from left to right in branches The numerals in the diagram show the execution sequence of theaction programs User s manual 221 5 Programming Language Points to Note The following is a list of points to note when creating SFC programs 1 The capacity limits of SFC programs are set out in the following Tables Be careful not to exceed these capacities Overall Capacities Maximum numbers which can be programmed in the T2E Number of SFC main programs 64 0 63 Number of macro programs 128 0 127 Number of SFC steps 2048 0 2047 Number of SFC labels 1024 0 1023 Capacities per SFC Main Program Macro Program Number of SFC steps 128 Number of instruction steps SFC actions and transition conditions total 1024 sleps Number of simultaneous branches 5 SFC edit screen capacity 12
87. anual 207 5 Programming Language General Information on Ladder Diagram Instructions The general facts required for designing programs with ladder diagrams are listed below 1 In all program types it is necessary to create at least one block by ladder diagram In other words the ends of the main program and each sub program are judged by ladder diagram END instruction Also the end of each interrupt program is judged by a ladder diagram IRET instruction Furthermore it is necessary to compose the entry to and exit from a sub routine by the ladder diagram SUBR instruction and RET instruction The group of instructions which includes the timer instructions 4 types counter instruction jump control instruction master control instruction and END instruction in the relay symbol type instructions is called the basic ladder instructions Instructions other than the basic laddeer instructions are called function instructions The function instructions have respective individual function numbers FUN No Also even if instructions have the same function number selection of the execution conditions is possible as shown below There are some instructions which cannot be selected Normal Executed every scan while the instruction input is ON Edged Executed only in the scan in which the instruction input changes from OFF to ON Example Data Transfer Instruction R0000 Normal H 10 MOV D1000 The MOV
88. anual 213 5 Programming Language 2 Initial Step This is the step which indicates the start of an SFC main program It has its own step number and can have an action program which corresponds 1 to 1 Only 1 initial step can be programmed in 1 block sss ssss Step number 0 2047 Step This expresses one unit of contral steps The step has its own step numbers and has program which corresponds 1 to 1 Ssss ssss Step number 0 2047 Transition This expresses the conditions for shifting the active state from a step to the following step Transition has transition condition units which corresponds 1 to 1 SFC End This expresses the end of an SFC main program An SFC main program requires either this SFC end or the end step of 6 The end has a transition condition which corresponds 1 to 1 anda return destination label number When transition condition is satisfied with the step immediately before being in the active state the step following the designation label is made active with making the step immediately before inactive This is the same operation as that described in jump below O Illl t IIll Label number 0 1023 214 PROSEC T2E 5 Programming Language 6 End Step This expresses the end of an SFC main program An SFC main program requires either this end step or the SFC end of 5 The end step has the same step number as the initial step When the
89. ar month day Indicates the date of occurrence This is shown as 2 2 2 if the calendar data malfunctions 3 Time hours minutes seconds Indicates the time of occurrence This is shown as 22 22 if the calendar data malfunctions eee eee eee ee User s manual 121 5 RAS Functions 4 Event Indicates the what sort of error has been detected System power on indicates when system power is turned on and system power off when system power is turned off 5 Count Indicates the number of times the error was detected For example an error is detected during a process the retry is repeated 3 times the malfunction does not change and it goes to error down This is indicated as a count of 4 and DOWN is displayed under the Mode 6 Information 1 Information 2 Information 3 Indicates supplementary information regarding malfunction For example with an I O malfunction the I O module position unit No slot No where the malfunction occurred and the read write register address etc are indicated 7 Mode Indicates the actual mode when the error was detected Also displays DOWN when error down occurs On the mode display INIT indicates system initialization after power is turned on Refer to Part 1 section 6 for display details of detected errors and methods of proceeding 122 PROSEC T2E 5 RAS Functions 5 4 Memory Protect Function Memory Protect function is effective when the operation switch o
90. arry out the grounding of the cable shield on the load side 1 in the drawing below is the basic Sometimes operation is more stable if the wiring is as in 2 or 3 Analog output module Analog output module Analog output module Sometimes the conversion values are unstable depending on the voltage state of the external 24Vdc power supply If the conversion result is not stable make the external power supply for analog use a dedicated power supply Use of the 24Vdc external supply power source of the T2E power supply module is recommended All intrinsically shielded cables are occasionally fitted with ferrite choke adjacent to analog inputs outputs must have ground connections to grounded metalwork within 5cm for applying to the EMC directive 58 PROSEC T2E 4 Installation and Wiring 4 1 Operating Enviroment When installing the T2E avoid the following locations 1 Where the ambient temperature exceeds the 0 55 C range 2 Where the relative humidity exceeds the 20 90 range 3 Where there is condensation due to sharp temperature variations 4 Locations subject to vibration in excess of the permissible value 5 Locations subject to shock in excess of the permissible value 6 Where there are corrosive gases or flammable gases 7 Where there is dust salinity or iron particles 8 Locations exposed to direct sunlight When installing the panel which houses the T2E take note of following it
91. ata transfer instruction Transfer content of RW100 to D3500 Example 2 J RW100 MVO D3500 Data transfer instruction index modification attached Transfer content of RW 100 1 to D 3500 J If 3 and J 200 the content of RW103 is transferred to D3700 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 normal transfer instructions or as destination for operation instructions Example 1 Substituting a constant in an index register 64 MOV Substitute 64 in index register 2 MOV J Substitute 2 in index register J Example 2 Substituting register data in an index register D0035 MOV K Substitute the value of D0035 in index register K RW078 MOV Substitute the value of RW078 in index register 184 PROSEC T2E 3 User Data Example 3 Substituting the result of an operation in an index register Rw200 30 gt I Substitute the result of subtracting 30 from RW200 in xwo04 ENC 4 J Substitute the uppermost ON bit position of XW004 in J encode NOTE WAV becomes lower Example D1357 10 gt J 1 Although basically index registers are processed as single length 16 bits when for instance us
92. ation command or by setting and registering an I O module type for each slot manual I O allocation on the I O allocation information screen of the programmer 16 Network Assignment Information Information on the link register areas allocated to data systems TOSLINE S20 TOSLINE F10 and information on the data input output methods are stored here The network assignment information can be registered monitored on the transfer input output allocation information screen of the programmer User s manual 141 2 User Program Configuration 2 3 User Program The user program is composed of each of the program types of main program sub program 1 interrupt program Timer and sub routines Of these program types a main program must always be present However the other program types may not be present at all if they are not used Therefore needless to say a user program can be configured with a main program only Also among the program types the programs can be divided into units called blocks block division is not necessary unless required Block division is required in the following cases When using languages other than ladder diagrams 1 language block When creating multiple SFC programs 1 SFC block see Section 5 3 When block division by control function units makes the program easier to see There are no restrictions on program capacities numbers of steps by program types and blocks Except in the case o
93. ation of a surge absorption element for the induced load as described in the paragraphs on the transistor output module and the triac output module is recommended 56 PROSEC T2E 3 Application Precautions for I O Modules 3 5 Analog Input Module 1 Use a shielded twisted pair cable for the analog input signal line and wire over the minimum distance Carry out the grounding of the cable shield on the analog input side the T2E side 1 in the dwawing below is the basic Sometimes operation is more stable if the wiring is as in 2 or 3 Application Precautions Analog Pe input 1 module Analog A A t 2 module Analog input 3 module Uk 2 Sometimes the conversion values are unstable depending on the voltage state of the external 24Vdc power supply If the conversion result is not stable make the external power supply for analog use a dedicated power supply Use of the 24Vdc external supply power source of the T2E power supply module is recommended 3 All intrinsically shielded cables are fitted with ferrite choke adjacent to analog inputs outputs and must have ground connections to grounded metalwork within 5cm for applying to the EMC Directive User s manual 57 3 Application Precautions for I O Modules Analog Output Module 3 6 Application Precaution 2 3 1 Use a shielded twisted pair cable for the analog output signal line and wire over the minimum distance C
94. bration proofing rubber 4 When similar problems re occur even after replacing faulty modules thoroughly check that there is no risk of entry of metal particles or drops of water Apart from the above causes if for instance the ambient temperature exceeds the specified range stable operation of the system cannot be guaranteed Take thorough precautions over the environmental conditions 82 PROSEC T2E 6 Troubleshooting 6 8 List of Items for Self When the T2E CPU has detected a problem through self diagnosis it registers in Diagnostic Check the Event History Table one of the error messages and associated information shown in the Table on the following pages When the details of the problem are such that it is not possible to continue operation the CPU switches all the outputs to OFF and stops the operation Error Down The latest 30 error messages and the times of their occurrence are stored in the Event History Table and these can be displayed on the programmer The times when any error were occured can be recorded while the RAM and calendar are maintained by a capacitor or battery in the T2E Power supply ON OFF can also be registered When the T2E system has been stopped by Error Down first connect the programmer and make it display the Event History Table then check the details of the error The following is the procedure for making the programmer display the Event History 1 Connect the T2E CPU mod
95. can control begins In scan control mode control batch I O processing timer update and user program executions are repeated The following diagram shows the scan control flow chart r RUN mode transition conditions set up in mode control initial load when necessary user data initialization I O mounting check RUN mode transition user program check scan mode set up batch I O processing timer update first scan running user program mode control batch I O processing second scan and thereafter timer update repeated running user program 104 PROSEC T2E 2 Operations Initial load When RUN start up is taking place with the protect RUN switch Dip SW 1 and the ROM RAM switch Dip SW 2 on the front of the CPU module switched to OFF the T2E will transfer the contents of the user program and the first 2K words of the data register D0000 to D2047 from peripheral memory EEPROM to the main memory RAM e The initial load is not performed if the user program is written in the EEPROM but the contents thereof are destroyed BCC error detection The T2E goes to ERROR mode User data initialization User data initialization takes place after transfer from HALT mode to RUN mode Refer to 2 2 System initialization for details of initialization 1 0 mounting check The I O module mounting is checked basing on the I O allocation information Refer to 5 RAS functions for details User program check A BCC check is
96. carry flag Used by instructions with carry S0050 ERF Error flag pal a e when executing instructions linked with each 0052 0053 0054 0055 S0056 S0057 sue Reserved for future use S0059 S005A S005B S005C S005D S005E S005F This area except for S0050 S0051 is for reference only writing is ineffective 160 PROSEC T2E 3 User Data S0064 Boundary error Warning pe a ates range exceeded by indirect address designation operation 0065 Address boundary error Warning ON when destination indirect error by CALL instruction or JUMP instruction operation continues S0066 Reserved for future use S0067 S0068 Division error Warning ON when error occurs by division instruction operation continues S0069 BCD data error Warning ON when fault data detected by BCD instruction operation continues S006A Table operation error Warning ON when table limits exceeded by table operation instruction operation continues S006B Encode error Warning ON when error occurs by encode instruction operation continues S006C Address registration error ON when destination by CALL instruction or JUMP instruction unregistered Warning operation continues 3 A ON when nesting exceeded by CALL instruction FOR instruction or MCSn S006D Nesting error Warning instruction operation continues SO06E Reserved for future use S006F 1 Becomes ON and is so maintained through the occurrence of a cause it is re set
97. cated immediately after transitions TT Ill Label number 0 1023 multiple locations an error will occur when RUN starts up 16 17 Wait Step This is a step which measures the time after becoming active and does not execute transition even if the following transition condition is satisfied until a set time has elapsed It has an action program corresponding 1 to 1 Gss Step number 0 2047 D T Timer register T000 T255 KXXX xxxxx Set time 0 65535 Note T000 T063 are 0 01 second timers T064 T255 are 0 1 second timers Alarm Step This is a step which measures the time after becoming active and when the transition condition is not satisfied within a set time switches ON a designated alarm device It has an action program corresponding 1 to 1 Also when the transition condition is satisfied and the alarm step becomes inactive the alarm device also becomes OFF Ggs Step number 0 2047 T Timer register T000 T255 O ox Set time 0 65535 i A Alarm device other than X T C SSS Note T000 T063 are 0 01 second timers T064 T255 are 0 1 second timers 218 PROSEC T2E 5 Programming Language Action Program and Transition Condition The action program corresponds to 1 step and the transition condition corresponds to 1 transition These are programmed by ladder diagram 1 Action Program The size of 1 action program is 11 lines x 11 columns as shown below and the
98. change SW 1 quickly when the operation mode switch is changed from HALT to RUN or after power up Turn to P RUN after the RUN LED is lit 7 The RAM is back up by internal capacitor of the T2E When the capacity goes down and the T2E can t keep retentive area in the RAM CPU clears all data Then CPU checks user program BCC If error is occurred CPU registered error A User s Manual 11 1 System Configuration O Programmer Port The programmer T PDS or HP911 is connected to this programmer port Connector type of CPU side is female 9 pin D SUB connector The T2E s RS232C 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 directly General specifications and the connector pin assignment of programmer port are shown below For details of T series computer link protocol see T series User s manual Computer Link UM TS03 E008 General specifications Item Specifications Conforms to RS232C Configuration One to One Transmission distance 15m max Transmission speed 9600bps fixed Frame format Start bit 1bit Data 8bit Parity odd none selected by SW 6 stop bit 1bit Supported command DR Data Read DW Data Write ST Status read Pin assignment of programmer port Symbols Direction Transmission data TXD T2E gt Host Receive data RXD T2E lt Host Signal gr
99. ction Coordination One 2A fuse per 4 output points is mounted in the triac output module Although taking account of protecting elements by the fuse blowing even in load short circuits when the fuse blows the semiconductors are subjected to considerable damage Therefore take care in handling and wiring so that short circuits will not occur Application Precautions 2 Output Surge Protection Triac output module J E Surge absorption element A suitable surge absorption element should be selected according to the application 1 Varistor for voltage Rated voltage about 1 2 times clamping the maximum power supply peak voltage 2 Snubber CR circuit o HMW R 0 5 1Q per 1V coil voltage for high frequency C 0 5 1uF per 1A coil attenuation current Non polar capacitor 3 4 Relay Output Module 1 It is necessary to supply a 24V power supply to the internal control circuit of the relay output module Therefore connect a 24Vdc 10 power Application Precautions supply between the and terminals 2 No overload protection fuse is built into the relay output module Therefore always install a fuse suited to the current capacity 12 point relay output module NOTE ET VAV cL Please note that if itis not protected with a fuse the nodule A A pattern will burn out when there is a load short circuit 3 Output Surge Protection The install
100. ctions Number of cara Representation Summary steps A i d Remarks required o B Turns output ON when set period Ta by A ON delay timer L A B has elapsed since input came ON B is timer register Turns output OFF when set period specified by A OFF delay timer A B has elapsed since input went OFF B is timer register Turns output ON only for the set period specified by Single shot timer af A starting when input comes ON B is timer a register When enable input E is ON counts the number of Counter m 7 times the count input C has come ON When count Suns value becomes equal to set value specifiedby A T T turns output Q ON B is counter register Master control set E Turns ON power rail between MCS and MCR when MCS input is ON Master control reset H MCR Master control set with nesting number L MCS nH Turns on power rail to corresponding MCR when MCS input is ON nis a nesting number 1 7 Master control reset MCR n 1 7 with nesting number When input is changed from OFF to ON clears timer 14 Ti ra P 1 TRG A register specified by A and activates timer Sequence instructions obenbue7 Puiwweiboild S DES del 9ISOYd Ladder Diagram Instructions Function Instructions Execution Number of time Name Representation Summary steps required Remarks required Double length data transfer invert and transfer Transfers the bit revers
101. d by a BCC check of the user program memory RAM After executing Memory Clear re load the program A voltage drop has been found in the RAM memory back up battery when the power supply is ON BATT LED out No Error Down Replace the battery A BCC fault has been detected in the user program in the EEPROM when transferring from EEPROM to RAM when carrying out Inital Load etc Transfer not executed After checking the program rewrite to EEPROM Writing to the EEPROM has exceeded life 100 000 times No Error Down Hereafter the possibility of an EEPROM write fault occurring is high Therefore replace CPU module Any error has been occured during writing data to an EEPROM Included with operation of XFER instruction Carry out EEPROM write command by the programmer again Bunooysajgno 9 del 9ISOYA 98 Error Message and Associated Information CPU LED Display PARA Related Special Classification Relays Meaning of Error and Countermeasures Information 1 Information 2 Information 3 Sys RAM check err Generated Error data Test data A fault has been detected by a read write address check of the system memory RAM When Bunooysajgno 9 the state is not changed even by switching on the power supply again replace the CPU module Sys ROM BCC error BCC error data A fault has been detected by a BCC check of the system ROM When the state is not changed even by switching on the power supply again rep
102. d time increment system when the timer is operating Also the timer Functions devices are linked to the operation of the timer registers with the same address and store the output results of timer instructions T000 to T063 works as 0 01 sec timers Codes and T064 to T255 works as 0 1 sec timers The timer registers can be designated as retentive memory areas Counter Registers Codes Counter registers C and Counter Devices Counter devices C Counter registers 000 255 256 words Counter devices 000 255 256 points The counter registers are used together with counter instructions CNT U D and store the count current value when the counter is operating Also the counter devices Functions are linked to the operation of the counter registers with the same address and store the output results of counter instructions The counter registers can be designated as power cut retention areas 154 PROSEC T2E 3 User Data Data Registers Link Registers and Link Device TOSLINE S20 30 Link Registers and Link Relays TOSLINE F10 File Registers Index Registers Code Addresses 0000 4095 4096 words Functions General purpose registers which can be used for such purposes as a temporary memory for arithmetic results and the storage of control parameters Apart from the fact that bit designation is not possible they can be used in the same way as auxiliary registers Data registers can be designated as
103. ding step is changed to inactive and the next step becomes active User s manual 201 5 Programming Language The following Table shows the programming languages which are usable for each program type part Program Type Block Ladder Diagrams SFC Main program O O Sub program O O Interrupt program O X Sub routine O x SFC active program part O x SFC transition condition part O X O Usable X Not usable SFC can be made an hierarchical structure other SFC can be made to correspond to 1 step of SFC In this case a macro step equivalent to an SFC sub routine is used 202 PROSEC T2E 5 Programming Language 5 2 Ladder Diagram Mixed use can be made of the two types of programming language ladder diagram and SFC in the T2E However of these ladder diagram is the basic language which must be present in the user program Here the structure execution sequence and general items of ladder diagram instructions are explained for ladder diagram programs As explained before a user program is registered by every functional type which is called a program type Furthermore in each program type the user program is registered by one or a multiple of units called blocks Main program sub program 1 timer Program Types 4 interrupt program sub routine Blocks Blocks 1 256 1 language 1 block When commencing programming in a block to be newly registered t
104. e 10000 J NO contact instruction of 10000 Functions When executing the instruction the bit data corresponding to X0000 is read from the input module corresponding to XW000 and the instruction is executed by this data The X0000 data is not affected IW005 MOV RW100 Transfer instruction from IW005 to RW100 When executing the instruction the word data corresponding to XW005 is read from the input module corresponding to XW005 and is transferred to RW100 The XW005 data is not affected Direct Output Registers mm Direct output registers OW and Direct Output Devices ones Direct output devices O Direct input registers 000 063 correspond to input registers YW Addresses Direct input devices 0000 063F correspond to input devices Y When instructions are executed using direct output registers direct output devices data is stored in the corresponding output registers output devices YW Y Then this output register YW data is written directly to the corresponding output module These registers devices are used when using the T2E by the direct input output system direct system and not the batch intput output system refresh system Example Functions Coil 00020 When the instruction is executed the data ON OFF data corresponding to the left link state is stored in YO020 Then the 16 bit data of YW002 is written to the corresponding output module User s manual 153 3 User Data Auxiliary R
105. e 64 point 5 24VDC 100mA point DO235 TDO235 S 16 point 12 24VDC 1A point MAX Source type DO233P TDO233P S 12 point 100 240VAC 0 5A point MAX AC61 EX10 MAC61 4ch 4 20mA 1 5V 8bits resolution Al21 EX10 MAI21 f 4ch 4 20mA 1 5V 12bits resolution Al22 EX10 MAI22 Analogue input 7 7 4ch 0 10V 8bits resolution Al31 EX10 MAI31 4ch 10 10V 12bits resolution Al32 EX10 MAI32 2ch 4 20mA 0 5V 1 5V 0 10V 8bits resolution AO31 EX10 MAO31 Analogue output 2ch 4 20mA 1 5V 12bits resolution AQ22 EX10 MAO22 2ch 10 10V 12bits resolution AO32 EX10 MAO32 1ch 5 12V 100kpps MAX 24bit counter Pl21 EX10 MPI21 Position control A pulse output type MAX 200kpps MC11 EX10 MMC11 Serial interface RS232C 1ch 160wards 2 CF211 TCF211 S User s manual 255 Ordering Information O Data transmission module Coaxial cable SN221 SSN221 MS Optical fiber SN222A SSN222AMS Twisted pair Master station MS221 FMS221AM Twisted pair Slave station FRS211AM Twisted pai LK11 EX10 MLK11 Optical fiber EX10 MLK12 DeviceNet DeviceNet Scanner module DN211 TDN211 S O Cables and others 0 3m CAR3 EX10 CAR3 0 5m CAR5 EX10 CAR5 Expansion 0 7m CAR7 EX10 CAR7 1 5m CS2RF TCS2RF CS Slot cover Cover for empty slot one slot length EX10 ABP1 O peripherals Programming MS DOS vorsion English MM3311 TMM3311SS software T PDS Windows version English M
106. e Typene a e a E e a irc iocio des 194 258 PROSEC T2E N Network Assignment A 141 0 Online Program Changes es 113 126 On line Trace FUNCTION oooonocconicconocannconnnrncnornncn nn RRE 124 Operation HOW ii a laa 98 Operation MOda iainih iin ia aa i aa iaai a oia iiia eiiiai ia a aa pias 101 Operation Mode Switch eee eee eeeeeeeneeeeeeeeeaeeceaeeeeaeeeeeaeessaeessaeeesaaesesaeeseaeessaeeseaeesseeeeseaeeseaeeseeeseeeeeneaeeeaes 8 Output DEVICE A A sanded E R EAEE GEO a pa a 152 Output Register CY W musa co cinccosicinnaio cra saaci ra nensmeeaessctebauscpsebeunaedeiawncssraquatedebsuacgenbsasnedeheardndakeasdemeboneanediuanaly 152 P Peripheral Support id diga 111 A 139 Progra Typeset a A Add a Ad hen 115 137 Programming Language iisisti ii iuteceesdens lukettuedicns 200 Programming Procedure essccesecessscecssrecesneseseeeesaeecsanecsneeeseeeesanecsanecsaneseseeeesaeeesanessaneseseeeesenessanersanerses 206 Program Memory Gapacity iii a 139 R ROM RAM IS WICH a 9 RAS UOC A edo 118 ROISTON aoaaa Ssacgaatencsceessencateace cusctesteneauets EE E E a a 149 Register Data Validity Check Function ceesesesceeeseeesseceseseeceanereeeeeseeessaeecsanessaneseeeeesasessaneseanesennenenees 130 Relay Symbol cocci n dais 200 Retentive Memory Area cccccccccceeeccceeeeeeeeeeeeeeeeeaeeeeeeaeeeeneaaeeeseaeeeeeeaeeeeecaeeeesesaeeeeeenaeeseesneeeesesneeeeeenaees 140 RUN MOE ovina a A A AA Di A A A id ia 101 RU
107. e explosion or fire User s manual 67 4 Installation and Wiring 4 9 Power up down Turn on power or turn off power of the T2E according to the following sequence Sequence that the T2E is used safely and securely Power up sequence 1 Turn on the T2E s power 2 Turn on the power for I O modules and loads 1 Turn on power of the T2E at first When using expansion units arrange for power to be supplied simultaneously to the basic unit and the expansion units Use the same power lines for them If it is difficult turn on power of the expansion units before turing on that of the basic unit 2 Turn on power for I O modules and loads simultaneously Use the same power lines for them If it is difficult turn on the external power for I O modules before turing on the power for the loads Power down sequence Turn off the external power for I O modules 2 Turn off power to and loads the T2E Turn off the external power for I O modules and loads simultaneously Or turn off power for loads and turn off power for I O modules in turn 2 Turn off power of the T2E When using expansion units turn off power of the basic unit and the expansion units simulataneously Or turn off power of the expansion units after turning off power of the basic unit 1 Configure the external circuit so that the external power required for output modules and power to the loads are switched off simultaneously Also tu
108. e interrupt program which affects the operation of the main program 5 Is any EEPROM error occured S0039 S0051 is 1 In this case carry out EEPROM write command by the programmer eee a User s manual 79 6 Troubleshooting 6 5 Input Check When unable to read the input signal correctly although the program is being executed check the following items Does the LED on the input module go ON OFF when external equipment is switched ON OFF Does the actual I O module mounting state agree with the input output allocation information monitored by the programmer YES Try executing Automatic I O allocation Was the allocation normal YES Is the problem only the allocation of a certain input module Is there an allocation problem with all the I O on the expansion units Is there an allocation problem with all the I O on the basic unit When there is a problem with the state of the LED check the input voltage when ON OFF and check the terminal block for slack When it agrees it is functionally normal Error input due to noise is suspected Normal Check the installation of input modules A problem with input module can also be suspected Check the connections of the expansion cables and unit number settings A problem with the expansion cables or the expansion units can be suspected or the rack e problem lies in the CPU module 80 PROSEC T2E 6 Troubleshooting 6 6 Outp
109. e n bits shift right m bit file n bits shift left Shift register Bidirectional shift register Device shift Representation Number of Summary steps required When B is a register Takes the m word table headed by B and shifts it to the right low address direction by the number of words indicated by A Takes oe m bit file headed by B and shifts it to the right LSB direction by the number of bits indicated by A The carry flag changes according to the result When B is a register Takes the m word table headed by B and shifts it to the left high address direction by the number of words indicated by A Takes the m bit file headed by B and shifts it to the left MSB direction by the number of bits indicated by A The carry flag changes according to the p input S comes ON the instruction takes the contents of the n devices headed by the device A and shifts them 1 bit to the left The carry flag changes according to the result If the enable input E is ON then when the shift input S comes ON the instruction takes the contents of the n devices headed by the device A and shifts them 1 bit to the left or to the right the shift direction depends on the state of the direction input L The carry flag changes according to the result Takes the contents of the device A 1 which immediatety precedes the device A stores them in A and sets A 1 to 0 Ex
110. e problem by considering the system as a whole When the problem is considered to be in the T2E itself or in the input output of the T2E first check the following items refer to 6 2 Power Supply Check Is the power supply module POWER LED When the POWER LED is out lit Is the CPU module OUT When the RUN LED is out RUN LED lit 2 777 refer to 6 3 CPU Check Does the problem appear When the problem appears to be in operation of user to be in the operation of user program program refer to 6 4 Program Check to be in the input module o be in the input module Does the problem appear When the problem appears t refer to 6 5 Input Check Does the problem appear When the problem appears to be in the output to be in the output module module refer to 6 6 Output Check When the problem is temporary and when the problem occurs with the synchronisation of system mechanical operations the influence of the external environment such as noise and power fluctuations may be considered to be the cause Since the items to check in this case are collated in paragraph 6 7 carry out a check referring to that paragraph NOTE VAV When the cause cannot be determined by the above checks consult Toshiba User s manual 77 6 Troubleshooting 6 2 Power Supply Check The following is a flow chart of checks for use when the POWER LED does not light even when
111. e specification other is read and sent to the peripherals 6 Writing system information The system information user set up items received from the peripherals is stored in the system information 7 Reading the program In response to a request from peripherals a specified range of instructions is read from the user program memory and sent to the peripherals 8 Writing the program A specified range of instructions is received from peripherals and written onto the user program memory After writing a BCC check code correction is carried out immediately 112 PROSEC T2E 2 Operations 9 On line program change A BCC check code correction is carried out immediately after rewriting the content of the user program memory adding changing inserting deleting in RUN mode This action is performed after completion of one scan so the scan cycle is extended while this is processed Changing the program on line is subject to the following restrictions e You can not change the number or running order of instructions which are related to the program execution see below END MCS MCR JCS JCR JUMP LBL FOR NEXT CALL SUBR RET IRET e You can not change SFC structure in the SFC program section but you can change the action part corresponding to a step and a transitional condition Ladder diagram part 10 Batch reading of program The content of the user program memory including the system in
112. e user program identification A setting of up to 10 alphanumeric characters can be set The program ID can be registered monitored on the system information screen of the programmer 2 System Comments These are comments attached to the user program A setting of up to 30 alphanumeric characters can be set The system comments can be registered monitored on the system information screen of the programmer 3 Memory Capacity This stores the memory type user program capacity data register capacity Since the system side will be automatically registered registration by the user is not required The memory capacity can be monitored on the system information screen of the programmer 4 Steps Used This stores the number of steps used in the user program Since the system side performs automatic up dating every time a user program is written registration by the user is not required The number of steps used can be monitored on the system information screen of the programmer 5 PLC Type This stores the model type Since the system side performs automatic registration registration by the user is not required The PLC type can be monitored on the system information screen of the programmer 6 Program Size Setting The T2E is fixed at 10K steps The program capacity can be registered monitored on the system information screen of the programmer no need to set for T2E 7 Sampling Buffer Setting This performs the setting and regi
113. eater at high temperatures E _ _ _ _ gt A _uu gt AAAAAAAAA _ E tl User s manual 73 5 Maintenance and Checks 5 4 Battery Replacement when using the CM231E the CM232E or the BT231E Normally the program and 2kw data register are kept in the built in EEPROM of the T2E On the other hand other retentive registers value and real time clock s value can be kept in the RAM at least for 3 days at 25 C Therefore the battery less operation is available in the T2E However use a battery of the optional card in order to maintain the RAM memory when the contents of retentive registers or others should be kept more than 3 days A lithium battery is used which has little self discharge and can be used over a wide temperature range Therefore during its period of use and in paticular when the non conducting time is long it can be used with assurance The date of istallation of the battery is recorded on the optional card s panel Under normal use it is recommended that the battery should be replaced every 2 years Check the date of installation and replace using the following procedure There is an LED BAT which indicates normal battery voltage on the front of the CPU module This is lit when normal When this LED flashes or is out the battery comes into life Therefore replace the battery within 14days It is recommended that the power supply should not be switched OFF until actual replacement in order to protec
114. ection jumper plug setting N Standard DC AC common use set at the factory H High speed DC input only User s manual 23 2 Specification 32 point DC input ieii D132 EX10 MD132 Input Voltage Range 24Vdc 10 15 Minimum ON Voltage 18 0V 01234567 00000000 Maximum OFF Voltage 6 0V 89ABCDEF 01234867 Input Current Approx 5mA at 24Vdc 00000000 F 90000000 Number of Input point 32points CN2 N Mode 10msec or less ON Delay H Mode 1 5msec or less N Mode 10msec or less OFF Delay H Mode 1 5msec or less External Connections 2 x 24pin connectors Number of commons 4 Common Number of Input points y 8 points Configuration per Common Common Polarity No Polarity eN Withstand voltage 1500Vac 1 minute Current Consumption 80mA 5Vdc or less Weight Appro x 200 g SE display Selection of the filter constant can be set in 16 point units CN1 CN2 by DIP switch setting set on N mode at the factory Internal circuit Terminal Connections NOTE VAV Connectors on the Module FCN 365P024 AU made by Fujitsu Cable side connectors Soldering type standard attached Connector FCN 361J024 AU made by Fujitsu Connector cover FCN 360C024 E made by Fujitsu 24 PROSEC T2E 2 Specification 64 point DC input Item DI235 Input Voltage Range 24Vde 12 Input Current Apporx 4mA at 24Vdc Input Impedance
115. ecution time required obenbue7 Bunuule1IDolg SG enueu sasn GEC Ladder Diagram Instructions Function Instructions S gt Rotat Rotates the data in A 1 bit to the right LSB olar 78 1 bit rotate right Y RTR1 A direction The carry flag changes according to the a result Rotates the data in A 1 bit to the left MSB 79 1 bit rotate left T RTL1 A F direction The carry flag changes according to the L result Rotates the data in A n bits to the right LSB n bits rotate right A RTRn gt B ae ag The carry flag changes according to the result Rotates the data in A n bits to the left MSB 81 n bits rotate left T A RTLn gt B direction The carry flag changes according to the gt z result When B is a register Takes the table of m words headed by B and rotates it to the right low address direction by the number of words specified by A m it file n bits rotate right When B is a device Takes the bit file of m bits headed by B and rotates it to the right LSB direction by the number of bits specified by A The carry flag changes according to the result When B is a register Takes the table of m words headed by B and rotates it to the left high address direction by the number of words specified by A m bit file n bits rotate left B is a device Takes the bit file of m bits headed by B and rotates it to the left MSB direction
116. ed data comprising the contents of A to B Double length invert and A DNOT B Transfers the bit reversed data comprising the transfer L contents of A 1 and A to B 1 and B Exchanges the contents of A with the contents of Data exchange A B B 9 A Double length data 7 Exchanges the contents of A A 1 with the 3 168 alin ae aid S Table initialization A TINZ n erro table of size n headed Transfers the contents of the table of size n headed by A to the table headed by B Transfers the bit reversed data comprising the Table invert and transfer contents of the table of size n headed by A to the table headed by B Additi Adds the contents of B to the contents of A and ti n stores the result in C Subtracti Subtracts the contents of B from the contents of A uba clon and stores the result in C Multiplies the contents of A by the contents of B Multipli A Divides the contents of A by the contents of B Division stores the quotient in C and the remainder in C 1 Adds the contents of B 1 B to the contents of A 1 and A and stores the result in C 1 C Subtracts the contents of B 1 and B from the 32 Double length subtraction JT A 1 A D B 1 b gt C 1 C E content of A 1 A and stores the result in C 1 4 8 B B 0 Transfer instructions o A DMOV B Transfers contents of A 1 and obenbue7 Bunuule1IDolg SG
117. egisters and Codes Auxiliary registers RW Auxiliary Devices Auxiliary devices R Addresses OutPut registers 000 127 128 words Output devices 0000 127F corresponding to one bit in a register 2048 points These are general purpose registers general purpose devices which can be used for temporary storage of execution results during a program An auxiliary register is used Functions i ae pi ae a for storing 16 bit data An auxiliary relay indicates 1 bit in an auxiliary register Auxiliary registers relays can be designated as retentive memory areas Special Registers and Special Devices Special registers SW Special devices S Addresses Special registers 000 255 256 words Special devices 0000 255F corresponding to one bit in a register 4096 points These are registers devices which have special functions such as fault flags Error down Warning which are set when the CPU detects a malfunction timing relays and Functions clock calendar data year month day hour minute second day of week which are updated by the CPU flags data which the user sets for executing operational control Codes of the sub programs For details see the Table Timer Registers and Timer Devices Timer registers T Timer devices T Timer registers 000 255 256 words Timer devices 000 255 256 points The timer registers are used together with timer instructions TON TOF SS TRG and store elapse
118. elay Takes the devices registers max 32 previously set by the programmer and stores them in the latch area Cancels the state of the status latch Takes the 6 words of data headed by the register A and sets them in the calendar LSI date and time setting Subtracts the 6 words of date and time data headed by A from the current date and time and stores the result in the 6 words starting with B Compares the count value B with the count value setting table A 2n onwards then decides the step number and stores it in B 1 Using the data output pattern table A the instruction looks up the output pattern corresponding to this step number and outputs it to the bit table C Compares the register B with the activation and deactivation setting value for table A and carries out ON OFF control on the corresponding devices Number of steps required Execution time required obenbue7 bulwwwesbold S vye del 93ISOYd Ladder Diagram Instructions Function Instructions El FUN o 161 162 3 a Zz o Lap eet eet ee 16 164 165 166 167 168 Representation Moving average Digital Filter A DFL B m Maximum value Minimum value Average value Function generator Square root A 1 A RT B Integral Ramp function HEN RAMP B gt Execution time required us Applies a lower limit to the contents of A 88 value of B and store
119. ems 1 Install as far away as possible from high voltage panels and power panels 200mm or more 2 When there are high frequency machines or equipment securely ground the housing panel 3 When using the same channel base as other panels ensure there are no leakage current from the other panels and equipment E nn 1111 User s manual 59 4 Installation and Wiring 4 2 Power line Installation dimensions Installing the Rack HA IPR A 200mm or more S Basic unit ME 248 BU266 314 BU268 UBA2 UBB2 380 BU218 215 UBA1 UBB1 70mm or more LAA Installation Precautions 1 Since the T2E is not of dust proof construction install it in a dust proof control panel 2 Avoid installing the units directly above equipment which generates large amounts of heat such as heaters transformers and large capacity resistors 3 Taking account of safety in maintenance and operation either isolate at least 200mm from high voltage equipment and power equipment or separate by shielding such as steel plate 4 Separate at least 200mm from high voltage lines and high power lines 5 For ventilation leave an air space of at least 70mm around the units 6 In paticular in the vicinity of high voltage and power equipment it is necessary to give consideration to grounding See 4 5 Grounding 7 In the units the power supply modules are always positioned on the left hand side Install
120. en it is said that the content of XW005 is 100 since the decimal number 100 is expressed as 1100100 in binary notation this indicates that each of the bits of XW005 will be as follows MSB LSB FEDCBA9QM8 765 43 21 0 Bit position xwo05 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 L x0056 is ON 1 At this time the data of device X0056 corresponding to bit position 6 of XW005 is 1 that is to say X0056 is ON The correspondence of registers and devices is shown by function types Input device X corresponds to 1 bit of input register XW Output device Y corresponds to 1 bit of output register YW Auxiliary device R corresponas to 1 bit of auxiliary register RW Special device S corresponds to 1 bit of special register SW Link device Z corresponds to 1 bit of link register W but only in the leading 512 words Link relay L corresponds to 1 bit of link register LW The treatment of the other devices O T and C is slightly different It is described in detail in Section 3 2 150 PROSEC T2E 3 User Data The following Table shows the types of registers and devices and their address ranges Their functions and methods of use are described in Section 3 2 falas ae Example Function Type Type Code Input register XW001 YW034 000 063 Total 64 words IW001 OW034 X001A Output register Direct input register Y034
121. ep address obenbue7 Gulwwesbold S osz del 9ISOYd SFC Instructions Execution time required FUN Number of us Group N Name Representation Summary steps O required A Inactive Active Transition ndicates the condition for transition between steps 1 Transition Contains transition condition which correspond on a excluding one to one basis condition 0 3 Indicates end of SFC program Jumps to the label 2 SFC End indicated by IIll when the transition condition holds ludi 0 5 n true Contains transition condition which correspond a Ing al on a one to one basis condition 1 1 0 5 Label 55 4 obenbue7 Bunuule1Dolg S DN Indicates jump to desired step Jumps to the step 5 SFC J indicated by Hl when the condition holds true ludi pa ell 1 Contains jump condition details which correspond on en 2 120 a one to one basis ee 43 SFC Label Indicates the return destination from the SFC end or 2 ae the jump destination from the SFC jump Indicates start of macro program Indicates the end of the macro program Contains 2 Macro end transition condition which correspond on a one to excluding one basis condition enueu sasn LSZ SFC Instructions selection Simultaneous sequence Sequence selection Divergence I Sequence selection Divergence 11 Sequence selection Divergence 111 Sequence selection Convergence Simultaneous sequence Divergence l Simultaneous sequence Diver
122. ers which are expressed using 2 consecutive registers Negative numbers are expressed by 2 s complement See 2 Integers The registers are designated in the form A 1 AA becomes the lower and A 1 becomes the upper MSB LSB FE 0 Foo 0 4 Bitpositions t Register A Lower 16 bits 0 E bits of register A 1 Upper 15 bits F bit of register O 1 Sign bit positive O negative 1 The numerical value is expressed by the 31 bits from bit O of register to bit E of register 1 The sign is expressed by bit F of register A 1 0 when positive 1 when negative Example When a double length integer is processed by registers D1002 D1001 D1001 becomes A and D1002 becomes A 1 and D1001 is the lower and D1002 is the upper Also the sign is expressed by the bit F of D1002 In programming when D1001 is entered in the position which designates the instruction word double length operand D1002 D1001 is automatically displayed The numerical value range in which double length integers can be processed is shown in the Table on the following page 182 PROSEC T2E 3 User Data Hexadecimal Expression Numerical Value Register A 1 Register A 2147483647 7FFF FFFF J f J 65536 0001 0000 65535 0000 FFFF J J J 0 0000 0000 1 FFFF FFFF J J J 65536 FFFF 0000 65537 FFFE FFFF J J J 2147483648 8000 0000
123. f SFC As block numbers 1 to 256 are available However the block numbers need not be consecutive When executing the program the program is executed in sequence from the block with the lowest number In programming the program type and block number is designated by the program read function of the programmer and the specified portion is displayed on the screen Then the required program editing can be performed NOTE VAV Whether it is possible to use ladder diagram and SFC is shown below by program types Program Type Ladder SFC Main program Yes Yes Interrupt program Yes No Sub program Yes No Sub routine Yes No 142 PROSEC T2E 2 User Program Configuration 2 3 1 The main program is the portion which is the core of the user program and Main Program is always executed every scan The limits of what is recognised as the main program are as follows From the leading instruction of the lowest numbered block in the type To the END instruction of the ladder diagram in the type this may be in a different block Although instructions may be present after the END instruction these portions will not be executed However they count in the number of steps used Example of Main Program Configuration Block 1 Ladder diagram block Block 10 SFC block Block 11 SFC block Block 20 Ladder diagram block User s manual 143 2 User Program Configuration
124. f the label from the mount paper and stick it near the power terminals where it can be readily seen __ NOTE VAV This mark is printed in places in this manual which should always be read carefully Read them carefully vii About This Manual About This Manual This manual has been prepared for first time users of Toshiba s Programmable Controller T2E 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 T2E system configuration and explains the specifications installation and wiring for T2E s basic hardware This manual provides the information for designing T2E user program such as T2E internal operation memory configuration I O allocation Information for maintenance and troubleshooting are also provided in this manual The specifications of the enhanced communication function and how to use them are explained in separate manual Read T2E T2N User s Manual Enhanced communication function UM TS02E E003 In addition the T2E s computer link function is also covered by separate manual Read T series Computer Link Operation Manual for details Related Manuals The following related manuals are available for T2E Besides this manual read the following manuals for your better understanding T2E User s Manual Basic Hardware and Function UM TS02E E001 T2E User s Manual E
125. formation is read and sent to the peripherals It is used for the program uploading T2E Programmer gt FD 11 Batch writing the program The user program including the system information is received from the peripherals and stored in the user program memory It is used for the program download FD gt programmer gt T2E 12 Search The instruction operand specified by the peripherals is extracted from the user program memory and sent the address to the peripherals 13 Program check When the program check command is received the user program syntax is checked The results of this check are sent to the peripherals 14 Reading data The specified data is read from the user data memory in response to a request from the peripherals and sent to the peripherals User s manual 113 2 Operations 15 Writing data User data address and data content received from the periphrals is stored in the user data memory 16 Program reading from the EEPROM The checked EEPROM contents are transferred to the user program memory and user data memory RW T C D of the main memory RAM 17 Program writing to the EEPROM The content of the user program memory and user data memory RW T C D of the main memory RAM are transferred to the EEPROM The execution conditions for these functions are shown below Function Execution conditions Possible always in any mode information except in the case of communica
126. g installation and wiring 5 Turn off power immediately if the T2E or related equipment is emitting smoke or odor Operation under such situation can cause fire or electrical shock Also unauthorized repairing will cause fire or serious accidents Do not attempt to repair Contact Toshiba for repairing 6 The T2E must be installed in an enclosure The user should consider to prevent contact with careless touch to the live parts of this product in during operation or maintenance 7 The Protective ground terminal of the T2E must be connected to an external protective earth 8 The computer which is connected to the T2E must be connected to an external protective earth properly 9 The external cables including for data transmission which are prepared by the user are outside of the scope of this document iv Introduction Safety Precautions Wiring 1 2 CAUTION Turn off power before wiring to minimize the risk of electrical shock 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 Operation without grounding may cause electrical shock or malfunction Connect the ground terminal on the T2E to the system ground Applying excess power voltage to the T2E can cause explosion or fire
127. g the battery take care of the following points The voltage is not compatible with manganese dry batteries and alkali batteries Do not use these as substitutes Never let the and of the battery be shorted Never dismantle batteries overheat them or put them into a fire Never try to charge a battery This is not possible 4 Do not use a battery which has been stocked more than 3 years since manufactured date 5 The battery is a dedicated product with lead wires and connectors attached Order it from Toshiba Product Code EX25SER6 5 5 Fuse Replacement The following fuses are used in the T2E modules These fuses are recommended minimum spares and will allow operation to be resumed immediately in the event of any failure Fuse Rating Model Quantity Glass tube 125V 2A normal fusion EX10 SFB20 1 Glass tube 250V 3A normal fusion TFU923 AS 1 Glass tube 250V 5A quick fusion EX10 SFA50 1 Glass tube 250V 2A quick fusion EX10 SFA20 4 Glass tube 250V 2A normal fusion EX10 SFC20 3 76 PROSEC T2E 6 Troubleshooting 6 1 Troubleshooting When a problem occurs in the system having first thoroughly understood the Procedure content of the problem it is important to determine whether the cause lies on the mechanical side or on the control system PLC side Also the cause of one problem frequently gives rise to secondary problems Therefore it is important clearly to determine the cause of th
128. gence Il Simultaneous sequence Divergence 111 Simultaneous sequence Convergence I Simultaneous sequence Convergence Il Representation Summary From among several connected steps activates the step for which the transition conditions hold true left priority Activates all the connected steps Execution time required Number of us steps required f p Inactive Active 2xn 1 n is the branch count Excluding transitions steps and individual details within the branch n 3 0 22 n is the branch count Excluding 0 22 transitions steps and individual details 0 22 within the branch 0 0 0 0 a 11 11 2 2 2 2 56 19 obenbue7 Puiwweibold S 5 Programming Language Supplementary information The instruction execution time in the T2E is subject to increase due to of instructions operand modification condition per one operand execution time Operand condition single length double length Index modification 58 140 Didit designation 54 Direct I O IW OW 94 172 Direct I O with digit designation IW OW 130 Supplementary information Remarks No execution time us FNCOI8 dd is to EOE A O A MOV Constant value to register 59 FNCO27 0 __
129. gth registertable arithmetic calculation single length double length binary BCD Memory User e Program o e logical operation single length double length binary BCD e comparison single length double length sign unsign Instructions O program control jump FOR NEXT subroutine and others e function limit trigonometric integral PID function generator and others conversion ASCII BCD 7 segment HEX ASCII ASCII HEX and others O Other functions Execution 0 33us contact 0 44us coil speed 1 2us transfer 1 6us addition Scanning system Floating scan constant scan interval 10 200ms 10ms units 1 main program 1sub program 1 timer interrupt 5 1000ms 5ms units 1 0 1 024 points 64words X Y XW YW batch I O device register 1 0 IW OW direct I O 9 1 word is 16 bit Auxiliary device register Multitasking 2 048 points 128words R RW Special device register Timer 256 points T T TOOO T063 10ms device register T064 T255 0 1sec Count PETRE 256 points C C device register data Data register 4 096 words D Link 8 192 points 1 024words Z W device register for TOSLINE S20 TOSLINE 30 Link 4 096 points 256words L LW relay register for TOSLINE F10 File register 1 024words F Expansion 24 576words 8 192 words 3banks register can be accessed by using XFER instruction 4 096 points 256words S SW Index register I J K total 3words Retent
130. h instructions described in the manual Failure to do so can cause system accidents Vi Introduction Markings used on the T2E and in this manual Warning Mark on the T2E This is the warning mark for dengerous location It is attached to the equipment in positions where there is a risk of electric shock and in positions where there is a risk damage to the equipment through wrong wiring Take the following precautions where there is this mark 1 Keep hands away from terminals especially the input terminall of power supply while power on to avoid the risk of electrical shock Turn off power before installing or removing modules terminal blocks or wires 8 Applying excess power voltage to the T2E can cause exploasion or fire Apply power of the specified ratings described in this manual Safety Label a K RENENH HF ibi BEST OCMRPEBFI AHoeUET NaL KL RAT SH MERRRABEAML TC RAL RON ERRE ELDER CMIMUT CORAL RMT SMCAMEBOALT CORAL A CAUTION A Es touch terminals The safety label as shown on the left is Wio power on attached to the power terminal of the T2E Hazardous voltage can shock burn or cause death Do not touch terminals while power on Read related manual thoroughly for safety Stick ttis seal on unit or near unit Remove the mount paper before wiring Take off this sheet before wiring Peel of
131. hat program is designated by the language which is used this is called language designation However in the case of ladder diagram the operation of language designation is not required the default is ladder diagram The ladder diagram program in any one block is registered arranged by units called rung A rung is defined as 1 network which is a combination of lines connected to each other as shown below Rung number User s manual 203 5 Programming Language The rung numbers are a series of numbers decimal numbers starting from 1 and rung numbers 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 as shown below 1 2 3 4 5 6 7 8 9 10 11 12 i HHHHHHHHHH H 1 I 1 1 i 1 1 1 1 i 1 1 1 I 1 1 1 1 l i i i l 1 t 1 i l 1 J 2 toro ds is ttl l I l 1 1 t 1 1 1 l 1 i I 1 I 1 1 i 1 1 i 1 1 f 1 i 3 4 tH 4 7 i t 4 r t J4 i 1 t 1 1 I i i i l 1 1 1 f 1 I I 1 1 f f 1 4 a a o ds I t i I i 1 1 1 1 i 1 l 1 1 1 1 1 1 1 I 1 t i 1 i 5 NA 1 1 l 1 f 1 1 1 I 1 I I 1 i 1 I 1 1 l I 1 i l 1 6 O O 1 1 I 1 i 1 i 1 1 I 1 f I 1 j I 1 I i f I 7 A bb 4 a ee pe ee A 7 I i I l I 1 i l 1 I 1 i 1 1 1 1 1 I 1 1 i 1 1 i 8 a ede be ee ee i ee ee ee I i 1 1 i 1 l i 1 f 1 1 i I 1 I I i I 1 i 9 4 b 4 A eb ee ee eee 4 1
132. he event history table besides errors the times power ON OFF are also registered The 30 recentest occurrences of errors are registered in the event history table As new data is registered the data registered previously is shifted down in sequence and the oldest data is deleted Use the event history table for maintenance since with the programmer connected you can display and details as on the following diagram The details on the event history table are stored until executing the event history clear command or the memory clear command from the programmer lt Event History gt Date Time Event Count Info 1 Info 2 Info 3 Mode 1 93 45 88 17 55 19 System power on 1 INIT 2 93 05 08 16 55 29 System power off 1 RUN 3 93 44 01 21 54 22 System power on 1 INIT 4 93 94 81 21 54 11 System power off 1 ERROR 5 93 84 B1 21 53 18 I O no answer 5 4088 93 YR802 RUN MM 6 93 84 81 17 05 46 System power on 1 INIT 7 93 04 01 17 85 69 System power off 1 HALT B 93 04 81 11 14 46 No END IRET error 1 M 4081 BBB2B BALT MM 9 18 11 12 13 14 15 PLE PROG MMEVent Next Ld pe dl Cd Control MENE HETERO FO When the calendar is not set initially or the calendar data is not backed up event history is registered with the date and time displayed as 2 22 22 22 22 The meaning of each item on the screen above is as follows 1 Number 1 30 Indicates order of occurrence Number one is the recentest 2 Date ye
133. he rest to OFF Counts the number of ON bits in the data in A stores the result in B Counts the number of ON bits in the double length data in A 1 A and stores the result in B Number of steps required Execution time required Remarks a i J hl E ld JAEN EE obenbue7 Bunuule1Dolg S enueu sasn lve Ladder Diagram Instructions Function Instructions 7 a processing 124 Data search 149 Up down counter Number of ae Summary steps d Remarks required require us Searches through data table of n words headed by B for data matching the contents of A Stores the number of matches in C and stores the lowest register address of the matching registers in C 1 Pushes the data in A into the table of n words 5 6 147 headed by C and increments the value of B by 1 Takes out the data pushed in last to the table of n words headed by A and stores it in C Also decrements the value of B by 1 Takes out from the table of n words headed by A the data which was pushed in first and stores it in C Also decrements the value of B by 1 When the set inpu is ON the instruction sets the device A to ON when the reset input R is ON it resets the device A to OFF Reset takes priority If the enable input E is ON the instruction counts the number of times the count input C has come ON and stores it in the counter register A The selection of
134. immediately preceding transition condition is satisfied the initial step returns to the active state SSSss ssss Initial step number 0 2047 7 Condition Branch Branch Flow This transfers the active state to 1 step in which the transition condition is satisfied out of multiple connected steps When the transition conditions are satisfied simultaneously the step on the left has priority The number of branches is a maximum of 5 columns 8 Sequence Selection convergence This collects into 1 step the paths diverged by above 7 User s manual 215 5 Programming Language 9 10 11 Simultaneous Sequences divergence After the immediately preceding transition condition is satisfied this makes all the connected steps active The number of branches is a maximum of 5 columns Simultaneous Sequences convergence When all the immediately preceding steps are active and the transition condition is satisfied this shifts the active state to the next step Macro Step A macro step corresponds to one macro program When the immediately preceding transition condition is satisfied this shifts the active state to macro program with the designated macro number When the transition advances through the macro program and reaches the macro end the active state is shifted to the step following the macro step A macro step is accompanied by a dummy transition which has no transition condition always true SSSS ssss
135. in other manual on instruction set ma swore irstenorcode agnosie lay instruet display on programme SLENG ogee diagnostics display instruction run ist erropcode and Swo17 error codes registered to the end corresponding error message swore fsterorcede_ sworo enorcods2 swozo erorcodes kf Eos diagnostics display reset instruction run or reset by programmer 1 SW033 When error codes are registered for example 3 10 29 58 each corresponding annunciator relay S0342 80349 SO35C S0379 comes ON Annunciator relay FEDCBA9Qd8 765 4 3 2 swose Je pol eTe swoas aoe faa sw 7 7 js sw of e leefs 128 PROSEC T2E 5 RAS Functions 2 Bit pattern check function This function checks that the device ON OFF status for a number of devices are in the normal combinations pattern For example checks that not more than 2 from device 1 2 and 3 are ON simultaneously When a maximum of 8 devices are registered up to a maximum of 16 patterns are possible The check is carried out immediately before starting a scan the results are reflected in the special relay S0142 device registered bit pattern register present device maximum 8 maximum 16 patterns status gt X000 O EN O X003 0 O Bees O 0 X015 x X co e tft 0 i i i i comparison i YO8A O OK aaea O O result agrees with the register pattern 0142 0 does not agree with the register pattern S0142 1 Al
136. in the figure below is built in to protect the transistor from transient overvoltage D Bypasses transient overvoltage to the power supply and suppresses the voltage between the collector and emitter of the transistor User s manual 53 3 Application Precautions for I O Modules 4 For applying a doide to protect the transistor pay attention as shown below Case1 When connecting to the external equipment in which DC power supply is provided from internal if the voltage of P1 is higher than one of P2 or if P2 turns to OFF when P1 is ON the external equipment may turn to ON in spite of the output status Because a load current flows through D a diode DC Output module External eguipment U mn t o Z O A power supply should be basically used for P1 and P2 In the above case insert a diode for preventing a back current in the position A so that a back current is prevented from flowing into P2 Case2 When the power cable connected to a P24 terminal of DC output module is cut off external load may be driven because the load current of OFF output circuit OUTO flows through a diode and a transistor of ON output circuit OUT1 as shown below DC Output module OFF y Y 5 BOL id Load E ie O i gt 24Vdc Pay attention for preventing a P24 line from cutting off 54 PROSEC T2E 3 Application Precautions for I O Modules 5 If a capacitive
137. information of the latest 5 scan is stored in the DEBUG mode except single step execution funtion and single rung execution function The information line monitor and registers displayed on the screen is stored by this function Refer to T PDS commnad reference manual for details of operation in the DEBUG mode eee eee eee eee User s manual 127 5 RAS Functions 5 7 System diagnostics The following functions are provided for diagnosis of operation status The system can be monitored easily using of these functions 1 Diagnostics display function Use of the diagnostics display instruction DIAG in the user program displays the relevant error code 1 64 and error message maximum 12 characters per message can be displayed on the programmer screen should a malfunction occur Also the error code generated is stored in the special register SW016 SW033 in order of generation up to a maximum of 16 codes and the annunciator relay S0340 S037F corresponding to the error code goes ON It is possible to use the special register relay to display the error code on an external display monitor The error codes registered can be reset one at a time shift up after erased using the programmer or by the diagnostics display reset instruction DIAR This function may also be used effectively in conjunction with the bit pattern check and the sequence time over detection mentioned below Refer to details of diagnosis display command
138. ing an index register as the storage destination for a instruction which becomes double length as the result of a multiplication instruction or the like only the combinations Jel or KeJ are effective In this case it becomes Jel by designating in the double length operand position and J becomes upper while becomes lower In the same by designating J it becomes K J and K becomes upper while J The following are examples of registers in which index modification has been executed I When 0O RW100 When 1 When 1 When 100 When 100 J Lo When J O When J 1 D0201 D0200 When J 2 When J 1 When J 2 expresses RW100 expresses RW101 expresses RW099 expresses RW200 expresses RWO000 expresses D0201 expresses DO202 expresses D0203 expresses D0200 expresses D0199 D0200 D0201 D0202 D0199 D0198 User s manual 185 3 User Data The following shows an example of the operation when index modification is applied to a program Example X0010 P C000 3 gt D2001 D2000 D2000 MOV 1 JH xwoos MOV D3000 11 H xwo1o MOV D3000 11 H xwo12 MOV D3000 The following processing is carried out when X0010 changes from OFF to ON Substitute 3 times the value of the content of C000 in index register 2 Store content of XW005 in D 3000 Add 1 to the content of and store content of XWO10 in D 3000 1
139. instruction substitute 10 in D1000 is executed every scan while R0000 is ON Edged Edged symbol R0000 Fo H 10 MOv D1000 ZA The MOV instruction substitute 10 in D1000 is executed only in the scan in which R0000 changes from OFF to ON Any instructions cannot be positioned after to the right of a edged function instruction Example R0000 a HH 10 mov D1000 PL 20 MOV D1001 x0011 R0001 HE p2000 300 gt D2000 F Neither of these two rung can be created 208 PROSEC T2E 5 Programming Language 4 The number of steps required for one instruction differs depending on the type of instruction Also even with the same instruction the number of steps occupied varies depending on whether digit designation is used in the operand a constant or a register is used in a double length operand etc 1 10 steps 1 instruction Also basically step numbers are not required for vertical connection lines and horizontal connection lines 5 In a instruction which has multiple inputs a vertical connection line cannot be placed immediately before an input In this case insert a dummy contact such as the NO contact of special relay SO04F which is always ON immediately before the input Example R0000 R0003 Not possible R0001 R0004 CNT R0002 10 C030 Mositcation R0000 R0003 R0001 SOO4F R0004 Possible NT R0002 10 C030 The above arrangement is not required for the lowest input of m
140. ion 60mA 5Vdc or less Ah LED display Transistor array Constant voltage circuit F OO Common Terminal Connections 12 24Vdc 34 PROSEC T2E 2 Specification 12 point Triac Output AC61 Nem EX10 MAC61 01234567 100 240Vac 10 5 50 60Hz sine wave Snae Output ON current 0 5A point 0 6A 2 element SSR 1 5V or less 0 3A load Number of output points 12 points 4 points common OFF Dela 1 2 cycle of load power supply 1msec or less Withstand voltage 1500Vac 1 minute Caent consumption _ 5Vdc or less 20mA point Weight Approx 250g Circuit Configuration CD e C2 a C2 LED display 2 element SSR z 5 o O T E oO oe E User s manual 35 2 Specification 4 Chamnel Analog Input Input 8 bit A121 A131 Item EX10 MA121 EX10 MA131 Input range 1 5V or 4 20mA 0 10V Input Impedance Number of input points 1 5V 500KQ or more 4 20mA 2500 4 points N side common 500KQ or more 4 points N side common Resolution Overall Accuracy 1 5V 0 250 4 20mA 0 250 1 FS 0 10V 0 250 1 FS 4 point N side common Wire breakage detection Approx 1msec Only
141. ion Distance 750kbps 250kbps 500m 1km Number of stations Transmission capacity max 32stations 32 words L LW Response speed 7ms when 32 words 12ms when 32 words 18 PROSEC T2E 1 System Configuration e TOSLINE S20 The TOSLINE S20 is a Local Area Network LAN for factory automation systems It can achieve high speed data linkage between PLCs and communication between industrial computers One T2 station can be mounted in any slot in the same way as an I O module SN221 SN222 Co Axial Cable Optical Fiber Cable Topology Bus Transmission speed 2 Mbps Transmission Distance 1km 10km 1km between stations Number of stations Max 64 stations Transmission capacit Max 1024 words W0000 W1023 Z W Response speed Minimum 5ms in scan transmission e TOSLINE 30 The T2E can use the TOSLINE 30 It is effective when connecting EX series systems to the T2E Up to 4 T2 stations can be mounted in any slots in the same way as for I O modules The link relay register Z W is assigned for the TOSLINE 30 the same as the TOSLINE S20 If the TOSLINE S20 is used together with the TOSLINE 30 the link registers assigned to the TOSLINE 30 starting with WO000 should not allocate for the TOSLINE S20 LK11 LK12 Twisted pair Cable Optical Fiber Cable Topology Bus Star Transmission speed 375kbps Transmission Distance 1km 2km 1km between stations Number of
142. ion State MONItOr ING rs 124 ce e oa PP eee terete AAA 126 7 SY SUSI DI BUONO avia iia 128 xii Contents PART 3 USER PROGRAMS 1 0VERVIEW A te qerteresttecesstin T TEE 1 2 User Memory Configuration 2 USER PROGRAM CONFIGURATION A gt o A A 137 22 y IM rra 139 23 Usor PEO crac iii cocine ile Slane aac Satan Sean 142 ages MEN Price rico elit el opta 143 2 3 2 Sub Program Ad A PA 145 2 SUD ROMS N E E libelo insta 146 3 USER DATA ANIOS N aaa 3 2 Registers and DEVICES ci 3 3 Processing Register Data SA nder MOMICAIO NN rra a nn 4 1 0 ALLOCATION AU uan O EE ENNE 190 4 2 SCM O UNO conta 192 4 3 Methods of Input Output Allocation 44 Register and Module GOES POMS ICS csi es uba used 198 5 PROGRAM LANGUAGE A PIEN een ceo E ROPE nO NEDO SEE SET SOSGE UPSET A 200 5 2 Laddser Diagram ci s 203 TNE E a A 210 9 4 Programa Preca lO Sisi din 225 AS o es la e ll alo li 227 Ordet AAA SA A 255 A IE A A AE AE A A A E A PN 257 xiii Contents Features amp Software revision history Features Easy communication PLC Easy to use high technology There are three types of optional cards for the T2E CM231E RS 485 communication port w a battery CM232E RS 232C communication port w a battery BT231E a battery m Enhanced communication One of the following communication functions can be used in the T2E by mounting CM231E CM232E eComputer link mode Connection with higher le
143. ion Unit 8 I O modules BU268 6 I O modules BU266 H i Power Supply 1 0 O 1 0 1 0 1 0 1 0 1 0 1 0 Expansion Unit No 3 8 I O modules BU268 6 I O modules BU266 Power Supply e Up to a maximum of 3 expansion units can be connected BU218 BU268 BU266 Up to a maximum of 1 expansion units can be connected UBB1 UBB2 e There is no limit on combinations of the types of the rack e When one BU218 and three BU268 are used a maximum of 32 I O modules can be controlled by the T2E CPU If 32 points of l O modules are mounted on every I O slot a maximum of 1024 points can be controlled Do a a SF User s manual 5 1 System Configuration 1 2 Power Supply Module Power supply modules are mounted on the left end slots of all units There are two types according to the power voltage Select one as required Model Power Voltage Output Ratin TPS261 S 100 240Vac Internal control power supply 2 5A max 10 15 External power supply 24V 10 10 EX10 MPS31 24Vdc 20 15 0 5A max Internal external total 15W or less TOSHIBA Power LED e POWER External 24Vdc output terminals Run signal output terminals Terminal block eject levers Power supply terminals Line filter ground terminal Frame ground terminal
144. ires the number of the sub routine it calls CALLN 000 Sub routine number The following is an execution sequence when sub routines are included Program under execution Flow of execution Sub routines Hate N 001 o a 2 E H CALL N 001 O H CALL N 031 MOV By the sub routine 001 CALL instruction execution the execution shifts to sub routine 001 When it has proceeded to the RET instruction the execution returns to the instruction following the CALL instruction in 1 When device A is ON the CALL instruction is executed and the execution shifts to sub routine 001 When it has proceeded to the RET instruction the execution returns to the instruction following the CALL instruction in 3 When device is ON the CALL instruction is executed and the execution shifts to sub routine 031 When it has proceeded to the RET instruction the execution returns to the instruction following the CALL instruction in 5 the MOV instruction in this example O User s manual 147 2 User Program Configuration 148 PROSEC T2E NOTE VAV 1 Multiple sub routines can be programmed in a block However for execution monitor by programmer 1 sub routine on 1 block is recommended 2 SFC cannot be used in a sub routine 3 Other sub routines can be called from a sub routine nesting up to 6 layers 4 Since the operation will become abnormal in cases such as calling the same s
145. is a risk of progressive damage to the module When the cause of the blown fuse cannot be determined consult Toshiba without replacing the fuse User s manual 81 6 Troubleshooting 6 7 Faults Due to External When a problem with the T2E system occurs as one of the following Problems phenomena external factors should be suspected 1 When the problem occurs in synchronisation with the operation of input output equipment In this case there is a possibility that the cause is noise generated when the output equipment switches ON OFF Apply the noise counter measures described in Section 3 Application Precautions for I O Modules 2 When the problem occurs in synchronisation with the operation of peripheral power equipment and high frequency equipment In this case the effect of noise induced in the input output signal lines may be suspected Also depending on the power supply system and the grounding system the cause may sometimes be surges or voltage fluctuations in the power supply and fluctuations in the ground potential Check with the Notes described in Section 4 Installation and Wiring Depending on the case one method is to try the effect of disconnecting the ground 3 When the problem occurs in synchronisation with the operation of machinery the effect of vibration may be considered Check the state of installation of units modules and at the same time study vibration countermeasures such as the use of vi
146. is executed and the ON OFF of the output is determined by the result of execution Example 1 Addition Instruction O O 0 Input A B gt C Output When the input is ON the content of register And the content of register B are added and the result is stored in register C The output becomes ON if an overflow or an underflow is generated as the result of the addition Examplexa fgombination of Relay Symbols anghFemction Blocks XW004 gt 500 Y0105 X0027 When X0030 is ON or the content of XW004 exceeds 500 YO105 becomes ON When Y0105 stays on even if X0030 is OFF and the content of XW004 is 500 or less YO105 will become OFF when X0027 becomes ON NOTE VAV 1 If a function block is considered as the operation of a ladder diagram it can be regarded as a contact which has a special function By carefully arranging the function blocks in the order of execution of instructions complex control functions can be achieved by an easily understandable program 2 A list of ladder diagram instructions is shown in Section 5 5 For the detailed specifications of each instruction see the separate volume User s manual 205 5 Programming Language Instruction Execution Sequence The instructions execution sequence in a block composed by ladder diagram are shown below 1 They are executed in the sequence rung1 rung 2 rung 3 through to the final rung in the block in the case of a block with an END i
147. itisid aaaea a dd A iaa 101 HOLD MO GC vise aaa icida eaa dd cio UA 101 1 WO AMO CATION iia a idad 190 VO Mounting CGNeCK seenen ic e eiae e iaia iei a dae 105 Index Modifications ii A id a eaa aaa iaaa aaa a eia la 184 AEE e EE e E E E E E E E E E ETE 155 EA A E E A E 11 100 105 Intial Step ari dr ds 214 INputiDEVICS sarcasmo dais radian ea a a Eia ri iaa ltda dir 152 A cafe cagseedskceecsJeciscaiescgs ea lecanedagsueg diceckgote deen Casecagede secede caresauegss cadedayecabees ea aE 152 A E E E E AE E E E E E E di salul Peat tv ecdexateesanees 179 Interrupt Enable Disable eee eeceeeceeeneeeeneeeeeeseeeeeeeneeesaeeseaeeseaeeseaeessaeessaeeseaeeseeeeseaeessaeessaeeseseeeeeneeeaes 116 Interrupt Progr Mica A cio 115 145 L Ladder AO a ea EE Cei ea Ea ea Eaa ea Ee Ea a eao en eiee oeae aaan Ea ea TAEAE 203 Link Device Llei ir id A A Eaa AGE a da Eee Ea a aE 155 LINK REGISTER LW ccoo cial lalala di 155 HINKIRSGISTSN Wisin iio 155 Lirik Relay Divan ok chev ecient e teks detec acedediiea dats funavais a a ae a aceunauhen 155 M MAcTO POTASA Siena 211 M in Programs sisinio oiaoi al iS ok BR Se ce E ae Be ht dc eat 115 137 Manual VO AO CAtION sisiice ci ita tdt 196 Memory Capacity viii A ita 139 Memory Protect FUNCtION ccceeeecceeeeeeceeeeeeeeeeeeeaeeeeeecaeeeeesaeeeeecaeeeseeeaeeeeeceaeeesecneeeseeeeeeeseaeeeeseeeseeeeees 123 Mode Controla da a o aerial ea E tec 101 Mode Transition Condi oi A a tt 103 Modul
148. itive pulse coil and negative transition sensing coil direct editing can be carried out without putting up the detail display screen See the programmer T PDs operation manual in a separate volume for this operation User s manual 219 5 Programming Language 2 Transition Condition The size of 1 transition condition is 11 lines x 10 columns and the number of instruction steps is a maximum of 110 steps 1 2 3 4 5 6 7 8 9 10 i soso aa ao t Li 1 t 1 2 E E e E ee ee eee ee 1 i i t t i i i i o i i oi i i i j S o is e Si a a t I I 1 1 I t L 1 4 A A Reese ee Heese peas I t I t t t i 1 I i i I i t t 1 5 EE A A ete E E 1 1 i t i i 1 i I 1 i I 1 t y 1 6 o A EEE A see E S 1 1 J 1 i 1 t Lo tt 7 Stews a pious A o ba aaq I t I 4 t I i i r ee a ee 8 is sa eee gg ee ee ge I I I i I i t 1 9 tea ES E EE ig ge ee tt 1 4 10 BO See O A A Rees A re Ak 1 t I 1 i t i l L y I t y Li I I 11 EN A A EEN A E E TEET When there is no transition condition corresponding to a certain transition that transition condition is always regarded as true Dummy transition In programming by designating the transition on the SFC screen and selecting the detail display mode the monitor edit screen for the transition condition corresponding to that transition will appear In the case when the content of the transition condition is only 1 instruction of NO contact or NC contact direct editing can be carried out witho
149. ive Ladder Diagram Instructions Function Instructions Representation Function Essential PID Sine function SIN Cosine function COS Tangent function TAN 175 Arc sine function SIN 1 A ASIN 176 Arc cosine function 177 Arc tangent function TAN 1 A ATAN 7 seen inten function Air A EXP Logarithm B 1 B A LOG B Number of si Summary steps ae led Remarks required qu us Carries out the PID calculation for the value of A the parameters starting with B and stores it in a Carries out the deviation square PID calculation for the value of A using the parameters starting with B and stores it in C Carries out the essential PID calculation for the value of A using the parameters starting with B and stores it in C Stores in B the value obtained by taking the angle degree obtained by dividing the value of A by 100 and multiplying its sine value by 10000 wo z A o Stores in B the value obtained by taking the angle degree obtained by dividing the value of A by 100 and multiplying its cosine value by 10000 Stores in B the value obtained by taking the angle degree obtained by dividing the value of A by 100 and multiplying its tangent value by 10000 wo 2 D wo l A Divides the value of A by 10000 multiplies the arc sine value by 100 then stores it in B Divides the value of A by 1000
150. ive User specified for RW T C and D memoory Battery level I O bus check I O respomse I O parity Diagnosis Watch dog timer illegal instruction LP check others RAS Monitoring Event history record scantime measurment others Debugging Online trace monitor force sampling trace status latch others User s manual 97 2 Operations 2 1 Basic Internal The T2E basic operation flow chart is shown below System initialization Peripheral support Mode control RUN mode Scan control Operation Flow HALT mode T2E performs diagnostics following power on and the first system initialization In the absence of abnormalities peripheral support is processed However if the programmer and the computer link is not required this operation is not executed Next if the RUN mode transitional condition is fulfilled the scan control begins The scan control is the basic function of the T2E for the user program execution operation And if the RUN mode transitional condition is not fulfilled T2E enters HALT mode and does not execute the program The details of these processes are explained in this section Also the diagnostics are explained in 5 RAS functions 98 PROSEC T2E 2 Operations 2 2 System Initialization The system initialization is performed after power ON That is Hardware diagnostics and initialization followed by system initialization as follows The sequence of process i
151. lace the CPU module Peripheral LSI error Error code O Q A fault has been detected by a check of the peripheral control LSI in the CPU module When the state is not changed even by switching on the power supply again replace the CPU module E A fault has been detected in the built in calendar LSI data No Error Down When the error is generated even when the calendar is reset replace the CPU module Clock Calendar error Illegal sys interrupt Interrupt Interrupt An unregistered interrupt request has been generated generated received by the CPU module No Error address 1 address 2 Down If it appears to be generated frequently replace the CPU module WD timer error Generated Generated A watchdog timer fault has been detected address 1 address 2 If it appears to be generated frequently replace the CPU module enueu sasn 28 Classification Error Message and Associated Information 1 O bus error Unit No I O mismatch Unit No Information 2 Data Register Information 3 Related Special Relays CPU LED Display Meaning of Error and Countermeasures A fault has been detected by an I O bus check Remove all the I O modules and switch ON the power supply again When an error is generated even so replace in the sequence rack CPU When the error is restored by switching ON the power supply again switch the power supply OFF and insert I O modules one by one switching the
152. le You can switch between interrupt enable and disable by executing DI instruction interrupt disable or El instruction interrupt enable in the user program The interrupt request is hold during interrupt is prohibited after executing the DI instruction After the El instruction is executed and this request is permitted Also interrupt is prohibited in the first scan after the transition to RUN mode and it is permitted from the second scan 116 PROSEC T2E 4 Peripheral Memory Support 4 1 EEPROM Support The contents of the user program and the register data D can be stored in the EEPROM and they can be read into the main memory RAM by the initial load function in the T2E or programmer operation for maintanance The register data D in the EEPROM can be written to internal registers or be read out from them in the T2E during RUN operation by using special instruction XFER The T2E can run without batteries and can be recovered easily from error down if user program is destroyed by using the EEPROM The following functions are available with the EEPROM Function Operation Execution condition Initial load transfers the contents of the EEPROM to the user program memory and data registers D0000 2047 in the main memory RAM However when the mode is transited from HALT to RUN other registers except retentive specified memory is cleared at system initialization when power is turned on and ROM RAM switch is
153. le error down means that all the outputs turn OFF and ERROR mode is entered alarm means that the erroris registered the special relay is set and running is continued 1 Diagnostics at system initialization when power supply is turned on Diagnostics Diagnostics details Processing when error detected System ROM BCC check BCC check on the correctness Error registration takes place of the system ROM FLT LED flash Programmer communication impossible System RAM check The system RAM read write is Error registration takes place checked the FLT LED flashes Programmer communication impossible Peripheral LSI check Peripheral LSI checked for Error registration takes place normal initialization Read back the FLT LED flashes check Programmer communication impossible LP check LP language processor is Error registration takes place checked for normal initialization ERROR mode is entered Error reset command invalid User program memory BCC check on the correctness Error registration takes place check of the content of the user ERROR mode is entered program memory Checked after initial load when peripheral memory is present User data memory check The user data memory Error registration takes place read write is checked ERROR mode is entered Error reset command invalid Peripheral memory check BCC check on initial loading of Error registration takes place the peripheral memory ERROR
154. llocation of registers when input output allocation information is registered Example Input Output Allocation Information Register Allocation ru PRINCESS 0 frwnas ewan MIC OCIO AI EE A LA IA LIA Ce pewoor ces ICI ERAS MINE ESC RANIA IO RIC KATIE CIS ARAS e pwe e wans 5 Prise vos sf 5 pewoos swans 6 riwozawoes fons vwoas 8 MINI Pawns 097 fr vce IIA IRMA Note LWO0O to LW031 are alloctated to the TOSLINE F10 User s manual 199 5 Programming Language 5 1 Overview The T2E supports 2 types of programming language for the user programs ladder diagram and SFC Multiple programming languages can be used in mixed by a single user program by separating blocks of the program Thus the optimum program configuration for the control functions can be achieved Ladder Diagram This is the language which is core programming language for the T2E The program is configured by a combination of relay symbols and function blocks This language is suitable for logic control and time control Relay Symbols These are no contact NC contact coil etc Function Blocks These are box type instructions which express single functions They can be freely positioned in a ladder diagram network by treating them in a similar way to relay contacts The output of one function block can be connected to the input of another function block Example x05 X00 X13 X14 YSA vs X20 R3C T HC rw12 Mov D102 R100
155. lock is 128 212 PROSEC T2E 5 Programming Language SFC Composition Elements The following is a description of the elements which compose an SFC program 1 SFC Initialization This is the function which starts up makes active the designated initial step by making the steps in a designated area inactive Either of the two methods of an SFC instruction or a ladder diagram instruction is used One SFC initialization is required for 1 SFC main program SFC Instruction Nxx SFC initialization ANAN This instruction connects to the initial step ad Initial step Operands Ta Program number 0 63 A Start up device except T and C nnnn Number of initialized steps 1 2048 Function When the device with the exception of a timer device or acounter device designated by A changes from OFF to ON the number of steps following the initial step ssss which are designatedby nnnn from step number ssss to ssss nnnn 1 are made inactive and the initial step ssss is made active Ladder Diagram Instruction Input SFIZ nnnn ssss Output Operands nnnn Number of initialized steps 1 2048 ssss Step number of initial step 0 2047 Function When the input changes from OFF to ON the initial step the number of steps designated by nnnn from the step number designated by ssss from step number ssss to ssss nnnn 1 and made inactive and the initial designated by ssss is made active User s m
156. lock screws Is there any damage to Must not be damaged the wires and cables Mounting Is the basic unit firmly secured Must not be any slack or Condition play Are the expansion units firmly Must not be any slack or secured play Is each module firmly installed Must not be any slack or play Is there any slack in the Must not be any slack or expansion cable connctors or damage any damage to the cables Programmer Is there any problem with the Execute simple programmer functions operations Is there any slack in the Must not be any slack or connectors or damage to damage the cable I O Modules Measure the voltage at each l O Must be within terminal block the specified values Check the input state display Must light when normal LEDs Check the output state display Must light when normal LEDs Are the I O terminal blocks Must not be any slack or firmly secured play Is there any slack in the terminal There must not be any screws or is there any risk of slack or risk of mutual adjacent terminals touching contact each other Is there any damage to Must not be any damage the wires and cables Environment Check that temperature Must be within the humidity vibration dust etc are general specifications within the specified values Program Check that the contents of the Contents must agree basic program and the master when carrying out program kept on a floppy disk a compara
157. mA The Al22 type is set to current input 4 20mA at the factory When using voltage 1 5V input reset the jumper plugs 38 PROSEC T2E Weight Circuit Configuration Approx 200g Approx 200g Jl1 Jl2 JI3 Jl4 jumper plugs are Al22 type only DC DC Converter Terminal Connections Drawing 50mA side for current 4 20mA V side for voltage 1 5V Set for current on delivery Isolate external power supply line 24Vdc from other signal lines Use shielded twisted pair cables for analog signals and ground the shields securely 2 Specification 4 Channel Analog Input A D Conversion 12 bit Continued Digital Values Analog Values E Analog Values 4 20mA range D 250 x A 1000 1 5V range D 1000 x A 1000 D Digital value 10V range D 200 x A A Analog value Data Format Input occupies 4 words e 4 20mA 1 5V FEDCBA9876543210 Data bit 12 bits 0 4000 HO000 HOFAO External line abnormal detection bit 0 Normal 1 Abnormal Current input line open or external power OFF Always 0 FEDCBA98765 4 3 21 Sign bit 0 Positive 1 Negative Data bit 11 bits 2000 2000 HF830 HO7DO 2 s complement if negative VAV 1 In the voltage input specification when there is an open circuit between the input terminals the data bits do not become 0 2 lt is recommended that unused channels be shorted between
158. minute but except between each of the A B M phases 80mA 5Vdc or less Weight Circuit Configuration Current when ON Approx 200g BUD UNV CID O BIP UPDW xo Operation setting Counter 0 when power supply seitched ON Counter re set edge detection _5 _12 Switching Jumper BIP UPDW Switching Jumper 5 5V input i 12 12V input sets all 3 A B M points identically BIP Quadrature UPDW Up down BUD UNV Switching Jumper shows setting on delivery BUD Normal mode UNV Hold mode 2 Specification Single Channel Pulse Input Continued Terminal Connection Use shielded twisted pair cables for pulse signals and ground the encoder shields securely Wiring Example Encoder Data Format For the count values 24 bits the lower 16 bits are read as XWn 1 and the upper 8 bits as the bit 0 to bit 7 Count 8388608 to 8388609 or 0 to 16777215 if upper 8 bits are masked NOTE VAV Bit 8 to bit F of XWn are the same as bit 7 of XWn sign bit In order to match the double length register configuration of the T2E use after exchanging the upper word and the lower word Example Store count value in the double length register of D0101 D0100 XWn MOV D0101 XWn 1 MOV D0100 User s manual 45 2 Specification Single Channel Pulse Input Pulse Input Mode Continued lt Quadrature gt Count up Count
159. mode is entered EEPROM 118 PROSEC T2E 5 RAS Functions Calendar LSI check The accuracy of the data read from the calendar LSI date and time is checked the data is set in the special register Alarm Until the calendar is reset the date and time data in the special register are HFF Battery check The voltage of the memory backup battery is checked Alarm If the user program memory BCC is normal it starts up normally However user data without in retentive memory specification is not guaranteed Diagnostics details The I O allocation information 2 RUN start up diagnostics Diagnostics I O verify check and the I O modules mounted are verified to check that they agree Processing when error detected Error registration error down However when start up is activated by a command from the programmer a message is displayed it remains in HALT mode and no error registration takes place 1 0 bus check I O response check Checks that I O bus is correct Checks that response when I O module is accessed is within specified response time limits Error registration error down However when start up is activated by a command from the programmer a message is displayed it remains in HALT mode and no error registration takes place Error registration error down However when start up is activated by a command from the programmer a message is displayed it
160. n 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 T2E and related equipment Maintenance WARNING 1 Do not charge disassemble dispose in a fire nor short circuit the batteries It can be cause explosion or fire Observe local regulations for disposal of them ZA CAUTION 2 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 T2E and related equipment 3 Replace a blown fuse with a specified one Failure to do so can cause fire or damage to the T2E 4 Do not insert your finger into the rack s ventilation hole during power on This can cause electrical shock 5 Do not disassemble the T2E 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 T2E 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 Replace batteries in accordance wit
161. n is set up the interrupt program stops other operations and is executed immediately One program fixed cycle timer interrupt program starts up at user specified intervals By using the timer interrupt it results in taking place time critical control and effective multitask control Sub program 1 and the interrupt program running method and the execution conditions are explained in this section User s manual 115 3 User Program Running Control Li RR gt o OA 3 2 Sub program control When RUN starts up sub program 1 is run once only before the main program is executed on the first scan Therefore use sub program 1 as the initial setting program at the starting of the operation The first scan operation is shown in the following diagram HALT mode or RUN mode system initialization transition first scan 3 3 Interrupt program control When the interrupt condition is set up the interrupt program stops other operations and is executed immediately One program fixed cycle timer interrupt program which starts up at user specified intervals can be registered Interrupt program Operation Fixed cycle Runs according to the user specified interruption timer interrupt cycle time in system information The interruption cycle time is set at 5 1 000ms units 5ms Cycle time Cycle time timer timer timer scan scan scan scan scan scan Fixed cycle timer I I I interrupt 1 Interrupt enable disab
162. n the front of the CPU module is RUN and the protect switch DIP SW 1 is ON This is called memory protection The following operations cannot be carried out by programmer in the memory protection The message Memory protected will be displayed on the programmer screen if you try to do so The following operations are prohibited in the memory protection 1 Memory clear 2 I O automatic allocation 3 Write I O allocation information 4 Write system information 5 Program editing incliding on line changes 6 Program download to the T2E from FDD etc 7 Program read from EEPROM including initial load 8 Write data to first 2K words of data register DO000 D2047 The memory protect function can prevent the program from being destroyed due to incorrect operation of the programmer Initial load is not performed in the memory protection as shown the above Therefore it is recommended that password protect function should be used instead of this function when the T2E isn t mounted any batteries on standard type NOTE VAV Memory Protect function is effective when the operation switch on the front of the CPU module is RUN and the protect switch DIP SW 1 is ON ee ee eee ee 1111 User s manual 123 5 RAS Functions 5 5 Execution status The T2E support functions to monitor the status of T2E scan control are as monitoring follows Refer to separate manuals for the programmer for these operation
163. n the preset time from the start of the step This function allows easy detection of operation holds up in sequential control process SFC structure action part transition conditions 120 pE aS work incall completed 121 T003 R1000 Transport ENE completed 122 A ie monitor timer T003 monitor time 10 seconds l alarm device R1000 With the above example if the transport has not been completed work arrived signal ON etc within 10 seconds from when the work processing started the specified alarm device R1000 comes ON By this means a malfunction generated by the work drive or the sensor can be detected Refer to Part 3 of this manual and the other instruction set manual for explanation with respect to SFC A Users manual 131 PART 3 USER PROGRAMS 1 Overview 134 PROSEC T2E 1 Overview 1 1 The main functions of the T2E are to store the user program to execute the Aims of Part 3 stored user program and to control and monitor the operation state of machines processes which are the result of such execution The user program records such items as operation sequences for achieving the request control function operation conditions data processing and the interface with the operator by using a series of instructions It is stored in the user program memory The execution of the user program is the sequential performance of the processes of reading user data in which external input
164. n timeout No END IRET error Pair inst error Program type Block No Program type Block No Address in block Address in block Scan time over Scan time The operation of the language processor LP is not completed within the specified time When the state does not change even on starting up again replace the CPU module The scan time exceeds 200ms Shorten the scan time or use the WDT instruction No END instruction has been programmed in the main program or the sub program or no IRET instruction as been programmed in the interrupt program Insert the END or the IRET instruction There is a fault in the method of using instruction combinations MCS R and JCS R Check that the MCS R and JCS R command combinations are correct Operand Invalid program Program type Block No Program type Block No Address in block S0006 S0030 There is a fault in the operand assignment for the Coil instruction or the FUN instruction Check whether an input X is allocated to an output operand A fault has been detected in the program control information After executing Memory Clear reload the program Bunooysajgno 9 enueu sasn 68 Classification Program Error Message and Associated Information Related Special Jump target error Program type Block No Information 2 Address in block Relays Information 3 Jump label No CPU LE
165. ng to the active step also becomes OFF However in the state step transition is carried out 224 PROSEC T2E 5 Programming Language 5 4 Programming The T2E supports multi task functions When interrupt programs are used Precautions _ there is the possibility of the main program being interrupted by an interrupt program Precautionary notes arising from this are given below and should be taken into account when creating programs 1 Avoid using the same sub routine in the main program and an interrupt program When the main program exection is interrupted during a sub routije is being executed and the same sub routine is executed in that state the results after re starting are sometimes not as expected 2 There is no classification of user data register device by program type Therefore take thorough precautions over individual data do that there is no erroneous mixed use between program types cn ie interrupt it Interrupt occurs through the timing in the above diagram And when the content of RO is modified in the interrupt the simultaneous ON or the simultaneous OFF of YO and Y1 which normally could not occur happens 3 Try to execute the exchange of data between main and interrupt programs by 1 instruction such as the data transfer instruction MOV or the table transfer instruction TMOV or by using the interrupt disble DI and the interrupt enable El instruction Otherwise the same thing as in 2
166. nhanced communication function UM TS02E E003 T series Instruction Set UM TS03 E004 T PDS for windows Basic Operation Manual UM TS03 E038 T PDS Basic Operation Manual UM TS03 E006 T PDS Command Reference Manual UM TS03 E007 T PDS Ver 2 0 Expanded Functions UM TS03 E028 T Series Handy Programmer HP911 Operation Manual UM TS03 E025 T series Computer Link Operation Manual UM TS03 E008 1 Axis positioning controller Manual UM EX100 E011 T2 Communication Interface Module CF211 Manual UM TS02 E013 T2 EX100 Computer Link Module CL11 Manual UG TS02 E015 TOSLINE S20 User s Manual UM TLS20 E001 TOSLINE F10 User s Manual UM TLF10 E001 NOTE Other than the listed above some T2E related manuals for special I O modules VIA and data transmission modules are available Contact Toshiba for more information viii About This Manual Terminology The following is a list of abbreviations and acronyms used in this manual us ASCII AWG BCC CCW CPU CW EEPROM H 1 0 LED LSB ms MSB PWM RAM ROM Vac Vdc microsecond American Standard Code For Information Interchange American Wire Gage Block Check Code Counter Clockwise Central Processing Unit Clockwise Electrically Erasable Programmable Read Only Memory hexadecimal when it appears in front of an alphanumeric string Input Output Light Emitting Diode Least Significant Bit millisecond Most Significan
167. not illegal command detected in LP language processor When running the user program Error registration then error down However recovered by retries only registration takes place no error down Error registration then error down Scan time over check 4 Diagnostics during Checks that scan cycle does not exceed set value 200ms However set value can be changed by user instruction WDT When running the user program normal running take place Error registration then error down in background Diagnostics Watchdog timer check Diagnostics details Watchdog timer system runaway check Set at 350ms Processing when error detected Error registration transition to ERROR mode after system reset User memory check Battery check User memory RAM read write checked Memory backup battery voltage checked Error down after error register with retry Alarm Calendar LSI check NOTE VAV Date and time data read from calendar LSI every 300ms accuracy checked data set in special register Alarm Until calendar reset date and time data are HFF For details of registration in the event history table when a error occurs and the special relay addresses that are set refer to Part 1 section 6 5 RAS Functions 5 3 Event history When an error is detected by the T2E diagnostics the details and time of occurrence are registered in t
168. nput ON level due to the induced current Install a resistor or a resistor capacitor between input and common or use a multi core shielded cable with a small cable capacitance yu Contacts open Current induced from charged wires flow through cable capacitance Current induced from charged wires flows through cable capacitance For the maximum distance of external cable to an AC input module it is necessary either to take the above countermeasure within 100m length in the condition that out of 20 cores 19 are charged wires and 1 is an open wire or to check whether the input voltage in this condition is less than the OFF voltage When handling large numbers of AC input signals precautions such as the above are required Therefore taking account of cost of the system as a whole one method is to study the interface by DC signals 6 When connecting AC output type sensors sometimes it is not possible to detect the OFF state due to the leak current when the sensor is OFF In this case counter by installing an external bleeder resistor as shown in the drawing below Bleeder resistor AC output type sensor Input module Select bleeder resistors using the following points as a guide 1 When the sensor is OFF the voltage between the input terminals must be less than the residual voltage in the OFF state 2 The current when the sensor is ON within the allowable value for the sensor 3 Determine the wattage
169. nsing contact Negative Transition sensing contact Positive Transition sensing coil Negative Transition sensing coil a Jump control set a Jump control reset fe Representation A z NO contact ae NO contact of device A contact normally open A A 4 A X Number of steps required Summary Execution time Remarks required us NC lg of device A contact normally closed Switches output ON only when input in the previous scan is OFF and the input for this scan is ON Switches output ON only when input in the previous scan is ON and input in this scan is OFF Switches device A on when input is ON Retains state of device A when force is applied regardless of whether ne is ON or OFF Stores data in device A in reverse state to input Inverts the input state and stores it in device A Turns output ON for 1 scan only when input is ON and device A has been changed from ON to OFF Turns device A ON for 1 scan only when input has been changed from OFF to ON co Tt Turns device A ON for 1 scan only when input has been changed from ON to OFF Carries out high speed skipping on instructions between JCS and JCR when JCS input is ON Indicates end of main program and sub program obenbue7 BunuulelIDolg S enueu sasn 6ce Ladder Diagram Instructions Sequence Instru
170. nsition n Simultaneous sequences A Macro end Sequence selection The overall SFC program cam be considered as divided into an SFC main program and a macro program The SFC main program has an initial step in its structure In the T2E a maximum of 64 SFC main programs can be cerated User s manual 211 5 Programming Language On the other hand a macro program is a sub squence which starts from macro entry and finishes at macro end Each macro program has its own macro number and corresponds 1 to 1 to macro steps which are present in the SFC main program or other macro programs Macro programs are used for rendering the program easy to see by making the SFC program an hierarchical structure In all 128 macro programs can be created Macro entry Me 10 3 10 Exactly the same Macro step e 30 operation he 11 lt gt 30 3 31 z 12 31 i Macro end NOTE VAV 1 Macro steps can be used in macro programs SFC multi level hierarchy There is no limit to the number of levels 2 Macro programs and macro steps must correspond 1 to 1 That is to say macro steps designated with the same macro number cannot be used in multiple locations SFC programming becomes possible by designating blocks and then selecting SFC by language designation Only one SFC main program or one macro program can be created in 1 block 1 SFC block Also the maximum number of SFC steps per b
171. nstruction through to the rung with the END instruction 2 They are executed according to the following rules in any one rung 1 When there is no vertical 1 2 3 4 connection they are H HA H executed from left to right 1 4 2 6 7 2 When there is an OR x connection the OR logic 3 portion is executed first 5 3 When there is a branch they 1 3 4 5 are executed in the order from the upper line to the 6 7 lower line N A combination of 2 and 3 l A sz o el above 2 6 8 Ty s The instructions execution sequence in which function instructions are included also follows the above rules However for program execution control instructions this will depend on the specification of each instruction ES The following show the execution sequences in cases in which program execution control instructions are used 5 Master Control MCS MCR MCSn MCRn 1 3 4 n T Hms When the MCS input is ON 2 5 execution is normal When the MCS input is OFF 6 execution is by making the et paaa power rail from the rung i 1 following MCS to the rung of f 1 MCR OFF the execution n m mer H sequence is the same 206 PROSEC T2E 5 Programming Language e oan AA SLANT LAN 1 3 4 5 n Sj k iss 2 6 7 TEE ral I t i n m A ir H Conditional Jump JUMP LBL 1 2 n HH JUMP N 03 n 1 J n m L LBL 03 n m 1 a e j l i Repeat FOR NEXT l H
172. nt grounding via an impedance close to the frame When a resistor Ground the frame via 1W 1Q approx When an inductance Ground to the frame via 2A 100uH approx 64 PROSEC T2E 4 Installation and Wiring 4 7 Wiring Wire the external power supply to the T2E power supply module in the following manner the Power Supply When using expansion units arrange for power to be supplied simultaneouly to the basic unit and the expansion units or to the expansion units before the basic unit PS31 24Vdc input PS261 100 240Vac input 24V dc output 3 cd contact Total power of the output output internal 5V and 24V P P output must be within 15W Do not connect it to other power supply input systems power supply Input 24Vdc pa LA old e o olojo OJO olo Line filters ground 1 Connected to the supply Frame ground 2 Connected to the unit line via capacitors case 1 Line Filter Ground LG Peal ae Normally the LG and FG terminals are SOOOPF or less Shorted Input However depending on grounding power supply OnE nies environment such as when there is a problem with leakage current or when the La power supply ground is separate open the LG terminal or provide a dedicated ground 2 Frame Gounds FG See 4 5 Grounding for details 3 24Vdc output The 24Vdc power cables must be suppressed with ferrite cores immediately adjacent to the power supply module
173. ntents of the user program and the first 2K words of the data register D0000 D2047 from the peripheral memory EEPROM to the main memory RAM prior to running the user program The initial load is performed or not depending on the position of operation mode switch and operation mode setting switches DIP switches when the power is turned ON The performance table of initial load is shown below EEE Gi User s manual 99 2 Operations 100 PROSEC T2E Performance table of initial load power on Operation Protect ROM RAM Initial load mode switch switch switch performance DIP SW 1 DIP SW 2 RUN OFF OFF ROM performed ON RAM not performed ON OFF ROM write protect ON RAM HALT OFF ROM performed don t care ON RAM not performed NOTE WAV When the initial load is performed the contents of EEPROM is transfered to RAM That is the contents of RAM is overwritten Therefore it is necessary to write to EEPROM before power OFF when the user program is changed User data initialization The user data registers and devices is initialized according to the conditions in the following table Register Device Initialization Input register device Force area retained XW X Other area except the above 0 clear Output register device Force area retained YW Y Other area except the above 0 clear Link register device Force transmission area retained W Z Other area e
174. o macro end correspond Bunooysajgno 9 enueu sasn L6 Classification Program Error Message and Associated Information Related Special Illegal inst Program type Block No Information 2 Address in block Relays Information 3 CPU LED Display Meaning of Error and Countermeasures An illegal instruction has been detected in a program After Memory Clear re load the program Invalid Fun Inst Boundary error Program type Block No Program type Address in block Address in block FUN instruction FUN instruction S0064 An instruction has been detected which is not supported by the T2 Erase the relevant instruction The index value when qualifying the index by Block No No or a FUN instruction has exceeded the register S0065 No limit No Error Down Change the program so that the index value comes within the register No limit Duplicate entry No Program type Address in block Entry No S0006 O There is multiple designation of the entry No Block No S0030 of an LBL instruction and an SUBR instruction Set the entry Nos so that there is no overlap Bunooysajgno 9 PART2 FUNCTIONS 1 Overview 1 1 T2E System The T2E system configuration is shown in the figure below Part 2 explains the Configuration T2E system functions concentrating on the T2E CPU functions Example 1 System configuration T2E Serial I F Programmer Port
175. ock instructions including the following e Arithmetic operation e Data manipulations e Trigonometric functions e PID ramp integral e Subroutine call e For Next loop e Averaging filtering e ASCIl gt Hex conversion Floating point math Two programming Languages The T2E supports two programming languages Ladder Diagram LD and Sequential Function Chart SFC By selecting the appropriate language or combination of the two program development time can be greatly reduced T2E s software revision history The T2E has the following expnaded functions according to software version Functions Floating point math Addition of 12 Floating point math instructions Logical operation compare and conversion Response delay mode Sending back the response on the programmer port or optional serial port after waiting for specified time 2 wire system in Free Selecting either 2 wire or 4 wire system using ASCII mode 1 RS 485 in Free ASCII mode The trailing code Can change the trailing code in Free ASCII mode changing timing 1 programming in main program NOTES 1 Refer to the T2E T2N User s Manual Enhanced communication function UM TS02E E003 for the detail PART1 HARDWARE 1 System Configuration 1 1 System Configuration Basic Unit Peripherals ea eric lbs gt c a cout T series Program S P lt wn oO Development Ho 3
176. of Toshiba s Programmable Controller T2E Read this manual thoroughly before using the T2E Also keep this manual and related manuals so that you can read them anytime while the T2E is in operation General Information 1 The T2E has been designed and manufactured for use in an industrial environment However the T2E is not intended to be used for systems which may endanger human life Consult Toshiba if you intend to use the T2E for a special application such as transportation machines medical apparatus aviation and space systems nuclear controls submarine systems etc The T2E has been manufactured under strict quality control However to keep safety of overall automated system fail safe systems should be considered outside the T2E In installation wiring operation and maintenance of the T2E 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 T2E You should test completely if you use them as a part of your application system Hazard Classifications In this
177. of the bleeder resistor by making an allowance of approximately 3 times the current when the sensor is ON 52 PROSEC T2E 3 Application Precautions for I O Modules 3 2 Precautions for DC 1 The DC output module needs an external power supply to drive output transistors For each common connect the load power to the approprite terminal For details see 2 3 I O module specifications If the wrong polarity of the power supply to the terminal is connected the module will be damaged Check the polarity before connection output modules 2 Protection coordination against over current of DC output module Type of module Protection DO31 A fuse of 5A per common 16 points is built in this 16 point DC output module For an overload and load output short circuit the transistor will not be protected This fuse however protects the DC output module and the external cable from burn out DO32 A fuse of 2A per common 8 points is built in this 32 point DC output module For an overload and load output short circuit the transistor will not be protected This fuse however protects the DC output module and the external cable from burn out DO235 The load short circuit etc will cause burn out of the 64 point module and external cable because a protection fuse is output not built in this DC output module Therfore install an appropriate fuse on the outside to prevent accidental burn out 3 A diode as shown
178. ogram type Block No Information 2 Macro No Macro No Information 3 Related Special Relays CPU LED Display Meaning of Error and Countermeasures Is there multiple use of step Nos in the SFC program or do the steps No designated by the initial step and the end step not agree Change the step Nos or check the step No of the end step There is multiple use of a macro No Or the same macro program is called in 2 or more places Change the macro Nos Or arrange for the macro program to be called in only 1 place The macro program of the macro No designated by a macro step has not been programmed Check whether the macro program has been programmed or whether the macro program No is not in error SFC jump label err No SFC jump label Duplicate SFC No Program type Block No Program type Block No Program type Block No SFC jump label No SFC label No SFC program No There is multiple use of an SFC jump label No Change the SFC jump label No The SFC label instruction for a jump label No designated by an SFC jump instruction has not been programmed Program the SFC label instruction There is multiple use of an SFC program No Change the SFC program No Invalid SFC prog Program type Block No The initial step end step or end or the macro macro end do not correspond Alter the program so that the initial step end step or end or the macr
179. ogrammer port response delay mode register 10 PROSEC T2E 1 System Configuration e Operation Mode Switch The Operation Mode Switch is provided on the CPU panel This switch controls T2E operation RUN HALT HALT CPU status is shown below after power up or after the operation mode is changed to RUN mode from HALT mode Setting User Operation Initial Load Memory Operation Position Program Mode Program Protection Mode Change exe executed by the inot executed programmer HALT Stopped HALT SW 1 SW 2 OFF exe none not available OFF RUN Executed none available available As shown the above table initial load program transfer into EEPROM from RAM performs in the RUN mode when setting both SW 1 and SW 2 to OFF Therefore both SW 1 and SW 2 should be set to OFF when the battery isn t mounted on the T2E NOTE VAV 1 The operation mode switch is set to HALT at the factory 2 P RUN is state that SW 1 is ON in the RUN mode The user program and the first half of data register D0000 to D2047 are in the write protect mode and user can t write or change them 3 Normally the programming is carried out in the HALT mode 4 When shifting to the RUN mode with the ROM RAM switch in the ROM position operation will commerce after program transfer has been executed that is it is called initial load 5 For details of the operation mode see Part2 Section 2 3 6 Do not
180. on 62 PROSEC T2E 4 Installation and Wiring 4 6 Grounding Methods 1 Installation of a Conductive Panel When the mounting frame itself has good conductivity and is not in common use with the earths of other power systems proceed as below Conductive panel Power supply module mounting frame Screws in 4 locations unpainted When not on the same frame as the basic unit insulate the installed portion and connect Pi ap aay ep hy between FG terminals via the hortest distan Dedicated ground SNONESEAISLAN E NOTE VAV When the mounting frame does not possess good conductivity or when the frameground is a power system earth or is an unstable ground use the insulated installation shown in 2 User s manual 63 4 Installation and Wiring 2 Isolated Installation When the mounting frame has an unstable earth potential or when it is not conductive securely mount the unit with isolation as shown below Power supply modules e Isolate from the mounting surface NU a e Expansion unit AA FG wiring 2mm shortest wiring Dedicated single point ground 3 When there is no grounding point When suitable grounding is not available no dedicated grounding point mount by the method of 2 Isolated Installation There is no problem with operation if there is mutual connection between the FG terminals of the T2E itself However for safety carry out single poi
181. or less Voltage insulation 1500Vac 1 minute Current consumption 40mA 5Vdc or less External Relay Coil Power 24Vdc 10 100mA all points ON ltem Internal Circuit Terminal Connections NOTE VAV 1 ON OFF life of relays Electrical 100 000 times Mechanical 20 million time 2 No overload protection fuses are built into this module Therefore always make sure to insert fuses suitable to the current capacity User s manual 29 2 Specification DO31 EX10 MDO31 16 point Transistor Output 01234567 Load power supply 5 24Vdc 10 5 Internal current consumption 35mA or less 1A point external power supply 7V or more SO AB ODER 0 3A point external power supply less than 7V Output ON current 1 2A 4 points 4 element transistor array Output ON resistance 1 5Q or less Number of output points 16 points single minus common Leak current when Output 0 1mA or less OFF OMOEA v9 0 Voltage insulation 1500Vac 1 minute mm Current consumption 60mA 5Vdc or less Weight Approx 200g Circuit Configuration LED display Transistor array gt o O D is o gt lt is n E o o Common Connections Drawing 30 PROSEC T2E 32 point Transistor Output CN1 01234567 Parets 89ABCDEF 00000000 01234567 00000000 89ABCDEF
182. ound SG T2E Host Request To Send RTS T2E gt Host Clear To Send 8 CTS T2E lt Host NOTE Other pins except the above table should not be connected 12 PROSEC T2E 1 System Configuration 1 4 Optional communication There are two types of optional communication cards in the T2E as shown cards below These cards have built in battery for back up RAM The BT231E is prepared only for battery usage Type Specification CM231E RS485 Three Communication Functions built in battery CM232E RS232 Three Communication Functions built in batter BT231E_ Battery For battery replacement see Section 5 4 For mounting optional cards on the T2E CPU module see next page 0 CM231E CM232E There are three communication functions in the T2E One of them can be selected by setting swithches CM0 CM1 SW 4 SW 5 Function Operation Computer Link This performs to connect between a Host computer and up to 32 the T2Es using the CM231E one to one using the CM232E Data Link This performs to connect two T2E T2N They share 32W data with each other Serial Interface This performs to connect between the external devices such as inverter etc and the T2E For details of these functions and usage method see T2E T2N User s manual Enhanced communication function UM TSO2E E003 User s Manual 13 1 System Configuration ER o gq A S S E az lt Installation gt 1 Take off a terminal
183. output CCW pulse direction output 0V 3 3 CCW pulse direction output Error counter clear output 0V Error counter clear output Zero marker pulse input OV 5 5 Zero marker pulse input DC5V Zero marker pulse input OV 6 6 Zero marker pulse input DC12 24V Ongin position input 7 7 Ongin position input DC12 24V Emergency stop input Emergency stop input DC12 24V CW side overtravel limit SW input DC12 24V CCW side overtravel limit SW input 11 11 CCW side overtravel limit SW input DC12 24V Extemal power supply 0V 12 12 Extemal power supply DC12 24V Connector Arrangement NOTE VAV Connector on the Module FCN 365P024 AU made by Fujitsu Cables side connectors Soldering type standard attached Connector FCN 361J024 AU made by Fujitsu Connector cover FCN 360C024 E made by Fujitsu eee eee 41 1 a User s manual 47 2 Specification Single Axis Position Control Input Circuit Continued Zero marker pulse input 5Vdc B5 Zero marker pulse input OV A5 Zero marker pulse input 12 24Vdc B6 Zero marker pulse input OV A6 B7 Origin position input 12 24Vdc Normally Open Contact Use B8 HOLD input 12 24Vdc A8 A9 B10 CW overtravel limit SW input 12 24Vdc A10 B11 Normally Closed Contact Use CCW overtravel limit SW input 12 24Vdc B9 Emergency stop input 12 24Vdc A11 Note For the Zero
184. output data and control parameters are stored processing the respective instructions and storing the results of this in the user data memory Part 2 described the types of processing which are executed by the T2E internally how the user program is executed and also the internal configuration of the T2E and the types of functions which the T2E supports to maintain the machines processes which are controlled by the T2E in the correct state Part 3 describes the required information for creating user programs that is to say detailed user data detail of the input output allocation and the programming languages Also the user program configuration in the T2E is described in order 1 2 The following diagram shows the user memory configuration of the T2E User Memory Configuration Main Memory Peripheral Memory RAM EEPROM User program memory User program memory 10K steps 10K steps User data memory User data memory D RW T C User s manual 135 1 Overview The memory are which can be used by user is called user memory The user meomery can be divided by configuration into main memory and peripheral memory And the user memory can be devided by function into user program memory and user data memory The main memory is a built in RAM memory with capacitor backed up On the other hand the peripheral memory is a memory configured by EEPROM The peripheral memory can be used as back up for main memorry user progr
185. performed on the user program in the main memory RAM Refer to 5 RAS functions for details Scan mode set up Setting of the scan mode floating scan or constant scan is performed The scan mode is explained in 2 4 1 eee ee User s manual 105 2 Operations Batch I O processing The data exchange between the I O image table I O register device and the I O module is performed on the basis of the I O allocation information Data exchange with the data transmission module TOSLINE S20 TOSLINE F10 TOSLINE 30 also takes place The first scan is input only Batch I O processing is explained in 2 4 2 Timer update De timer register using the timer instruction is updated and the special relay timing relay S0040 S0047 is updated Timer update is explained in 2 4 3 Running user program Qe user program instruction word is run in sequence from the beginning to the END instruction Here the user program consists of a main program and sub program When the interrupt conditions are set up interrupt programs halt other Operations and are activated immediately The user program running control is explained in detail in section 3 Mode control Checks the mode switch and for mode change commands from the programmer and changes operation mode Also scan timing control measurement of the scan cycle and the user program running time are performed In the T2E the scan mode enables a choice of floating scan and constan
186. play LEDs Show operation states of the T2E Operating state RUN Mode HOLD Mode Stopped state HALT Mode or Error Mode CPU abnormal Program abnormal Normal BATT Green 2 Battery normal Battery getting abnormal Battery abnormal or no option card 2 This LED is available when mounting an optional card CM231E CM232E BT231E 8 PROSEC T2E 1 System Configuration e Setting Switches of Operation Mode These switches are provided on the CPU front panel They control the following functions Protect RUN Switch This switch can be changed anytime during CPU s running ROM RAM Switch CPU reads this status when power is changed from OFF to ON or when RUN Stand by Switch operation mode is changed to RUN Selection Switch of optional Communication function CPU reads these switches status only when power turns to ON Programmer Port i y P Parity 1 Protect RUN Switch For details of the operation mode see Operation mode switch in this Section 2 ROM RAM Switch Setting Function CPU operation Position at power up and at the beginning of the RUN mode SW 2 OFF Starts up after the content of the EEPROM has been transferred to the RAM Transfer is not executed when Protect RUN Switch SW1 is ON ON Starts up on the content of the RAM No program transfer NOTE VAV The ROM RAM switch is set to ROM at the factory 3 RUN Stand by Switch
187. pond to the group classifications of function instructions adopted by the programmer T PDS Except for SFC The required numbers of steps signify the size of memory required for storing these instructions The showing of the required number of steps by a range such as 4 7 is because the number of steps changes due to the following conditions even for the same instruction O When using digit designation there is an increase of 1 step per 1 operand O When a constant is used in a double length operand there is an increase of 1 step O When executing index modification in a constant there is an increase of 1 step NOTE vay Here an overview of each instruction is given See the instruction manual in a separate volume for details The execution time shows the required time when the T2E fetches the instruction on memory and performs required operation The execution time shown on the next page and thereafter is normal case value i e when no index modification no digit designation and normal registers are used for each operand The execution time is subject to increase due to using index modification digit designation direct input register device IW I direct output register device OW O for each operand User s manual 227 8ce del 9ISOYd Ladder Diagram Instructions Sequence Instructions i Sequence instructions p MO MS falling Cj F DCE aa ds sats a Positive Transition se
188. possible for 4 20mA Approx 1msec External Power Supply failure detection Withstand voltage Yes 500Vac 1 minute Yes 500Vac 1 minute Current consumption 50mA 5Vac or less 12 24Vdc 10 50mA 50mA 5Vac or less 12 24Vdc 10 50mA External power required Weight Approx 200g Approx 200g Circuit Configuration A D Converter Internal Circuit J1 J2 J3 J4 jumper plugs are Al21 type only e I side for current 4 20mA e V side for voltage 1 5V The Al21 type is set to current input 4 20mA at the factory For Set for current at the factory voltage 1 5V input set J1 J4 to the V side Isolate external power supply line 12 24Vdc from other signal lines Use shielded twisted pair cables for analog signals and ground the shields securely 36 PROSEC T2E 2 Specification 4 Channel Analog Input 8 bit Continued P Conversion Digital Values Digital Values 10 V 20 mA Analog value Analog value a 4 20mA range D 15 625 x A 62 5 De b 1 5V range D 62 5 x A 62 5 D Digital Value c 0 10V range D 25xA A Analog Value Data Format FEDCBA9876543 2 1 xw SEEE oo oo D Data bit 8 bits 0 250 H00 HFA Over voltage over current input 255 counts External line abnormal detection bit 0 Normal When all data bits are O Current input line open 1 Abnormal y When all data bits a
189. power supply ON each time Replace the I O module which generated the error The input output allocation information and the mounted state of the I Os differ Set the input output allocation correctly I O no answer Unit No Slot No Register An I O module has not been mounted in a slot allocated to I O Mount an I O or start up in the RUN F forced operation mode I O parity error Unit No Slot No Register No S0005 O A parity error has been detected when data S0023 is transferred to an I O module Check if the I O modules are installed properly Duplicate I O reg Unit No Slot No Register S0005 O J A duplication has been detected in the S0021 allocation of I O modules to the input output register Re set so that the unit first register assignment is not duplicated Illegal I O reg Unit No Slot No Register S0005 O O The allocation of I O modules to the S0021 input output register has exceeded 64W Reduce the I O module allocation BHunooyssjqnol 9 301 9ISOYUA 88 Classification Processing Program LP function error Error code Information 2 Error data Error Message and Associated Information Information 3 Related Special Relays CPU LED Display Meaning of Error and Countermeasures A fault has been detected in the language processor for LP When the state does not change even on starting up again replace the CPU module LP executio
190. processing The status of the external input signals from the input module is read onto the I O register device XW X the output register device YW Y status is output to the output module This process takes place before user program execution and is done in batches hence name batch I O processing Batch I O processing proceeds as follows Batch inputting signals from the input module with no i specification on I O allocation and input registers devices XW X which are not forced Batch outputting output register device YW Y corresponding to output modules with no i specification on I O allocation Also the data transmission module TOSLINE S20 TOSLINE F10 TOSLINE 30 and the link register relay W Z and LW L within the CPU module run the data exchange I O register device XW000 LE input module XWO001 ee gt output module YW003 0 0 e link register relay Wwoo00 link register allocated to TOSLINE S20 30 woo01 lt gt TosLINE s20 W0002 W0003 link relay LWO00 Lor Lo1 Loo link relay allocated Lwoot ie uni io to TOSLINE F10 Lwooe L2F L21 L20 gt gt rosuinerto LW003 LaF L31 L30 108 PROSEC T2E 2 Operations If we consider the T2E operation simply from the viewpoint of external signal exchange batch I O processing and user program execution can be considered to be repeated continuously as shown in the following diagram _ _
191. put are the input register device XW X link register relay W Z in the receiver area and link register relay LW L in the receiver area On the other hand coil force specified coil instruction can not be processed when the program is running so despite the run state of the circuit the coil device maintains its previous state The coil force devices which can be specified as forced coil are the output device Y the auxiliary relay R the transmitter area link register relay Z and the transmitter area link relay L Simulated input and simulated output are made possible by the combined use of the I O force coil force function and the data setting function 2 Constant operand change function This function enables to change the constant values of timer and counter instructions preset values and the constant values used in function instructions in on line mode during RUN The constant values for the timer and the counter can also be changed while in memory protect mode P RUN 3 On line program change function This function enables to change the user program on line during RUN The changes are made after completion of one scan so it extends the inter scan cycle On line program change is subject to the following conditions e You cannot make changes to the number or order of run control related instructions below END MCS MCR JCS JCR JUMP LBL FOR NEXT CALL SUBR RET IRET e You cannot change the SFC st
192. r the T2E is provided with dedicated instructions which execute the 4 arithmetic calculations on BCD data as they stand Unsigned Double Length Integers These are 32 bit unsigned integers which are expressed using 2 consecutive registers In the case of double length data the registers are designated in the form A 1 4 indicates the lower 16 bits and A 1 shows the upper 16 bits 1 is the register following register A MSB LSB F 0 F 0 lt Bit positions t Register A Lower 16 bits Register A 1 Upper 16 bits Example When processing a Unsigned double length integer in double length De D0201 D0200 D0200 becomes A and D0201 becomes A 1 D0200 becomes the lower side and D0201 becomes the upper side In programming when DO200 is entered in the position which designates the instruction double length operand DO201 D0200 is automatically displayed The numerical value range in which unsigned double length integers can be processed is shown in the Table on the following page User s manual 181 3 User Data Hexadecimal Expression Numerical Value Register A 1 Register 4294967295 FFFF FFFF f J 65536 0001 0000 65535 0000 FFFF f 0 0000 0000 WAV Both odd numbered addresses and even numbered addresses may be used as register A 5 Double Length Integers These are 32 bit integ
193. ransition RUN OFF RUN power on RUN ON Stand b power on HALT HALT power on HALT e When operation mode switch is changed mode before transition mode transition factor operation i operation mode mode after operatorn moce switch transition HALT HALT mode switch gt RUN RUN mode switch gt HALT HALT e When command is executed by peripherals it is available only in RUN position of operation mode switch mode before transition mode transition factor operation operation mode mode after operation mode transition command HALT HALT HALT command RUN RUN command Force RUN RUN F command DEBUG D HALT command HOLD HOLD HOLD RUN command HOLD cancel aa mode D HALT RUN command DEBUG D RUN detection break point or D STOP command Force Stop RUN Debug function D RUN D STOP command D HALT D HALT RUN ERROR command ERROR RESET HALT In the above table the symbol means that mode transition is performed independing on switchs setting or previous operation mode NOTE VAV Refer to 5 6 for details of bedug mode The FLT LED of the T2E CPU module is blinking in DEBUG mode nnn __ A Zit User s manual 103 2 Operations 2 4 Scan control As explained in 2 3 when the RUN mode transition conditions are set up the initial load when necessary the user data initialization the l O mounting check the program check and scan mode selection are performed and s
194. rd differs the processing of the register data will also differ Example When the value of DOOO5 is HFFFF hexadecimal FFFF 1 In a comparison instruction greater without sign D0005U gt 100 decision output ON when true The value of D0005 is regarded as 65535 unsigned integer therefore it is judged to be greater than the compared value 100 and the output of the instruction becomes ON 2 In a comparison instruction greater with sign D0005 gt 100 decision output ON when true The value of D0005 is regarded as 1 integer therefore it is judged not to be greater than the compared value 100 and the output of the instruction becomes OFF In this way since there is no classification of registers by data type it is possible to execute complex data operations provided their use is thoroughly understood However in order to make the program easier to see it is recommended that registers be used by allocation by data types 1 register is processed by 1 data type as far as possible 178 PROSEC T2E 3 User Data 1 Unsigned Integer This is a 16 bit unsigned integer expressed by 1 register The bit configuration inside the register is as shown below MSB LSB FEDCBA987 65 4 3 2 1 04 Bitpositions Register Bit 0 is the least significant bit LSB and bit F is the most significant bit MSB The processable numerical value ranges are a
195. re 1 External power is OFF Always 0 4 words occupied X4W NOTE VAV 1 In the voltage input specification when there is an open circuit between the input terminals the data bits do not become 0 They become indeterminate between 1 and 250 2 It is recommended that unused channels be shorted between the input terminals User s manual 37 2 Specification 4 Chamnel Analog Input 12 bit Item Input Range Al22 EX10 MA122 1 5V or 4 20mA Al32 EX10 MA132 10 10V Input Impedance Number of Input Points 1 5V 1MQ or more 4 20mA 2500 4 points N side common 1MQ or more 4 points N side common Overall Accuracy Resolution 0 5 25 C 1 FS 0 55 C 1 5V 0 4000 4 20mA 0 4000 0 5 25 C 1 FS 0 55 C 10 10C 2000 2000 Conversion Cycle Wire Breakage Detection Approx 9 6msec 4 channels Only possible for 4 20mA Approx 9 6mS 4 channels External Power Supply Break Detection Withstand Voltage Yes 1500Vac 1 minute 1500Vac 1 minute Current consumption External Power Required 50mA 5Vdc or less 24Vdc 10 50mA 50mA 5Vdc or less 24Vdc 10 50
196. reading of the ON OFF states of the input signal are Input ON time 2 ON delay time 1 scan time Input OFF time 2 OFF delay time 1 scan time Therefore be sure to use longer times than these for the ON OFF times of the input signal Application Precautions 2 There are some contacts for which the reliability of contact cannot be guaranteed at the specified input current depending on the contacts In such cases install an external bleeder resistor and pass a dummy current Input Module 3 The following are examples of connection with transistor output equipment such as proximity switches NPN open collector type common Input Module PNP open collector type common Input Module 4 When using a switch with an LED if the LED lighting current flows even when the switch is OFF it sometimes cannot be recognised as OFF In this case install bleeder resistor R and decrease the input impedance LED Input module User s manual 51 3 Application Precautions for I O Modules 5 When applying an AC input signal if the external cables are long or if the number of cores of a multi core cable is large a current induced from the charged wires will flow in the open wire depending on the mutual capacitance between the cables Sometimes a voltage may be generated which reaches the ON level despite the contacts being open In this case the general method is to decrease the input impedance and lower the i
197. red Inactive Active When the device A has changed from OFF to ON the instruction inactivates the nnnn steps of the succeeding SFC program and activates the initial step SFC activation 212 10 6 INT hn 16 1 Indicates the start of the SFC program and contains 2 action program which correspond on a one to one excluding basis ssss is the step address action This is the single unit of control It contains action 1 program which correspond on a one to one basis excluding ssss is the step address action Corresponds on a one to one basis to the macro program indicated by mmm ssss is the step address and mmm is the macro address Even if the immediately preceding transition condition holds true this instruction does not carry out the transition until the set period has elapsed It has action program which correspond on a one to one basis ssss is the step address T is the timer register and xxxx is the set period 4 excluding action Monitors the active period and if the transition has not been made within the set period sets the alarm device A to ON Contains execution action program which correspond on a one to one basis ssss is the step address T is the timer register and xxxx is the set period 4 excluding action Indicates the end of the SFC program Returns processing to the corresponding initial step when the immediately preceding transition condition holds true ssss is the initial st
198. ressions are added together is a value in which the lower 16 bits are all 0 Example 0111 1111 1111 1111 1000 0000 0000 0001 Binary 322767 Binary 322767 1 0000 0000 0000 0000 In calculation the 2 s complements of a numerical value can be found by the operation of inverting each bit of that numerical value and adding 1 Example 0111 1111 1111 1111 Binary 32767 bit inversion 1000 0000 0000 0001 Binary add 1 0000 0000 0000 0000 Binary 32767 BCD BCD is the abbreviation of Binary Coded Decimal BCD expresses 1 digit 0 9 of a decimal number by 4 bits of a binary number Therefore 1 register can express the numerical value of a 4 digit decimal number MSB LSB FEDCBAQ98 7 6 5 4 8 2 1 0 4 Bitpositions Register 10 10 10 10 180 PROSEC T2E 3 User Data Processable numerical ranges and expression formats are shown in the following Table Numerical Value Binary Expression Hexadecimal Decimal Expression 9999 1001 1001 1001 1001 9999 9998 1001 1001 1001 1000 9998 J f f 10 0000 0000 0001 0000 0010 9 0000 0000 0000 1001 0009 f f 1 0000 0000 0000 0001 0001 0 0000 0000 0000 0000 0000 YAY Basically BCD is a data format used for data inputs from BCD output type numerical setting devices and data outputs to BCD input type numerical display devices Howeve
199. retentive memory areas Also when a peripheral memory is used D0000 D2047 become subjects for the initial load In the P RUN state data writing to D0000 D2047 is prohibited Codes Link registers Link devices Addresses Link registers 0000 1023 1024 words Link devices 0000 511F corresponding to the leading 512 words of the register 8192 points Functions Used for a data link by the TOSLINE S20 or the TOSLINE 30 For the leading 512 words W0000 W0511 of the link registers bit designation is possible as link register relays Z0000 Z511F For areas not allocated to TOSLINE S20 30 even when it is used they can be used in the same way as auxiliary registers and data registers Codes Link registers LW Link relays sus lo Addresses Link registers 000 255 256 words Link relays 0000 255F 4096 Functions Used as relays for I O by the TOSLINE F10 When TOSLINE F10 is not used they can be used in the same way as auxiliary relays 0000 1023 1024 words Functions Can be used in the same way as data registers for such as storing control parameters and storing field collection data Bit designation is not possible The whole file register area is retained for power off The T2E has additional 24K words 8192 words x 3 banks expanded file registers in the memory The expanded file registers can be read written by using expanded data transfer instruction XFER The expanded file registers are not retenti
200. rn off to the loads before turning off power to the T2E 68 PROSEC T2E 4 Installation and Wiring 4 10 Safty circuit Configure emergency stop and safty interlocking circuits out of the T2E against faulty of the T2E or breaking wires Emergency stop circuit Safty interlocking circuit forward and reverse etc Example Ym is ON during RUN E 0 5s TON Tm Wating for power up of the transformer Tm DC power supply Q iif emergency r starte stop RI OO o MC Xm is turned to ON aftor the DC power supply is set up RI is ON during RUN output module The power for loads is OFF when emergency stop is active interlocking forward and reverse etc E nn 1 User s manual 69 5 Maintenance and Checks 5 1 Daily Checks Recommended daily checks for optimum system performance 70 PROSEC T2E Item Content of Check Countermeasure when Abnormal Check the LEDs on POWER Red When the state of an the front of the power supply modules and CPU module Lit when 5V power RUN Green Lit when operating normally supply normal FLT Red Out when CPU and 1 O normal BAT Green Lit when battery voltage normal LED is not normal follow the procedure in 6 Trouble shooting Check the LED displays of the input modules Digital input Check the LED displays of the output modules Digital output The corresponding LED should be lit when an external input signal is
201. rom other signal lines Use shielded twisted pair cables for analog signals 90mA 2 Specification 2 Channel Analog Output D A Conversion 8 bit Continued Analog Values mA Analog Values V 50 100150200250 50 100150200250 Digital Values Digital Values 4 20mA range A 0 064 xD 4 1 5V range A 0 016xD 1 A Analog value 0 10V range A 0 04 x D D Digital value Data Format FEDCBA987654321 0 yw ET C CEE CE Iejlololojlojojofo D Data bit 8 bits 0 250 H00 HFA No effect No effect on D A conversion Ro 2 words occupied YWn Y2W Ywn 1 NOTE VAV When executing direct output two registers both channels should be specified to output ea ao A AAA A User s manual 41 2 Specification 2 Channel Analog Output AO22 AO32 12 bit EX10 MAO22 EX10 MAO32 A022 1 5V or 4 20mA 10 10V Load Impedance 1 5V 5KQ or more 5KQ or more 4 20mA 6004 or less RUN Number of Output Points 2 points each N side common 2 points each N side common nn P N Resolution 1 5V 0 4000 10 10V 2000 2000 chi e 4 20mA 0 4000 N Overall Accuracy 0 5 FS 25 C 0 5 FS 25 C re 1 FS 0 55 Cv 1 FS 0 55 Cv N Conversion Cycle Approx 1mS Approx 1mS oT ice External Power Supply No
202. rporation MS DOS is a registered trademark and Windows is a trademark of Microsoft Corporation DeviceNet is a trademark of the Open DeviceNet Vender Association Inc Publication number UM TS02E E001 1st edition May 1997 2st edition Jan 1998 Introduction CE Marking The Programmable Controller PROSEC T2E hereafter called T2E complies with the requirements of the EMC Directive 89 336 EEC and the 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 EMC 89 336 EEC as amended by 91 263 EEC and 92 31 EEC Council Directive E LVD 72 23 EEC Manufacture s Name TOSHIBA CORPORATION FUCHU WORKS Manufacture s address 1 TOSHIBA CHO FUCHU SHI TOKYO 183 JAPAN declares that the product Product Name Programmable Controller T2E Series Model Number TPU234E S TCM231EAS TCM232EAS TBT231EAS Product Options All conforms to the following Product Specifications EMC Radiated Interference EN55011 Class A Group 1 Mains Interference EN55011 Class A Group 1 Radiated Susceptibility ENV50140 Conducted RFI Susceptibility ENV50141 IEC1000 4 6 Electrostatic Discharge IEC1000 4 2 Electrical Fast Transient IEC1000 4 4 LVD EN61131 2 1995 3 10 Dielectric Properties 4 Mechanical Requirements Introduction Safety Precautions This manual is prepared for users
203. rror code 5 The registered error codes are cancelled one by one by the execution of the SW023 Error code 6 al A z f diagnostic display re set instruction or by a re set operation by the programmer Error code 7 At this time the number of registers is reduced by one and the storage SW025 Error code 8 positions of the error codes are shifted up SW026 Error code 9 Error code 10 SW028 Error code 11 SW029 Error code 12 SW030 Error code 13 SWO031 Error code 14 SW032 Error code 15 SW033 Error code 16 162 PROSEC T2E 3 User Data aii itis The annunciator relays corresponding to the error codes registered in SW018 Annunciator relay 10 S034A Annunciator relay 11 User s manual 163 3 User Data The annunciator relays corresponding to the error codes registered in SW018 SW033 become ON 164 PROSEC T2E 3 User Data The annunciator relays corresponding to the error codes registered in SW018 SW033 become ON Annunciator relay 64 Register swo38 Programmer port response delay The T2E sends back the response on the programmer port after waiting for mode specified time value 10ms specified value range 0 30 Reserved for future use User s manual 165 3 User Data E ieee A E S Reserved for future use S0411 S0412 S0413 S0414 S0415 S0416 S0417 S0418 Reserved for future use S0419 S041A S041B S041C S041D S041E S041F 166 PROSEC T2E 3 User Data
204. ructure in the SFC program section but you can change the run detail sections ladder diagram which relate to steps and transitions 126 PROSEC T2E 5 RAS Functions The following functions are available only when in the DEBUG mode 4 Single step execution function Starts and halts in units of one instruction The trace of run state is displayed on the screen being monitored by the programmer 5 Single rung execution function Starts and halts in units of one rung The trace of run state is displayed on the screen being monitored by the programmer 6 N scan execution function Starts and halts only with respect to the number of times the specified scan is run The trace of run state is displayed on the screen being monitored by the programmer 7 Break point set up function Starts and halts up to the instruction which is set uo as the break point The break point can be set in one location only The trace of run state is displayed on the screen being monitored by the programmer 8 1 0 simulation No batch I O processing is not performed during scan control Also if you run direct I O instruction the data exchange with the I O module does not take place and the image table XW YW data is used This is used when the program debug is run and is not output to the external output The input state can be set up from the programmer Also the run state is displayed as on line trace 9 Trace back function The on line trace
205. ry flag from the contents of A 1 and A and stores the result in C 1 C The carry flag changes according to the operation result A Y Multiplies the contents of A by the contents of B and stores the result in C 1 unsigned integer calculation Divides the contents of A by the contents of B and stores the quotient in C and the remainder in C 1 unsigned integer operation Divides the contents of A 1 A by the contents of stores the quotient in C and the remainder in C 1 unsigned integer operation e 1 LACA ESC A by just 1 EEN A A o A 2 D D 2 a Increments the contents of A 1 and A by1 Decrements the contents of A b Decrements the contents of A 1 obenbue7 Gulwwesbold S CoS del 93ISOYd Ladder Diagram Instructions Function Instructions Arithmetic operations Logical operations Representation P A 1 A F B 1 B gt C 1 C 2 4 A 1 A F B 1 B gt C 10 F 4 A 1 DAND B 1 B gt C 1 C L A E 2 2 4 4 O 11 1 A I A 1 A DEOR B 1 B gt C 1 C 8 9 0 2 3 4 5 5 5 5 5 5 Number of aoe Summary steps l iied Remarks required equire us L A Double length Netexollelve OR L A 1 A DENR B 1 B gt C 1 0 F Adds the floating point data of A 1 A and B 1 B and stores the result in C 1 C Subtracts the
206. s NOTE VAV Use crimp style terminals with sheaths as far as possible for wiring to the power supply module When it is not possible to use crimp style terminals with sheaths cover with insulating tape so that the conductive parts are not exposed User s manual 65 4 Installation and Wiring 4 8 I O Wiring Pay attention to the following points when mounting and wiring the I O modules Basic unit 3 0 3 P Low power High power 3 U systeml O systeml O o o 70mm or more Expansion unit Low power High power systeml O systeml O 200mm or more power supply Low power High power Power line signal duct signal duct Low Power System I O High Power System I O DC input module AC input module Analog input module DC output module Analog output module AC output module Pulse input module Relay output module Positioning module Serial Interface Transmission module 66 PROSEC T2E 4 Installation and Wiring 1 For the positioning of the I O modules arrange the low power system I O to the left and high power system I O to the right and keep the wiring separate 2 The gap between units should be at least 70mm for maintenance and ventilation 3 Separate by at least 200mm from power lines and power equipment or shield with a steel plate the steel plate must be grounded 4 For the sizes of input output wiring see the Table below Numbers of Poin
207. s been set to ROM other than when the protect run switch is at P RUN the contents of the EEPROM will be transferred to the RAM memory and any corrected contents of the RAM memory will be erased Therefore when setting to RUN after correcting the program in order to check its operation start up RUN after executing program write by a T PDS Memory Management menu In the Table on the next and following pages the meanings of the symbols for the system LED displays are as follows Lit Out Q Blinking No effect on state 84 PROSEC T2E enueu sasn G8 Classification Error Message and Associated Information System power on System power off RAM check error Program BCC error Batt voltage drop EEPROM BCC error EEPROM warning EEPROM write error Generated address A ok 7 BCC error data 0004 O 0013 Number of times of writing exceeded Pf l Information 2 Error data Information 3 SO ES Pd ETE EL AA Test data O BCC error data S0006 O 0 S0030 CPU LED Display Related Special Relays S0004 S0012 RUN FLT S0007 Meaning of Error and Countermeasures Power supply ON No error Power supply OFF No error A fault has been detected by a read write check of the user data memory RAM When the state does not change through switching ON the power supply again replace the CPU module A fault has been detecte
208. s in swift response for the peripherals although the scan time is extended lt Computer link response delay mode gt Response of the T2E can be delayed on the communication port using SW57 ee User s manual 111 2 Operations 2 6 Programming support 9 ISBRE The programming support functions form part of the functions realised as a functions f l result of peripheral support processing Details of the programming support functions are explained in separate manuals for the programmer The explanation here relates to an overview of the functions and their relation to the T2E operation modes 1 Memory clear When the memory clear command is received the content of the user program memory RAM is initialized and the content of the user data memory RAM is cleared to 0 2 I O automatic allocation When the I O automatic allocation command is received the types of I O modules mounted are read and the I O allocation information is stored on the system information System information is in the user program memory 3 Reading the I O allocation information The I O allocation information is read from the system information and sent to the peripherals 4 Writing I O allocation information O allocation information received from peripherals is stored on the system information 5 Reading the system information The system information program ID retentive memory specification number of steps used scan mod
209. s re set when RUN starts up 158 PROSEC T2E 3 User Data 0020 I O bus error Down ON when I O bus error ON when I O collation error allocation information and mounting state do not agree S0021 I O collation error Down 0022 1 0 response error Down ON when no I O response 0023 1 0 parity error Down ON when I O data parity error occurs S0024 Reserve for future use S0025 I O interrupt error Warning ON when unused l O interrupt occurs operation continues S0026 Special module error Warning ON when fault occurs in special module operation continues S0027 S0028 S0029 S002A S002B Reserved for future use S002C S002D S002E S002F S0030 Program error ON when program fault occurs OR condition of SW006 related flag S0032 S0033 S0034 S0035 S0036 S0037 0038 EEPROM Initialization O Normal 1 Initializing S0039 EEPROM Error O Normal 1 Error S003A S003B S003C S003D S003E S003F Reserved for future use Reserved for future use 1 This area is for reference only Do not write 2 The error flag becomes ON and is so maintained through the occurrence of a cause it is re set when RUN starts up User s manual 159 3 User Data 0040 0 05sec OFF 0 05sec ON Cycle 0 1sec i S0047 Timing relay 8 0sec 4 0sec OFF 4 0sec ON Cycle 8 0sec S0048 S0049 S004A Reserved for future use S004B S004C S004D S004E Alway OFF Always OFF S004F Alway ON Always ON S0050 CF
210. s shown below CPU hardware diagnostics and initialization Power OFF time Power ON time registration The system initialization from power Battery check ON to completion approx 2 seconds without initial load approx 2 3 seconds Initial load with initial load User data initialization User program check CPU hardware diagnostics and initialization The system ROM check the system RAM check and initial set up the peripheral LSI check and initial set up the calendar LSI and the language processor LP check take place Power OFF time Power ON time registration The last time the power was switched OFF is registered in the event history table and the present date and time of Power ON read from the calendar LSI is recorded Also the special register SW0007 SW013 are set into the present date and time when the contents of RAM is kept by built in capacitor or optional battery Battery cheak The battery voltage is checked for the user program and the user data back up If the battery voltage is lower than the specified value a message is recorded in the event hystory table batt voltage drop together with the special relay battery alarm flag SOOOF setting The battery isn t built in the standard CPU module on which optional card isn t mounted In that case CPU checks the contents of RAM and the above take place if any error is detected Initial load The initial load means the term for the transfer of the co
211. s shown in the following Table Numerical Value Binary Expression Hexadecimal Decimal Expression 65535 1111 1111 1111 1111 FFFF 65534 1111 1111 1111 1110 FFFE J f f 1 0000 0000 0000 0001 0001 0 0000 0000 0000 0000 0000 vay When programming and when program monitoring it is possible to shift between decimal numbers and hexadecimal numbers for displaying setting register data When using a hexadecimal display H is attached before the numerical value Example H89AB hexadecimal 89AB 2 Integer This is a 16 bit integer expressed by 1 register A negative number is expressed by 2 s complements MSB LSB FEDCBA9876 5432 1 0 lt Bi positions Register Data 15 bits Sign bit The numerical value is expressed by the 15 bits from bit 0 to bit E Bit F expresses the sign 0 when positive 1 when negative User s manual 179 3 User Data Processable numerical ranges and expression formats are shown in the following Table Numerical Value Binary Expression Hexadecimal Decimal Expression 32767 0111 1111 1111 1111 7FFF 32766 0111 1111 1111 1110 7FFE J J J 1 0000 0000 0000 0001 0001 1 0000 0000 0000 0000 0001 1 1111 1111 1111 1111 FFFF J J J 32767 1000 0000 0000 0001 8001 32768 1000 0000 0000 0000 8000 The numerical value when two complementary exp
212. s the logical OR of the table of size n headed by A and the table of size n headed by B and stores 5 301 8 5n it in the location headed by C Finds the exclusive IOR of the table of size n headed by A and the table of size n headed by B and 5 301 8 5n stores it in the location headed by C Finds the NOT exclusive OR of the table of size n headed by A and the table of size n headed by B 5 301 8 5n and stores it in the location headed by C Number of Summary steps required Remarks Turns the output ON if the logical AND of A and B 3 5 is other than 0 Turns the output ON if the logical AND of A 1 plus B 1 B is other than 0 Decides the ON OFF state of the A th bit of the bit 5 6 JOE table size n headed by B Shifts the data in A 1 bit to the right LSB direction and stores the result in A The carry flag changes according to the result Shifts the data in A 1 bit to the left MSB direction and stores the result in A The carry flag changes according to the result Shifts the data in A n bits to the right LSB direction and stores the result in B The carry flag changes according to the result Shifts the data in A n bits to the left MSB direction and stores the result in B The carry flag changes according to the result obenbue7 BunuuwelbDolg S vee 301 9ISOYd Ladder Diagram Instructions Function Instructions ll Shift 72 m bit fil
213. s the results in C Searches the n word data table headed by A for the maximum value stores the maximum value in B A gt A 4 150 18n and stores the pointer with the maximum value in B 1 Searches the n word data table headed by A for the minimum value stores the minimum value in A and 4 150 18n stores the pointer with the minimum value in B 1 Calculates the average value for the n word data 138 17n MN Number of steps required Summary Moves the data of A to the n word data table headed by B and calculates the average value and stores it in C Calculates the data of A by the value of B according to the filtering function and a i in Applies an upper limit to the contents of A value of B and stores the results in C using the using the table headed by A and stores it in B Using the function defined by the 2x n parameters headed by B finds the function value which takes E contents of A as its argument and stores it in E the value which gives the dead band indicated by B for the contents of A and stores it in C Finds the square root of the double length data A 1 and A and stores it in B Calculates the integral for the value of A from the integral peer iy et and B and stores the result in C 1 C Generates the ramp ed for the value ae PLuyrweeoo ERA starting with B and stores it in obenbue7 Bunuule1IDolg S enueu sasn G
214. set to ROM not executed in the P RUN mode at transition to the RUN mode when transited to the RUN mode and ROM RAM switch is set to ROM not executed in the P RUN mode Read write the data registers in EEPROM Write EEPROM by programmer Reads out the data registers D in the EEPROM and stores in the main memory by user program Writes the specified data of the main memory into the data registers in the EEPROM by user program Writes the contents of the user program including the system information and the data registers D the timer registers T the counter registers C and the auxiliary relay registers RW in the main memory RAM into the EEPROM accessed by expanded data transfer instruction XFER Executed by programmer command Program write to IC card EEPROM in the HALT mode Read EEPROM by programmer Transfers the contents OF the EEPROM to the user program including the system information and the data registers D the timer registers T the counter registers C and the auxiliary relay registers RW in the main memory RAM Executed by programmer command Program read from IC card EEPROM in the HALT mode not executed in the P RUN mode The P RUN mode is when the operation switch is RUN and the protect switch SW 1 is ON NOTE VAV 1 Refer to 2 2 System initialization and 2 4 Scan control for details of the initial load function 2 The EEPRO
215. so within the register pattern OFF is shown as O ON is shown as and do not care is shown as X The device and bit pattern registration takes place in programmer system diagnosis mode eee eee eee User s manual 129 5 RAS Functions 3 Register value validity check function This function checks that the register value is within the specified numerical value range There can be up to a maximum of 4 registers a minimum and maximum value is registered for each Also it is possible to select the register value to be taken as an integer signed or as a positive integer unsigned The check is carried out immediately before starting a scan the results are stored in the special relay S0143 S0146 within the range 0 outside the range 1 registered type minimum maximum present register register value XW034 unsigned 0 400 200 XW035 signed 1500 1500 2000 D0011 unsigned H0200 H9000 comparison H1234 W0100 signed 300 600 1000 result register 1 XW034 850143 0 register 2 XW035 80144 1 register 3 DO011 S0145 0 register 4 W0100 80146 1 The register and the numerical value range are registered in programmer system diagnosis mode 130 PROSEC T2E 5 RAS Functions 4 Sequence time over detection function The alarm step is provided for one of SFC sequential function chart instructions This Alarm step turns ON the specified device when the following transition is not come true withi
216. stration of the storage capacity of the sampling data from the sampling trace function In I O allocation it automatically performs the setting of 8K words The sampling buffer capacity can be monitored on the system information screen of the programmer Setting is not needed in the T2E User s manual 139 2 User Program Configuration 8 10 11 12 13 Retentive memory area Designation This sets and registers the address limits for the auxiliary register RW timer register T counter register C and data register D which retain pre power cut data out of the user data when there is a power cut power restoration The limits registered here are outside the subjects of the user initialization process For each of these registers the limits from the leading address 0 to the designated address are the retentive memory areas The power cut retention limit designations can be registered monitored on the system information screen of the programmer 10ms Timer Range Setting This is invalid setting is not needed in the T2E Start Mode This is invalid setting is not needed in the T2E Scan Time Settting This sets and registerd the scan mode floating constant When no scan time is registered blank the mode becomes the floating scan mode When a numerical value is set for the scan time the mode becomes a constant scan mode which takes that time as the scan cycle The setting for the scan cycle is 10 200ms
217. t and in any order See Section 4 8 for recommended arrangements Input Output status display LEDs Terminal block insertion and removal levers Type gt 00000000 00000000 PT A Input Output terminal block 10 point 18 point Description Specification DI31 DI32 DC AC input DC input 16 point 16 points per common 12 24V dc ac 32 point 8 points per common 24Vdc DI235 1 IN51 IN61 DO235 1 DO233P 1 DC input AC input Relay output Transistor output Triac output 64 point 8 points per common 24Vdc 16 points 16 points per common 100 120Vac 1 points per common 200 240Vac 12 point 4 points per common 240Vac 10 DC24V 20 2A point 4A 4 points common max 8 point each point isolated 240Vac 10 DC24V 20 2A point max 16 point 16 points per common 5 24Vdc 1A point 1 2A 4 points max 32 point 8 points per common 5 24Vdc 0 1A point 0 8A 8 points common max 64 point 8 points per common 5 24Vdc 0 1A point 0 8A 8 points common max 16 point 16 points per common 12 24Vdc 12 point 4 points per common 100 240Vac 0 5A point 0 6A 2 element SSR max Analog input 8bit 4 channel not isolated between channels 1 5V 4 20mA 8bit resolution 4 channel not isolated between channels 0 10V 8bit resolution Al32
218. t Bit Pulse Width Modulation Random Access Memory Read Only Memory AC voltage DC voltage ix Contents Contents Important Information Introduction About This Manual PART 1 HARDWARE 1 SYSTEM CONFIGURATION Ll stan CUE a 3 1 2 Power Supply Modula gc tase ae cae a aaa a ee a 6 ESCPU MOQUE ioannas hese tenes aetna ES Eae MSEE Oaea REE ne eta Cig eeemec stamens 1 4 Optional Communication Card RAR IO O EENEI A A EENE EOE a A A MO MS ee eee 1 8 Data Transmission Modules 2 SPECIFICATION ARS o HEFCE A AEN UOTE 2 2 External Dimensions mm 23 VO Module Special poor 3 APPLICATION PRECAUTIONS FOR I O MODULES 3 1 Input Modules Application Precautions 3 2 Transistor Output Module Application Precautions 3 3 Triac Output Module Application Precautions oc ccecssceessssssssssesssssssssessussessmusssssusssssussesiussesenusssseet 56 3 4 Relay Output Module Application Precautions oo eccscessssessssssessssssscesstscesssscesstssssstssssstmsessstsesssneet 56 3 5 Analog Input Module Application Precautions 3 6 Analog Output Module Application Precautions Contents 4 INSTALLATION AND WIRING 4 1 Operating Envia Medici ns 59 e A 60 AS Mounino HS Mod l S seran ir tin ta ceeeianeamenserenaaeanienets 60 Aa C OMRS CHING the Expansion ls 61 E O a PAAA E A A A A E A E AE EA E 62 4 6 Grounding Method uc ns 63 A UTC S ad o rertenreey eeerenmmerrtre 65 ST WR NNN ic see ele testes PP bala
219. t allocation information in Allocation system information The T2E CPU checks whether the I O modules are correctly mounted based on this input output allocation information when RUN starts up Also at the same time the correspondence between the input output registers XW YW and the I O modules is determined based on this input output allocation information On the other hand the programmer reads this input output allocation information when communicating with the T2E and recognizes the assignment whether input XW or output YW for every input output register address There are 2 methods for the registration of input output allocation information in system information These are automatic I O allocation and manual I O allocation The registration of input output allocation information is only available when the T2E is in the HALT mode but not in the memory protect state with the exception of the protect RUN switch being to P RUN Automatic I O Allocation This is a method of causing the T2E to execute the registration of input output allocation information It is carried out by selecting and executing the Autoset command on the I O allocation screen of the programmer T PDS When the automatic I O allocation is executed the T2E CPU reads out state of the I O modules which are mounted what type of module is mounted in which position and registers the input output allocation information Each I O module has one of the module t
220. t device Y X The above is address of register and the above Xis bit position of the register As for bit position there are 16 positions 0 1 9 A B C D E F For example the input devices X050 X05F are assigned corresponding to the input signals as shown below when the 16 point input module is allocated to input register XWO5 16 point input module User s manual 191 4 I O Allocation 4 2 As explained in Part 1 Section 1 5 when the BU268 or the BU266 for Setting of combined type basic unit expansion units set the Unit No before operating Base Unit No The setting is carried out by a rotary switch in the upper part of the expansion connector on the left hand side of the rack Example BU268 Basic Unit 9 9 o g N BU268 Expansion Unit 1 BU268 Expansion Unit 2 ol Sy Te O 4 BU266 Expansion Unit 43 The rack used for Switch Setting Basic Unit 0 Set in the order 1 2 3 starting from the unit closest Expansion Units to the basic unit NOTE VAV 1 Switches will be set at o at the factory 2 Be careful not to duplicate Unit Nos on units 3 Do not use setting 4 9 as these are not for use 192 PROSEC T2E 4 I O Allocation 4 3 The execution of input output allocation can be said in other words to be the Methods of Input Output carrying out of the registration of input outpu
221. t scan Scan mode The floating scan mode is that immediately after one scan is complete the next scan commences It is the shortest scan cycle but the scan cycle varies according to the user program running state The action of the floating scan is shown in the following diagram scan cycle scan cycle xa next scan begins mmediately 106 PROSEC T2E 2 Operations The constant scan mode has a specified time cycle for scanning The set up range of the cycle is 10 200ms 10ms units Use this scan cycle to avoid variation in scan intervals The action of the constant scan when the cycle is fixed at 50ms is shown in the following diagram scan cycle fixed at 50ms scan cycle fixed at 50ms Scan mode selection is performed by setting up the scan cycle in the system information menu of the programmer To select floating scan do not set up a scan time leave blank With the constant scan the scan time can be set up within the range 10 200ms 10ms units Note In the constant scan if the time for one scan is exceeded in a specified cycle it becomes a floating scan and the fixed time scan retard flag special relay S0008 comes ON Also when the scan time reverts to within the specified cycle the scan cycle returns to the original constant scan fixed time scan fixed time scan a a immediately to next can returns to constant scan E nn 1 User s manual 107 2 Operations 2 4 2 Batch I O
222. t the program Remove the CPU module from the basic unit Take off a part which connects optional card after turning power OFF with CPU module Take off a terminal block for communication from optional card in the case of CM231E 7 74 PROSEC T2E 5 Maintenance and Checks Pull off a connector of the battery Inserting a finger into the hole under battery holder take off a battery like pushing out a Insert a new battery into the holder supporting Connect the new battery s connector it from the hole by a finger Corresponding with position of connectors By using the part which is taken off in the connect connect CPU module and optional card both CPU module and optional card to fix e Disposal of the battery Dispose of the battery in the same way as general purpose dry batteries There is a risk of explosion if dismantled or burnt If the and of a lithium battery are allowed to short this may lead to igniting and fumes Don not cut the lead wires and do not dismantle the connectors User s manual 75 5 Maintenance and Checks NOTE VAV 1 The battery should be replaced with power OFF The time with battery removed should be within 5 minutes If the battery is kept removed for a long time the contents of the RAM memory will be erased so please take care 2 When the optional card is not mounted in the T2E or when connector of the battery is disconnected an LED BAT is out 3 When handlin
223. tep sequence Turns output ON when input is 145 Step sequence input ON and device A is ON These comprise one step sequence When input is ON the instruction turns OFF the devices with step 146 Step sequence output E sequence input instructions on the same route and turns device A ON 2 3 2 2 E EY EA EA EA Pd MS za a PT ei ON 92 73 67 40 55 40 41 61 41 124 97 70 13 step A activation of SFC When input is changed from OFF to ON the instruction SFC initialize p resets the n steps from the SFC step A and activates 3 1 F a O O g 3 gt O O D O O enueu sasn eve Ladder Diagram Instructions Function Instructions Representation Diagnostic display Diagnostic display reset Status latch set Status latch reset Set Calendar Calendar operation A DRUM n B gt C m Drum sequencer Cam sequencer Summary When input has changed from OFF to ON the instruction records the error code indicated by A in the special register and turns ON the corresponding annunciator relay The error messages max 12 characters recorded in the register tables headed by B can be monitored on the peripheral devices Erases the error code A from the error code list recorded by the diagnostic display instruction FUN150 and from the annunciator r
224. that normal operation can not continue This is a mode transition condition Also within the RUN mode other than the usual RUN mode there are also RUN F HOLD and DEBUG modes mainly for debugging HALT mode Mode change request i by operation mode switch L Mode change request by programmer peripherals l a E AE R ee 4 l I I I I I RUN mode I I I I I A mece _ _ Q_ zzz __ A User s manual 101 2 Operations The operation of each mode and the mode transition condition are shown below HALT External all output OFF user program execution and I O processing halted In HALT mode the mode control is performed periodically every 50ms Peripheral support and self diagostics are performed for the idle time This is the mode for user to edit change user program RUN After initial load when neccesary user data initialization I O module setting up user program check and scan mode decisions the T2E goes into RUN mode Mode control batch I O timer update and user program execution are repeatedly performed in RUN mode This operation is called scan control There are two kinds of scanning system the floating scan repeats program execution continuously and the constant scan repeats program execution constantly according to user specified time The selection is called scan mode selection Scan control is explained in detail in 2 4 and 3 RUN F This is the forced run mode It differ from the
225. the T2E system has not been established When the FLT LED on the CPU module is blinking there is a malfunction in the CPU module When this state does not change even if the power supply of the T2E system is switched ON again replace the CPU module When Receive Time Out is displayed in states without FLT blinking check the Connection method of the setup options of the programmer T PDS and the connection state of the connector cable When there is no problem with the environmental setting or the connector cable a malfunction of communication circuit in the T2E system or the programmer is suspected When the Event History has been displayed check the registered error message Event No 1 is the latest registered details On the next and following pages the error messages and associated information registered in the Event History related special relays LED display states after the event and their meaning are collated When an error occurs check its cause and take the necessary steps In the Error Down state operations such as program correction will not be possible Therefore carry out operations such as correction after executing Error Reset from the programmer In order to start up RUN again either shift the operation mode switch to RUN after first shifting it to HALT or execute the Operation command from the programmer NOTE VAV If RUN is started in the state in which the ROM RAM shift switch ha
226. the allocation of the link register relay W Z and L LW to the data transmission module 9 With the direct I O processing method output is in register units even when the bit O is specified Refer to Part 3 for direct I O registers ee User s manual 109 2 Operations 2 4 3 Timer update The timer register used in the timer instruction is updated increased and the timing relay within the special relays S0040 S0047 is updated e updating the timer register mesane FH HHH LETT TT A van VT ee eT Iscan cycle scan cycle timer update timer update The number of system interrupts which occur during the timer update cycle scan cycle are counted and these counts are added up in the timer register which is started up by the timer instruction TON TOF SS TRG The 10msec interrupt is used in the 0 01 second timer T000 T063 and the 100ms interrupts are used in the 0 1 second timer T064 T255 The 10 msec system interrupt is used for the timer update The timer reset and the time up processing are performed when running the timer instruction timer timer register reset range classification timer device R a 0 01 second T000 T063 0 32767 8 on delay timer TON off delay timer TOF 0 1 second T064 T255 0 32767 single shot timer SS timer T 064 T 255 0 3276 7 seconds timer trigger TRG timer T 000 T 063 0 327 67 seconds Take the criteria for the time for performing the
227. the power to the T2E is switched ON or when a power supply failure occurs after some specified time Is the supplied power eae 85 264Vac voltage within the specified specified values 20 4 28 8Vdc values Within the allowable values Note After eliminating the cause of the blown fuse replace it See the following NOTE Has the power supply fuse blown W O 5 Not blown Will the POWER LED light when all the modules and Out The problem lies in the the expansion cables other power supply module or than the power supply the rack module are removed Re check whether the Outside the Make to total current internal 5V and external allowed range consumption of the 24V current consumption is 777777777 CPU and I O come within the allowable values within the allowable range Within the allowable values Mount the modules one The module mounted by one and determine immediately before the the state where the light goes out is defective POWER LED goes out VAV 1 When carrying out the above checks always check each step after switching the power supply OFF again 2 When a fuse has blown always determine the cause of the blown fuse and eliminate it If the fuse is replaced and the power supply is switched ON again without eliminating the cause there is a risk of progressive damage to the module When the cause of the blown fuse cannot be determined consult Toshiba witho
228. the result If B is a register Takes the table of m words headed by B and rotates it to the left high address direction by the number of words indicated by A Same as register m bit file n bits rotate left apealication in RUNES with carry If B is a device Takes the bit file of m bits headed by B including the carry flag and rotates it to the left MSB direction by the number of bits indicated by A The carry flag changes according to the result Takes the contents of the B th register in the table of size n headed by the register A and stores them in the register C Multiplexer Number of ae steps Ime d Remarks required require us pe fm aef sfe A A ee obenbue7 Bunuule1Dolg S enueu sasn ES Ladder Diagram Instructions Function Instructions i S gt Stores the contents of the register A in the oer of the table of size n headed by the oa Table gt bit transfer Bit gt table transfer G the B th bit from the head of the table of size n words reed by the register A and stores it in the device C Takes the of the device A and stores them in the aa bit of the table of size n headed by the eee Number of steps required Execution time required obenbue7 Gulwwwesbold S gez del 9ISOYd Ladder Diagram Instructions Function Instructions Execution time required us Number of Representation Summary steps
229. tion impossible with the periphrals when detecting error in the initialization Reading data Batch reading the program Possible except in ERROR mode Search Possible in HALT mode Program writing to EEPROM Memory clear Possible when in HALT mode ic all except when operation mode switch is O automatic allocation RUN and DIP SW1 is ON Writing the I O allocation information Writing the system information Writing the program Batch writing the program Program reading the EEPROM On line program changing Possible except in ERROR mode and except in P RUN Wriitng data Possible except in ERROR mode however writing into D0000 D2047 is prohibited in P RUN 114 PROSEC T2E 3 User Program Running Control 3 1 Program classification The T2E can run several different types of program main program sub program and interrupt program in parallel this function is called the multitask function This function can be used to realize the optimal response time for each application The programs are classified into the following 3 types there are a total of 3 programs eMain program one This program is executed every scan and forms the main part of the scan eSub program one This program is called the sub program 1 When RUN starts up it is executed once only before the main program and after batch I O processing and timer update elnterrupt program one When the interrupt conditio
230. tive check or the like agree Battery Does the battery require A change is changing The battery recommended if 2 years installation date is recorded on have elapsed the optional card cover Are the battery connctors firmly Must not be any slack connected 72 PROSEC T2E 5 Maintenance and Checks 1 Turn off power before checking voltage on terminals Failure to do so can cause electrical shock 2 Do not modify the T2E in hardware nor software This can cause fire electrical shock or injury 5 3 Spare Parts to Keep in The following items are recommended minimum spares These will allow Stock operation to be resumed immediately in the event of any failure Part Quantity Remarks I O modules One of each For the relay contact output type used the contact life must be taken into account See Section 2 3 Fuses Number to be See Section 5 5 used Batteries 1 For emergency use See Section 5 4 CPU modules included 1 Keep a minimum of 1 each to with optional cards reduce down time to the minimum Power supply 1 modules Programmer 1set Useful for detecting the cause of a failure Master programs As required Keep on FD or the like Do not touch activated terminals of I O modules and units Keep the terminal covers closed during power ON This can cause electrical shock or injury NOTE y YAY batteries in a cool 25 C or less place as self descharge is gr
231. transferred to the upper 8 bits of D0000 At the same time the lower 2 digits 8 bits data of D000 are tranferred to the 2 digits 8 bits stating with ROOOO F 7 0 F 7 0 is A M Substitute by 0 The value of RW000 before exchange remains NOTE VAV 1 Be careful that the result of digit designation does not exceed the address range When the result of digit designation exceeds the address range the excess portion will be ignored a boundary error will occur 2 Acombination of digit designation and index modification can also be used Example Q1 If HOO1C it signifies the same Q1 Rooo0 s RoC User s manual 189 4 I O Allocation 4 1 Overview The state of external input signals inputted to T2E input modules is read via the input registers devices XW X or IW I when scan control is executed On the other hand the output data determined in user program execution are outputted to output modules via output registers devices YW Y or OW O and outputs from the output modules to external loads are based on these data Input output allocation is the execution of mapping between input registers devices and input modules and of mapping between output registers devices and output modules In other words physical devices called I O modules are allocated to logic devices called registers devices Input registers devices and output registers devices do not use their own independent memory areas The
232. truction is executed and is stored in an input register input device XW X Thus the data changes during the scan Codes Output registers YW Output devices Y Addresses Output registers 000 063 64 words ommon use as output Output devices 0000 063F 1024 points registers output devices Functions These are allocated in the output module as register units word units by performing input output allocation The data stored in the output register is written to the corresponding output module by batch input output timing and the state of the output signal of the output module is determined except for modules which have the designation i attached when allocating An output device expresses 1 bit of an output register 152 PROSEC T2E 3 User Data Direct Input Registers E Direct input registers IW and Direct Input Devices Direct input devices Direct input registers 000 063 correspond to input registers XW Addresses Direct input devices 0000 063F correspond to input devices X Direct input registers direct input devices do not themselves indicate specific memories When the instruction word which uses these registers devices is executed they operate and read data directly from the input module corresponding to the address These registers devices are used when using the T2E by the direct input output system direct system and not the batch input output system refresh system Exampl
233. ts from the designated devices bit positions are made the subject of data operation Digit designation can be used by the transfer FUN18 and data echange FUN22 instructions In practice in the case of the following Example 2 digits from X0008 that is to say the upper 8 bits of XW000 become the subject of data operation Example we A Digit designation in this case 2 digit designation Q2 X008 A Digit designation leading device designates the hatched line area WWE 2nd digit 1st digit X008 There are 5 types of digit designation QO Q1 Q4 which have the following significations QO makes the designated device 1 bit the subject of data operation Q1 makes 1 digit 4 bits with the designated device as the lead the subject of data operation Q2 makes 2 digits 8 bits with the designated device as the lead the subject of data operation Q3 makes 3 digits 12 bits with the designated device as the lead the subject of data operation Q4 makes 4 digits 16 bits with the designated device as the lead the subject of data operation NOTE VAV Q5 to Q8 cannot be used by the T2E In digit designation when the area designated covers multiple registers as shown below the area is designated from the smaller address to the greater address Example RW031 RWO30 F 0 Q4 JY op i Ro3oc gt YOY Ye The 16 bits RO30C to RO31B RO30C is the lowest position
234. ts in Modules Wire Sizes to Use 16 point module 0 5 1 25mm 32 64 point module 0 1 0 3mm However for common lines use a thicker size which takes account of the current capacity Also for cables outside the panel the use of cable of at least 1 25mmY is recommended to keep the impedance low 5 The terminal screws are M3 5 For suitable crimp style terminals use terminals with width 7mm or less for M3 5 screws 6 Both inside and outside the panel always avoid wiring input output signal lines in bundles with in proximity or in parallel with high voltage lines and power lines When separation is difficult use multi core shielded cable depending on the type of input output signals and make a single point ground for the shield at the service entrance in the panel in the cases of AC 0 DC I O and relay output modules 7 Pay attention to 3 Application Precautions for I O Modules 1 Turn off power before wiring to minimize the risk of electrical shock 2 Use crimp style terminals with sheaths as far as possible for wiring to the power supply module When it is not possible to use crimp style terminals with sheaths cover with insulating tape so that the conductive parts are not exposed 3 Operation without grounding may cause electrical shock or malfunction Connect the ground terminal on the T2E to the system ground 4 Apply power of the specified rating Applying excess power voltage to the T2E can caus
235. ub routine during the execution of a sub routine take care that the following do not occur The case of an interrupt occurring during the execution of a sub routine by the main program and the same sub routine being called in the interrupt O Input procedure for sub routine programs When first creating the program if the program editing mode is entered without designation main program edit is selected Therefore when editing a sub routine program select sub routine program edit with the following procedure when starting to edit T PDS operation 1 Press F2 Read with the program edit screen 2 Select Sub routine from the window 3 Select Block designation from the window 4 After designating the block number usually 1 create the program in the same way as for the main program For details see T PDS opeartion manuals 3 User Data 3 1 The area which stores the external input output data current values of timer Overview instructions and counter instructions which are used in user programs and the values of the variables for data processing is called the user data area For user data the storage location of the data is expressed by a combination of function type and a sequence of numbers which starts from 0 this is called the address Example XW 009 E Address 005 in this case it is the register address Function type XW Input register To say that the
236. ule and the programmer T PDS by a dedicated cable 2 Switch ON the power supply of the programmer T PDS The power supply of the T2E system should also be ON 3 Start up T PDS by keying in TPDS Enter from the programmer T PDS 4 If some key any key is pressed the T PDS initial menu screen will be displayed At this time Receive Time Out should not be displayed 5 In this state if S and E are keyed in the Event History will be displayed Example of Event History display screen lt Event History gt Date Time Event Comt Info 1 Info 2 Info 3 Mode 1 93 45 88 17 55 19 System power on 1 INIT 2 93 05 08 16 55 28 System power off 1 RUN 3 93 94 01 21 54 22 System power on 1 mr 4 93 84 61 21 54 11 System power off 1 ERROR 5 93 84 81 21 53 18 1 0 no answer 5 888 03 YWB82 RUN SS 6 93 44 81 17 05 46 System power on 1i INIT 7 33 04 81 17 05 09 System power off 1 BALT 8 93 84 81 11 14 46 No END TRET error 1 M 81 PBB82B BALT MN 9 18 1 12 12 14 15 PLO TE Event DE Next ad MO ca Control MT The Event History can be registered even if initial set of the calendar is not executed or even if the contents of calendar is not maintained which has no calendar However the Date and Time displays will be shown as 22 22 22 22 User s manual 83 6 Troubleshooting When Receive Time Out is displayed in Step 4 above communication between the programmer and
237. ult Subtracts B 1 and B plus the contents of the carry flag from A 1 A in BCD and stores the result in C 1 C The carry flag changes according to the operation result obenbue7 Gulwwwesbold S 8vc del 93ISOYd Ladder Diagram Instructions Function Instructions Group e Number of o Name Representation Summary steps t ie a Remarks required ne Input Using the n word register range headed by the outout _ input output register A the instruction carries out 4 p ee Direct Ia input output of data from to the corresponding I O 3 6963n module 2 2 source indirectly specified by the register A to the Expanded data transfer transfer destination indirectly specified by the register 4 F C or has special functions Special module data Carries out data transfer from the expanded memory 4 430 5 6n read 4 A READ B gt C of the special module to the user register area oe Special module data E Transfers the contents of the user register area to the 4 427410 6n write 4 A WRITE B gt C F expanded memory area of the special module i Transfers the word block of size B from the transfer a obenbue7 Bunuule1Dolg S enueu sasn 6c SFC Instructions Representation initialize SFC initialize Initial step Macro step Wait step Alarm step Execution required Number of Summary steps requi
238. ultiple inputs Example R0000 R0003 j y R0001 SOO4F R0004 p ossible CNT R0002 10 c030 R0005 User s manual 209 5 Programming Language 5 3 SFC SFC is the abbreviation of Sequential Function Chart This is a programming language suitable for process stepping control sequential control In the T2E an SFC is applied in which the following functions are added to general SFC Jump Moves the active state to an arbitrary step when a jump condition is satisfied Step with waiting time Even if the transition condition is satisfied step transition is not carried out until a set time has elapsed wait step Step with alam When transition to the following step is not carried out even if the set time has elapsed the designated alarm device becomes ON Alam step SFC can be used in the main program Here the overall composition of SFC the composition factors of SFC and notes on program creation are described An SFC program is composed of SFC structure action program parts and transition condition units SFC structure progzpm unit a Transition condition unit 120 Gasen H Ltt se Action UN Pr Step a Seer i Step number An SFC structure regulates the flow of the control operation and has steps and transitions as its basic elements A step is expressed by one box as shown above Each step has its own step number Also corresponding execution programs are annexed 1 to
239. ut Check When there is a problem with the actual operation of output equipment although correctly outputting to registers and devices on the program carry out the following in preparation for checks 1 Save the program In a floppy disk EEPROM etc 2 Clear the CPU memory 3 Put the ROM RAM shift switch to RAM ON After making the above preparations carry out checks in the following sequence Apply power and operate automatic I O allocation Does the I O allocation A problem with the unit CPU I O information agree with the module expansion cables can be module mounting state suspected See the paragraph on YES input checks Write the END command only and turn to RUN Pep Gc ONOE whew NO The problem lies in the output output from the data ff Ases a setting of the programmer eplace the module is ON OFF Is the external power Abnormal Adjust the external power supply supply voltage ofthe 77777 voltage to the specified voltages output module normal of the respective output modules Note After eliminating the cause of the blown fuse replace the fuse Has a fuse blown When there is no fuse proceed as if fuse not blown Fuse not blown The problem lies in the output element Replace the module NOTE VAV When a fuse blows always investigate and eliminate the cause If the fuse is replaced without eliminating the cause and the power supply is switched ON again there
240. ut putting up the detail unit display screen See the programmer T PDS operation manual in a separate volume for this operation ___NOTE VAV The following execution control instructions cannot be used in action programs and transition conditions il Jump JSC JCR JUMP LBL i Master control MCS MCR MCSn MCRn l End END FOR NEXT FOR NEXT The invert contact and various coil instructions cannot be used in transition conditions 220 PROSEC T2E Execution System 5 Programming Language The following shows the concept of the execution system in one SFC program 1 In one scan evaluation of the transition condition the step transition processing and the execution of the action program unit are sequentially operated 2 Evaluation of the transition condition means the execution of the transition condition connected to an active step and carrying out a check for transition condition establishment At this time since evaluation is made only for active step there are no multiple step transitions by 1 scan in consecutively connected steps For instance as shown in the diagram on the right in a program in which the transition condition from step 100 100 to 101 and the transition condition from step 101 to 102 are the same step 100 becomes active in the previous scan and when device A has been switched ON in the present scan there is transition to step 101 hd in the present scan Tr
241. ut replacing the fuse 78 PROSEC T2E 6 Troubleshooting 6 3 CPU Check When the POWER LED of the power supply module is lit but the RUN LED of the CPU module is out check the following items Is the FLT LED blinking Out or lit Blinking When it blinks even if powersupply is on CPU module is defective Replace the CPU Is the FLT LED lit Lit __ _ An error has occurred Check the content of the Event Out History Is the CPU module NO operation mode switch tof Sri to RUN RUN Is the RUN Stand By It starts up in the HALT mode switch set to OFF despite the setting of the operation RUN mode switch Therefore either shift the operation mode switch_ HALT RUN or start RUN from the programmer Blinking It is in the HOLD mode Release HOLD using the programmer Is the RUN LED blinking 6 4 Program Check when the control operation does not operate properly although the program is executed check the following items 1 Is there an output to the same coil or register at 2 or more places in 1 scan or is there an overlap of the device for coil instruction and function block instruction 2 Is there an attempt to input a signal which changes faster than the scanning cycle 3 Is the same timer register or counter register being used for multiple timer instructions or counter instructions 4 When interrupt is in use is a device or register operating during th
242. ve Codes J K 3 types 3 words Functions When registers apart from index registers are used by instructions apart from the normal address designation system direct address designation for instance D0100 indirect designation indirect address designation for instance D0100 1 is possible by using the index registers If for instance the content of is 5 D0100 indicates D0105 For indirect address designation see Section 3 4 User s manual 155 3 User Data Tables of special registers special relays are shown below Map of all the special registers Svoo Clock calendar data SWO013 Year month day hour minute second day of the week SWO014 Reserved for future use SWO015 Flag related to periphral support Sw016 Registration for Diagnosis display system diagnosis SW033 SW034 Annunciator relay system diagnosis SW037 SW042 Reserved for future use SW067 SW068 Related to optional communication card SWO069 Reserved for future use SW070 TOSLINE 30 Scan healthy status SW077 SW078 2 TOSLINE F10 Command status SW93 SW94 TOSLINE F10 Scan error map SW109 156 PROSEC T2E 3 User Data Map of all the special registers SW110 TOSLINE S20 Station status SW111 Reserved for future use sw112 a TOSLINE S20 On line map SW115 SW116 2 Reserved for future use Sw119 SW120 2 TOSLINE S20 Stand by map SW123 SW124 Reserved for future use SW127 SW128
243. vel computer MMI SCADA system modem etc Data link mode Easy data linkage between two T2Es or T2N or Super T1 40 Free ASCII mode Active communication between serial ASCII devices bar code readers etc Programmer port function The T2E s RS 232C programmer port supports the T series link protocol This results in easy connection to a higher level computer an operator interface unit a modem etc Battery less operation The user program is saved in a built in Flash memory No battery maintenance is required Networking High speed industrial LAN The T2E can be connected to Toshiba s high speed industrial LANs Local Area Networks TOSLINE S20 and TOSLINE F10 The TOSLINE series are suited for real time control data linkage Through these networks the T2E can exchange data with Toshiba s various equipment such as DCS system other T series PLCs Inverters etc DeviceNet support A DeviceNet scanner module is available for the T2E The DeviceNet scanner module can read write data to any other manufacturers OVDA certified devices I O blocks Inverters to include Toshiba s G3 air manifold sensors etc High speed processing The T2E excels at applications where high speed processing is required e 0 33us contact e 0 44us coil e 1 2us 16 bit transfer e 1 63us 16 bit addition xiv Contents m Advanced instruction set The T2E offers 24 basic relay ladder instructions and 192 function bl
244. xcept the above 0 clear Link relay register relay Force transmission area retained LW L Other area except the above 0 clear Special register device SWO 063 CPU specified Initialization SW S User specified retained SWO064 0 clear File register F retained Expanded internal memory 0 clear Index register l J K 0 clear Auxiliary register device Specified retentive area retained RW R Force area retained Other area except the above 0 clear Timer register device Specified retentive area retained T T Other area except the above 0 clear Counter register device Specified retentive area retained C C Other area except the above 0 clear Specified retentive area retained Data register Other area D0 D2047 Normal 0 clear D except the P RUN retained above D2048 0 clear NOTE WAV Refer to 5 6 Debug Support Function for forced functions Refer to Part 3 2 2 for power failure support specification User program check The content of the user program is checked by the main memory RAM on BCC 2 Operations 2 3 Mode Control The T2E operation mode is selected according to the status of the mode switch on the CPU module and mode change requests from the peripherals programmer computer link data transmission system The T2E operation mode is basically divided into three the RUN mode the HALT mode and the ERROR mode The ERROR mode is when diagnostic checks conclude
245. y use a series of memory areas which can be said to be input output registers devices a register address range of 64 words from 000 to 063 By executing input output allocation function type determination is carried out by making addresses allocated to input modules input registers devices and addresses allocated to output modules output registers devices Input Output Registers YW 000 YW 001 YW 002 1 O Modules Wy 003 eee Input signal A 32 point input Input signal B YW 004 16 point output Output signal C Input output 16 point output Output signal D allocation execution Input Output Registers YW003 YW 004 Note Addresses not allocated to I O modules are output YW internally 190 PROSEC T2E 4 I O Allocation The input output registers are composed of 16bits There are 64 input output registers in the T2E Therefore 16 input output signals are stored in one register The input output register is expressed as follows in user program Input Register XW Output Register YW The above is address of the register or it is called number of the register decimal number from 000 to 063 Also each bit of input output registers it is called Device is expressed as follows Bit in the input register input device X x Bit in the output register outpu
246. ypes shown on the following page User s manual 193 4 I O Allocation Type Specification Module Type DI31 16 point 12 24V DC AC input X 1W DI32 32 point 24VDC input X 2W DI235 64 point 24VDC input X 4W IN51 16 point 100 120VAV input X 1W IN61 16 point 200 240VAC input X 1W RO61 12 point relay output 240VAD 24VDC Y 1W RO62 8 point islated relay output 240VAC 24VDC Y 1W DO31 16 point transistor output 5 24VDC sink Y 1W DO32 32 point transistor output 5 24VDC sink Y 2W DO235 64 point transistor output 5 24VDC sink Y 4W DO233P 16 point transistor output 12 24VDC source Y 1W AC61 12 point triac output 100 240VAC Y 1W Al21 4ch analog input 4 20mA 1 5V X 4W Al31 4ch analog input 0 10V X 4W Al22 4ch analog input 4 20mA 1 5V X 4W Al32 4ch analog input 10V X 4W AO31 2ch analog output 5 10V 20mA Y 2W AO22 2ch analog output 4 20mA 1 5V Y 2W AO32 2ch analog output 10V Y 2W Pl21 1ch pulse input 5 12V X 2W MC11 Single axis position control X Y 4W CF211 Serial Interface X Y 4W 1 SN221 TOSLINE S20 co axial cable TL S SN222 TOSLINE S20 optic fibre TL S MS211 TOSLINE F10 master station twisted pair TL F RS211 TOSLINE F10 slare station twisted pair TL F Transmission capacity 8W setting Z 8W us a eee ae Transmission i 32W setting ee ESE Transmission capacit 8W setting i Z 8W xiz a A
247. ystem Configuration concisa ii nia ea re 3 95 System INfOrMA ION coi dd a lib 139 Systemi InitaliZatiON oil td dc 99 T Timer Device Ti Fv lheaeeicaupea aa aoia eaaa a E 154 Timer teria IEA ini 116 Timer Interrupt Interval n ieeapscanecapeda eaei naeia daeina Tein iaaeaie 140 EEEE E A E E E E E 154 Timer Update sasona a RRE aa aE i naa ii Eea 110 Timing Relay iii is aA dass 110 160 TIAS Mi a Aa eo a 214 U Unit Address Setting FUNCI N s m rica cda 197 Unsigned Double length Integer o ooooocccnnncconocacanacononcconononanonononcnnnn corno cnn nn ran nn ran n nr ano nara n nn cnn nn rana n enn nnana nenas 181 Unsigned Integer sssusa e e ea eea aieea aeaeaie eak a aa eaii diia 179 User Data Imitiali zation ienien eee a ct 100 User Programi CHECK cueca iii andas ito ro e aeaa aT a SEE aa AE O EEE 105 User Program Memory ii A A a i 135 Ww Wait Semitic 218 260 PROSEC T2E TOSHIBA TOSHIBA INTERNATIONAL EUROPE LTD 1 Roundwood Avenue Stockley Park Uxbridge Middlesex ENGLAND UB11 1AR Tel 0181 756 6000 Fax 0181 848 4969 TOSHIBA INTERNATIONAL CORPORATION Industrial Division 13131 West Little York Road Houston TX 77041 U S A Tel 713 466 0277 Fax 713 466 8773 TOSHIBA INTERNATIONAL CORPORATION PTY LTD Unit 1 9 Orion Road Lane Cove N S W 2066 AUSTRALIA Tel 02 428 2077 TOSHIBA CORPORATION Industrial Equipment Department 1 1 Shibaura 1 chome Minato ku Tokyo 105 JAPAN Tel 03 3457 4900
Download Pdf Manuals
Related Search
Related Contents
Pump Manager 2 User Manual Manual KT19II Serie Copyright © All rights reserved.
Failed to retrieve file