background image

PISO-813 Series Card 
32-channel Single-Ended Isolated A/D Board

 

User  Manual,  Ver.  1.5,  Feb.  2014,  PMH-003-15,  Page:  25 

 

6.

 

  I/O Control Register 

6.1

 

  How to Find the I/O Address   

 

The plug&play BIOS will assign a proper I/O address to every PIO/PISO series card in the power-on 

stage. The fixed IDs for the PISO-813 series cards are given as follows: 
 
Table 6-1: 

PISO-813 (Rev 1.0) 

PISO-813 (Rev 2.0 or above) 

PISO-813U 

Vendor ID 

0xE159 

Vendor ID 

0xE159 

Device ID 

0x02 

Device ID 

0x01 

Sub-Vendor ID 

0x80 

Sub-Vendor ID 

0x0280 

0x4280 

Sub-Device ID 

0x0A 

Sub-Device ID 

0x02 

Sub-Aux ID 

0x00 

Sub-Aux ID 

0x00 

 

We provide all necessary functions as follows: 

1.

 

PIO_DriverInit(&wBoard, wSubVendor, wSubDevice, wSubAux) 

2.

 

PIO_GetConfigAddressSpace(wBoardNo,*wBase,*wIrq, *wSubVendor, 

*wSubDevice, *wSubAux, *wSlotBus, *wSlotDevice) 

3.

 

Show_PIO_PISO(wSubVendor, wSubDevice, wSubAux) 

 

All functions are defined in PIO.H. Refer to 

Chapter 7

 for more information. The important driver 

information is given as follows: 

1. Resource-allocated information: 

 

wBase:

 BASE address mapping in this PC 

 

wIrq:

 IRQ channel number allocated in this PC 

 

2. PIO/PISO identification information: 

 

wSubVendor:

 subVendor ID of this board 

 

wSubDevice:

 subDevice ID of this board 

 

wSubAux:

 subAux ID of this board 

ГК

 

Атлант

 

Инжиниринг

 – 

официальный

 

представитель

 

в

 

РФ

 

и

 

СНГ

 

+7(495)109-02-08 [email protected] www.bbrc.ru 

Summary of Contents for PISO-813

Page 1: ...manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of...

Page 2: ...10 2 3 4 Setting Reference 10 2 3 5 A D Operation Flow 11 2 4 PIN ASSIGNMENTS 12 3 HARDWARE INSTALLATION 13 4 SOFTWARE INSTALLATION 17 4 1 OBTAINING INSTALLING THE DRIVER INSTALLER PACKAGE 17 4 2 PNP...

Page 3: ...rol Register 32 6 3 2 A D Data Register 33 6 3 3 Multiplexer Channel Select Register 34 6 3 4 PGA Gain Code Register 34 6 3 5 A D Trigger Control Register 35 6 3 6 Card ID Register 35 7 DEMO PROGRAMS...

Page 4: ...analog inputs 3750 Vrms bus typed isolation protection and 10 kS s data acquisition under DOS and Windows It is the most cost effective isolated A D board for the universal PCI PCI Bus in the world T...

Page 5: ...annels 3750 Vrms bus type isolation protection Built in DC DC converter with 3000 VDC protection Analog input range Bipolar 10 V 5 V 2 5 V 1 25 V 0 625 V Unipolar 0 10 V 0 5 V 0 2 5 V 0 1 25 V 0 0 625...

Page 6: ...olling Accuracy 0 01 of FSR 1 LSB 25 C 10 V Zero Drift 25 ppm C of FSR General Bus Type 3 3 V 5 V Universal PCI 32 bit 33 MHz 5 V PCI 32 bit 33 MHz Data Bus 8 bit Card ID Yes 4 bit No I O Connector Fe...

Page 7: ...troller JP3 1 2 7 8 VR1 VR2 VR3 VR4 JP1 JP2 10V 20V Unipolar Bipolar 3000Vdc photo isolation CON1 32 channel analog input refer to Sec 2 4 for more detailed information JP1 Input range setting refer t...

