Advertisement

Quick Links

Manual Revisions
If you contact us in reference to this manual, be sure to include the revision number.
Title: DL405 Interrupt Input Module
Manual Number: D4–INTR–M
Issue
Date
Original
8/94
Rev. A
6/98
Effective Pages
Cover/Copyright
Contents
Manual History
1 — 24
Entire Manual
Manual Revisions
Description of Changes
Original Issue
Downsize to spiral
Rev. A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DL405 and is the answer not in the manual?

Questions and answers

Summary of Contents for DirectLOGIC DL405

  • Page 1 Manual Revisions If you contact us in reference to this manual, be sure to include the revision number. Title: DL405 Interrupt Input Module Manual Number: D4–INTR–M Issue Date Effective Pages Description of Changes Original 8/94 Cover/Copyright Original Issue Contents Manual History 1 —...
  • Page 2: Table Of Contents

    Table of Contents Introduction ............... . . Overview of the module’s operation .
  • Page 3: Introduction

    The DL405 Interrupt Input module (D4–INT) is module’s operation an 8-point isolated interrupt input module for use with the DL405 family of products. The module consumes 16 X input points and must be installed in Slot 0, next to the CPU. You can use two Interrupt modules, installed in Slots 0 and 1, if you are using a D4–440 CPU.
  • Page 4: Interrupt Signal Processing

    Interrupt Signal Processing When do you need In normal circumstances, the CPU reads the status of input points, solves the relay an interrupt? logic program, and then updates all of the output points. This process is called the scan and usually takes place in a matter of milliseconds. The following diagram shows how this works.
  • Page 5: How Does An Interrupt Solve Response Problems

    How does an What is needed is a mechanism for interrupting the normal CPU scan cycle when interrupt solve something needs to be done. The CPU can then take care of what has to be done, response and go back to its normal business. Here is the same diagram, but it has been problems? changed to show how the CPU reacts if the Critical Field Event is being monitored by an Interrupt Input Module.
  • Page 6: How Does The Cpu Process The Interrupts

    How does the CPU It may help you to understand exactly how the CPU works together with the Interrupt process the module to process the interrupt signals. interrupts? Single Interrupt Signal: When the interrupt input module senses an input signal, it has an extremely short delay before it signals an interrupt.
  • Page 7: Special Considerations In Cpu Processing

    Simultaneous Signals from Different Interrupt Inputs: What happens if the module senses signals simultaneously from several of the interrupt input points? In this case, there is a priority. The highest priority is given to X0, then comes X1, then X2 and so forth down to X7. The diagram below shows two signals being received simultaneously.
  • Page 8: Do I Have To Use An Interrupt Module

    Do I have to use an You don’t always have to use an Interrupt Input module to generate an interrupt. Interrupt Module? Basically, an interrupt can be initiated two different ways: You can use a timed interrupt (an interrupt on a defined time interval, D4–440 CPU only) Or, you can use the Interrupt Input module (interrupt triggered by a limit switch closing, proximity switch, etc.
  • Page 9: What Can I Use In The Interrupt Routines

    What can I use in In any of the above methods, Interrupt (Main Program) the Interrupt subroutines are required. These subroutines routines? are placed after the END statement, which is the last line in the main program. You can use most any type of instruction (Loops 3 times before in the subroutines.
  • Page 10: Using The Interrupt Input Module..4 Easy Steps

    Using the Interrupt Input Module..4 easy steps! Physical layout of Yes, I know, you were expecting to see the “4 Steps” on this page. But, first, take a the D4–INT minute and familiarize yourself with the basic physical characteristics. It will make components the “4 Steps”...
  • Page 11 Now that you know your options in using Interrupt processing, it’s time to learn the basic setup requirements for the Interrupt Module. Step 1: Set the DIP Switches. Switches nstall Step 2: Install the Module in the Base. Step 3: Connect the Field Wiring.
  • Page 12: Step 1: Setting The Dip Switches

    Step 1: Setting the DIP Switches There are two banks of DIP switches, SW1 and SW2, located on the back of the module. You can enable/disable interrupt points; adjust the response time, and set the triggering to be either on the rising edge or trailing edge of the input signal. The following table shows an overview of the switch settings.
  • Page 13: Switch 2: Selecting Rising Or Falling Edge Triggering

    Switch 2: Positions 1,2,3 and 4 on Switch 2 determine whether the interrupt is triggered on the Selecting Rising or rising (leading) edge of the input signal or on the falling (trailing) edge of the input Falling Edge signal. This is often called “triggering.” The examples earlier in this manual showed Triggering the timing diagrams with a Rising edge trigger.
  • Page 14: Switch 2: Selecting The Response Delay Time

    Switch 2: Positions 5,6,7 and 8 on Switch 2 control the response delay time for the first four Selecting the input points only (X0 – X3). The response delay is defined as follows: Response Delay Off-to-On Delay — the amount of time between the occurrence of the Time field event, such as a switch closing, and the Interrupt module point turning on.
  • Page 15 The Response Delay helps you understand how long it will take the Interrupt module to latch the interrupt signal. The following diagram shows how the Off-to-On delay affects a signal with Rising edge triggering. Response Delay Range for Rising Edge Triggering Rising edge Input signal 0.08 - 0.59ms...
  • Page 16: Step 2: Installing The Module In The Base

    Step 2: Installing the Module in the Base WARNING: To minimize the risk of electrical shock, personal injury, or equipment damage, always disconnect the system power before installing or removing any system component. Module There are a few restrictions that you need to consider if you are using this module. Restrictions The module must be installed in slot 0, which is adjacent to the CPU.
  • Page 17: I/O Assignments With A D4-430

    I/O Assignments You can only use one Interrupt module with the D4–430 CPU. Since the module with a D4–430 must be placed in slot 0, the points used are X0 – X17. The following diagram shows an example system with I/O assignments. D4–INT 32pt Input...
  • Page 18: Step 3: Connecting The Field Wiring

    Step 3: Connecting the Field Wiring WARNING: To minimize the risk of personal injury or property damage, remove all power from the PLC and field devices before wiring the module. Wiring Guidelines The D4–INT Interrupt Input Module features a Retaining screw removable terminal block.
  • Page 19: Typical Field Wiring And Internal Module Wiring

    Typical Field Shown below is a wiring diagram with typical field wiring and details relating to the Wiring and Internal D4–INT module’s internal wiring. There are a few things you need to know before Module Wiring you connect the field wiring. Each channel is isolated, so you can use sinking or sourcing configurations independently for each point.
  • Page 20: Solid State Field Device Wiring

    Solid State Field The following diagrams show how to connect solid state field devices to the D4–INT Device Wiring Interrupt Input module. NPN Field Device Example D4–INT Response Time Switch* Sensor Output Circuitry 12 – 24VDC – Optical Isolator (NPN) Current Sinking Field Device Response delay switch is set with Switch 2, positions 5–8 on rear of the module.
  • Page 21: Step 4: Writing The Control Program

    Step 4: Writing the Control Program There are only a few simple instructions that Direct SOFT Display are necessary for proper module operation. This section shows how to: Enable/Disable Enable and Disable interrupts Enter an interrupt subroutine for each interrupt point you are using Understand the types of instructions you DISI can use in an interrupt subroutine...
  • Page 22: Task 1: Enable / Disable The Interrupts

    Task 1: The CPU does not automatically monitor the If X40 is on, Interrupts Enable / Disable interrupt input signals. Instead, you have to use are enabled an Enable Interrupts (ENI) instruction in your the Interrupts ladder program to do this. Why does it work this way? Simple.
  • Page 23: Task 3: Understand The Types Of Instructions Used In Interrupt Subroutines

    Task 3: You can use many different types of instructions in the interrupt subroutines. For Understand the example, you may need comparative boolean contacts, math instructions, etc. Types of Controlling I/O Points in Subroutines: Instructions used In most cases, the goal is a fast response. So in Interrupt you should try to use the Immediate Subroutines...
  • Page 24: Task 4: Enter The Conditions For A Return From The Subroutine

    Task 4: You have to describe the condition for a return (Main Program) Enter the from the interrupt subroutine. That is, you have to tell the CPU when to return to the main Conditions for a program execution. There are two instructions Return from the available: IRT (immediate return with no Subroutine...
  • Page 25: Troubleshooting

    Troubleshooting If the D4–INT interrupt input module does not seem to be working properly, check the following items. 1. Wiring connections: Incorrect and loose wiring cause the majority of problems. Verify you have wired everything correctly and that the connections are tight. 2.
  • Page 26: Specifications

    Specifications Environmental Operating Temperature ....0 to 60 C Specifications Storage Temperature ....–20 to 80 C Operating Humidity .

Table of Contents