Home
        User Manual - ICP DAS USA`s I
         Contents
1.       PEX PIO PISO DA    Series Card User Manual    Analog Output Boards Version 3 1  Oct  2013    SUPPORTS  Board includes PIO DA4  PIO DA8  PIO DA16  PIO DA4U  PIO DA8U   PIO DA16U  PISO DA4U  PISO DA8U  PISO DA16U  PEX DA4  PEX DA8 and  PEX DA16     WARRANTY    All products manufactured by ICP DAS are warranted against defective materials  for a period of one year from the date of delivery to the original purchaser     WARNING    ICP DAS assumes no liability for damages consequent to the use of this product   ICP DAS reserves the right to change this 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 patents or other rights of third parties resulting from its use     COPYRIGHT  Copyright    2013 by ICP DAS  All rights are reserved     TRADEMARK    Names are used for identification only and may be registered trademarks of their  respective companies     CONTACT US    If you have any question  please feel to contact us  We will give you quick  response within 2 workdays     Email  service icpdas com  service icodas qmail com    PEX PIO PISO DA Series Card       Analog Output Boards    TABLE OF CONTENTS    PANT  5  RELATED INFORMATION  sinned 5  1  INTRODUCTION cica aA Ge E OE EANN OOOO OO TE EE AEA 6  1 1 FEATURES EE 7  1 2 COMPARISON MEER OE EE EE E 8  1 3 EE 9   2  HARDWARE CONFIGURATION anserina NAG 11  2 1 PAN 11  2 2
2.       Read   wBase 0xe4  gt  High byte of the D I port  ons   bra   om   onz   om   ono   pe   oe    For example    wDiLoByte   inportb wBase 0xe0      Read the D I state  DI7 DI0      wDiHiByte   inportb wBase 0xe4      Read the D I state  DI15 DI8      wDiValue    wDiHiByte lt   lt 8  wDiLoByte           Refer to the DEMO2 C file for more information     6 3 10 Digital Output Register     Write   wBase 0xf8  gt  Low byte of the D O port  DO7   DO6   DOS DO4 DO3 DO2 DOI   DOO       Write   wBase Oxfc  gt  High byte of the D O port       For example   outportb wBase 0xf8 wDovValue     Controls the DO state  DO7 DO0      outportb wBase Oxfc wDoValue gt  gt 8     Controls the DO state  DO15 DO8           Refer to the DEMO1 2 C file for more information     FG User Manual  Ver  3  Oct  2013  PMH 0010 31  Page  66       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 11 D A Select Register    There are 1 2 4 D A converters in PEX PISO PIO DA series cards  It is necessary to select  which D A converter is desired after the D A data has be sent  D A channels are allocated as  follows     Al AO Description    0 O   Dj Aoutputchamel 0   lease  ee      0 O0   D Aoutput channel 4  gt    DEE  Z     u  0 0   __D Aoutputchamnel 8   ne  Geck   i  0 O   D Aoutputchannell2        T N D A output channel13  es D A output channel14  J D A output channel15    For example   outportb wBase 0xf0 wDaValue      output the low byte for D A data       outportb wBase 0xf4  wDaValue gt  gt 8 
3.    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  21       PEX PIO PISO DA Series Card  Analog Output Boards       2 4 1 D I Port Architecture  CON2     When the PC is powered up  all DI port  CON2  operation are disabled  The enabled disabled  status of a DI port is controlled by the RESET  signal  Refer to Sec  6 3 1 for more information  about the RESET  signal     m The RESET  signal is in the Low state  gt  all DI operations are disabled  m The RESET  signal is in the High state  gt  all DI operations are enabled    RESET     disable  CON2          Buffer input        gt  Clock input       D I buffer CKT    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  22       PEX PIO PISO DA Series Card  Analog Output Boards       2 4 2 D O Port Architecture  CON1     When the PC is powered up  the states of all DO channels are cleared low  The RESET  signal  is used to clear the DO states  Refer to Sec  6 3 1 for more information about the RESET   Signal     m The RESET  signal is in the Low state  gt  all DO channels are cleared to the low state    The block diagram of DO is as follows     RESET     clear  CON1   gt        input Latch           gt  Clock input       D O buffer CKT    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 34  Page  23       PEX PIO PISO DA Series Card EE    Analog Output Boards       2 5 D A Architecture    Voltage Output   Voltage Output   Voltage Output  DA 0 Voltage Output  Voltage Output  Voltage Output  Voltage Output  Voltage Output  V
4.    nCard_ d wBase  x wIrq  x subID   x  x  x    SlotID   x  x   i wBase wirg wSubVendor wSubDevice   wSubAux wSlotBus wSlotDevice      printf      gt         ShowPioPiso wSubVendor wSubDevice wSubAux           FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  55       PEX PIO PISO DA Series Card  Analog Output Boards       6 1 3 PIO GetConfigAdressSpace    PIO GetConfigAddressSpace wBoardNo  wBase  wIrg    wSubVendor  wSubDevice  wSubAux  wSlotBus   wSlotDevice     wBoards 0 to N The total number of boards using the PIO DriverInit      function  wBase The base address of the board control word   wirq The allocated IRQ channel number for this board   wSubVendor The subVendor ID of this board   wSubDevice The subDevice ID of this board   wSubAux The subAux ID of this board   wSlotBus The bus number of the slot used by this board   wSlotDevice The device number of the slot used by this board    The function can be used to save the resource information for all PIO PISO cards installed in  this system  The application program can then directly control all functions of the PIO PISO  series card     Detect the configuration address space for your PEX PISO PIO DA series cards        Step 1  Detect all PEX PISO PIO DA series cards     wSubVendor 0x80  wSubDevice 4  wSubAux 0x00    For PIO_DA4 8 16 series cards       wRetVal PIO DriverInit  amp wBoards  wSubVendor wSubDevice wSubAux    printf    There are  d PIO DA16 8 4 Cards in this PC n  wBoards         Step 2  Save the resour
5.   0x02     output the high byte for D A data and      select channel 2 on this converter      outportb wBase 0xe0 0     select DA 0       after this procedure  the wDaValue will        be sent to channel 2          Refer to the DEMO6 C  DEMO7 C  DEMOS C and DEMOO C files for more  information     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  67       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 12 D A Data Output Register     Write   wBase 0xf0  pr   oe   os   oa   oa   oz   oi   bo     Write   wBase 0xf4    Each D A converter have four analog output channels  When writing data to the D A  converter  the relevant channel to be used is indicated by Al and AO           D A programming sequence   1  Send data to the D A converter   This data will be buffered   2  Select the D A converter   Start the conversion     For example   outportb wBase 0xf0 wDaValue      output low byte of D A data    outportb wBase 0xf4  wDaValue gt  gt 8  0x02      output high byte of D A data and        select channel 2 on this converter     outportb wBase 0xe0 0      select DA 0        after this procedure wDaValue will        be sent to channel 2       pio_da16 da 2 wDaValue      send wDaValue to channel 2       void pio_da16 da char cChannel no int iVal          iVal iVal  cChannel_no 4  0x4000     channel no  0 15     outportb wBase 0xf0 iVal      Wal  0x0000   Ox3fff     outportb wBase 0xf4  iVal gt  gt 8     outportb wBase 0xe0 4  cChannel no 4   0xff              Refer t
6.   31  34  32  33    1  1  1  1  1  1  1  1  1  1  1  1  1  1  1    1    16295 8175 15965       If the user wants to send Vout volts  to Channel n  the calibrated hex value  DaValue  sent to  D A converter can be calculated in the following way     DeltaV n  20 0  MaxV n  MinV n       DeltaV n  volts per count at channel n     DaValue  Vout 10 0  DeltaV n  MinV n      DaValue Hex value to send to the D A     pio_dai6_da n DaValue      send the DaValue to Channel n       If the user wants to send Iout mA  to Channel n  the calibrated hex value  DaValue  sent to  the D A converter can be calculated in the following way   Refer to DEMO9 C     DeltaI n  20 0  MaxI n    MinI n       Deltal n  mA per count at channel n     DaValue Iout  DeltaI n  MinI n      DaValue Hex value send to D A     pio_da16 da n DaValue      send the DaValue to Channel n       Refer to DEMO7 C and DEMO9 C for more information     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  26       PEX PIO PISO DA Series Card  Analog Output Boards    2 6 1 Output Range and Resolution       The voltage output range for PEX DA and PISO PIO DAxU series cards is always  10 1 V  and  the current output range is always 0 22 mA  as illustrated below     Voltage Channel Current Channel     en wellis Output Output     10 1V  10 1V 22mA 22mA    N    OX3FFF 7    OX2FFF    OX25D0  OX1FFF       OXOFFF            0X0000 G     10 1V  The resolution for each range is as follows     Configuration Equivalent Bits Resolution    1
7.   GATE2  Counter2       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  13       PEX PIO PISO DA Series Card  Analog Output Boards       2 3 Interrupt Operation    There are two interrupt sources included in the PEX DA and PIO PISO DAxU series  These  two signals are named as INTO and INT1  and their signal sources are as follows     INTO  8254 counter0 output  Refer to Sec  2 2   INT1  8254 counter2 output  Refer to Sec  2 2     If only one interrupt signal source is used  the interrupt service routine doesn   t have to  identify the interrupt source  Refer to DEMO3 C and DEMO4 C for more information     If there is more than one interrupt source  the interrupt service routine has to identify the  active signals in the following manner   Refer to DEMO5 C and DEMO6 C    1  Read the new status of all interrupt signal sources   Compare the new status with the old status to identify the active signals   If INTO is active  service it   If INT1 is active  service it   Save the new status to replace the old status    oS   E    Note     If the interrupt signal ts too short  the new status may be the same as the old status  In  that situation  the interrupt service routine will not be able to identify which interrupt  source is active  so the interrupt signal must be hold active for long enough until the  interrupt service routine Is executed  This hold time ts different for different OS versions   The hold_time can be as short as a micro second or as long as second  In general 
8.   there are many jumpers  that allow the following functions to be performed      1  Selecting the reference voltage  internal  10  5 or external    2  Selecting unipolar bipolar  0 10 V or  10 V    3  Selecting different output ranges  0 10 V or 0 5 V     There are also many VRs that allow the following functions to be performed      1  Adjustment of the output voltage offset   2  Full scale adjustment of the output voltage   3  Adjustment of the output current offset   4  Full scale adjustment of the output current    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  29       PEX PIO PISO DA Series Card  Analog Output Boards       There are so many VRs and jumpers that if makes QC and re calibration very difficult  Every  step must be handled manually  meaning that calibrating these D A boards is not an  enjoyable task     When we designed the PEX DA and PISO PIO DAXU series  we tried to remove many the  these majorities of VRs and jumpers  but still retain the same precision and performance  In  the long run  we selected a 14 bit D A converter and adapted the software calibration to  provide at least the same performance and precision as the A 626 A 628     Configuration Equivalent Bits Resolution     10V  10V 14 bit 1 22 mV  OV 10V 13 bit 1 22 mV   5Vr 5V 13 bit 1 22 mV    OV  5 V 12 bit 1 22 mV  0 mA   20 mA 13 bit 2 70 HA  4 mA   20 mA 13 bit 2 70HA         All these VRs and jumpers have been removed    m All calibrations can be performed using software      All c
9.  1  Oct  2013  PMH 0010 31  Page  72       PEX PIO PISO DA Series Card  Analog Output Boards       Appendix  Daughter Board    A1  DB 37 and DN 37    m DB 37  The DB 37 is a general purpose daughter board for  D sub 37 pins  It is designed for easy wire connection via  pin to pin    DB 37       E 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        A2  DB 8125    The DB 8125 is a general purpose screw terminal board  FFR    and is designed for easy wiring  The DB 8128 uses one DB 37   dd dd dd dd dd  and two 20 pin flat cable headers       x    s iss Hse Wet Heg ons Hee Hes Hes Hes    BEEF GR SG       DB 8125       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  73       PEX PIO PISO DA Series Card  Analog Output Boards       A3  DB 16P Isolated Input Board    The DB 16P is a 16 channel isolated digital input daughter board  The optically isolated  inputs of the DB 16P are consisted of are bi directional optocoupler with resistor for current  sensing  You can use the DB 16P to sense DC signal from TTL levels   up to 24 V or use the DB 16P to sense a wide range of AC signals    You can use this board to isolate the computer from large   common mode voltage  ground loops and transient voltage spike   that often occur in industrial environments     Opto lsolated    PEX DA PISO DA PIO DA  Di    00000000    PEX DA PISO DA PIO DA    AC or DC Signal 0 V 24 V    User Ma
10.  20 mS  should be long enough for all OS version     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  14       PEX PIO PISO DA Series Card  Analog Output Boards    2 3 1 Interrupt Block Diagram              INT  Z    INT CHAN 0  Level trigger  INT CHAN 1    initial low  active high     to PEX PCI slot     The interrupt output signal of PEX DA and PIO PISO DAxU series cards  INT   is set to  Level Trigger and Active_Low  If INT  generates a low_pulse  the PIO DA4 8 16 will  interrupt the PC once each time  If INT  is fixed at low_level  the PEX DA and  PIO PISO DAxU series will interrupt the PC continuously  So for the signal pulse type for  INT CHAN 0 1 must be controlled and must be fixed at a low level state  normally and a high_pulse generated to interrupt the PC     The priority of INT CHAN 0 1 is the same  If both of these signals are active at the same  time  then INT  will only be active once at a time  So the interrupt service routine has to read  the status of both interrupt channels to per form a multiple channel interrupt  Refer to Sec   2 3 for more information     DEMO5 C  gt  for INT CHAN 0  amp  INT CHAN 1  If only one interrupt source is used  the interrupt service routine doesn t have to read the  status of the interrupt source  The demo programs  DEMO3 C and DEMO4 C  are designed to    demons rate a single channel interrupt  See     DEMO3 C     for INT CHAN 1 only  initial high   DEMO4 C     for INT CHAN 1 only  initial low     FG User Manual  Ver  3 
11.  DB 16P Isolated Input Goar  74  PAS DOLOR AE  DOE EEE EE EEE 75  A6  DB 24PR DB 24POR DB 24C Power Relay Board    76    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  4       PEX PIO PISO DA Series Card  Analog Output Boards       Packing List    The shipping package includes the following items   gis EED One multi function card as follows   PEX DA series  PEX DA4  PEX DA8  PEX DA16  PIO DAXU series  PIO DA4U  PIO DA8U  PIO DA16U  PISO DAxU series  PISO DA4U  PISO DA8U  PISO DA16U       One printed Quick Start Guide       One software utility CD   Note    If any of these items is    missing or damaged  contact  One CA 4002 D Sub Connect the dealer from whom you  purchased the product  Save  the shipping materials and  carton in case you want to       ship or store the product in  the future     Related Information    Product Page   http   www icodas com root product solutions pc based io board pci pio da4 html    Documentation and Software for PIO DA series classic   CD  NAPDOS PCI PIO DA   http   ftp icodas com pub cd iocard pci napdos pci pio da    Documentation and Software for UniDAQ SDK   CD  NAPDOS PCI UniDAQ   http   ftp icodas com pub cd iocard pci napdos pci unida       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  5       PEX PIO PISO DA Series Card  Analog Output Boards       The PEX DA  PISO DAxU and PIO DAxU series cards  PCI Express Universal PCI versions  are  compatible with the PIO DAx cards  PCI versions  and most users can replace the PIO DAx 
12.  INT CHAN O      User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  17       PEX PIO PISO DA Series Card  Analog Output Boards       2 3 4 Initial Low  Ative_High Interrupt Source    If INTO  8254 counterO output  is an initial low  active high signal  depending on the 8254  counter mode   the interrupt service routine should use INVO to invert non invert INTO to  generate a high_pulse in the following manner   Refer to DEMO4 C     Initial setting   now int state 0     initial state for INTO     outportb wBase 0x2a 1      select the non inverted INTO       VOLG LNESTEUDE AA SErvicel          it  news int state il     now INTO is changed to LOW ee     H Es       gt  INT CHAN O0   INTO HIGH now S    COUNT L       find a LOW pulse  INTO       If    inport  wBaset7   amp 1   0    the INTO is still fixed in LOW            gt  need to generate a high pulse        outportb  wBase 0x2a 1      INVO select the non inverted input     d   Jan RUE OSU NEG  EON    gt         INT CHAN 0 generate a high pulse SE    now int state 0     now INTO LOW ae     else now int states     now INTO HIGH S       don t have to generate high pulse         EE    now INTO is changed to HIGH Te           gt  INT CHAN O INTO HIGH now SE  COUNT H       find a High pulse  INTO       If   inport  wBase 7   amp 1   1    the INTO is still fixed in HIGH         need to generate a high pulse of  outportb wBase 0x2a 0      INVO select the inverted input     bi     INT CHAN 0  INTO LOW    gt         INT CHAN 0 genera
13.  PISO DA Series Card  Analog Output Boards         Demo Program for UniDAQ SDK Driver    The demo program is contained in   CD  NAPDOS PCTI UniDAQ DLL Demo     h         ftp icodas com pub cd iocard pci napdos pci unidag dll demo       There are about demo program given as follows   Includes the BCB  Delphi  VB net  VC net  VB and VC demo programs with source code     Analog Input Pacer   Analog Input Pacer Continue  Analog Input Pacer Scan   Analog Input Pacer Scan Continue  Analog Input Pacer Scan EXT  Analog Input Polling   Analog Output   Analog Output Current   Digital 1 O   Digital I O by Card ID    For detailed information about the DLL function and demo program of the UniDAQ   please refer to UniDAQ DLL Software Manual  CD   NAPDOS   PCI   Un  iDAQ   Manual       FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  70       PEX PIO PISO DA Series Card  Analog Output Boards    7 2 Demo Program for DOS       The related DOS software and demos are located on the CD as below     CD  NAPDOS PCI PIO DA dos   http   ftp icodas com pub cd iocard pci napdos pci pio da dos       After installing the software  the following drivers will be installed onto your hard disk     m  TC      gt  for Turbo C 2 xx or above   TC LIB      gt  for TC library   TC DEMO      gt  for TC demo programs     TC LIB Large      gt  TC large model library   TC LIB Huge      gt  TC huge model library   TC LIB Large PIO H  gt  TC declaration file   TC  LIB Large TCPIO_L LIB  gt  TC large model librar
14.  Rafi Ce te 13  2 3 INTERRUPT OPERATION geegent 14  2 3 4  dJNterupt Block DINAM seii inre E AER E ee N ie Ge ge DEE KEE ie oe ese eie GE 15  I NNN 16  233 Initial HIGh  Ative Low Interrupt SOUICBE osse sesse sesse ese Rd ER EE Ge see se Ee geed ee gees ee GE ee ee Ee ER GEN 17  23 4 Initial Low  Ative High Interrupt Source  18   Zo WIDE MIERE SOU CO oo does ene Rd ie oe ee EG Ee Ee ET 19   2 4 D TOBO Ae 21  2 41 OT Port Architecture d EE 22  242 DO Port Architecture  CONI  EEN 23   25 Re e eet dd EE OE EO 24  2 6 DNEPR 25  26 1  MESEN 27  26 2  10 V ee e He ee EEN 28  ON 28  204 OIO V VOTE ee 28  209 Wk VOS ee 28  20 0 NNN 29  26 7 420 mA Current Output        aeveennorverveennerservennerrsersenenserrsennenservennaursersennenseorsanaerserveonaerservenorveens 29  2 6 8 No VR and No Jumper Design EE 29  2 6 9 Factory Software CalibratlOf     eeccccccccccecscceessccecscccensscsenssescsscsesssesessscecsuscsessecsessscsessecsesssseessecerstseensessenss 31  2 6 10 NENNE 33  2 6 11 Voltage Output ege er EE 34    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 34  Page  2       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 12 CUMENE OUGDUE Connell EE  2   GARD LR TI 35  2 8 PIN AGGIGNMENTS   Re ee ee ee ee Re ee Re ee EE ee 36  3  HARDWARE INSTALLATION snare 37  4  SOFTWARE INSTALLATION NG 41  4 1 RENN EP e AT 41  4 2 ENE  DRIVER NINA 43  4 3 CONFIRM THE SUCCESSFUL INSTALLATION   evrvvrrrvnvvrnnnsrrnvrrnnnssnnvrnnnsnsnvvrnnnssnnvrrnnsssnnvrnnnsssnvvvnnesssnvrvnnesenvrnns
15.  a ee eneen SI  for i 0  i lt wBoards  i        PIO GetConfigAddressSpace i  amp wBase  amp wlrq  amp wSubVendor    amp wSubDevice  amp wSubAux  amp wSlotBus  amp wSlotDevice      printf   nCard_ d wBase  x wIrq  x subID   x  x  x    SlotID   x  x   i wBase wirg wSubVendor wSubDevice   wSubAux wSlotBus wSlotDevice     printf      gt         ShowPioPiso wSubVendor wSubDevice wSubAux         PEX PIO PISO DA Series Card  Analog Output Boards       6 2 The Assignment of I O Address    The plug amp play BIOS will assign the proper I O address to PEX DAx  PISO DAxU and  PIO DAxU series card  If there is only one PEX DAx  PISO DAxU and PIO DAxU series card   the user can identify the board 0  If there are two PEX DAx  PISO DAxU and PIO DAxU  series cards in the system  the user will be very difficult to identify which board is board 0   The software driver can support 16 boards max  Therefore the user can install 16 boards in  one PC system     Sometimes  it is difficult to find the card number  The easiest way to identify  which card is card 0 is to use the wSlotBus and wSlotDevice functions in the  following manner     Step 1  Remove all PEX PISO PIO DA series cards from the PC     Step 2  Install a PEX PISO PIO DA series card into PCI_slot1 on the PC and then run  PIO PISO EXE  Record the results shown for wSlotBus1 and wSlotDevicel     Step 3  Remove all PEX PISO PIO DA series cards from the PC     Step 4  Install a PEX PISO PIO DA series card into PCI_slot2 on the PC and then r
16.  are disable now          6 3 2 AUX Control Register     Read Write   wBase 2       Aux  0 gt  this Aux is used as a D I  Aux  1 gt  this Aux is used as a D O    When the PC is first turned on  all Aux signals are in a Low state  All Aux are designed as D I  for all PIO PISO series  Please set all Aux to the DI state     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  61       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 3 Aux Data Register     Read Write   wBase 3       When the Aux is used for D O  the output state is controlled by this register  This register is  designed for feature extension  Therefore  do not use this register     6 3 4 INT Mask Control Register     Read Write   wBase 5       RE TE ET KEES GE ENO    ENO 0 gt  Disable INTO as an interrupt signal  Default    ENO 1 gt  Enable INTO as an interrupt signal    EN1 0 gt  Disable INT1 as an interrupt signal  Default   EN1 1 gt  Enable INT1 as an interrupt signal    For example   outportb wBase 5 0     Disable all interrupt     outportb wBase 5 1      Enable interrupt of INTO       outportb wBase 5 2      Enable interrupt of INT1     outportb wBase 5 3      Enable both interrupt channels          Refer to the following demo programs for more information   DEMO3 C and DEMOA C  gt  single interrupt source  DEMO5 C and DEMO6 C  gt  multiple interrupt source    kl ERG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  62       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 5 Aux 
17.  immediately be sent  to the D A converter  The user can then determine the correct value for DaValue that  is mapped to the accurate output value    Step 5  Repeat Step 4 for each channel    After this procedure  the new data for MinV n  MaxV n  MinI n  MaxI n  will be stored in the  onboard EEPROM     DEMO10 EXE can be executed to back up the old calibration data to    A  DA16 DAT    before a  new calibration is performed     If an error occurs while the new calibration is being performed  DEMO11 EXE can be  executed to download the data from    A  DA16 DAT    to the EEPROM     DEMO10 EXE     Save the old calibration data  DEMO11 EXE     Download the old calibration data  DEMO12 EXE     Perform a new calibration    Note    Demo10 exe  Demo11 exe and Demo12 exe are DOS programs that can run on either a  pure DOS or a FreeDOS  http    www freedos org   system  These DOS programs do not  work on the DOS command prompt within Windows     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  33       PEX PIO PISO DA Series Card  Analog Output Boards    2 6 11 Voltage Output Connection    External 7 ad Internal      Output Current  _ Max     5mA   lt a D A Converter    14 bits Data                     Load S             AGND  D      2 6 12 Current Output Connection       External    lt   gt  Internal    Current Loop  0 20mA    Load          D A Converter                      Vien DO  K  14 bits Data  D13       External Pow er  Supply 9 36V                         AGND  dd    Us
18. 0 0 V  In addition  these VRs also have to be  adjusted so that the current output for Ox1fff   0 mA and Ox3fff   20 mA  In conventional  designs  these VRs are commonly used for voltage current output  so the user has to perform  some calibration when changing from voltage to current  Also  if these VRs are changed  the  user has to re perform the calibration  This procedure is complex and creates a heavy  workload  The PEX DA and PISO PIO DAxU series uses software calibration to replace this  complex procedure in the following manner     m For each voltage output Hex Value Ideal   Actual   Calibration  channel  find two hex values  l 0X3FFF  10 1V    10  V  MaxV n  and MinV n   stored  MaVinl   ai gee ge  10 0V  in the onboard EEPROM   MaxI n    dt  20mA  MaxV n  is mapped to exactly   10 V and MinV n  is mapped DaValue    gt  eee MOLE  leut  to exactly    10 V   m For each current output Minlin   gt     lt  OmA  channel  also find two hex  values MaxI n  and MinlI n    stored in the onboard  EEPROM   MaxI n  is mapped  to exactly 20 mA and MinI n  is  MinV n     gt  SS  10 0V  mapped to exactly 0 mA  0X0000  10 1V    10 2V    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  25       PEX PIO PISO DA Series Card  Analog Output Boards       Consequently  the software can be used to calibrate the analog output without the need for  any hardware Trim pot adjustment  For example     Channel n MinV n  MaxV n  MinI n  MaxI n    34  37  32  34  35  31  36  34  34  32  35  33
19. 0V  10V 14 bit 1 22 mV  OV 10V 13 bit 1 22 mV   5V  5V 13 bit 1 22 mV  OV  5V 12 bit 1 22 mV   0 mA   20 mA 13 bit 2 70 HA    4 mA   20 mA 13 bit 2 70 HA    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  27       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 2  10 V Voltage Output    The voltage output for PEX DA and PISO PIO DAxU series cards is always in the range of   10 1 V  If the user needs to output a voltage in the range of  10 V  the software calibration  is the same as that described in Sec  2 6  Consequently  Vout will be in the range of 410 V  so  the DaValue will approximately be from 0x0000 to Ox3fff  which means that the resolution is  about 14 bits     2 6 3  5 V Voltage Output    The voltage output for PEX DA and PISO PIO DAxU series cards is always in the range of   10 1 V  If the user needs to output a voltage in the range of 45 V  the software calibration is  same as that described in Sec  2 6  Consequently  Vout will be in range of  5 V  so the  DaValue will approximately be from OxOfff to Ox2fff  which means that the resolution is about  13 bits     2 6 4 0 10 V Voltage Output    The voltage output for PEX DA and PISO PIO DAXU series cards is always in the range of  10  V 1  If the user needs to output a voltage in the range of 0 10 V  the software calibration is  the same as that described in Sec 2 6  Consequently  Vout will be in the range of 0 10 V  so  the DaValue will approximately be from Ox1fff to Ox3fff  which means the resolu
20. 1  Oct  2013  PMH 0010 31  Page  15       PEX PIO PISO DA Series Card  Analog Output Boards       2 3 2 INT CHAN 0 1                   Ad INTO 1  INT CHAN 0 1     EE    Inverted Noninverted  select   INVO 1                                         Enable Disable select   ENO 1                 The architecture for INT CHAN 0 and INT CHAN 1 is shown in the above figure  The only  difference between INTO and INT1 is that the INT CHAN 0 signal source is from the 8254  counter0 output and the INT CHAN 1 signal source is from the 8254 counter2 output     INT CHAN 0 1 must be fixed at a low level state normally and a high pulse  generated to interrupt the PC     ENO 1 can be used to enable disable the INT CHAN 0 1 in the following manner   Refer to  Sec  6 3 4    ENO 1   0     INT CHAN 0 1   disabled   ENO 1   1    INT CHAN 0 1   enabled    INVO 1 can be used to invert non invert INTO 1 in the following manner   Refer to Sec  6 3 5   INVO 1   0     INT CHAN 0 1   inverted state for INTO 1  INVO 1   1 3 INT CHAN 0 1   non inverted state for INTO 1    As noted above  if INT  is fixed at a low level state  the PEX DA and  PIO PISO DAxU series will interrupt the PC continuously  so the interrupt service  routine should use INVO 1 to invert non invert the INTO 1 in order to generate a  high_pulse  Refer to the next section      FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  16       PEX PIO PISO DA Series Card  Analog Output Boards       2 3 3 Initial High  Ative_Low Interrupt So
21. 6 7 8 9 10 11 12 13 14 15 16 17 18 19          PEX PIO PISO DA Series Card  Analog Output Boards    5 2 Execute the Test Program    1  Execute the UniDAQ Utility Program  The UniDAQ Utility exe will be placed in the default  path after completing installation     Default Path  C  ICPDAS UniDAQ Driver   Double click the    UniDAQUtility exe          C ICP DAS UniDAQ DAQ Card Utility SRE    Double Click       A    Click this button  LINIDACUEIE to start test     0 PIO DA4 8 16       Confirm the PIO DA series card had successfully  installed to PC  It starts from 0        EXIT    A Note      The PEX DAx software is fully compatible with the PIO DAXU series software        kl ERG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  49    PEX PIO PISO DA Series Card  Analog Output Boards    PP 2222233 Ea     Eg The corresponding D I becomes red for  channel 0  2  4  6 of D O is ON     User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  50       PEX PIO PISO DA Series Card  Analog Output Boards       3  Get Analog Output Function test result     mor Click    Analog Output    item     voltage Outout  Channel Rande voltagelv    a      E Bipolar    10  v   5   O br a               Click this button     N     ns    GRS                    Select the    Channel 0    Select the      10V    Type the voltage value    The value read on meter may be    little difference from the DA value because of the  resolution limit of meter or the measurement error       D PIO  DAA BII6  CARD I ID  9  I
22. DA8U   1400 mA    5 V  PEX DA16 PIO DA16U  3000 mA    5 V PISO DA16U     Operatin  re 0 60   C  Temperature  Storage  j  20   70   C  Temperature    5 85  RH  non condensing    Power  Consumption       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  10       PEX PIO PISO DA Series Card  Analog Output Boards       2 1 Board Layout  m PIO DAx Board Layout      1 PIO DA16  CT PIO DA8  CT PIO DA4    O  Z    0000000000    O  O  O  O  O  O  O  O  O  O       PCI BUS    Note    CON1  16 channel D O    CON2  16 channel D I    CONS  4 8 16 channel D A converter voltage current output     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  11       PEX PIO PISO DA Series Card  Analog Output Boards    0000000000    0000000000       Universal PCI BUS    m PEX DA Board Layout     CON3  po  SW1  ON    dl  mi       PCI Express    Note    CON1  16 channel D O    CON2  16 channel D I    CONS  4 8 16 channel D A converter voltage current output   SW1  Card ID    JP1  Pull high pull low resisters for DI     EN User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  12       PEX PIO PISO DA Series Card  Analog Output Boards       2 2 Counter Architecture    There is a single 8254 Timer Counter  chip on the PEX PIO PISO DA series board and  provides two interrupt sources  The first is a 16 bit timer output  INTO  and the other one is  a 32 bit timer output  INT1   The block diagram is shown below       O 4MHz   INTO    H OUTO    GATEO   Counter0    OUT1  GATE1  Counter1    NTI         OUT   
23. EX DA8 V1 0 OxE0 E4  PEX DA16    Pin Assignment    A  GND   CN3 5 10 15 24 29     A  GND   CN3 5 10 15 24 29     A  GND   CN3 5 10 15 24 29     A  GND   CN3 5 10 15     A  GND   CN3 5 10 15 24 29     A  GND   CN3 5 10 15        Card ID    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  8       PEX PIO PISO DA Series Card  Analog Output Boards       1 3 Specifications                   Model Name PEX DA4 DA8 DA16 PIO DA4U DA8U DA16U PISO DA4U DA8U DA16U  Analog Output  4 8 16 independent  14 bit  0 04  of FSR   2 LSB   25   C    10 V  Current  0   20 mA  Digital Input  Logic 0  0 8 V max   Logic 1  2 0 V min   Digital Output       Channels 16 ch    Compatibility 5 V CMOS 5 V TTL    Output 0 4 V max   Voes 2 4 V min   Output 2 4 mA   0 8 V  Capability 0 8 MA   2 0 V  Response Speed 1 0 MHz  Typical     Timer Counter                UJ    Channels  Resolution  Compatibility  Reference Clock       16 bit  5 V TTL  Internal  4 MHz             PEX PIO PISO DA Series Card  Analog Output Boards    Model Name PEX DA4 DA8 DA16 PIO DA4U DA8U DA16U PISO DA4U DA8U DA16U  General    Bus Type PCI Express x1 3 3V 5V Universal PCI  32 bit  33MHz  Data Bus    Yes  4 bit  for Version  Card ID Yes  4 bit  jk gend    PET   ves  4 bit     1 0 Connector Female DB37 x 1    Male 20 bit ribbon x 2  Dimensions 188 mmx 97 mm   188 mmx 97 mm 180 mmx 97 mm   LXW   Version 1 1 or above     600 mA    5 V  PEX DA4 PIO DA4U  2200 mA    5 V  PISO DA4U   800 mA    5 V  PEX DA8 PIO DA8U  2400 mA    5 V PISO 
24. Q card into the computer     For detailed information about the hardware  Hardware Installation installation of  PEX DAx  PISO DAxU and   e   PIO DAxU series card  please refer to Chapter 3   EE EES E OER     rp aopen Hardware Installation     To install your PIO D96 series card  complete the following steps            Step 1  Installing PIO D96 series card driver on your computer first     User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  43    PEX PIO PISO DA Series Card  Analog Output Boards    Step 2  Power on the computer and system should find the new card and then  continue to finish the Plug amp Play steps        Note  Some Windows OS will  load the driver automatically    to complete the installation J  Found New Hardware  at boot Network Controller          Step 3  Select  Install the software automatically  Recommended      and click  the    Next gt     button     Found Mew Hardware Wizard    Welcome to the Found New  Hardware Wizard    This wizard helps vou install software for      UnuDaQ PO LATADASTA4 Series Board        If pour hardware came with an installation CD  zE or floppy disk  insert it now     hat do vou want the wizard to do     User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  44       PEX PIO PISO DA Series Card  Analog Output Boards    Step 4  Click the    Finish    button           Found New Hardware Wizard          Please wait while the wizard installs the software       Ba  UniDAGJPIO DA16 DAB DA4 Series Board    a Found New Hardwire Wizar
25. SO PIO DA series cards installed in this PC           Step 1  Detect all PEX PISO PIO DAx series cards installed in this PC     wSubVendor 0x80  wSubDevice 4  wSubAux 0x00     For PIO DA4 8 16 series cards      wRetVal PIO DriverInit  amp wBoards  wSubVendor wSubDevice wSubAux    printf   There are  d PIO DA16 Cards in this PC n  wBoards         Step 2  Save the resource information for all PIO DA4 8 16 series cards installed in this PC      for  i 0  i lt wBoards  i      d  PIO GetConfigAddressSpace i  amp wBase   amp wIrq   amp wWwID1  amp wID2  amp wID3  amp wID4  amp wID5    printf   nCard_ d  wBase  x  wIrqg  x   i wBase wIrq    wConfigSpace i  0  wBaseAddress    Save the resource information for this card       wConfigSpace i  1  wlIrq    Save the resource information for this card       FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  54       PEX PIO PISO DA Series Card    Analog Output Boards          Step 1  Detect all PIO PISO series cards installed in this PC     wRetVal PIO_DriverInit  amp wBoards  Oxff  Oxff Oxff      Detect all PIO PISO series cards       printf   nThere are  d PIO PISO Cards in this PC  wBoards    if  wBoards  0   exit 0         Step 2  Save the resource information for all PIO PISO cards installed in this PC     printf     n Pe EE es eee ee re ee ae EN EEE MA EN Ur    for i 0  i lt wBoards  i        PIO_GetConfigAddressSpace i  amp wBase  amp wIrq  amp wSubVendor    amp wSubDevice  amp wSubAux  amp wSlotBus  amp wSlotDevice      printf
26. Status Register     Read Write   wBase  7       Aux0 INTO  Aux1 INT1  Aux2 3  EEPROM control  Aux4 7 Aux ID  Refer to Sec  4 1 for  more information  Aux0 1 are used as interrupt sources  The interrupt service routine needs  to read this register to identify the interrupt sources  Refer to Sec  2 3 for more information     6 3 6 Interrupt Polarity Register     Read Write   wBase 0x2A       poo foo jo tt   mo    INVO0 1 0 gt  select the inverted signal from INTO 1  INV0 1 1 gt  select the non inverted signal from INTO 1    For example   outportb wBase 0x2a 0     Select the inverted input from both channels     outportb wBase 0x2a 3     Select the non inverted input from both channels       outportb wBase 0x2a 2     Select the inverted input from INTO       Select the non inverted input from the others          Refer to Sec  2 3 and the DEMO3 4 5 6 C files for more information     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  63       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 7 Read Write 8254 Register     Read Write   wBase 0xc0 8254 counter 0   Read Write   wBase 0xc4 8254 counter 1   Read Write   wBase 0xc8 8254 counter 2   Read Write   wBase 0xcc 8254 control word    8254 Control Word    EEEN E     SC1  SCO               00  counter0  01  counter1  10  counter2  11  read back command          RL1  RLO    00  counter latch instruction    01  read write low counter byte only  10  read write high counter byte only  11  read write low counter byte fi
27. Value  then return to Step 7  Step 10  MaxV n  DaValue    Note  MinV n  and MaxV n  are described in Sec  2 6    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  31       PEX PIO PISO DA Series Card  Analog Output Boards       The steps required to calibrate the current for channel_n are as follows     Step 1  DaValue 0x1fff  Step 2  Send the DaValue to hannel n on the PIO PISO card  Step 3  Measure the current of channel n on the I 7017  If this value is  gt   0 mA  then go to Step 5  Step 4  Increase the DaValue  the return to Step 2  Step 5  MinI n  DaValue 1  Step 6  DaValue 0x3fff  Step 7  Send the DaValue to channel n on the PIO PISO card  Step 8  Measure the current of channel n on the I 7017  If this value is  gt   20 mA  than go to Step 10    Step 9  Increase the DaValue  the return to Step 7  Step 10  MaxI n  DaValue    Note  MinI n  and MaxI n  are described   n Sec  2 6    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  32       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 10 User Software Calibration    The users can perform calibration themselves using a voltage meter and a current meter     Step 1  Run DEMO12 EXE   Step 2  Select the card number for the PEX PIO PISO card that you want to calibrate   Step 3  Select the item  MinV n  MaxV n  MinI n  MaxI n   that you want to calibrate   Step 4  Measure the analog output using the voltage meter or the current meter and decide  whether to increase or decrease the DaValue  The DaValue will
28. by PEX DA   PISO DAxU or PIO DAxU directly without software driver modification  Please refer to user manual   ch 1 1  for the compatibility information     The PISO DA series adds high voltage isolation design that offers a durable ability to keep users   computers safe from unexpected surge  It is the built in high quality isolation components that make  PISO DA series featuring 2500 Vpc bus typed isolation  For the PEX DA  PIO DA and the PISO DA  series  their voltage output range is from  10 V to  10 V  and their current output range is from 0 to  20 mA  In addition  These cards also feature the following advantages by ICP DAS s innovation     1  Accurate and easy to use calibration   ICP DAS provides the software calibration instead of the manual calibration so that no jumpers  and trim pots are required anymore  The calibration information can be saved in EEPROM for  long term use    2  Individual channel configuration   In other words  every channel can be individually configured as voltage output or current  output    3  Card ID   ICP DAS provides the card ID function for PEX DA  PISO DAxU and PIO DAxU  version 1 1 or  above  series  Users can set card ID for each card and then recognize them one by one when  more than two boards are used in a computer     Note  This card needs a  12 V power supply  which can be found in either a  regular PC or an Industrial PC     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  6       PEX PIO PISO DA Series Card  Analog Outp
29. ce information for all PEX PISO PIO DA cards installed in this PC     for  i 0  i lt wBoards  i     d  PIO GetConfigAddressSpace i  amp wBase  amp wlIrq   amp t1  amp t2  amp t3   amp t4  amp t5    printf   nCard_ d  wBase  x  wIrqg  x   i wBase wIrq    wConfigSpace i  0  wBaseAddress    Save the resource information for this card      wConfigSpace i  1  wlIrq    Save the resource information for this card          Step 3  Control the PEX PISO PIO cards directly     wBase wConfigSpace 0  0      get the base address for card 0     outport wBase  1      enable all D I O operations of card 0       wBase wConfigSpace 1  0      get the base address for card 1     outport wBase  1      enable all D I O operations of card 1       ty rk ko User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  56       PEX PIO PISO DA Series Card  Analog Output Boards       6 1 4 Show PIO PISO    Show PIO PISO wSubVendor wSubDevice wSubAux     wSubVendor The subVendor ID of the board you are seeking  wSubDevice The subDevice ID of the board you are seeking  wSubAux The subAux ID of the board you are seeking    This function will display a text string showing these special subIDs  which are the same as  those defined in the PIO H include file     The code for the demo program is as follows        Detect all PIO_PISO series cards installed in this PC     wRetVal PIO DriverInit  amp wBoards  Oxff  Oxff  Oxff    printf   nThere are  d PIO PISO Cards in this PC  wBoards    if  wBoards  0   exit 0      PENON
30. d                Setting a system restore point and backing ui  case pour system needs to be restored in the f    Completing the Found New  Hardware Wizard    The wizard has finished installing the software for      UnuDaQ PO DAIGDASTA4 Series Board    Click Finish to close the wizard     Step 5  Windows pops up  Found New Hardware    dialog box again          i  Found New Hardware    Your new hardware is installed and ready to use     User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  45       PEX PIO PISO DA Series Card  Analog Output Boards       4 3 Confirm the Successful Installation    Make sure the PEX DAx  PISO DAxU and PIO DAxU series card installed is correct on the  computer as follows     Step 1  Select the    Start     gt   Control Panel    and then double click the    System    icon on  Windows     Step 2  Click the    Hardware    tab and then click the    Device Manager    button     Step 3  Check the PEX DAx  PISO DAxU and PIO DAxU series card which listed correctly or  not  as illustrated below     E Device Manager    File Action   View Help    S   VicPies  DIR Computer    BR Display adapters        DYDICD ROM drives   ij Floppy disk controllers        IDE ATA ATAPI controllers  Keyboards   TY Mice and other pointing devices  3 Monitors      Ha Network adapters   lf Ports  COM  amp  LPT       g   Processors    10   Sound  video and game controllers       System devices  ER Universal Serial Bus controllers    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Pa
31. er Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  34       PEX PIO PISO DA Series Card  Analog Output Boards       2 7 Card ID Switch    The PEX DA   PIO DAxU  ver  1 1 or above  and PISO DAxU has a Card ID switch  SW1  with  which users can recognize the board by the ID via software when using two or more PEX DA   PIO DAXU  ver  1 1 or above  and PISO DAxU series cards in one computer  The default Card  ID is 0x0  For detail SW1 Card ID settings  please refer to Table 2 7         Default Settings     Table 2 7     Default Settings  OFF  gt  1  ON  gt  0    Card ID  Hex  Sei S   S S    ID2 IDS   HOO   om   NN       PEX PIO PISO DA Series Card       Analog Output Boards    2 8 Pin Assignments    Pin   Assign     ment  DO 0  DO  03  DO 4   DO 6   DO 8   DO 10   DO 12   DO 14   GND    5V    Terminal No        DO 1    DO 5  DO 7  DO 9  DO 1    GND    0000000000   0000000000       Pin Terminal No   Assign   ment  VO 0  VO 1  Niege  VO 3  A GND  VO 4  VO 5  VO 6  VO 7  A GND  VO 8  VO 9  VO 10  VO 11  A GND  VO 12  VO 13  VO 14  VO 15    CON3 PISO DAxU     Pin  Assign   ment      D03    DO 13  DO 15     12V    Pin  Assign   ment  DI 0     DI 2  DI 4  DI 6  DI 8  DI 10  DI 12  DI 14  GND   5V    Terminal No     1    0000000000  0000000000    Terminal No     CON3 PEX DA PIO DAxU     User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  36       PEX PIO PISO DA Series Card  Analog Output Boards       3  Hardware Installation    Note    Its recommended to install driver first  since so
32. ge  46       PEX PIO PISO DA Series Card  Analog Output Boards       5  Testing PIO DA Card    This chapter can give you the detail steps about self test  In this way  user can confirm that  PEX DAx  PISO DAxU and PIO DAxU series card well or not  Before the self test  you must  complete the hardware and driver installation  For detailed information about the hardware  and driver installation  please refer to Chapter 3 Hardware Installation and Chapter 4  Software Installation     5 1 Self Test Wiring    5 1 1 DIO Test Wiring    1  Prepare for device   One CA 2002  optional  cable     2  Use the CA 2002 to connect the CON1 with CON2 on board     FY  V  r 40   es i i     z os  RE N   AMR iran EN Huus 5 ET 2    TERT i y   Fe eee i  TH  wa a    gt  e HAES aa i df  sit e H d mid N  MV TS Ge AE IR dE A MV CRD 0515M    7  gt    he   RES dE   rs    ICD mas           CA 2002       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  47       PEX PIO PISO DA Series Card  Analog Output Boards       5 1 2 Analog Output Test Wiring    1  Prepare for device   One DN 37  optional  wiring terminal board   One CA 3710  optional  cable   Digital Multi Meter     2  Connect a DN 37 to the CON3         DN 37 0 W  CONNECTOR  gy  BLOCK           3  Connect the positive probe     of Multi meter to VO  0  Pin 0   and then the negative  probe     of Multi meter to A GND  Pin 05      20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37    Q000000000000000000          0000000000000000000    1 2 3 4 5 
33. hannel configurations can be selected using software  meaning that there is no need  to change any hardware    m Precision is at least the same as the A 626 A628    m All 16 channels can be configured and used in different configurations at the same time    For example  channel 0  10 V  channel 1 4 20 mA  channel 2 0 5 V  etc    m All these features can be implemented on a small  compact and reliable half size PCB     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  30       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 9 Factory Software Calibration    t is recommended that a 16 bit A D card is used to calibrate the PISO DA PIO DA series cards   The I 7000 series is a set of precise remote control modules and the I 7017 is an 8 channel  16 bit precision A D module  24 bit sigma delta A D converter   Two I 7017 modules are  used for voltage output calibration and another two for current output calibration     The steps required to calibrate the voltage for channel_n are as follows     Step 1  DaValue 0  Step 2  Send the DaValue to channel n on the PIO PISO card  Step 3  Measure the voltage of channel_n on the I 7017  If this value is  gt    10 V  then go to Step 5  Step 4  Increase the DaValue  then return to Step 2  Step 5  MinV n  DaValue 1  Step 6  DaValue 0x3fff  Step 7  Send the DaValue to channel n on the PIO PISO card  Step 8  Measure the voltage of channel n on the I 7017  If this value is  gt    10 V  then go to Step 10    Step 9  Increase the Da
34. ity Yer 2 49 10 126  Siz ZP    Please select one of the der rice ER ho ITJ the detail information     Guben 5 IER Bo  nardvame Versoin ni      zE159 Oz0001 Oe41e0 Oz0000 0x00 PIO DA4 B 1E vi             RAN I O Port  HEX   EED Value  Write      an  TE oC 16 Read    RW Memory  HEX   wm EE Value          Write    Deviced   i 2 MEE MEE    Ne   i o g    Read    Address       ROH            BERAN       EXIT    Figure 6 1                                                 User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  53       PEX PIO PISO DA Series Card  Analog Output Boards       ICP DAS provides the following necessary functions   1  PIO DriverInit  amp wBoard  wSubVendor  wSubDevice  wSubAux   2  PIO GetConfigAddressSpace wBoardNo  wBase  wIrq     wSubVendor    wSubDevice   wSubAux   wSlotBus   wSlotDevice   3  Show_PIO_PISO wSubVendor  wSubDevice  wSubAux     6 1 2 PIO DriverInit    PIO Driverlnit  amp wBoards  wSubVendor wSubDevice wSubAux     wBoards 0 to N The number of boards found in this PC  wSubVendor The subVendor ID of the board you are seeking  wSubDevice The subDevice ID of the board your are seeking  wSubAux The subAux ID of the board you are seeking    This function can be used to detect all PIO PISO series cards within your system   Implementation is based on the PCI Plug amp Play mechanism  The function locates all PIO PISO  series cards installed in this system and save the relevant resource information in the library     Sample program 1  Detect all PEX  PI
35. ll interrupt        signal state     int_c new_int_state now_int_state     compare new_state to       old_state E  if  fint c amp 0x01   1     INT CHAN O is active wi  if   new_int_state amp 1   0     INTO change to low now SCH  INTO Lt      else    INTO change to high now ey     INTO H     invert invert   1     generate high_pulse ey      if  fint c amp 0x02   2     INT CHAN 1 is active wi  if   new_int_state amp 2   0     INT1 change to low now a     INT1 L        else    INT1 change to high now sl     INT1 H        invert invert   2     generate high pulse F    now int state new int state     update interrupt status vi  outportb wBase 0x2a invert      generate a high pulse SCH    if  wlrg gt  8  outportb A2_8259 0x20    outportb A1 8259 0X20           FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  20       PEX PIO PISO DA Series Card  Analog Output Boards       2 4 D I O block Diagram    The PEX DA and PISO PIO DAxU series provides 16 digital input channels and 16 digital  output channels  and all signal levels are TTL compatible  The connection diagram and block    diagram are as follows                 4 16 bits D I port 16 bits       sng ejeq  e007        16 bits    D O port ar              The D I Port can be connected to a DB 16P  which is a 16 channel isolated digital input  daughter board  The D O Port can be connected to either a DB 16R or a DB 24PR  The  DB 16R is a 16 channels relay output board  The DB 24PR is a 24 channels power relay    output board  
36. me operating system  such as Windows 2000   may ask you to restart the computer again after driver installation  This reduces the times to    restart the computer     To install your PEX DAx  PISO DAxU and PIO DAXU series card  complete the following steps     Step 1  Installing DAQ card driver on your computer first     For detailed information  about the driver installation   please refer to Chapter 4  Software Installation     Cc               For detailed information about the card ID  SW1   please  refer to Sec  2 7 Car ID Switch     Note   The card ID function only supports PEX DAx   PISO DAxU and PIO DAxU  ver 1 1 or above      User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  37    PEX PIO PISO DA Series Card  Analog Output Boards    Step 3  Shut down and power  off your computer     Step 4  Remove all covers from the  computer           PGI    Sn    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  38       PEX PIO PISO DA Series Card  Analog Output Boards    Step 6  Remove the PCI PCI Express  slot cover form the PC     Step 7  Remove the connector cover form  the DAQ card              di Express    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  39    PEX PIO PISO DA Series Card  Analog Output Boards       Step 9  Tighten the captive Phillips screw     Confirm the PEX DAx  PISO DAxU and PIO DAxU  series card is mounted on the motherboard         F  a    Step 10  Replace the computer  cover     Step 11  Power on the computer     Follow the prompt message 
37. nual  Ver  3 1  Oct  2013  PMH 0010 31  Page  74       PEX PIO PISO DA Series Card  Analog Output Boards       A5  DB 16R Relay Board  The DB 16R  16 channel relay output board  consists of 16 Form C relays for efficient  switching of load by programmed control  It is connector and functionally compatible with   785 series board but with industrial type terminal block  The relay is  energized by applying 5 voltage signal to the appropriate relay  channel on the 20 pin flat connector  There are 16 enunciator LEDS  for each relay  light when their associated relay is activated  To avoid  overloading your PC   s power supply  this board provides a screw  terminal for external power supply  DB 16R              Form C Relay Normally Open    Normally Closed    Com         00000000  00000000              20 Pin cable    SU     00000000         PEX DA PISO DA PIO DA  DB 16R       Note    Channel  16 Form C Relay  Relay  Switching up to 0 5 A at 110 Vac  1 A at 24 Vpc    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 34  Page  75       PEX PIO PISO DA Series Card  Analog Output Boards       A6  DB 24PR DB 24POR DB 24C Power Relay Board                 The DB 24PR is a 24 channel power relay output board that consists of 8 Form C and 16 Form  A electromechanical relays that enable efficient switching of loads though a programmable  control  The contact of each relay can control a 5 A load at 250 VAC 30 VDC  The relay is  powered by applying a 5 V signal to the appropriate relay channel 
38. o             voltage Outout    Channel Rande Yoltage     SUTELT     0   3 Bipolar    10    5   ES    Current Output    Channel Range Ge mA   OUTPUT  jo        Select      FE       PEX PIO PISO DA Series Card  Analog Output Boards       6  I O Control Register    6 1 How to Find the I O Address    The plug amp 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 PEX DAx  PISO DAxU and PIO DAxU series card are  given as follows     Table 6 1   PIO DA4 PIO DA4 PIO DA4U PISO DA4U PEX DA4  PIO DAS PIO DAS PIO DASU PISO DASU PEX DAS  PIO DA16 PIO DA16  PIO DA16U  PISO DA16U PEX DA16    Version 1 0   4 0   1 0   1 0   1 0   1 0    EIE AE AE AE ER N    Sub   0x80 0x4180 0x4180 0x4180 0x4180 0x4180  Vendor ID  Sub Device  a 0x04 0x00 0x00 0x00 0x00 0x00  D on oo mm nm   nm    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  52       PEX PIO PISO DA Series Card  Analog Output Boards       6 1 1 PIO PISO EXE Utility for Windows    The PIO PISO EXE utility program will detect and present all information for ICPDAS I O  cards installed in the PC  as shown in the following Figure6 1  Details of how to identify the  PEX DAx  PISO DAxU and PIO DAxU series card of ICPDAS data acquisition boards based on  the Sub vendor  Sub device and Sub Aux ID are given in Table 6 1     The PIO PISO exe utility is located on the CD as below and is useful for all PIO PISO series  cards  ES de Ale ESCH    bel ICP DAS PCI Base I O Card Util
39. o DA2                   _ id Piso Dio   B Pci tMC12A   SW UniDAQ   J PCI FC16U   Ed PC1 8221826 dr  MAIN MENU       S   PCI D64HU        2  Click the item     DLL for Windows 2000 and XP 2003 Vista 32 bit           E DLL for Windows 2000 and XP 2003 Vista 32 bit  Sal Software Manual              q BACK    MAIN MENU    3  Double Click  UniDAQ Win Setup x x x X JOOOLEXE     file in the    Driver    folder        Setup 11 12      OD OL exe    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  42       PEX PIO PISO DA Series Card  Analog Output Boards       Click the    Next gt     button to start the installation    5  Check your DAQ Card is or not on supported list  Click the    Next gt     button    6  Select the installed folder  the default path is C  ICPDAS UniDAQ  confirm and click  the    Next gt     button    7  Check your DAQ card on list  then click the    Next gt     button    8  Click the    Next gt     button on the Select Additional Tasks window   The demo program can be obtained from the following link and then click the     Next gt     button    10  Select    No  I will restart my computer later    and then click the    Finish     button     For detailed information about the UniDAQ driver installation  please refer to UniDAQ DLL  Software Manual  The user manual is contained in  CD  NAPDOS PCI UniDAQ Manual     http   ftp icodas com pub cd iocard pci napdos pci unidag manual     4 2 PnP Driver Installation    Step 1  Turn off the computer and install the DA
40. o the DEMO6 7 8 9 C files for more information     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  68       PEX PIO PISO DA Series Card  Analog Output Boards       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 shields will register the correct kernel  driver to the operation system and copy the DLL driver and demo programs to the correct  position based on the driver software package you have selected  Win98 Me NT 2K and  32  64 bit winXP 2003 Vista 7 8   Once driver installation is complete  the related demo  programs and development library and declaration header files for different development  environments will be presented as follows       Demo Program for PIO DA Series Classic Driver     The demo program of PIO DA series is contained in   CD  NAPDOS PCI PIO DA DLL_OCX Demo   http   ftp icodas com pub cd iocard pci napdos pci pio da dll_ocx demo     There are about demo program given as follows    Includes the BCB  Csharp  Delphi  VB net  VC net  VB and VC demo programs with source  code    e DA demo  D A Output demo   e DIO demo  D I O demo   e DIO2 demo  D I O LED interface   e Interrupt demo  Single interrupt    For detailed information about the DLL function of the PIO DA series  please refer to  DLL Software Manual  CD   NAPDOS PCI PIO DA  Manual       FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  69       PEX PIO
41. oltage Output  Voltage Output  Voltage Output  Voltage Output  Voltage Output  Voltage Output  Voltage Output  Voltage Output       d0 d13                   di4 d15             ed eed            Uil  A  QIN  CO  OJ OO  NI    UT  AIN ODO    d0 d13                Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output  Current Output    di4 d15             d0 d13                    SIG ST  sng e eq paleling       di4 d15          ed eed     ed      Uil KLINIES  WO  OO  NI    UT  KN  Go  JF ODO       d0 d13                di4 d15                      The PEX DA and PISO PIO DAxU provides 4 8 16 channels of double buffered digital to  analog output and provides voltage output and current output simultaneously     Ss rae User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  24       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 D A Conversion Operations    The D A converters on PEX DA and PISO PIO DAxU series cards use 14 bit resolution  so the  digital data values range from 0x0000 to Ox3fff  The hardware is designed to output voltage  in a range from  10 1    10 1 volts  as follows    0x0000   gt  about    10 1 volts   Ox3FFF     about  10 1 volts    In a conventional design  there will be some VRs that need to be adjusted so that the voltage  output for 0x0000    10 0 V and Ox3fff    1
42. or more information about wBase     Address  wBase 0  wBase 2  wBase 3  wBase 5  wBase    wBase 0x2a    wBase 0xc0  wBase 0xc4  wBase 0xc8  wBase 0xcc    wBase 0xd4    wBase 0xe0  wBase 0xe4    wbase 0xe8    wBase 0xec    wBase 0xf0  wBase 0xf4    wBase 0xf8    wBase 0xfc    Read Write    Reserved  RESETY control register    Reserved Aux control register    Aux data register Aux data register    Reserved INT mask control register    Aux pin status register ame  Reserved INT polarity control register    Read 8254 Counter0    Write 8254 Counter0  Read 8254 Counter1 Write 8254 Counter1  Read 8254 Counter2   Write 8254 Counter2  Read 8254 control word Write 8254 control word    Read the Card ID Reserved    Read the Low byte of D I DA 0 chip select  Read the High byte of D I DA_1 chip select    es chip select  dE E chip select  Read the Low byte of DE   wen the Low byte of D A  ee the High byte of D A  EE ee the Low byte of D O  ee en the High byte of D O    User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  60       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 1 RESET  Control Register     Write   wBase 0    When the PC s power is first turned on  RESET  signal is in a Low state  This will disable all  DI DO operations  The user has to set the RESET  signal to a High state before any DI DO  command applications are initiated        For example   outportb  wBase 1      RESET  High  gt  all D I O are enable now       outportb  wBase 0      RESET  Low  gt  all D I O
43. rst  then high counter byte     M2  M1  MO     000  mode interrupt on terminal count  001  model programmable one shot  010  mode2 rate generator   011  mode3 square wave generator  100  mode4 software triggered pulse    101  mode5 hardware triggered pulse   BCD      0  binary count  1  BCD count    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  64       PEX PIO PISO DA Series Card  Analog Output Boards       For example     WORD pio da16 cO char cConfig  char cLow  char cHigh    COUNTER 0    d  outportb wBase 0xcc cConfig    outportb wBase 0xc0 cLow    outportb wBase 0xc0 cHigh    return NoError        WORD pio da16 ci char cConfig  char cLow  char cHigh    COUNTER 1    d  outportb wBase 0xcc cConfig    outportb wBase 0xc4 cLow    outportb wBase 0xc4 cHigh    return NoError        WORD oo da1i6 c2 char cConfig  char cLow  char cHigh    COUNTER 2    d  outportb wBase 0xcc cConfig    outportb wBase 0xc8 cLow    outportb wBase 0xc8 cHigh    return NoError      i       6 3 8 Read Card ID Register     Read   wBase 0xd4  oe  0  0   o   ws   me   m   mo    For example   wCardID   inportb wBase 0xd4      read Card ID Ox0 0x15           Note  The Card ID function is only supported by the PEX DA  PISO DAxU and  PIO DAxU Ver  1 1 or above     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  65       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 9 Digital Input Register     Read   wBase 0xe0  gt  Low byte of the D I port  DIZ   me   DI DI4 DI3 DI2 DIL   om 
44. ssnvvvene 46  5  TESTING PIO DA CARD EE 47  5 1 EE TEST Ee 47  NEE OC URE ei oe Ge Ee N ee GR N ee oe Ge OE 47  5 12 Analog Output Test WING    ER Re Re Re Re Re Re Re Re Re Re ee ee 48  5 2 EXECUTE THE Ee 49  6  WO COIN tie Nier CN E 52  6 1 HOW TO FIND HET OE 52  bid  PIO PISO EXE Ulty Or ee EE 53  EL FO PVT E 54  6 1 3 PIO Geft onttodireesbt  gcR      ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 56  OLT od ek E N EE RE RE ie 57  6 2 THE ASSIGNMENT OF I O ADDRESS    EER eene Gee ER ee ek SR SR ER Re Ee ee eek Ee Ge Re ee ek Se Se ee eke ee Ese 58  6 3 TE TO ADDRESS MN 60  63 1 RESET  Control Register    ees see ee see se ee ee ee ee ee eed Ge ee ee ee ee ee ee ee ee 61  OA AUN CONO FROG SUI asc N EO EE EE EE N EEN 61  RE AUX DA ROGITO  OO N NE IE OO EE EN EE 62  O3 LANE Mask eege EEN 62  Os AU SLS Ee 63  6 3 6 dee leed Me EE 63  6 3 7 Read Write 8254 REGISCOS    cccccccecsccesessscescssscessessscssessscessesscessensecesessscescnscessuseseseasscescenscesseuseceseasecescaneceesees 64  EE 65  6 3 9 Digital Input TEE 66  6 5 10 Dota Eina dd REO  SU EEE 66  Ol DA Seed  EE 67  6 3 12 D A Data Output EE 68  7  DEMO PROGRAM RE 69  7 1 EON 69    FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  3       PEX PIO PISO DA Series Card  Analog Output Boards       7 2 DEMO PROGRAM FOR DOS  APPENDIX  DAUGHTER BOARD          eeeesnsnnnvvveversennnnnnnneversnnnnnnnnnseeesnnnnnnnnnnnsensnnnnnnnnnnesssnsnnnnnnnnnnennsnnnnnnnnnesensnnene 73  AL DB 17 and IN eene EE DEE ee 73  A E e 73  A3 
45. te a high pulse SEH  Dow int stages  O Ic Ie al ae     else now int state 0     now INTO LOW cb       don t have to generate high pulse       j  LE  MPEG  SUEPOPESIAA GAS  OO  Out POr t ONA 8259   20             PEX PIO PISO DA Series Card  Analog Output Boards       2 3 5 Multiple Interrupt Source    Assume  INTO is initial Low and active High   INT1 is initial High and active Low  as below     INTO and INT1  return to  normal at the  same time    INT1 returns to INT1 is active  normal    INTO and INT1  are active at  the same time             Refer to DEMO5 C for the source program  All of these falling edge and rising edge can  be detected using DEMOS C     Note    When the interrupt Is active  the user program has to identify the active signals  These  signals may all be active at the same time  so the interrupt service routine has to service  all active signals at the same time     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  19       PEX PIO PISO DA Series Card  Analog Output Boards            EE cach ME Seat  Sonn Me TE oe EE       Note   1 The hold time of INT_CHAN_O  amp  INT CHAN 1 must long s       es enoug  wi  Je 2 The ISR must read the interrupt status again to GE  Ve identify the active interrupt source  ey   ie 3 The INT CHAN O amp  INT_CHAN_1 can be active at the same SCH  tbs time  SE  L   EE E E e E Ee ee SE    void interrupt irq service         now ISR can not know which interrupt is active S    new_int_state inportb wBase 7  amp 0x03     read a
46. tion is about  13 bits     2 6 5 O 5 V Voltage Output    The voltage output for PEX DA and PISO PIO DAxU series cards is always in the range of   10 1 V  If the user needs to output a voltage in the range of 0 5 V  the software calibration  is the same as that described in Sec  2 6  Consequently  Vout will be in the range 0 5 V  so  the DaValue will approximately be from Ox1fff to Ox2fff  which means that the resolution is  about 12 bits     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  28       PEX PIO PISO DA Series Card  Analog Output Boards       2 6 6 0720 mA Current Output    The current output for PEX DA and PISO PIO DAxU series cards is always in the range of  O 22 mA  If the user needs to output a current in the range of 0 20 mA  the software  calibration is the same as that described in Sec  2 6  Tout will be in the range of 0 20 mA  so  the DaValue will approximately be from Ox1fff to Ox3fff  which means that the resolution is  about 13 bits        2 6 7 4 20 mA Current Output    The current output for PEX DA and PISO PIO DAxU series cards is always in the range of  O 22 mA  If the user needs to output a current in the range of 4 20 mA  the software  calibration is the same as that described in Sec  2 6  Iout will be in the range of 4 20 mA  so  the DaValue will approximately be from 0x2600 to Ox3fff  which means that the resolution is  about 13 bits        2 6 8 No VR and No Jumper Design    In a conventional 12 bit D A board  for example the A 626 A 628
47. to finish  the Plug amp Play steps  please refer to  Chapter 4 Software Installation     Y          User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  40       PEX PIO PISO DA Series Card  Analog Output Boards       The PEX DAx  PISO DAxU and PIO DAXU series card can be used in DOS  Linux and Windows  98 NT 2K and 32 bit 64 bit Windows XP 2003 Vista 7 8  This chapter shows you the detail  steps to install these drivers  The recommended installation procedure for Windows is given  in Sec  4 1   4 3     4 1 Driver Installing Procedure    Follow these steps     Step 1  Run the companion CD  Bn    Insert the companion CD into the CD ROM driver and wait a few seconds until the installation    program starts automatically  If it does not start automatically for some reason  then please  double click the file  NAPDOS AUTO32 EXE on the CD             gt   ICP DAS PCI20100726    IEP DAS    elopment Toolkits  3      PCI Bus DAQ Card SI           Step 2  Click the item  PCI Bus DAQ Card    PCI Bus DAQ Card            N DASYLab Driver       Watchdog  WDT  Card    I Linux Driver       Multi port Serial Card p   Daughter Board       User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  41       PEX PIO PISO DA Series Card  Analog Output Boards    Step 3  Please install the appropriate driver for your OS        1  Click the item   UniDAG                  PGI DAQ Card  Toolkits   Manuals    UniDAQ            i Pio e21 i Piso 725  PCI 1602 1602F   S   Pio Dio S   Pisos13   S   Pio DA S   Pis
48. un  PIO PISO EXE again  Record the result shown for wSlotBus2 and wSlotDevice2     Step 5  Repeat  3  and  4  for all PCI slots and record the results shown for each wSlotBus  and wSlotDevice     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  58       PEX PIO PISO DA Series Card  Analog Output Boards       A possible sample record     Table 6 2    PC   s PCI slot wSlotBus wSlotDevice  Slot 1 0 0x07  Slot_2 0 0x08  Slot_3 0 0x09  Slot_4 0 OXOA  PCI BRIDGE   Slot 5 1 OXOA  Slot 6 1 0x08  Slot_7 1 0x09  Slot_8 1 0x07    The procedure outlined above can be used to record all wSlotBus and wSlotDevice  information for all slots in the PC  This mapping is fixed for each PC  and can then be used to  identify a specific PIO PISO card in the following manner     Step 1  Record all wSlotBus and wSlotDevice information     Step 2  Use the PIO_GetConfigAddressSpace      function to retrieve the wSlotBus and  wSlotDevice information for the specified card     Step 3  The specified PIO PISO card can be identified from the two results     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  59       PEX PIO PISO DA Series Card  Analog Output Boards       6 3 The I O Address Map    The I O address for PEX DAx  PISO DAxU and PIO DAXU series cards is automatically  assigned by the ROM BIOS of the PC and provides Plug amp Play capabilities for PIO PISO  series cards  The PEX DAx  PISO DAxU and PIO DAxU series I O addresses are    mapped as follows     Table 6 3  Refer to Sec  6 1 3 f
49. urce    If INTO  8254 counterO output  is an initial high  active low signal  depending on 8254  counter mode   the interrupt service routine should use INVO to invert non invert INTO to  generate a high_pulse in the following manner   Refer to DEMO3 C    Initial settings     now_int_state 1     initial state for INTO     outportb wBase 0x2a 0      select the inverted INTO       VOLG AMESLEUDE de ane          it   new inte state            now INTO is changed to LOW a     H Es       gt  INT CHAN 0  INTO HIGH now SE  COUNT L       find a LOW pulse  INTO       If    inport  wBase 7   amp 1   0     the INTO is still fixed in LOW             gt  need to generate a high pulse        outportb  wBase 0x2a 1      INVO select the non inverted input     b      INT CHAN O INTO LOW    gt  SE     INT CHAN 0 generate a high pulse       RENE    now INTO LOW ay     else now int states     now INTO HIGH S       don t have to generate high pulse        alse   now me is ehanged wo HG Se           gt  INT CHAN O INTO HIGH now et  COUNT H       find a HIGH pulse  INTO       If   inport  wBase 7   amp 1   1     the INTO is still fixed in HIGH        need to generate a high pulse       outportb wBase 0x2a 0      INVO select the inverted input     d      INT CHAN 0  INTO LOW    gt         INT CHAN 0 generate a high pulse a  O a Ly Ze MO NIERE a     else now int state 0     now INTO LOW a     don t have to generate high pulse        if  wIrq gt  8  outportb A2 8259 0x20    out pOr E S  AL ER RG      
50. ut Boards       1 1 Features    e Supports  5 V PCI bus for PIO DA4 DA8 DA16   e  16 8 4 channels  14 bit analog output   e _ Voltage output range   10 V   e Current output range  0   20 mA  sink    e     Two pacer timer interrupt source   e     Double buffered D A latch   e   Software calibration   e  16 channel DI  16 channel DO   e One D Sub connector  two 20 pin flat cable connectors   e Connects directly to DB 16P  DB 16R  DB 24C  DB 24PR and DB 24POR     PISO DA16U DA8U DA4U only   e   Built in DC DC converter with 3000 Vnc isolation  e Supports both  5 V and  3 3 V PCI bus  e 2500 Vpc bus type and power isolation protection  e Digital input port can be set to pull high or pull low  e Card ID function      PIO DA16U DA8U DA4U  PEX DA16 DA8 DA4 only   e Supports both  5 V and 43 3 V PCI bus for PIO DA16U DA8U DA4U  e   Supports PCI Express x 1 for PEX DA16 DA8 DA4  e Digital input port can be set to pull high or pull low  e Card ID function    FG User Manual  Ver 3 1  Oct  2013  PMH 0010 31  Page  7       PEX PIO PISO DA Series Card  Analog Output Boards       1 2 Comparison Table    Comparison Table of the Different Version Information     Version D I Register    PIO DA4 OxE0 E4 E8 EC  PIO DA8    OxFO F4 F8 FC  PIO DA16    PIO DA4U OxE0 E4 E8 EC  PIO DASU V1 0 OxFO F4 F8 FC  PIO DA16U   PIO DA4U    0xE0 E4 E8 EC  opne OxFO F4 F8 FC  PIO DA16U    PIO DA4U   PIO DA8U V1 2 or above OXEO E4  PIO DA16U   PISO DA4U   PISO DASU   V1 3 or above OXEO E4  PISO DA16U    PEX DA4  P
51. via the 20 pin flat cable  connector  which only uses 16 relays or 50 pin flat cable connector   OPTO 22 compatible  for  the DIO 24 series   There are 24 LEDs  one for each relay  which are illuminated when their  associated relay is activated  To  avoid overloading the power    supply of your PC  this board  requires a  12 VDC or  24 VDC  amp   external power supply                 Normally Open       Form A Relay    20 Pin cable    PEX DA PISO DA PIO DA DB 24PR          Note     50 Pin Connector  OPTO 22 compatible  for DIO 24 48 144 and PIO D96 144 48 24   20 Pin connector for 16 ch D O board  A 82x  A 62x  DIO 64  ISO DA16 DA8  PIO D56 and  PEX PISO PIO DA   Channel  16 Form A Relay and 8 Form C Relay   Relay  Switching up to 5 A at 110 Vad 5 A at 30 Vpc             TG ko User Manual  Ver  3  Oct  2013  PMH 0010 31  Page  76       
52. y file   TC LIB Huge PIO H  gt  TC declaration file   TC  LIB Huge TCPIO_H LIB  gt  TC huge model library file    m  MSC      gt  for MSC 5 xx or above     MSC LIB Large PIO H  gt  MSC declaration file   MSC LIB Large MSCPIO_L LIB  gt  MSC large model library file   MSC LIB Huge PIO H  gt  MSC declaration file     MSC  LIB Huge MSCPIO_H LIB 3 MSC huge model library file    m  BC      gt  for BC 3 xx or above     BC LIB Large PIO H  gt  BC declaration file   BC LIB Large BCPIO_L LIB  gt  BC large model library file   BC LIB Huge PIO H  gt  BC declaration file    Note  The library is valid for all PIO PISO series cards     FG User Manual  Ver  3 1  Oct  2013  PMH 0010 31  Page  71       PEX PIO PISO DA Series Card  Analog Output Boards       There are about demo program given as follows     e DEMO1 EXE   e  DEMO 2 EXE   e  DEMO3 EXE   e  DEMO4 EXE   e  DEMOS EXE   e  DEMO6 EXE   e  DEMOZ EXE   e DEMO8 EXE   e DEMO9 EXE     D O demo program   D I O demo program   Single interrupt source  initial high   Single interrupt source  initial low    Two interrupt source   Waveform generator without calibration  Waveform generator with calibration  D A hex value output without calibration  D A hex value output with calibration    e DEMO10 EXE  Save EEPROM data to file   e  DEMO11 EXE  Download EEPROM data from file  e  DEMO12 EXE  User software calibration   e  DEMO13 EXE  Factory calibration    Note  The calibration demos programs can only be used in a DOS system     User Manual  Ver  3
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
1/4” Tag/Nachtkamera mit IR-Beleuchtung VKC  GAMME DWS SYSTÈME DE SÉCURITÉ VIDÉO  RAPPORT D=ENQUÊTE AÉRONAUTIQUE A03O0341 PERTE DE  Stay-Connected    取扱説明書  「LW1112」取扱説明書(PDF形式)  Samedi 2 mai Samedi 2 mai    Copyright © All rights reserved. 
   Failed to retrieve file