VMIC VMIVME-1160A Product Manual

32-bit optically coupled digital input board with change-of-state detection
Table of Contents

Advertisement

Quick Links

VMIC VMIVME-1160A Product Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VMIVME-1160A and is the answer not in the manual?

Questions and answers

Summary of Contents for VMIC VMIVME-1160A

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Product Manual 12090 South Memorial Parkway Huntsville, Alabama 35803-3308, USA (256) 880-0444 (800) 322-3616 Fax: (256) 882-0859 500-101160-000 Rev. D Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 12090 South Memorial Parkway Huntsville, Alabama 35803-3308, USA (256) 880-0444 (800) 322-3616 Fax: (256) 882-0859 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 4 VMIC reserves the right to make any changes, without notice, to this or any of VMIC’s products to improve reliability, performance, function, or design. VMIC does not assume any liability arising out of the application or use of any product or circuit described herein; nor does VMIC convey any license under its patent rights or the rights of others.
  • Page 5 12090 South Memorial Parkway Huntsville, Alabama 35803-3308, USA (256) 880-0444 (800) 322-3616 Fax: (256) 882-0859 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 6: Table Of Contents

    Table of Contents List of Figures ..............7 List of Tables .
  • Page 7 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Typical Programming Example ........... . . 44 Maintenance .
  • Page 8: List Of Figures

    Control Section Block Diagram ....................20 Figure 1-4 Data Section Block Diagram ..................... 21 Figure 1-5 VMEbus Signal Lines Used by the VMIVME-1160A ..............22 Figure 1-6 BIM Foundation Section Block Diagram ................... 23 Figure 1-7 Typical IER Logic Section ......................24...
  • Page 9 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 10: List Of Tables

    List of Tables Table 1 Cosmodule™ Product Line Summary............13 Table 2-1 P2 Connector Pin Assignments.
  • Page 11 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 12: Overview

    Motorola MC68153 BIM ..........15 Introduction The VMIVME-1160A is designed with standard Change-of-State (COS) control and interrupt logic that detects any COS and provides an interrupt vector to the byte level.
  • Page 13: Figure 1 Typical Cosmodule™ Functional Block Diagram

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection INTERRUPT REQ LINES FOUNDATION CONTROL LOGIC ADDRESS LOGIC IER* LOGIC DETECTION DATA INPUT** DATA USER DEBOUNCE READ SIGNAL TRANS- HARDWARE INPUT BUFFERS CONDITIONING CEIVERS Interrupt Enable Register Option-Dependent Figure 1 Typical COSMODULE™ Functional Block Diagram...
  • Page 14: Functional Description

    The VMIVME-1160A provides 32 high-voltage, optically coupled digital inputs with change-of-state detection and vectoring to the byte level. The interrupt functions are supported by the BIM. The major features of the VMIVME-1160A are: • Quad 8-bit ports • Change-of-State port identified with interrupt vector •...
  • Page 15: Reference Material List

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Reference Material List The reader should refer to "The VMEbus Specification" for a detailed explanation of the VMEbus. "The VMEbus Specification" is available from the following source: VITA VMEbus International Trade Association 7825 East Gelding Dr.
  • Page 16: Motorola Mc68153 Bim

    Overview Motorola MC68153 BIM The VMIVME-1160A was originally manufactured using the Motorola MC68153 BIM, which is now out of production. The Epic Ei68C153 BIM is being used as a replacement on all newly-manufactured VMIVME-1160A boards. Any references to the Ei68C153 in this document are also applicable to the MC68153.
  • Page 17 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 18: Chapter 1 - Theory Of Operation

    Priority Interrupt Subsystem ..........27 Introduction Block Diagrams The VMIVME-1160A consists of eight functional building blocks as illustrated in Figure 1-1 on page 18. The eight sections of the VMIVME-1160A are: 1. Address Logic 2. Control Logic 3. Data Logic 4.
  • Page 19: Figure 1-1 Vmivme-1160A Functional Block Diagram

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection INTERRUPT FOUNDATION CONTROL LOGIC INTERRUPT REQUEST LINES IER* ADDRESS LOGIC DETECTION LOGIC DATA INPUT USER DEBOUNCE READ SIGNAL DATA HARDWARE BUFFERS INPUTS CONDITIONING** TRANSCEIVERS Internal Enable Register Board Dependent Figure 1-1 VMIVME-1160A Functional Block Diagram...
  • Page 20: Figure 1-2 Address Section Block Diagram

    JUMPER- SELECTABLE LWORD* IACK* SUPERVISORY AM0 to AM5 NONPRIVILEGED SHORT I/0 ACCESS A15 to A8 A7 to A5 WRITE IER READ REG 1 ADDRESS MATCH READ REG 0 Figure 1-2 Address Section Block Diagram Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 21: Figure 1-3 Control Section Block Diagram

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection DATA STROBE 1 DATA STROBE 2 LONGWORD READ/WRITE ADDRESS STROBE SYSTEMS RESET SYSTEM CLOCK BOARD SELECT DELAY STROBE DATA STROBE 1 DTACK* DATA STROBE 2 Figure 1-3 Control Section Block Diagram...
  • Page 22: Figure 1-4 Data Section Block Diagram

    D08 to D15 IDB08 to IDB15 To Input Data Registers Block Diagram D00 to D07 IDB00 to IDB07 Figure 1-4 Data Section Block Diagram Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 23: Figure 1-5 Vmebus Signal Lines Used By The Vmivme-1160A

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection VMIVME- 1160A DATA TRANSFER BUS INTERRUPT BUS UTILITY BUS Figure 1-5 VMEbus Signal Lines Used by the VMIVME-1160A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 24: Figure 1-6 Bim Foundation Section Block Diagram

    DTACK INT 3 ENA 3 INT3L Ei68C153 ENA2 INT 2 INT2L ENA1 INT 1 INT1L DTACK* IRQ1* to lRQ7* 8 INT 0 INT0L CLR3 CLR2 CLR1 CLR0 Figure 1-6 BIM Foundation Section Block Diagram Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 25: Figure 1-7 Typical Ier Logic Section

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection IDB00 to IDB03 ENA0 to ENA3 WRITE REG 2 SYSTEM RESET L Figure 1-7 Typical IER Logic Section DBX to DBY LDX to LDY INTXH Figure 1-8 Typical Change-of-State Detection Logic Section...
  • Page 26: Figure 1-9 Input Data Register Block Diagram

    INPUT DB24 to DB31 DATA REGISTER INPUT DB16 to DB23 DATA REGISTER INPUT DB8 to DB15 DATA REGISTER FROM SIGNAL CONDITIONING IDB8 to IDB15 INPUT DB0 to DB7 DATA IDB0 to IDB7 REGISTER TO DATA SECTION BLOCK DIAGRAM Figure 1-9 Input Data Register Block Diagram Artisan Technology Group - Quality Instrumentation ...
  • Page 27: Figure 1-10 Signal Conditioning Block Diagram

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection DBIT24 to DBIT31 INPUT SIGNAL DB24 to DB31 CONDITIONING DBIT16 to DBIT23 INPUT SIGNAL DB16 to DB23 CONDITIONING USER DEVICE TO INPUT DATA REGISTER DBIT08 to DBIT15 INPUT SIGNAL DB08 to DB15...
  • Page 28: Priority Interrupt Subsystem

    The VMIVME-1160A uses one of the seven IRQX* lines to request an interrupt. It then monitors the DTB address bus, IACK*, and the IACKIN*/IACKOUT* daisy-chain to determine when its interrupt is being acknowledged.
  • Page 29 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 30: Chapter 2 - Configuration And Installation

    CHAPTER Configuration and Installation Contents Unpacking Procedures ........... 30 Configuration Switches .
  • Page 31: Unpacking Procedures

    All claims arising from shipping damage should be filed with the carrier and a complete report sent to VMIC, together with a request for advice concerning the disposition of the damaged item(s).
  • Page 32: Configuration Switches

    J11 J12 J15 J16 J19 J20 J23 J24 J31 J32 J35 J36 J39 J40 J43 J44 J47 J48 J51 J52 J55 J56 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 33: Contact Sense, Voltage Source Selection

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Contact Sense, Voltage Source Selection The VMIVME-1160A may be ordered with its input signal conditioning electronics factory configured for voltage source or contact sense input options. A wide range of input voltages (5 to 48 V) are supported, and you may select from a variety of input filters.
  • Page 34: Address Selection Switches

    Configuration Switches Address Selection Switches Figure 2-3 below shows the two addressing DIP switches on-board the VMIVME-1160A and their use in the addressing scheme. ON, CLOSED = 0 OFF, OPEN = 1 NOT USED A base address FF00 HEX is shown in this example...
  • Page 35: I/O Cable And Front Panel Connector Configuration

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection I/O Cable and Front Panel Connector Configuration The I/O connector (P3) on the VMIVME-1160A is a 64-pin DIN standard and was selected by VMIC because of its high quality. Although these connectors are generally used with flat-ribbon cables, a variety of cables and mating connectors are available for most user requirements.
  • Page 36: Figure 2-6 P3 Connector Pin Layout

    I/O Cable and Front Panel Connector Configuration PIN 32 PIN 31 FRONT VIEW (CABLE SIDE) OF "P3" CONNECTOR PIN 30 PIN 29 PIN 28 PIN 27 PIN 26 PIN 25 PIN 24 PIN 23 PIN 22 PIN 21 PIN 20 PIN 19 PIN 18 PIN 17...
  • Page 37: Figure 2-7 P2 Connector Pin Layout

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection PC BOARD PIN 1 PIN 2 PIN 3 REAR VIEW OF CHASSIS PIN 4 "P2" CONNECTOR PIN 5 PIN 6 PIN 7 PIN 8 PIN 9 PIN 10 PIN 11...
  • Page 38: Table 2-1 P2 Connector Pin Assignments

    I/O Cable and Front Panel Connector Configuration Table 2-1 P2 Connector Pin Assignments Pin No. Row C Row A Row B +5 V +5 V VPOS VNEG +5 V NOTES: 1). External reference is supplied by the user. 2). Inputs to the board - not required. Artisan Technology Group - Quality Instrumentation ...
  • Page 39 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Table 2-2 P3 Pin-Channel Assignment ROW A PIN CHANNEL NO. ROW A PIN CHANNEL NO. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 40: Chapter 3 - Programming

    The VMIVME-1160A also has an Interrupt Enable Register which is used to allow interrupts on change-of-state to be enabled on a byte basis. The channels of input data may be accessed as two 16-bit words or four 8-bit bytes.
  • Page 41: Table 3-2 $Xx00 Data Register 0 (Dr0)

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Table 3-2 $XX00 Data Register 0 (DR0) BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 INPUT DATA ID31 ID30 ID29 ID28 ID27...
  • Page 42: Table 3-7 Typical Bim Control Register Map

    Table 3-7 Typical BIM Control Register Map Control Register 0 for DR3 Inputs (Offset $XXXX11) BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 FLAG Flag Auto Vector INT Enable INT Auto Interrupt Level Clear Clear 0 = Internal...
  • Page 43: Table 3-8 Typical Bim Vector Register Map

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Table 3-8 Typical BIM Vector Register Map Vector Register (VR0) for DR3 COS (Offset $XX19) Vector Register (VR1) for DR2 COS (Offset $XX1B) Vector Register (VR2) for DR1 COS (Offset $XX1D)
  • Page 44: Figure 3-1 Vmivme-1160A Programming Flow Diagram

    START SET UP VECTORS SET UP CONTROL REGISTERS BUILD CURRENT STATE TABLE (IF NEEDED) ENABLE INTERRUPTS Figure 3-1 VMIVME-1160A Programming Flow Diagram Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 45: Typical Programming Example

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Typical Programming Example The following example code enables interrupts, processes interrupts, and displays the current input data when a change-of-state occurs. 1160.h VMIVME-1160 32 BIT OPTICALLY COUPLED DIGITAL INPUT W/COS struct vmivme_1160_registers { unsigned char offset[32];...
  • Page 46 Typical Programming Example #define INTR_AUTO_CLEAR 0x08 #define REQUEST_LEVEL_7 0x07 #define REQUEST_LEVEL_6 0x06 #define REQUEST_LEVEL_5 0x05 #define REQUEST_LEVEL_4 0x04 #define REQUEST_LEVEL_3 0x03 #define REQUEST_LEVEL_2 0x02 #define REQUEST_LEVEL_1 0x01 #define INTERRUPTS_OFF 0x00 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 47 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection 1160.c VMIVME-1160 32 BIT OPTICALLY COUPLED DIGITAL INPUT W/COS #include <stdio.h> #include "1160.h" System dependent definitions ( Force Cpu-33 SBC ) #define SHORTIO 0xfbff0000 /* short io window */ #define...
  • Page 48 Typical Programming Example Declare external functions ( ISR’s ) Note: The interrupt service routines are written in assembler and linked to the main C program. They modify the globally defined variables above that are visable to main and the ISR’s. void cos0isr( void );...
  • Page 49 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection board->cr0 = ( INTERRUPT_ENABLE | INTR_AUTO_CLEAR | REQUEST_LEVEL_3 ); board->cr1 = ( INTERRUPT_ENABLE | INTR_AUTO_CLEAR | REQUEST_LEVEL_4 ); board->cr2 = ( INTERRUPT_ENABLE | INTR_AUTO_CLEAR | REQUEST_LEVEL_5 ); board->cr3 = ( INTERRUPT_ENABLE | INTR_AUTO_CLEAR | REQUEST_LEVEL_6 );...
  • Page 50 Typical Programming Example 1160isr.sa VMIVME-1160 32 BIT OPTICALLY COUPLED DIGITAL INPUT W/COS external references and declarations xref _board xref _cos_flags xref _cos_3_data xref _cos_2_data xref _cos_1_data xref _cos_0_data xdef _cos0isr xdef _cos1isr xdef _cos2isr xdef _cos3isr offsets to board data registers offsets to board intr ctrl registers section code...
  • Page 51 VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection service dr1 / cos1 interrupt _cos1isr movem.l a0,-(a7) preserve registers move.l _board,a0 get pointer to board move.b (dr1,a0),_cos_1_data read COS data bset #4,(cr1,a0) re-enable interrupt bset #1,_cos_flags set COS intr flag movem.l...
  • Page 52: Maintenance

    • Quality of cables and I/O connections If the product must be returned, contact VMIC for a Return Material Authorization (RMA) Number. This RMA Number must be obtained prior to any return. Contact VMIC customer Service at 1-800-240-7782, or E-mail: customer.service@vmic.com.
  • Page 53: Maintenance Prints

    VMIVME-1160A 32-bit Optically Coupled Digital Input Board with Change-of-State Detection Maintenance Prints User level repairs are not recommended. The drawings and tables in this manual are for reference purposes only. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 54 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

Table of Contents