Omega-vehicle-security OME-PIO-D56 User Manual

Browse online or download User Manual for Computer Accessories Omega-vehicle-security OME-PIO-D56. Omega Vehicle Security OME-PIO-D56 User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User’s Guide

www.omega.com e-mail: [email protected]’s GuideOME-PIO-D56/D24PCI-BusDigital I/O BoardHardware ManualShop online at

Page 2

I/O select (Sec. 3.3.7) disable\ input Latch Clock input D/O latch CKT RESET\ (Sec. 3.3.1) Data (Sec. 3.3.8) D/I/O d

Page 3 - User Manual

2.3.2 DI Port Architecture (CON2) When the PC is powered up, all DI (CON2) port operations are disabled. The RESET\ signal controls the enable/disa

Page 4 - Table of Contents

2.3.3 DO Port Architecture (CON1) When the PC is powered up, all DO port (CON1) operations are disabled. The RESET\ signal controls the enable/disa

Page 5 - 1.1 Features

2.4 Interrupt Operation All PC0, PC1, PC2 and PC3 can be used as an interrupt signal sources. Refer to Sec. 2.1 for PC0/PC1/PC2/PC3 location. The

Page 6 - 1.3.1 Options

2.4.1 Interrupt Block Diagram of OME-PIO-D56/D24 INT_CHAN_0INT_CHAN_1INT_CHAN_2INT_CHAN_3INT\Level_triggerinitial_lowactive_high The

Page 7 - Attention!

2.4.2 INT_CHAN_0/1/2/3 INT_CHAN_0 (1/2/3)Inverted/Noninverted selectINV0(1/2/3)Enable/Disable selectEN0(1/2/3)PC0(PC1/PC2/PC3) The INT

Page 8 - 2. Hardware configuration

2.4.3 Initial_high, active_low Interrupt source If the PC0 is a initial_high, active_low signal, the interrupt service routine should use INV0 to i

Page 9 - 2.2 I/O Port Location

2.4.4 Initial_low, active_high Interrupt source If the PC0 is a initial_low, active_high signal, the interrupt service routine should use INV0 to i

Page 10

2.4.5 Muliti-Interrupt Source Assume: PC0 is initial Low, active High, PC1 is initial High, active Low

Page 11

void interrupt irq_service() { new_int_state=inportb(wBase+7)&0x0f; /* read all interrupt state */ int_c=new_int_state^now_int_state; /* compa

Page 12

Servicing North America:USA: One Omega Drive, P.O. Box 4047ISO 9001 Certified Stamford CT 06907-0047TEL: (203) 359-1660 FAX: (203) 359-7700e-mail: inf

Page 13 - 2.4 Interrupt Operation

2.5 Daughter Boards 2.5.1 OME-DB-37 The OME-DB-37 is a general purpose daughter board for D-sub 37 pins, designed for an easy-wiring connection

Page 14 - D56/D24

2.5.4 OME-ADP-20/PCI The OME-ADP-20/PCI is an extender for 20-pin header. One side of OME-ADP-20/PCI connects to a 20-pin header. The other side m

Page 15 - 2.4.2 INT_CHAN_0/1/2/3

2.5.5 OME-DB-24PD Isolated Input Board The OME-DB-24PD is a 24 channel isolated digital input daughter board. The optically isolated inputs of the

Page 16 - (a) (b) (c) (d)

2.5.6 OME-DB-24RD Relay Board The OME-DB-24RD, a 24 channel relay output board, consists of 24 form C relays for efficient, programmable load switc

Page 17

2.5.7 OME-DB-24PRD, OME-DB-24POR, OME-DB-24C OME-DB-24PRD 24*power relay, 5A/250V OME-DB-24POR 24*photo MOS relay, 0.1A/350VAC OME-DB-24C 24*op

Page 18

2.5.8 Daughter Board Comparison Table 20-pin flat-cable 50-pin flat-cable D-sub 37-pin OME-DB-37 No No Yes OME-DN-37 No No Yes OME-ADP-37/

Page 19

2.6 Pin Assignment CON3: 37 pin of D-type female connector. Pin Number Description Pin Number Description 1 N.C. 20 VCC 2 N.C. 21 GND 3 P1B7 22

Page 20 - 2.5.2 OME-DN-37

CON2 : 20-pin header (only for OME-PIO-D56) Pin Number Description Pin Number Description 1 DI0 2 DI1 3 DI2 4 DI3 5 DI4 6 DI5 7 DI6 8 DI7 9 DI8

Page 21 - 2.5.4 OME-ADP-20/PCI

3. I/O Control Register 3.1 How to Find the I/O Address The plug & play BIOS will assign a proper I/O address to every OME-PIO/PISO series

Page 22

3.1.1 PIO_DriverInit PIO_DriverInit(&wBoards, wSubVendor,wSubDevice,wSubAux) • wBoards=0 to N Æ number of boards found in this PC • wSubV

Page 23

OME-PIO-D56/D24 User Manual OME-PIO-D56/OME-PIO-D24 User Manual (Ver.2.1, Oct/2003) ----

Page 24

Sample program 2: find all OME-PIO/PISO in this PC (refer to Sec. 4.1 for more information) wRetVal=PIO_DriverInit(&wBoards,0xff,0xff,0xff); /*fi

Page 25

The sub-IDs of OME-PIO/PISO series card are given as following: OME-PIO/PISO series card Description Sub_vendor Sub_device Sub_AUX OME-PIO-D144 (Rev

Page 26 - 2.6 Pin Assignment

3.1.2 PIO_GetConfigAddressSpace PIO_GetConfigAddressSpace(wBoardNo,*wBase,*wIrq, *wSubVendor, *wSubDevice,*wS

Page 27

3.1.3 Show_PIO_PISO Show_PIO_PISO(wSubVendor,wSubDevice,wSubAux) • wSubVendor Æ subVendor ID of board to find • wSubDevice Æ subDevice ID of bo

Page 28 - 3. I/O Control Register

3.2 The Assignment of I/O Address The plug & play BIOS will assign the proper I/O address to the OME-PIO/PISO series card. If there is only one

Page 29 - 3.1.1 PIO_DriverInit

3.3 The I/O Address Map The I/O address of OME-PIO/PISO series card is automatically assigned by the main board ROM BIOS. The I/O address can also

Page 30

3.3.1 RESET\ Control Register (Read/Write): wBase+0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved Reserved Reserved Reserved Res

Page 31

3.3.4 INT Mask Control Register (Read/Write): wBase+5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 EN3 EN2 EN1 EN0 Note. Refer t

Page 32

3.3.6 Interrupt Polarity Control Register (Read/Write): wBase+0x2A Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 INV3 INV2 INV1 I

Page 33 - 3.1.3 Show_PIO_PISO

3.3.8 Read/Write 8-bit data Register (Read/Write):wBase+0xc0/0xc4/0xc8/0xd0/0xd4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 D7 D6 D5 D

Page 34

Table of Contents 1. INTRODUCTION...

Page 35 - 3.3 The I/O Address Map

4. Demo program It is recommended to read the release notes first. Important information will be given in release note as follows: 1. Where you ca

Page 36 - 3.3.3 AUX data Register

4.1 PIO_PISO /* ------------------------------------------------------------ */ /* Find all PIO_PISO series cards in this PC system */

Page 37 - 3.3.5 Aux Status Register

4.1.1 PIO_PISO.EXE for Windows User can find this utility in the company CD or floppy disk. It is useful for all OME-PIO/PISO series card.

Page 38

4.2 DEMO1 /* demo 1 : D/O demo of CON3 */ /* step 1 : connect a OME-DB-24C to CON3 of OME-PIO-D56/D24 */

Page 39

4.3 DEMO2 /* demo 2 : DI/O demo of CON1, CON2 & CON3 */ /* step 1 : connect OME-DB-24P to CON3 of OME-PIO-D56/D24

Page 40 - 4. Demo program

4.4 DEMO3 /* demo 3 : Count high pulse of PC0 */ /* (initial Low & active High)

Page 41 - 4.1 PIO_PISO

irqmask=inportb(A1_8259+1); outportb(A1_8259+1,irqmask & 0xff ^ (1<<wIrq)); setvect(wIrq+8,irq_service); } else { irqmask=

Page 42

4.5 DEMO4 /* demo 4 : Count high pulse of PC0 */ /* (initial High & active Low)

Page 43 - 4.2 DEMO1

} else { irqmask=inportb(A1_8259+1); outportb(A1_8259+1,irqmask & 0xfb); /* IRQ2 */ irqmask=inportb(A2_8259+1);

Page 44 - 4.3 DEMO2

4.6 DEMO5 /* demo 5 : Four interrupt source */ /* PC0 : initial Low , active High */

Page 45 - 4.4 DEMO3

1. Introduction The OME-PIO-D56/OME-OME-PIO-D24 provides 56/24 TTL digital I/O lines. The OME-PIO-D56/OME-OME-PIO-D24 consists of one 24-bit bi-dir

Page 46

if (wIrq<8) { irqmask=inportb(A1_8259+1); outportb(A1_8259+1,irqmask & 0xff ^ (1<<wIrq)); setvect(wIrq+8,irq_service); } e

Page 47 - 4.5 DEMO4

OME-PIO-D56/OME-PIO-D24 User Manual (Ver.2.1, Oct/2003) ---- 49 else /* now PC1 is change to low */ {

Page 48

WARRANTY/DISCLAIMEROMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for aperiod of 13 months from date of

Page 49 - 4.6 DEMO5

M4038/0104Where Do I Find Everything I Need for Process Measurement and Control? OMEGA…Of Course!Shop online at www.omega.comTEMPERATUREThermocouple

Page 50

1.2 Specifications • All inputs are TTL compatible Logic high voltage : 2.4V (Min.) Logic low voltage : 0.8V (Max.) • All outputs are TTL compa

Page 51

1.4 PCI Data Acquisition Family We provide a family of PCI bus data acquisition cards. These cards can be divided into three groups as follows: 1.

Page 52 - RETURN REQUESTS/INQUIRIES

2. Hardware configuration 2.1 Board Layout CON1CON2CON3PCI BUSPIO-D56 PIO-D24121920121920D/ID/ODI/OPort0Port1Port2only for PIO-D56 OME-PIO-

Page 53 - Shop online at www.omega.com

2.2 I/O Port Location The OME-PIO-D56/OME-PIO-D24 consists of one 24-bit bi-directional port, one 16 bit input port and one 16 bit output port

Comments to this Manuals

No comments