manualshive.com logo in svg
background image

www.omega.com  

e-mail: [email protected]

User’s Guide

OME-PIO-D56/D24
PCI-Bus

Digital I/O Board

Hardware Manual

Shop online at

Содержание OME-PIO-D56

Страница 1: ...www omega com e mail info omega com User sGuide OME PIO D56 D24 PCI Bus Digital I O Board Hardware Manual Shop online at...

Страница 2: ...court France TEL 33 0 1 61 37 29 00 FAX 33 0 1 30 57 54 27 Toll Free in France 0800 466 342 e mail sales omega fr Germany Austria Daimlerstrasse 26 D 75392 Deckenpfronn Germany TEL 49 0 7056 9398 0 FA...

Страница 3: ...OME PIO D56 D24 User Manual OME PIO D56 OME PIO D24 User Manual Ver 2 1 Oct 2003 1...

Страница 4: ...PORT LOCATION 7 2 3 ENABLING I O OPERATION 7 2 4 INTERRUPT OPERATION 11 2 5 DAUGHTER BOARDS 18 2 6 PIN ASSIGNMENT 24 3 I O CONTROL REGISTER 26 3 1 HOW TO FIND THE I O ADDRESS 26 3 2 THE ASSIGNMENT OF...

Страница 5: ...at cable connectors only for OME PIO D56 The flat cable can be connected to an OME ADP 20 PCI adapter The adapter can be fixed on the chassis It can be installed in a 5V PCI bus and supports Plug Play...

Страница 6: ...105mm Power Consumption 5V 530mA 420mA OME PIO D56 OME PIO D24 1 3 Order Description OME PIO D56 PCI bus 56 bit DI O board OME PIO D24 PCI bus 24 bit DI O board 1 3 1 Options OME DB 24PD 24 channel is...

Страница 7: ...OME PISO 813 A D card OME PISO P32C32 P64 C64 D I O family OME PISO P8R8 P8SSR8AC P8SSR8DC D I O family OME PISO 730 D I O card OME PISO DA2 D A card 1 5 Product Checklist In addition to this manual t...

Страница 8: ...dware configuration 2 1 Board Layout CON1 CON2 CON3 PCI BUS PIO D56 PIO D24 1 2 19 20 1 2 19 20 D I D O DI O Port0 Port1 Port2 only for PIO D56 OME PIO D56 PIO D24 User Manual Ver 2 1 Oct 2003 PPH 005...

Страница 9: ...fer to Sec 2 4 for more information 2 3 Enabling I O Operation 2 3 1 DI DO Port Architecture CON3 Upon power up all D I O port CON3 operations are disabled The RESET signal controls the enable disable...

Страница 10: ...I O operations are disabled When the RESET is in High state all D I O operation are enabled If D I O is configured as D I port D I external input signal If D I O is configured as D O port D I read bac...

Страница 11: ...able disable signal for the DI port Refer to Sec 3 3 1 for more information about the RESET signal The RESET is in Low state all DI operations are disabled The RESET is in High state all DI operations...

Страница 12: ...more information about the RESET signal The RESET is in Low state all DO operations are disabled The RESET is in High state all DO operations are enabled The power up states are as follows All DO ope...

Страница 13: ...terrupt service routine does not have to identify the interrupt source Refer to DEMO3 C DEMO4 C If there is more than one interrupt source the interrupt service routine has to identify the active sign...

Страница 14: ...high pulse to interrupt the PC The priority of INT_CHAN_0 1 2 3 is the same If all these four signals are active at the same time then INT will be active only one time So the interrupt service routin...

Страница 15: ...EN0 EN1 EN2 EN3 can be used to enable disable the INT_CHAN_0 1 2 3 as follows Refer to Sec 3 3 4 EN0 1 2 3 0 INT_CHAN_0 1 2 3 disable EN0 1 2 3 1 INT_CHAN_0 1 2 3 enable The INV0 can be used to inver...

Страница 16: ...se outportb wBase 0x2a 1 INV0 select the non inverted input b INT_CHAN_0 PC0 LOW INT_CHAN_0 generate a high_pulse now_int_state 0 now PC0 LOW else now_int_state 1 now PC0 HIGH don t have to generate h...

Страница 17: ...high_pulse outportb wBase 0x2a 1 INV0 select the non inverted input d INT_CHAN_0 PC0 LOW INT_CHAN_0 generate a high_pulse now_int_state 0 now PC0 LOW else now_int_state 1 now PC0 HIGH don t have to ge...

Страница 18: ...the same time PC0 PC1 are active at the same time PC2 PC3 are active at the same time Refer to DEMO5 C for source program All these four falling edge rising edge can be detected by DEMO5 C Note When...

Страница 19: ...2 0 now PC1 change to high CNT_H2 else now PC1 change to low CNT_L2 invert invert 2 to generate a high pulse if int_c 0x4 0 If new_int_state 0x04 0 now PC2 change to high CNT_H3 else now PC2 change to...

Страница 20: ...or OME DB 37 with DIN Rail Mounting It is designed for easy wiring connection 37pin cable 2 5 3 OME DB 8125 OME DN 37 The OME DB 8125 is a general purpose screw terminal board It is designed for easy...

Страница 21: ...tender for 20 pin header One side of OME ADP 20 PCI connects to a 20 pin header The other side mounts on the PC chassis as follows NOTE Please choose the suitable extender for your application OME PIO...

Страница 22: ...signals from TTL levels up to 24V or use the OME DB 24PD to sense a wide range of AC signals Use this board to isolate the computer from large common mode voltages ground loops and transient voltage...

Страница 23: ...iated relay is activated OME DB 24RD OME PIO D56 PIO D24 Normal Open Normal Close Com Form C Relay Note Channel 24 Form C Relay Relay Switch up to 0 5A at 110ACV or 1A at 24DCV OME DB 24RD 50 pin flat...

Страница 24: ...priate relay channel on the 20 pin flat cable connector using only 16 relays or 50 pin flat cable connector OPTO 22 compatible for DIO 24 series Twenty four enunciator LEDs one for each relay light wh...

Страница 25: ...OME DB 16P8R No Yes Yes OME DB 24R No Yes No OME DB 24RD No Yes Yes OME DB 24C Yes Yes Yes OME DB 24PR Yes Yes No OME DB 24PRD No Yes Yes OME DB 24POR Yes Yes Yes OME DB 24SSR No Yes Yes Note There is...

Страница 26: ...23 P2C6 5 P1B5 24 P2C5 6 P1B4 25 P2C4 7 P1B3 26 P2C3 8 P1B2 27 P2C2 9 P1B1 28 P2C1 10 P1B0 29 P2C0 11 GND 30 P0A7 12 N C 31 P0A6 13 GND 32 P0A5 14 N C 33 P0A4 15 GND 34 P0A3 16 N C 35 P0A2 17 GND 36...

Страница 27: ...DI12 14 DI13 15 DI14 16 DI15 17 GND 18 GND 19 Vcc 20 12V CON1 20 pin header only for OME PIO D56 Pin Number Description Pin Number Description 1 DO0 2 DO1 3 DO2 4 DO3 5 DO4 6 DO5 7 DO6 8 DO7 9 DO8 10...

Страница 28: ...wSubAux wSlotBus wSlotDevice 3 Show_PIO_PISO wSubVendor wSubDevice wSubAux All functions are defined in PIO H Refer to Chapter 4 for more information The important driver information is given as foll...

Страница 29: ...nformation in the library Sample program 1 find all OME PIO D56 OME PIO D24 in the PC wSubVendor 0x80 wSubDevice 1 wSubAux 0x40 for OME PIO D56 D24 wRetVal PIO_DriverInit wBoards wSubVendor wSubDevice...

Страница 30: ...in this PC wBoards if wBoards 0 exit 0 printf n for i 0 i wBoards i PIO_GetConfigAddressSpace i wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf nCard_ d wBase x wIrq x subID x x x...

Страница 31: ...O P64 Rev 4 0 64 isolated D I 0280 00 10 OME PISO P32C32 Rev 5 0 32 isolated D O Current Sinking 32 isolated D I 80 08 20 OME PISO P32A32 Rev 3 0 32 isolated D O Current Sourcing 32 isolated D I 8280...

Страница 32: ...as follows step1 detect all OME PIO D56 OME PIO D24 cards first wSubVendor 0x80 wSubDevice 1 wSubAux 0x40 for OME PIO D56 D24 wRetVal PIO_DriverInit wBoards wSubVendor wSubDevice wSubAux printf There...

Страница 33: ...program is given as follows wRetVal PIO_DriverInit wBoards 0xff 0xff 0xff find all PIO_PISO printf nThrer are d PIO_PISO Cards in this PC wBoards if wBoards 0 exit 0 printf n for i 0 i wBoards i PIO_G...

Страница 34: ...O D56 OME PIO D24 from this PC 4 Install one OME PIO D56 D24 into the PC s PCI_slot2 run PIO_PISO EXE record the wSlotBus2 wSlotDevice2 5 Repeat 3 4 for all PCI_slot record all wSlotBus wSlotDevice Th...

Страница 35: ...Same Wbase 2 Aux control register Same Wbase 3 Aux data register Same Wbase 5 INT mask control register Same Wbase 7 Aux pin status register Same Wbase 0x2a INT polarity control register Same Wbase 0...

Страница 36: ...5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Aux7 Aux6 Aux5 Aux4 Aux3 Aux2 Aux1 Aux0 Note Refer to Sec 3 1 for more information about wBase Aux 0 this Aux is used as a D I Aux 1 this Aux is used as a D O When the...

Страница 37: ...wBase 5 0x0f enable interrupt PC0 PC1 PC2 PC3 3 3 5 Aux Status Register Read Write wBase 7 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Aux7 Aux6 Aux5 Aux4 Aux3 Aux2 Aux1 Aux0 Note Refer to Sec 3...

Страница 38: ...lect the non inverted input PC1 2 3 outportb wBase 0x2a 0x0c select the inverted input of PC0 1 select the non inverted input PC2 3 Refer to Sec 2 4 for more information Refer to DEMO5 C for more info...

Страница 39: ...D I port outportb wBase 0xcc 0x07 configure Port0 Port2 as DO port outportb wBase 0xc0 i1 write to Port0 outportb wBase 0xc0 i2 write to Port1 outportb wBase 0xc0 i3 write to Port2 outportb wBase 0xcc...

Страница 40: ...Large TC large model library TC LIB Huge TC huge model library TC LIB Large PIO H TC declaration file TC LIB Large TCPIO_L LIB TC large model library file TC LIB Huge PIO H TC declaration file TC LIB...

Страница 41: ...0 i wBoards i PIO_GetConfigAddressSpace i wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf nCard_ d wBase x wIrq x subID x x x SlotID x x i wBase wIrq wSubVendor wSubDevice wSubAu...

Страница 42: ...he company CD or floppy disk It is useful for all OME PIO PISO series card After executing the utility detailed information for all OME PIO PISO cards that installed in the PC will be show as follows...

Страница 43: ...Configuration Space for i 0 i wBoards i PIO_GetConfigAddressSpace i wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf nCard_ d wBase x wIrq x subID x x x SlotID x x i wBase wIrq wS...

Страница 44: ...rscr step1 find address mapping of PIO PISO cards step2 enable all D I O port outportb wBase 1 RESET 1 step3 configure I O direction outportb wBase 0xcc 0x00 set CON3 as D I ports i 1 for gotoxy 1 7 i...

Страница 45: ...wSlotDevice char c clrscr step1 find address mapping of PIO PISO cards select card_0 step2 enable all D I O port outportb wBase 1 RESET 1 step3 configure I O direction outportb wBase 0xcc 0x00 set CO...

Страница 46: ...service if now_int_state 1 now PC0 change to low INT_CHAN_0 PC0 if inportb wBase 7 1 0 PC0 still fixed in low need to generate a high pulse outportb wBase 0x2a 1 INV0 select noninverted input now_int_...

Страница 47: ...mapping of PIO PISO cards select card_0 step2 enable all D I O port outportb wBase 1 RESET 1 step3 configure I O direction outportb wBase 0xcc 0x00 set CON3 as D I ports COUNT 0 init_high printf n n s...

Страница 48: ...w INT_CHAN_0 PC0 COUNT if inportb wBase 7 1 0 PC0 still fixed in low need to generate a high pulse outportb wBase 0x2a 1 INV0 select noninverted input now_int_state 0 now PC0 low else now_int_state 1...

Страница 49: ...2 t3 t4 t5 t6 WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c clrscr step1 find address mapping of PIO PISO cards select card_0 step2 enable all D I O port outportb wBase 1 RESET 1 step...

Страница 50: ...ortb wBase 5 0x0f enable interrupt PC0 PC1 enable PC2 PC3 NOTE 1 The hold time of INT_CHAN_0 1 2 3 must long enough 2 The ISR must read the interrupt status again to the active interrupt sources 3 The...

Страница 51: ...0 now PC2 is change to high CNT_H3 else now PC2 is change to low CNT_L3 invert invert 4 to generate a high pulse if int_c 0x8 0 INT_CHAN_3 is active if new_int_state 0x8 0 now PC3 is change to high CN...

Страница 52: ...shall not exceed the purchase price of the component upon which liability is based In no event shall OMEGA be liable for consequential incidental or special damages CONDITIONS Equipment sold by OMEGA...

Страница 53: ...city Indicators Turbine Paddlewheel Systems Totalizers Batch Controllers pH CONDUCTIVITY pH Electrodes Testers Accessories Benchtop Laboratory Meters Controllers Calibrators Simulators Pumps Industria...

Отзывы: