Toshiba T2N Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Toshiba T2N. Toshiba T2N User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - USER’S MANUAL

UM-TS02N**-E001PROGRAMMABLE CONTROLLERPROSEC T2NUSER’S MANUAL- Basic Hardware and Function -Toshiba Corporation

Strona 2 - Important Information

About This Manual- ix -TerminologyThe following is a list of abbreviations and acronyms used in this manual.µs microsecondASCII American Standard Code

Strona 3 - CE Marking

6.TroubleshootingUser’s manual 85Error Message and Associated Information CPU LED DisplayClassificationError Message Information 1

Strona 4 - Safety Precautions

86 PROSEC T2N6.TroubleshootingError Message and Associated Information CPU LED DisplayClassificationError Message Information 1 Information 2 Informa

Strona 5

6.TroubleshootingUser’s manual 87Error Message and Associated Information CPU LED DisplayClassificationError Message Information 1

Strona 6

88 PROSEC T2N6.TroubleshootingError Message and Associated Information CPU LED DisplayClassificationError Message Information 1 Information 2 Informa

Strona 7

6.TroubleshootingUser’s manual 89Error Message and Associated Information CPU LED DisplayClassificationError Message Information 1

Strona 8 - Introduction

90 PROSEC T2N6.TroubleshootingError Message and Associated Information CPU LED DisplayClassificationError Message Information 1 Information 2 Informa

Strona 9

6.TroubleshootingUser’s manual 91Error Message and Associated Information CPU LED DisplayClassificationError Message Information 1

Strona 11 - Contents

1.OverviewUser’s manual 95The T2N system configuration is shown in the figure below. Part 2 explains theT2N system functions, concen

Strona 12

1.Overview96 PROSEC T2NExample.2 Computer Link FunctionExample.3 Data Link FunctionExample.4 Free ASCII FunctionMaster computerOne-to-N configuration

Strona 13

Contents- x -ContentsImportant InformationIntroductionAbout This ManualPART 1 HARDWARE1. SYSTEM CONFIGURATION1.1 System Configuration...

Strona 14

1.OverviewUser’s manual 97Item SpecificationsControl Method Stored program, cyclic scan systemI/O Method Batch I/O(refresh), Direct

Strona 15 - Features

2.INTERNAL OPERATIONS98 PROSEC T2NThe T2N basic operation flow chart is shown below.T2N performs diagnostics following power on and the first system

Strona 16

2.INTERNAL OPERATIONSUser’s manual 99The system initialization is performed after power ON. That is, Hardwarediagnostics and initial

Strona 17 - HARDWARE

2.INTERNAL OPERATIONS100 PROSEC T2NPerformance table of initial load(power on)Operation modeswitchROM/RAMswitch(DIP SW.2)Initial loadperformanceOFF(R

Strona 18 - User’s manual 3

2.INTERNAL OPERATIONSUser’s manual 101The T2N operation mode is selected according to the status of the mode switchon the CPU module

Strona 19 - 4 PROSEC T2N

2.INTERNAL OPERATIONS102 PROSEC T2NThe operation of each mode and the mode transition condition are shown below.HALT : External all output OFF, user

Strona 20 - User’s manual 5

2.INTERNAL OPERATIONSUser’s manual 103The transition conditions for each mode are shown below.• When power turns to ONOperation mode

Strona 21 - 6 PROSEC T2N

2.INTERNAL OPERATIONS104 PROSEC T2NAs explained in 2.3, when the RUN mode transition conditions are set up, theinitial load (when necessary), the use

Strona 22 - User’s manual 7

2.INTERNAL OPERATIONSUser’s manual 105• Initial loadWhen RUN start up is taking place, with RUN position (the operation modeswitch)

Strona 23 - 8 PROSEC T2N

2.INTERNAL OPERATIONS106 PROSEC T2N†, Š Batch I/O processingThe data exchange between the I/O image table (I/O register/device) andthe I/O module is

Strona 24 - User’s Manual 9

Contents- xi -4. INSTALLATION AND WIRING4.1 Operating Environment...

Strona 25 - 10 PROSEC T2N

2.INTERNAL OPERATIONSUser’s manual 107The constant scan mode has a specified time cycle for scanning. The set uprange of the cycle i

Strona 26 - User’s Manual 11

2.INTERNAL OPERATIONS108 PROSEC T2NThe status of the external input signals from the input module is read onto theI/O register/device (XW/X), the out

Strona 27 - 12 PROSEC T2N

2.INTERNAL OPERATIONSUser’s manual 109If we consider the T2N operation simply from the viewpoint of external signalexchange, batch I

Strona 28 - User’s Manual 13

2.INTERNAL OPERATIONS110 PROSEC T2NThe timer register used in the timer instruction is updated (increased), and thetiming relay within the special re

Strona 29 - 14 PROSEC T2N

2.INTERNAL OPERATIONSUser’s manual 111Peripheral support processing interprets the request commands from the periphrals(programmer,

Strona 30 - User’s Manual 15

2.INTERNAL OPERATIONS112 PROSEC T2NThe programming support functions form part of the functions realised as a resultof peripheral support processing.

Strona 31 - 16 PROSEC T2N

2.INTERNAL OPERATIONSUser’s manual 113A BCC (check code) correction is carried out immediately after rewritingthe content of the use

Strona 32 - User’s Manual 17

2.INTERNAL OPERATIONS114 PROSEC T2N(15) Writing dataUser data address and data content received from the periphrals is storedin the user data memory.

Strona 33 - 18 PROSEC T2N

3.User Program Running ControlUser’s manual 115The T2N can run several different types of program, main program, sub programand inte

Strona 34 - User’s Manual 19

3.User Program Running Control116 PROSEC T2NWhen RUN starts up, sub program #1 is run once only before the main programis executed on the first scan.

Strona 35 - 20 PROSEC T2N

Contents- xii -PART 2 FUNCTIONS1. OVERVIEW1.1 T2N System Configuration...

Strona 36 - General Specification

3.User Program Running ControlUser’s manual 117(1) Priority control of interrupt programWhen several interrupt conditions occur sim

Strona 37 - 2.Specification

4.Peripheral Memory Support118 PROSEC T2NThe contents of the user program and the register data (D) can be stored in theEEPROM and they can be read i

Strona 38 - User’s manual 23

5.RAS FunctionsUser’s manual 119The meaning of RAS is Reliability, Availability and Serviceability, the RASfunction is the general t

Strona 39 - 24 PROSEC T2N

5.RAS Functions120 PROSEC T2NCalendar LSI check The accuracy of the data readfrom the calendar LSI (date andtime) is checked, the data is setin the s

Strona 40 - User’s manual 25

5.RAS FunctionsUser’s manual 121I/O bus parity check Bus parity is checked when theI/O module is accessed. ( Atbatch I/O processing

Strona 41 - 26 PROSEC T2N

5.RAS Functions122 PROSEC T2NWhen an error is detected by the T2N diagnostics the details and time ofoccurrence are registered in the event history t

Strona 42 - User’s manual 27

5.RAS FunctionsUser’s manual 123(4) EventIndicates the what sort of error has been detected. (System power onindicates when system

Strona 43

5.RAS Functions124 PROSEC T2NMemory Protect function is effective when the operation switch on the front ofthe CPU module is P-RUN. This is called me

Strona 44 - User’s manual 29

5.RAS FunctionsUser’s manual 125The T2N support functions to monitor the status of T2N scan control, are asfollows. (Refer to separa

Strona 45

5.RAS Functions126 PROSEC T2N(4) Sampling trace functionCollects data from specified devices/registers when the samplingconditions set by the progra

Strona 46 - User’s manual 31

Contents- xiii -PART 3 USER PROGRAMS1. OVERVIEW1.1 Aim of Part 3...

Strona 47

5.RAS FunctionsUser’s manual 127The T2N support the following functions enable the user program to be debugged.(Refer to separate ma

Strona 48 - User’s manual 33

5.RAS Functions128 PROSEC T2NThe following functions are available only when in the DEBUG mode.(4) Single step execution functionStarts and halts i

Strona 49

5.RAS FunctionsUser’s manual 129The following functions are provided for diagnosis of operation/status. The systemcan be monitored e

Strona 50 - User’s manual 35

5.RAS Functions130 PROSEC T2N(2) Bit pattern check functionThis function checks that the device ON/OFF status for a number ofdevices are in the norm

Strona 51

5.RAS FunctionsUser’s manual 131(3) Register value validity check functionThis function checks that the register value is within th

Strona 52 - User’s manual 37

5.RAS Functions132 PROSEC T2N(4) Sequence time over detection functionThe alarm step is provided for one of SFC (sequential function chart)instructi

Strona 53

1. OverviewUser's manual 133PART 3USER PROGRAMS

Strona 54 - User’s manual 39

1. Overview134 PROSEC T2N

Strona 55

1. OverviewUser's manual 135The main functions of the T2N are to store the user program, to executethe stored user program and to control and mon

Strona 56 - User’s manual 41

1. Overview136 PROSEC T2NThe memory which can be used by user is called user memory. Theuser memory can be divided by configuration into main memoryan

Strona 57

Features- xiv -Features Networking & Communication PLC  Easy to use high technologyThere are three types of CPUs in the T2N.PU215N : Standard ty

Strona 58 - User’s manual 43

2. User Program ConfigurationUser's manual 137The user program memory can be divided into the system informationstorage area and the user program

Strona 59

2. User Program Configuration138 PROSEC T2NMain programSub-program #1Timer interrupt programI/O interrupt program #1I/O interrupt program #2I/O interr

Strona 60 - User’s manual 45

2. User Program ConfigurationUser's manual 1392.2System InformationSystem information is the area which stores execution controlparameters and us

Strona 61

2. User Program Configuration140 PROSEC T2N(8) Retentive memory area DesignationThis sets and registers the address limits for the auxiliary register(

Strona 62 - User’s manual 47

2. User Program ConfigurationUser's manual 141(14) Computer Link ParametersThis sets and registers the parameters when using enhancedcommunicatio

Strona 63

2. User Program Configuration142 PROSEC T2NThe user program is composed of each of the program types of mainprogram, sub-program #1, interrupt program

Strona 64 - User’s manual 49

2. User Program ConfigurationUser's manual 1432.3.1Main ProgramThe main program is the portion which is the core of the user programand is always

Strona 65

2. User Program Configuration144 PROSEC T2N2.3.2Sub-ProgramSub-program #1 can be created which is executed only once at the headof the first scan when

Strona 66 - User’s manual 51

2. User Program ConfigurationUser's manual 1452.3.3Interrupt ProgramThere are a total of 5 types of interrupt program. These are 1 fixed-cycleint

Strona 67 - 52 PROSEC T2N

2. User Program Configuration146 PROSEC T2NWhen it is necessary to execute repetitions of the same process in aprogram, this process can be registered

Strona 68 - User’s manual 53

Features- xv -nEnhanced communicationThe T2N has RS-232C/RS485 serial communication port. Either interface can be selected.Using this port, one of the

Strona 69 - 54 PROSEC T2N

2. User Program ConfigurationUser's manual 147The instruction which calls a registered sub-routine is the CALLinstruction (sub-routine call instr

Strona 70 - User’s manual 55

2. User Program Configuration148 PROSEC T2NNOTE1. Multiple sub-routines can be programmed in a block. However forexecution monitor by programmer, 1 su

Strona 71 - Application Precautions

3.User DataUser's manual 149The area which stores the external input/output data, current values oftimer or counter which are used in user progr

Strona 72 - User’s manual 57

3. User Data150 PROSEC T2N(MSB)XW005X0056 is ON (1)(LSB)Bit positionThe correspondence between register data and device data should beconsidered as fo

Strona 73 - 58 PROSEC T2N

3.User DataUser's manual 151The following Table shows the types of registers and devices and theiraddress ranges. Their functions and methods of

Strona 74 - User’s manual 59

3. User Data152 PROSEC T2NThe following Tables describe the functions and address ranges for eachfunction type of registers and devices.Codes Input re

Strona 75 - 60 PROSEC T2N

3.User DataUser's manual 153CodesDirect input registers ... IWDirect input devices ... IAddressesDirect input registers ... 000-127 (correspond

Strona 76 - User’s manual 61

3. User Data154 PROSEC T2NAuxiliary Registers andAuxiliary DevicesSpecial Registersand Special DevicesTimer Registers andTimer DevicesCounter Register

Strona 77 - 62 PROSEC T2N

3.User DataUser's manual 155Data RegistersLink Registers andLink Device (TOSLINE-S20LP/30)Link Registers andLink Relays(TOSLINE-F10)File Register

Strona 78 - Grounding Methods

3. User Data156 PROSEC T2NRegister ContentSW000 Operation mode, error flag, warning flagSW001 Flag related to CPU errorSW002 Flag related to I/O error

Strona 80 - User’s manual 65

3.User DataUser's manual 157Map of all the special registers~~~~~~Register ContentSW110 TOSLINE-S20LP Station statusSW111 Reserved (for future us

Strona 81 - 66 PROSEC T2N

3. User Data158 PROSEC T2NSpecial Device Name FunctionS0000Operation mode0: Initializing 4: HOLD mode B: D-STOP1: HALT mode 6: ERROR mod

Strona 82 - User’s manual 67

3.User DataUser's manual 159Special Device Name FunctionS0020I/O bus error (Down)ON when I/O bus errorS0021 I/O mismatch error (Down)ON when I/O

Strona 83 - 68 PROSEC T2N

3. User Data160 PROSEC T2N*) This area (except for S0050, S0051) is for reference only (writing is ineffective)Special Device Name FunctionS0040 Timin

Strona 84 - Safty circuit

3.User DataUser's manual 161*1) The calendar data setting is performed by calendar setting instruction or by calendarsetting operation by program

Strona 85 - 70 PROSEC T2N

3. User Data162 PROSEC T2N.The designated error code (1-64) are stored in order of execution in SW018-SW033 (the earlier the code, the lower the addre

Strona 86 - User’s manual 71

3.User DataUser's manual 163.The annunciator relays corresponding to the error codes registered in SW018-SW033 become ON.Special Device Name Func

Strona 87 - 72 PROSEC T2N

3. User Data164 PROSEC T2N.The annunciator relays corresponding to the error codes registered inSW018-SW033 become ONSpecial Device NameFunctionS0350

Strona 88 - Spare Parts to Keep in

3.User DataUser's manual 165.The annunciator relays corresponding to the error codesregistered in SW018-SW033 become ONSpecial DeviceName Functio

Strona 89 - 74 PROSEC T2N

3. User Data166 PROSEC T2NSpecial DeviceName FunctionS0400Reserved (for future use)S0401HOLD device ON during HOLD mode (transition to HOLD even if ON

Strona 90 - User’s manual 75

1.System ConfigurationUser’s manual 3 1.1 System ConfigurationUp to a maximum of 3 expansion units can be connecte

Strona 91 - 76 PROSEC T2N

3.User DataUser's manual 167SpecialRegisterName FunctionSW042SW056Reserved (for future use)SW057Communication port responsedelay modeThe T2N send

Strona 92 - User’s manual 77

3. User Data168 PROSEC T2NSpecial Relay Name FunctionS0700Scan healty map for TOSLINE-30ON when W0000 transmission normalS0701 ON when W0001 transmiss

Strona 93 - 78 PROSEC T2N

3.User DataUser's manual 169Special Device Name FunctionS0720Scan healty map for TOSLINE-30ON when W0032 transmission normalS0721ON when W0033 tr

Strona 94 - Program Check

3. User Data170 PROSEC T2NSpecial Relay Name FunctionS0740Scan healty map for TOSLINE-30ON when W0064 transmission normalS0741 ON when W0065 transmiss

Strona 95 - 80 PROSEC T2N

3.User DataUser's manual 171Special DeviceName FunctionS0760Scan healty map for TOSLINE-30ON when W0096 transmission normalS0761ON when W0097 tra

Strona 96 - User’s manual 81

3. User Data172 PROSEC T2N*) Refer to the TOSLINE-F10 manual for details.SpecialDeviceName FunctionS0780TOSLINE-F10CH1 commandTransmission status ON d

Strona 97 - 82 PROSEC T2N

3.User DataUser's manual 173*) Refer to the TOSLINE-F10 manual for details..The corresponding bit comes ON when the LW register isnot updated nor

Strona 98 - Diagnostic Check

3. User Data174 PROSEC T2N*) Refer to the TOSLINE-S20LP manual for details.SpecialDeviceName FunctionS1100TOSLINE-S20LPstation statusTest mode ON when

Strona 99 - 84 PROSEC T2N

3.User DataUser's manual 175.The corresponding bit is ON when the station is online..The lowest station number corresponds to bit 0 in the SWregi

Strona 100 - User’s manual 85

3. User Data176 PROSEC T2NIt has already been explained the a register is “a location which houses16 bits of data”. In the T2N instruction words, the

Strona 101 - 6.Troubleshooting

1.System Configuration4 PROSEC T2N •Basic Configuration •I/O module •Data transmission ModuleBU228N DC input DI31DeviceNet scannerDN211Rack

Strona 102 - User’s manual 87

3.User DataUser's manual 177(1) Unsigned IntegerThis is a 16-bit unsigned integer expressed by 1 register. The bitconfiguration inside the regist

Strona 103 - 88 PROSEC T2N

3. User Data178 PROSEC T2NRegister▼Bit positionsProcessable numerical ranges and expression formats are shownin the following Tabl

Strona 104 - User’s manual 89

3.User DataUser's manual 179Processable numerical ranges and expression formats are shownin the following Table.Basically, BCD is a data format u

Strona 105 - 90 PROSEC T2N

3. User Data180 PROSEC T2NBoth odd-numbered addresses and even-numbered addressesmay be used as register A.(5) Double-Length IntegersThese are 32-bit

Strona 106 - User’s manual 91

3.User DataUser's manual 181(6) Double-Length BCDThis is 8-digit BCD data which is expressed by using consecutiveregisters.1071061051041031021011

Strona 107 - FUNCTIONS

3. User Data182 PROSEC T2N(7) Floating Point DataThis is a real number which is expressed using 2 consecutiveregisters (32-bit).The registers are desi

Strona 108 - 1.Overview

3.User DataUser's manual 183When registers are used by instructions, the method of directlydesignating the register address as shown in Example 1

Strona 109 - 96 PROSEC T2N

3. User Data184 PROSEC T2NExample 3) Substituting the result of an operation in an index register–[ RW200 - 30 → I ]–(Substitute the result of subt

Strona 110

3.User DataUser's manual 185The following shows an example of the operation when indexmodification is applied to a program.Example)The following

Strona 111 - 98 PROSEC T2N

3. User Data186 PROSEC T2NThere is a method called ‘digit designation’ which is a specialdesignation method for register data. ‘Digit designation’ tre

Strona 112 - User’s manual 99

- i -Important InformationMisuse of this equipment can result in property damage or human injury.Because controlled system applications vary widely, y

Strona 113 - 100 PROSEC T2N

1.System ConfigurationUser’s manual 51)Minimum Configuration2) Maximum ConfigurationNumber of I/O module8 I/O modules(BU228N)8 I/O m

Strona 114 - User’s manual 101

3.User DataUser's manual 187Below, the operation of digit designation is described for the case whendigit designation is executed as a source ope

Strona 115 - 102 PROSEC T2N

3. User Data188 PROSEC T2N(2) Digit Designation for instruction Data ExchangeExample 3)Q2–[ R0000 XCHG D000 ]– (data exchange instruction)It is like a

Strona 116 - User’s manual 103

User's manual 1894. I/O AllocationThe state of external input signals inputted to T2N input modules is readvia the input registers/devices (XW/X

Strona 117 - 104 PROSEC T2N

4. I/O Allocation190 PROSEC T2NThe input/output registers are composed of 16bits. There are 128 input/output registers in the T2N. (Therefore 16 input

Strona 118 - User’s manual 105

User's manual 1914. I/O AllocationAs explained in Part 1 Section 1.5, when the expansion units, set theUnit No. before operating. The setting is

Strona 119 - 106 PROSEC T2N

4. I/O Allocation192 PROSEC T2N4.3Methods of Input/OutputAllocationThe execution of input/output allocation can be said in other words to bethe carryi

Strona 120 - User’s manual 107

User's manual 1934. I/O Allocation*1) In the case of PU235N/PU245N, built-in network is automaticallyallocated.*2) When executing automatic alloc

Strona 121 - 108 PROSEC T2N

4. I/O Allocation194 PROSEC T2NFor instance, when automatic I/O allocation is executed with the I/Omodule mounting configuration shown below, the CPU

Strona 122 - User’s manual 109

User's manual 1954. I/O AllocationThis is the method by which the user edits the input/output allocationinformation on the I/O allocation informa

Strona 123 - 110 PROSEC T2N

4. I/O Allocation196 PROSEC T2NInput/output allocation information can be freely edited and registeredby carrying out manual I/O allocation. However,

Strona 124 - User’s manual 111

1.System Configuration6 PROSEC T2N1.2 Power Supply Module Power supply modules are mounted on the left -end slots of all units. There aretwo types a

Strona 125 - 112 PROSEC T2N

User's manual 1974. I/O Allocation4.4Register and ModuleCorrespondenceWhen input/output allocation information is registered by carrying outautom

Strona 126 - User’s manual 113

4. I/O Allocation198 PROSEC T2NThe following Tables show the allocation of registers when input/outputallocation information is registered.Example)* I

Strona 127 - 114 PROSEC T2N

5. Programming LanguageUser's manual 1995.1OverviewThe T2N supports 2 types of programming language for the userprograms - ladder diagram and SF

Strona 128 - Program classification

5. Programming Language200 PROSEC T2N(2) SFC (Sequential Function Chart)This is a programming language suitable for process stepping control(sequent

Strona 129 - 116 PROSEC T2N

5. Programming LanguageUser's manual 201The following Table shows the programming languages which areusable for each program type/part.❍ : Usable

Strona 130 - User’s manual 117

5. Programming Language202 PROSEC T2N5.2Ladder DiagramMixed use can be made of the two types of programming language,ladder diagram and SFC in the T2N

Strona 131 - 4.Peripheral Memory Support

5. Programming LanguageUser's manual 203The rung numbers are a series of numbers (decimal numbers) startingfrom 1, and rung numbers cannot be ski

Strona 132 - User’s manual 119

5. Programming Language204 PROSEC T2NFunction Blocks ... These are expressed as boxes which eachshow 1 function. As types of function, there aredata

Strona 133 - 120 PROSEC T2N

5. Programming LanguageUser's manual 205The instructions execution sequence in a block composed by ladderdiagram are shown below.(1) They are exe

Strona 134 - User’s manual 121

5. Programming Language206 PROSEC T2N*Jump Control (JCS/JCR)(Sub-routine)10 timesWhen the JCS input is ON, theinstructions from the rung followingJCS

Strona 135 - 122 PROSEC T2N

1.System ConfigurationUser’s manual 7Name Model Internal 5Vdc External 24Vdc Weight(approx.)CPU PU215N 800mA or less - 300gCPU(Ether

Strona 136 - User’s manual 123

5. Programming LanguageUser's manual 207The general facts required for designing programs with ladder diagramsare listed below.(1) In all program

Strona 137 - 124 PROSEC T2N

5. Programming Language208 PROSEC T2N(4) The number of steps required for one instruction differsdepending on the type of instruction. Also, even with

Strona 138 - User’s manual 125

5. Programming LanguageUser's manual 2095.3SFCSFC is the abbreviation of Sequential Function Chart. This is aprogramming language suitable for pr

Strona 139 - 126 PROSEC T2N

5. Programming Language210 PROSEC T2NOverall ConfigurationThe following illustrates the overall configuration of an SFC program.(SFC Main Program)The

Strona 140 - User’s manual 127

5. Programming LanguageUser's manual 211On the other hand a macro program is a sub-squence which starts from‘macro entry’ and finishes at ‘macro

Strona 141 - 128 PROSEC T2N

5. Programming Language212 PROSEC T2NThe following is a description of the elements which compose an SFCprogram.(1) SFC InitializationThis is the func

Strona 142 - System diagnostics

5. Programming LanguageUser's manual 213(2) Initial StepThis is the step which indicates the start of an SFC mainprogram. It has its own step num

Strona 143 - 130 PROSEC T2N

5. Programming Language214 PROSEC T2N(6) End StepThis expresses the end of an SFC main program. An SFC mainprogram requires either this ‘end step’ or

Strona 144 - User’s manual 131

5. Programming LanguageUser's manual 215(9) Simultaneous Sequences (divergence)After the immediately preceding transition condition is satisfied,

Strona 145 - 132 PROSEC T2N

5. Programming Language216 PROSEC T2N(12) Macro EntryThis expresses the start of a macro program. The macro entryhas no action program. Steps are conn

Strona 146 - USER PROGRAMS

1.System Configuration8 PROSEC T2N 1.3CPU Module There are three types of CPU modules with functions as shown below.Type Specificatio

Strona 147

5. Programming LanguageUser's manual 217(15) SFC LabelThis expresses the return destination from an ‘SFC end’ and thejump destination from a ‘SFC

Strona 148

5. Programming Language218 PROSEC T2NThe action program corresponds to 1 step, and the transition conditioncorresponds to 1 transition.These are progr

Strona 149

5. Programming LanguageUser's manual 219(2) Transition ConditionThe size of 1 transition condition is 11 lines x 10 columns, and thenumber of ins

Strona 150 - 2. User Program Configuration

5. Programming Language220 PROSEC T2NThe following shows the concept of the execution system in one SFCprogram.(1) In one scan, evaluation of the tran

Strona 151

5. Programming LanguageUser's manual 221The following is a list of points to note when creating SFC programs.(1) The capacity limits of SFC progr

Strona 152

5. Programming Language222 PROSEC T2N(3) There is no limit to the step number sequence used in 1 SFCprogram (including macro programs). However, the i

Strona 153

5. Programming LanguageUser's manual 223(5) The jump destination of a SFC jump may be either in the upwarddirection or in the downward direction,

Strona 154

5. Programming Language224 PROSEC T2NThe T2N supports multi-task functions. When interrupt programs areused there is the possibility of the main progr

Strona 155

5. Programming LanguageUser's manual 225(4) With respect to the index registers (I,J,K), the data of theseregisters are saved when interrupt occu

Strona 156

5. Programming Language226 PROSEC T2N5.5List of instructionsAn instruction list is given in the sequence of ladder diagram instructionsand SFC instruc

Strona 157

1.System ConfigurationUser’s Manual 9• Setting Switches of Operation Mode These switches are provided on the CPU front panel. They c

Strona 158

User's manual2275. Programming LanguageLadder Diagram Instructions (Sequence Instructions)↑↓(A)(A)(A)(A)(A)(A)(A) I(A) P N(A) P(A) NJCSJCRENDGro

Strona 159

5. Programming Language228PROSEC T2N(A) TON (B)(A) TOF (B)(A) SS (B)C CNT QE (A) (B)MCSMCRMCS nMCR nTRG (A)Ladder Diagram Instructions (Sequence Ins

Strona 160

User's manual2295. Programming Language(A) MOV (B)(A)+1·(A) DMOV (B) + 1·(B)(A) NOT (B)(A) + 1·(A) DNOT (B) +1·(B)(A) XCHG (B)(A) + 1·(A) DXCH (B

Strona 161

5. Programming Language230PROSEC T2N(A) +1·(A) D✳·(B) +1· (B) → (C)+1·(C)(A) +1·(A) D/·(B) +1· (B) → (C)+1·(C)(A) +C (B) → (C)(A) –C (B) → (C)(A) +1

Strona 162 - 3.User Data

User's manual2315. Programming Language(A) +1· (A) F+(B)+1·(B) → (C) +1·(C)(A) +1· (A) F-(B)+1·(B) → (C) +1·(C)(A) +1· (A) F*(B)+1·(B) → (C) +1·(

Strona 163 - 3. User Data

5. Programming Language232PROSEC T2N(A) TAND (n) (B) → (C)(A) TOR (n) (B) → (C)(A) TEOR (n) (B) → (C)(A) TENR (n) (B) → (C)(A) TEST (B)(A) +1·(A) DTST

Strona 164

User's manual2335. Programming Language(A) TSHR (m) → (B)(A) TSHL (m) → (B)D SR QS (n)E (A)D DSR QS (n)EL (A)SFT (A)Ladder Diagram Instructi

Strona 165

5. Programming Language234PROSEC T2NRTR 1 (A)RTL 1 (A)(A) RTR n → (B)(A) RTL n → (B)(A) TRTR (m) (B)(A) TRTL (m) (B)RRC 1 (A)Ladder Diagram Instructio

Strona 166

User's manual2355. Programming LanguageRLC 1 (A)(A) RRC n → (B)(A) RLC n → (B)(A) TRRC (m) (B)(A) TRLC (m) (B)(A) MPX (n) (B) → (C)Ladder Diagram

Strona 167

5. Programming Language236PROSEC T2N(A) DPX (n) (B) → (C)(A) TBM (n) (B) → (C)(A) BTM (n) (B) → (C)Ladder Diagram Instructions (Function Instructions)

Strona 168

1.System Configuration10 PROSEC T2N(3) RUN/Stand-by SwitchSettingPositionMode afterpower upRemarksSW.3Function OperationModeSwitchHALT HALTOFF Automat

Strona 169

User's manual2375. Programming Language(A) TCMP (n) (B) → (C)(A) > (B)(A) > = (B)(A) = (B)(A) < > (B)(A) < (B)(A) < = (B)(A) +1

Strona 170

5. Programming Language238PROSEC T2N(A) U > (B)(A) U > = (B)(A) U = (B)(A) U < > (B)(A) U < (B)(A) U < = (B)(A) +1·(A) F> (B)+1·(

Strona 171

User's manual2395. Programming LanguageSET (A)RST (A)(A) TSET (n) (B)(A) TRST (n) (B)SETCRSTC(A) ENC (n) (B)(A) DEC (n) (B)(A) BC (B)(A) DBC (B)L

Strona 172

5. Programming Language240PROSEC T2N(A) SCH (n) (B) → (C)(A) PUSH (n) (B) → (C)(A) POPL (n) (B) → (C)(A) POPF (n) (B) → (C)S F/F QR (A)U U/D QCE (A

Strona 173

User's manual2415. Programming LanguageCALL N. nnRETJUMP N. nnLBL (nn)FOR nNEXTSUBR (nn)STOPEIDIIRETWDT nSTIZ (n) (A)STIZ (A)STIZ (A)SFIZ (n) (A

Strona 174

5. Programming Language242PROSEC T2NDIAG (A) (B)DIAR (A)STLSSTLR(A) CLDS(A) CLNBD (B)(A) DRUM (n) (Β) → (C) (m)(A) CAM (n) (B) → (C)Ladder Diagram In

Strona 175

User's manual2435. Programming Language(A) MAVE (n) (B) → (C)(A) DFL (B) → (C)(A) UL (B) → (C)(A) LL (B) → (C)(A) MAX (n) (B)(A) MIN (n) (B)(A) A

Strona 176

5. Programming Language244PROSEC T2N(A) PID (B) → (C)(A) PID2 (B) → (C)(A) PID3 (B) → (C)(A) SIN (B)(A) COS (B)(A) TAN (B)(A) ASIN (B)(A) ACOS (B)(A)

Strona 177

User's manual2455. Programming Language(A) HTOA (n) (B)(A) ATOH (n) (B)(A) ABS (B)(A) +1· (A) DABS (B) +1· (B)(A) NEG (B)(A) +1· (A) DNEG (B) +1·

Strona 178

5. Programming Language246PROSEC T2N(A) B + (B) → (C)(A) B – (B) → (C)(A) B ✳ (B) → (C) +1·(C)(A) B / (B) → (C)(A) +1·(A) DB + (B) +1·(B) → (C)+1· (C)

Strona 179

1.System ConfigurationUser’s Manual 11• Operation Mode Switch The Operation Mode Switch is provided on the CPU module. This switch

Strona 180

User's manual2475. Programming LanguageI / O (n) (A)(A) XFER (B) → (C)(A) READ (B) → (C)(A) WRITE (B) → (C)Ladder Diagram Instructions (Function

Strona 181

5. Programming Language248PROSEC T2NssssssssNxxAnnnnssssssssmmmMssssTxxxxWssssTxxxxAASFC Instructions(A)(T)(T)(A)GroupFUNNo.Name Representation Summar

Strona 182

User's manual2495. Programming LanguageSFC Instructions@||||@||||E@||||mmmMGroupFUNNo.Name Representation SummaryNumber ofstepsrequiredExecution

Strona 183

5. Programming Language250PROSEC T2NSFC InstructionsGroupFUNNo.Name Representation SummaryNumber ofstepsrequiredExecution time required(µs)Inactive Ac

Strona 184

5. Programming LanguageUser's manual 251Supplementaryinformationof instructions execution timeThe instruction execution time in the T2N is subjec

Strona 185

APPENDICES

Strona 186

Ordering InformationUser’s manual 255Name Specifications Type Part number Basic configuration8-slot I/O dedicated basic unit(expansion connectable)B

Strona 187

Ordering Information256 PROSEC T2N Data transmission moduleCoaxial cable SN221 SSN221*MSTOSLINE-S20Optical fiber SN222A SSN222AMSTwisted pair : Mast

Strona 188

IndexUser’s manual 257[ A ]Annuciator relay...

Strona 189

Index258 PROSEC T2N[ F ]File Register (F)...

Strona 190

1.System Configuration12 PROSEC T2N• Programmer PortThe programmer (T-PDS or HP911) is connected to this programmer port.Connector type of CPU side is

Strona 191

IndexUser’s manual 259[ N ]Network Assignment Information...

Strona 192 - F––––––0 F–––––

Index260 PROSEC T2NSFC Capacity ...

Strona 193

TOSHIBA INTERNATIONAL (EUROPE) LTD.1 Roundwood AvenueStockley Park, UxbridgeMiddlesex, ENGLAND UB11 1ARTel: 0181-756-6000 Fax: 0181-848 4969TOSHIBA

Strona 194

1.System ConfigurationUser’s Manual 13 1.4The T2N supports enhanced communication functions. Either RS485 orRS232C can be selected

Strona 195 - (Exponent-127)

1.System Configuration14 PROSEC T2N• Pin assignment of communication port (LINK).Signals No. of pins Symbols Interface DirectionTransmission data 5 TX

Strona 196

Introduction- ii -CE MarkingThe Programmable Controller PROSEC T2N (hereafter called T2N) complies with therequirements of the EMC Directive 89/336/EE

Strona 197

1.System ConfigurationUser’s Manual 15 1.5Racks As mentioned in Section 1.1, the rack is available in the three types as follows.Th

Strona 198

1.System Configuration16 PROSEC T2N• Setting the Unit No.When using the BU268 or the BU266 for dedicated expansion units,set the Unit No. before opera

Strona 199

1.System ConfigurationUser’s Manual 171.7 I/O Modules Various types of I/O modules are available for the T2N, as shown in the f

Strona 200

1.System Configuration18 PROSEC T2NType Description SpecificationAO31 Analog output(8bit)2-channel (not isolated between channels),1-5V/0-10V/4-20mA,

Strona 201

1.System ConfigurationUser’s Manual 19 • TOSLINE-S20The TOSLINE-S20 is a Local Area Network (LAN) for factory automation systems.I

Strona 202 - 4. I/O Allocation

1.System Configuration20 PROSEC T2N1.9 Built-in networking The T2N has built-in networking as follows.Type TOSLINE-S20LP EthernetPU215N - -PU235N -

Strona 203

2.SpecificationUser’s manual 21Item Specification RemarksRated Voltage (1)100-240Vac PS261(2)24Vdc PS31(1)85 - 264Vac PS261V

Strona 204

2.Specification22 PROSEC T2NBasic dedicated unit (BU228N)Expansion unit (BU266) Eexpansion unit (BU268)When 16-point I/O module installedWhen 32/64-p

Strona 205

2.SpecificationUser’s manual 23ItemDI31(EX10*MDI31)Input Voltage Range12 - 24V + 10 % − 15 %dc/ac(50/60Hz)Minimum ON Voltag

Strona 206

2.Specification24 PROSEC T2NItemDI32(EX10*MD132)Input Voltage Range24Vdc ± 10% - 15%Minimum ON Voltage18.0VMaximum OFF Voltage6.0VInput CurrentApprox

Strona 207

Introduction- iii -Safety PrecautionsThis manual is prepared for users of Toshiba’s Programmable Controller T2N.Read this manual thoroughly before usi

Strona 208

2.SpecificationUser’s manual 25Item DI235Input Voltage Range24Vdc + 10 % − 15 %Input Current Apporx.4mA(at 24Vdc)Input Impe

Strona 209

2.Specification26 PROSEC T2NConnectors on the Module : FCN-365P040/AU (made by Fujitsu)Cable side connectors : Soldering type (standard attached)Conn

Strona 210

2.SpecificationUser’s manual 27ItemIN51(EX10*MIN51)IN61(EX10*MIN61)Input Voltage Range(Sine wave)100-120Vac + 10%(50/60Hz)20

Strona 211

2.Specification28 PROSEC T2NItemRO61(EX10*MRO61)Load voltage 24Vdc, +20%(MAX)/240Vac, + 10%(MAX)Maximum load 2A/point (resistive load), 1A/point (ind

Strona 212 - 5. Programming Language

2.SpecificationUser’s manual 29ItemRO62(EX10*MRO62)Load voltage 24Vdc, +20%(MAX)/240Vac, +10%(MAX)Maximum load 2A/point (res

Strona 213

2.Specification30 PROSEC T2NItemDO31(EX10*MDO31)Load power supply 5-24Vdc+10%/-5% (Internal current consumption 35mA or less)Output ON current1A/poin

Strona 214

2.SpecificationUser’s manual 31ItemDO32(EX10*MDO32)Load voltage 5-24Vdc +10%/-5%Output ON current100mA/point (when load volt

Strona 215

2.Specification32 PROSEC T2NItem DO235Output type Current sinkingNumber of output 64 pointsLoad Voltage 5-24Vdc +10%/-5%Output ON Current 0. 1A/point

Strona 216

2.SpecificationUser’s manual 33Terminal ConnectionsConnectors on the Module : FCN-365P040/AU (made by Fujitsu)Cable side con

Strona 217

2.Specification34 PROSEC T2NItemDO233P(TDO233P*S)Load power supply12-24Vdc+10%/-5% (Internal current consumption 35mA or less)Output ON current1A/poi

Strona 218

Introduction- iv -Safety PrecautionsSafety PrecautionsInstallation:1. Excess temperature, humidity, vibration, shocks, or dusty and corrosive gasenvi

Strona 219

2.SpecificationUser’s manual 35ItemAC61(EX10*MAC61)Load voltage 100-240Vac +10%/-5%(50/60Hz sine wave)Output ON current 0.5A

Strona 220

2.Specification36 PROSEC T2NItemA121(EX10*MA121)A131(EX10*MA131)Input range 1 - 5V or 4 - 20mA 0 - 10VInput Impedance1 - 5V : 500KΩ or more4 - 20mA :

Strona 221

2.SpecificationUser’s manual 374-Channel Analog Input(8-bit) (Continued) 250 200 150 100 50 0 (b) (c) 1 5 250

Strona 222

2.Specification38 PROSEC T2NItemAI22(EX10*MA122)AI32(EX10*MA132)Input Range 1 - 5V or 4 - 20mA -10 - +10VInput Impedance1 - 5V : 1MΩ or more4 - 20mA

Strona 223

2.SpecificationUser’s manual 39 4000 (a) 3000 2000 1000 0 4 10 4000300020001000-1000-2000 (b

Strona 224

2.Specification 40 PROSEC T2N ItemAO31(EX10*MA031)1 - 5V, 4 - 20mA paired outputOutput Range 0 - 10V0 - 5V5V full-scale terminal : 5KΩ or moreLoad

Strona 225

2.SpecificationUser’s manual 41 10 (c) 5 (b) 1 0 50 100150 200 250

Strona 226

2.Specification 42 PROSEC T2N ItemAO22(EX10*MAO22)AO32(EX10*MAO32)Output Range 1 - 5V or 4 - 20mA−10 − + 10VLo

Strona 227

2.SpecificationUser’s manual 43 10 (c) 5 (b)10 -5 -10 -2000 2000 400020 10 4 (a)

Strona 228

2.Specification44 PROSEC T2N ItemPI21(EX10*MP121)Input Voltage A, B, M12V ± 10% / -5% (12V setting), 5V +10% / -5% (5V setting)Range EXT 12~24Vd

Strona 229

Introduction- v -Safety PrecautionsWiring:1. Turn off power before wiring to minimize the risk of electrical shock.2. Exposed conductive parts of wi

Strona 230

2.SpecificationUser’s manual 45 Single-Channel Pulse Input (Continued)Terminal ConnectionEncoderData FormatFor the count va

Strona 231

2.Specification46 PROSEC T2N Pulse Input Mode< Up/down >< Quadrature >< Hold >< Normal >Count Operation Mode B ACount upCo

Strona 232

2.SpecificationUser’s manual 47 ItemMC11(EX10*MMC11)Number of Control Axes1 axisControl UnitsPulse, inch, mm, etc.Control

Strona 233

2.Specification48 PROSEC T2NInput CircuitZero marker pulse input (5Vdc) : B5Zero marker pulse input (0V) : A5Normally Open-Contact UseZero marker pul

Strona 234

2.SpecificationUser’s manual 49ItemCF211(TCF211**S)Common memory 160 words × 2Transmission mode Full-duplexSynchronizing asy

Strona 235

2.Specification50 PROSEC T2N

Strona 236

3.Application Precautions for I/O ModulesUser’s manual 51 (1) Minimum ON/OFF time of input signalThe conditions for guaranteed reading of the ON/

Strona 237

3.Application Precautions for I/O Modules52 PROSEC T2N(5) When applying an AC input signal, if the external cables are long or if thenumber of cores

Strona 238

3.Application Precautions for I/O ModulesUser’s manual 53 (1) The DC output module needs an external power supply to driveoutput transistors. For e

Strona 239

3.Application Precautions for I/O Modules54 PROSEC T2N(4) Pay attention to the following cases caused by the diode mentioned in (3).〈Case1〉When conne

Strona 240

Introduction- vi -Safety PrecautionsOperation (continued):8. Install fuses appropriate to the load current in the external circuits for the outputs.F

Strona 241

3.Application Precautions for I/O ModulesUser’s manual 55(5) If a capacitive load is connected, rush current will flow whenoutput is charged to ON.A

Strona 242

3.Application Precautions for I/O Modules56 PROSEC T2N(1) Over-Current Protection CoordinationOne 2A fuse per 4 output points is mounted in the triac

Strona 243

3.Application Precautions for I/O ModulesUser’s manual 57(1) Use a shielded twisted-pair cable for the analog input signal line, and wireover the mi

Strona 244

3.Application Precautions for I/O Modules58 PROSEC T2N(1) Use a shielded twisted-pair cable for the analog output signal line, and wireover the minim

Strona 245

4.Installation and WiringUser’s manual 59When installing the T2N,avoid the following locations.(1) Where the ambient temperature exceed

Strona 246

4.Installation and Wiring60 PROSEC T2N200mmor more70mmor morePower line Installation dimensionsExpansion unitBasic unit248(BU266)314(BU266)380(BU228N

Strona 247

4.Installation and WiringUser’s manual 61Always mount the power supply module in the left end slot of the rack.Also, mount the CPU modu

Strona 248

4.Installation and Wiring62 PROSEC T2N1. Separate the expansion cables as far as possible from other cables. Inparticular, isolate them at least 200

Strona 249

4.Installation and WiringUser’s manual 63(1) Installation of a Conductive Panel.When the mounting frame itself has good conductivity, a

Strona 250

4.Installation and Wiring64 PROSEC T2N(2) Isolated InstallationWhen the mounting frame has an unstable earth potential, or when it is notconductive,

Strona 251

Introduction- vii -Markings used on the T2N and in this manualWarning Mark on the T2NThis is the warning mark for dangerous location. It is attached t

Strona 252

4.Installation and WiringUser’s manual 65Wire the external power supply to the T2N power supply module in the followingmanner.When usin

Strona 253

4.Installation and Wiring66 PROSEC T2NPay attention to the following points when mounting and wiring the I/O modules.High-powersystemI/OLow-powersyst

Strona 254

4.Installation and WiringUser’s manual 67(1) For the positioning of the I/O modules, arrange the low-power system I/Oto the left and hi

Strona 255

4.Installation and Wiring68 PROSEC T2NTurn on power or turn off power of the T2N according to the following sequenceso that the T2N is used safely an

Strona 256 - 237+18.4n

4.Installation and WiringUser’s manual 69Configure emergency stop and safty interlocking circuits out of the T2N againstfaulty of the T

Strona 257

5.Maintenance and Checks70 PROSEC T2NRecommended daily checks for optimum system performanceItem Content of Check Countermeasurewhen AbnormalPOWER(Re

Strona 258 - 143+39.4n

5.Maintenance and ChecksUser’s manual 71When a serious error (such as system RAM abnormal) is detectedaft

Strona 259

5.Maintenance and Checks72 PROSEC T2NCheck the following items periodically (about once every 6 months).Check alsowhen the operating conditions/envir

Strona 260 - 427+10.6n

5.Maintenance and ChecksUser’s manual 73!CAUTION1. Turn off power before checking voltage on terminals. F

Strona 261

5.Maintenance and Checks74 PROSEC T2NNormally the program and 2kwords data register are kept in the built-inEEPROM of the T2N. On the other hand, oth

Strona 262

About This Manual- viii -About This ManualThis manual has been prepared for first-time users of Toshiba’s Programmable ControllerT2N to enable a full

Strona 263

5.Maintenance and ChecksUser’s manual 75• Disposal of the batteryDispose of the battery in the same way a

Strona 264

5.Maintenance and Checks76 PROSEC T2N1.The battery should be replaced with power OFF. The time with batteryremoved should be within 5 minutes. If the

Strona 265 - APPENDICES

6.TroubleshootingUser’s manual 77When a problem occurs in the system, having first thoroughly understood thecontent of the problem,

Strona 266 - Ordering Information

6.Troubleshooting78 PROSEC T2NThe following is a flow-chart of checks for use when the POWER LED does notlight even when the power to the T2N is swit

Strona 267 - 256 PROSEC T2N

6.TroubleshootingUser’s manual 79When the “POWER” LED of the power supply module is lit, but the “RUN” LEDof the CPU module is out,

Strona 268 - User’s manual 257

6.Troubleshooting80 PROSEC T2NWhen unable to read the input signal correctly although the program is beingexecuted, check the following items.Is the

Strona 269 - 258 PROSEC T2N

6.TroubleshootingUser’s manual 81When there is a problem with the actual operation of output equipment althoughcorrectly outputting

Strona 270 - User’s manual 259

6.Troubleshooting82 PROSEC T2NWhen a problem with the T2N system occurs as one of the followingphenomena, external factors should be suspected.(1) Wh

Strona 271 - 260 PROSEC T2N

6.TroubleshootingUser’s manual 83When the T2N CPU has detected a problem through self-diagnosis, it registers inthe Event History Ta

Strona 272 - TOSHIBA CORPORATION

6.Troubleshooting84 PROSEC T2NWhen “Receive Time Out” is displayed in Step (4) above, communicationbetween the programmer and the T2N system has not

Komentarze do niniejszej Instrukcji

Brak uwag