UM-TS03∗∗∗-E024 PROGRAMMABLE CONTROLLER PROSEC T3 CHANGE DETECT DC INPUT MODULE CD332 USER’S MANUAL 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.
Safety Precautions This module (CD332) is a change detect DC input module for Toshiba’s Programmable Controller PROSEC-T3 or T3H (hereafter called T3 generically). Read this manual thoroughly before using this module. Also, keep this manual and related manuals so that you can read them anytime while this module is in operation. Safety Symbols The following safety symbols are used on the product and/or in the related manuals. Pay attention to information preceded by the following symbols for safety.
About This Manual About This Manual This manual explains the specifications and operations of the Change Detect DC Input Module (CD332) for Programmable Controller T3. Read this manual carefully before using the CD332. Inside This Manual Section 1 Overview This section introduces the CD332. The CD332 has an interrupt generation function for the T3. This section outlines the CD332’s function. The external features of the CD332 are also provided in this section.
About This Manual Related Manuals The following related manuals are available for T3. Besides this manual, read the following manuals for your better understanding. T3 User’s Manual - Hardware This manual covers the T3’s main body and basic I/O - their specifications, handling, maintenance and services. T3 User’s Manual - Functions This manual explains the functions of the T3 and how to use them. The necessary information to create user program is covered in this manual.
Contents Contents Safety Precautions ...................................................................................... 1 About This Manual ...................................................................................... 2 ..................................................................................................... 4 Contents 4 1. CD332 Overview ............................................................................. 5 1.1 1.2 Introduction ..............................
Section 1 CD332 Overview 1.1 Introduction, 6 1.
1. CD332 Overview 1.1 Introduction The change detect DC input module CD332 (hereafter called CD332) is an 8 points 12 - 24 Vdc input module with interrupt generation function for Toshiba’s Programmable Controller PROSEC-T3 or T3H (hereafter called T3 generically). When the input signal status of the CD332 is changed, the CD332 generates an interrupt for the T3. Then the T3 immediately stops ordinary operation and starts to execute the pre-assigned I/O interrupt program.
1. CD332 Overview 1.2 External features CD332 DATA 0 1 2 3 4 5 6 7 Status LEDs STATUS 0 1 2 3 4 5 6 7 CHANGE DETECT UP IN0 1 2 3 4 5 6 7 ON Interrupt timing setting DIP switches DOWN IN0 1 2 3 4 5 6 7 ON NC NC IN0 IN1 IN2 IN3 IN4 IN5 IN6 IN7 COM 1 2 3 4 5 Input terminals 6 7 8 9 10 11 NOTE Do not connect any wires to the NC terminals.
1. CD332 Overview Status LEDs Indicates the input signal ON/OFF status (DATA 0 - 7) and the interrupt generation point (STATUS 0 - 7). Normally STATUS 0 - 7 are all OFF. (momentary ON) DATA 0 - 7 STATUS 0 - 7 Indicates the input signal status of IN0 to IN7. Lit when ON. Indicates the input point which is the interrupt factor. (returned to OFF by resetting the interrupt flag) Interrupt timing setting DIP switches Total 16 switches are provided.
Section 2 Specifications 2.1 2.2 2.3 2.
2. Specifications 2.1 General specifications Item Power voltage Current consumption Environmental conditions Withstand voltage Size Weight Specifications 5 Vdc (supplied from back plane bus) 0.3 A (5 Vdc) maximum Conforms to T3 specifications 1500 Vac - 1 minute T3 I/O module size (1 slot) Approx. 450 g Remarks Note (1) Note (2) Note (1) The T3’s power supply module can supply maximum 7 A of internal 5 Vdc.
2. Specifications 2.3 Input circuit 2.4 kΩ LED display IN0 470 Ω 1.5 µF IN1 Interrupt IN7 COM 2.
12 Change Detect DC Input Module (CD332)
Section 3 Mode Setting 3.1 Input delay setting, 14 3.
3. Mode Setting 3.1 Input delay setting The input delay time of the CD332 can be selected either normal or high speed mode. Refer to section 2.2 for the delay time of each mode. The input delay setting is made by the jumper plugs provided on the CD332’s printed circuit board. This setting is applied for all 8 input points as a block. CD332 left side J9 A B A J10 B J11 J1 J2 J3 J4 J5 J6 J7 J8 Set these jumper plugs as follows.
3. Mode Setting 3.2 Interrupt generation timing setting The interrupt generation timing of each input point can be selected either rising, falling or both edges. • Rising edge (OFF to ON) Input OFF ON OFF ON OFF Interrupt • Falling edge (ON to OFF) Input OFF Interrupt • Both edges (OFF to ON and ON to OFF) Input OFF ON OFF Interrupt This setting is made by the DIP switches provided on the front of the CD332.
16 Change Detect DC Input Module (CD332)
Section 4 I/O Allocation 4.1 I/O allocation and I/O register, 18 4.
4. I/O Allocation 4.1 I/O allocation and I/O register The CD332 has the I/O type ‘i X 1W’ for I/O allocation. When the automatic I/O allocation is performed with mounting the CD332, the following I/O allocation table will be created in the T3. (T-PDS screen example - in the case that CD332 is mounted on Slot 0 of Unit 0) Then, one input register, XW(n) is assigned to the CD332. In the above example, XW000 is assigned. Note that the I/O type has ‘i’ designation.
4. I/O Allocation The following table shows the function of each bit of the input register assigned to the CD332.
4. I/O Allocation 4.2 Interrupt assignment The T3 has 8 I/O interrupt programs, I/O#1 to I/O#8. If one interrupt generation module (CD332) is used, the I/O#1 program is assigned to the CD332. And the I/O#1 is activated when the CD332 generates an interrupt. If two or more (up to 8) interrupt generation modules (CD332, etc.) are used, the interrupt programs are assigned sequentially from the module allocated closest to the T3 CPU.
Section 5 Programming 5.1 T3 sample program, 22 5.
5. Programming 5.1 T3 sample program The following sample program configuration shows the case of one CD332 is used. In this example, it is assumed that XW000 is assigned to the CD332.
5. Programming c At the first scan, initializes the status of the CD332. − Important d End of the main program e Resets the interrupt flag and confirms the interrupt factor. − Important f Processing program for each interrupt factor (Subroutine call can also be used) g End of the interrupt program NOTE When the Direct I/O instruction for the CD332 is executed, the internal interrupt flag of the CD332 is reset.
5. Programming 5.2 Interrupt operation The enable/disable of the interrupt program is changed as follows. PLC mode HALT Scan Interrupt RUN 1 HOLD RUN 2 Disable n Enable Disable (Hold) HALT n+1 Enable Disable Time In the RUN mode, interrupt operation is disabled at the first scan, and enabled from the second scan. In the HALT mode, interrupt operation is disabled. In the HOLD mode, interrupt operation is disabled but the interrupt requests occurred during HOLD mode is held.
5. Programming The interrupt operation can be controlled by the user program instructions, DI (disable interrupt) and EI (enable interrupt). If a part of program is required to be executed under interrupt disable state, these instructions can be used. When using these instructions, note the following precautions. • On the T3 program, interrupt enable/disable can be controlled by using EI instruction (FUN140) and DI instruction (FUN141).
26 Change Detect DC Input Module (CD332)
TOSHIBA INTERNATIONAL (EUROPE) LTD. 1 Roundwood Avenue Stockley Park, Uxbridge Middlesex, ENGLAND UB11 1AR Tel: 0181-848 4466 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.