Page 8: ...V 20V Unipolar Bipolar 3000Vdc photo isolation SW1 CON1 32 channel analog input Sec 2 4 for more detailed information JP1 Input range setting refer to Sec 2 3 1 for more detailed information JP2 Unipo...

Page 9: ...please refer to Table 2 1 Note that the Card ID function is only supported by the PISO 813U Table 2 1 Default Settings OFF 1 ON 0 Card ID Hex 1 ID0 2 ID1 3 ID2 4 ID3 0x0 ON ON ON ON 0x1 OFF ON ON ON 0...

Page 10: ...nalog Input Range Selection JP1 10V 20V JP1 10V 20V Input Range 20 V Input Range 10 V Default Settings Analog Input AI31 AI1 AI0 32 Channel Analog Multiplexer Channel select D4 D0 Programmable Gain Am...

Page 11: ...log Input JP2 Polarity Select JP1 Range Select Gain 10 V 10 V Bipolar 20 V 1 5 V 5 V Bipolar 20 V 2 10 V 1 2 5 V 2 5 V Bipolar 20 V 4 10 V 2 1 25 V 1 25 V Bipolar 20 V 8 10 V 4 0 625 V 0 625 V Bipolar...

Page 12: ...c 2 3 4 Step 4 Select input channel Refer to Sec 6 3 3 Step 5 delay 10 s for photocouple propagation delay and analog multiplexer settling time Step 6 Trigger A D converter Refer to Sec 6 3 5 Step 7 D...

Page 13: ...ed A D Board User Manual Ver 1 5 Feb 2014 PMH 003 15 Page 12 2 4 Pin Assignments The Pin assignments of CON1 for 37 pin D type female connector on the PISO 813 and PISO 813U are represented in the fig...

Page 14: ...nformation about the driver installation please refer to Chapter 4 Software Installation Step 2 Configuring Card ID by the SW1 DIP Switch for PISO 813U only For detailed information about the card ID...

Page 15: ...e Ended Isolated A D Board User Manual Ver 1 5 Feb 2014 PMH 003 15 Page 14 Step 3 Shut down and power off your computer Step 4 Remove all covers from the computer Step 5 Select an empty PCI slot 7 495...

Page 16: ...ser Manual Ver 1 5 Feb 2014 PMH 003 15 Page 15 Step 6 Remove the PCI slot cover form the PC Step 7 Remove the connector cover form the PISO 813 series card Step 8 Carefully insert your PISO 813 series...

Page 17: ...age 16 Step 9 Tighten the screw Step 10 Replace the computer cover Step 11 Power on the computer Follow the prompt message to finish the Plug Play steps please refer to Chapter 4 Software Installation...

Page 18: ...ed CD ROM or can be obtained from the ICP DAS FTP web site Install the appropriate driver for your operating system The location and addresses are indicated in the Table4 1 and Table 4 2 below Table 4...

Page 19: ...NT Folder Piso_813_winnt_xxx exe For Windows NT 4 0 Installing Procedure For detailed information about the PISO 813 series classic driver installation please refer to PISO 813 series classic DLL Soft...

Page 20: ...o Windows Device Manager Microsoft Windows 95 98 ME users Step 1 On the desktop right click on My Computer and click Properties or open the Control Panel and double click the S ste icon Step 2 Click t...

Page 21: ...ch box type device manager and then press enters Microsoft Windows 8 users Step 1 To show the Start screen icon from the desktop view simply hover your cursor over the bottom left corner of your scree...

Page 22: ...olated A D Board User Manual Ver 1 5 Feb 2014 PMH 003 15 Page 21 4 3 2 Check that the Installation Check the PISO 813 series card which listed correctly or not as illustrated below Installation succes...

Page 23: ...information about the hardware and driver installation please refer to Chapter 3 Hardware Installation and Chapter 4 Software Installation 5 1 Self Test Wiring Prepare for device DN 37 optional wiring...

Page 24: ...3 http ftp icpdas com pub cd iocard pci napdos pci piso 813 manual quickstart classic piso 813_ quickstart_eng pdf to execute the self test Step 1 Execute the UniDAQ Utility Program The UniDAQ Utility...

Page 25: ...Page 24 Step 2 Get A D function test result 1 Click the A alog I put Item 2 Confirm the hardware setting Depend on JP1 and JP2 3 Click the Start button to start test 4 Check analog input on Channel 0...

Page 26: ...Sub Device ID 0x02 Sub Aux ID 0x00 Sub Aux ID 0x00 We provide all necessary functions as follows 1 PIO_DriverInit wBoard wSubVendor wSubDevice wSubAux 2 PIO_GetConfigAddressSpace wBoardNo wBase wIrq...

Page 27: ...rmation wSlotBus hard are slot ID i this PC s slot positio wSlotDevice hard are slot ID i this PC s slot positio The PIO_PISO EXE utility will detect and show all PIO PISO cards installed in this PC R...

Page 28: ...f 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 SlotID x x i wBase...

Page 29: ...wBase 1 enable all D I O operation of card_0 wBase wConfigSpace 1 0 get base address the card_1 outport wBase 1 enable all D I O operation of card_1 6 1 2 PIO_GetConfigAddressSpace PIO_GetConfigAddre...

Page 30: ...e printf nCard_ d wBase x wIrq x subID x x x SlotID x x i wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf ShowPioPiso wSubVendor wSubDevice wSubAux 6 1 3 Show_PIO_PISO Show_PIO_PI...

Page 31: ...way to identify which card is card_0 is to use wSlotBus and wSlotDevice in the following manner Step 1 Remove all PISO 813 series boards from the PC Step 2 Install one PISO 813 series i to the PC s PC...

Page 32: ...the specified PIO PISO card by following steps Step1 Using the wSlotBus and wSlotDevice information from Table 6 2 Step2 E ter the oard u er i to PIO_GetCo figAddress pa e fu tio to get the informati...

Page 33: ...mation about wBase Address Read Write wBase 0 RESET Control Register RESET Control Register wBase 0xd0 Low byte of A D Data wBase 0xd4 High byte of A D Data wBase 0xe0 Multiplexer channel select regis...

Page 34: ...sion Data Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Status D11 D10 D9 D8 For example do HighByte inportb wBase 0xd4 while HighByte 0x10 check status until conversion complete LowByte inportb wBa...

Page 35: ...0xe0 0 Select analog input channel 0 outportb wBase 0xe0 1 Select analog input channel 1 outportb wBase 0xe0 31 Select analog input channel 31 6 3 4 PGA Gain Code Register Write wBase 0xe4 Bit 7 Bit...

Page 36: ...A D converter must be trigger by dummy write A D Trigger Control Register Refer to Sec 2 3 5 for more information about A D converter operation For example outportb wBase 0xf0 0 Trigger A D converter...

Page 37: ...Manual 7 Demo Programs 7 1 Demo Program for Windows All demo programs will not work properly if the DLL driver has not been installed correctly During the DLL driver installation process the install s...

Page 38: ...Linkage library for VC only VB6 for Visual Basic 6 UniDAQ BAS Declaration files VC NET2005 for VC NET2005 32 bit UniDAQ H Header files UniDAQ LIB Linkage library for VC only VC NET2005 for VC NET2005...

Page 39: ...e TC LIB Large TCPIO_L LIB TC Large Model Library File TC LIB Huge PIO H TC Declaration File TC LIB Huge TCPIO_H LIB TC Huge Model Library File MSC LIB Large PIO H MSC Declaration File MSC LIB Large M...

Page 40: ...gain The user can execute the PIO_PISO EXE to get the following information List all PIO PISO cards installed in this PC List all resources allocated to every PIO PISO cards List the wSlotBus and wSlo...

Page 41: ...ase2 wIrq2 int main int i j j1 j2 j3 j4 k jj dd j11 j22 j33 j44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c float ok err clrscr wRetVal PIO_DriverInit wBoards 0...

Page 42: ...813 series card DN 37 The DN 37 is a general purpose daughter board for DB 37 pins with DIN Rail Mountings They are also designed for easy wire connection via pin to pin Use a 37 pin cable e g CA 3710...

Reviews: