NSTALLATION DEMO PROGRAMS........................26 .....................26 ROGRAMS FOR INDOWS DOS .....................27 ROGRAMS FOR THE HARDWARE REGISTER ....................28 I/O A ....................28 OW TO IND THE DDRESS I/O A ......................31 DDRESS 5.2.1 RESET\ the Control Register ....................32 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Page 3
5.2.3 AUX data Register ........................32 5.2.4 INT Mask Control Register.......................33 5.2.5 Aux Status Register ........................33 5.2.6 Interrupt Polarity Control Register ..................34 5.2.7 D/A Data Output........................34 5.2.8 Jumper Status Register ......................35 5.2.9 Read Card ID Register ......................36 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
The PISO-DA2U has 2 analog output channels with high-voltage isolation protection and provides universal PCI interface (3.3 V/5 V). The PISO-DA2U is fully compatible with the PISO-DA2, and users can replace the PISO-DA2 by the PISO-DA2U directly without software/driver modification.
Features Supports both +5 V and +3.3 V PCI bus for PISO-DA2U Supports +5 V PCI bus for PISO-DA2 Two independent 12 bits analog output channels 3750 V bus and channels isolation protection 3000 V power isolation protection Analog output range Voltage output Bipolar: ±10 V, ±5 V...
The DB-8425 Screw Terminal Board with 1.5 meter D-Sub 9-pin cables is provided for easy wire connection with the controlled device or equipment. The Daughter Board is not the standard component included in PISO-DA2/DA2U package. PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
If any of these items are missing or damaged, contact the dealer from whom you purchased the product. Please save the shipping materials and carton in case you need to ship or store the product in the future. PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Hardware configuration This section will describe the hardware setting of the PISO-DA2/DA2U. At first, the contents in the package and unpacking information that you should have are described. The jumper settings for the PISO-DA2/DA2U according to reference voltage sources, output voltage range and voltage or current output are also presented in the second stage.
Page 10
Bipolar or Unipolar setting JP4/JP8 -5 V or -10 V internal reference voltage setting JP3/JP7 0~20 mA or 4~20 mA current loop setting JP6/JP10 External or internal reference voltage setting Card ID function PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Configuration of D/A Output Signal The each D/A channel of PISO-DA2/DA2U can be independently configured as voltage or current output using different range to fit your application, as shown in Table 2-1 and Table 2-2. Generally, the range of voltage output, which includes bipoloar and unipoloar, is configured by jumper JP1, JP2, JP5, and JP9.
2.2.1 The Configuration of Voltage Output Reference Source Setting (JP6/JP10/JP4/JP8) The reference voltage source of PISO-DA2/DA2U‘s D/A converter can be provided by the internal generator or external reference voltage, which is coming from the connector CN1 and CN2. The setting of the reference sources for Channel 1 and Channel 2 are controlled by the jumper JP6 and JP10 respectively, as depicted in the following table2-3.
Page 13
JP4 (Channel 1) and JP8 (Channel 2). The detail setting method is illustrated as Table 2-4. The default setting is -5 V. Table 2-4: Internal Reference Voltage Setting Channel -10V ( Default) -10V -10V Channel 1 -10V -10V Channel 2 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Page 14
Output Range Setting (JP5/JP9) After the configuration of reference voltage source, the practical voltage output range of PISO-DA2/DA2U can be regulated as either Bipolar or Unipolar by jumper JP5 and JP9. The detail setting is demonstrated in Table 2-5. For example, if the jumper “JP4” and “JP5” are set as “-5 V” and “Unipolar”...
2.2.2 The Configuration of Current Sink Output Range Setting (JP3/JP7) If users want to apply PISO-DA2/DA2U to function as current output board, it provides the probability setting of current output mode using 0-20 mA or 4-20 mA loop current sink. In order to activate the current output, the PISO-...
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 1; ON Card ID (Hex) (*) 0x0 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Pin Assignment The PISO-DA2/DA2U is equipped with two sets of 9-pin D-type female connectors for wire connection of the output signal. CN1 and CN2 stand as are signal output connections of Channel 1 and CN2 respectively. The connector’s pin assignment is specified as follows:...
Generally, when PISO-DA2/DA2U board is functioned as the voltage output application, the minimum load resistor must be bigger than 1 kΩ. However, when current output function of PISO-DA2/DA2U board is selected, then the maximum load resistor of the current loop sink has to be smaller than 400 Ω.
If your system does not offer external power supply, a built-in +15 V power source provided by PISO-DA2/DA2U can be applied to build the signal current output in loop current sink type. The wire connection is illustrated as below. PISO-DA2 Side...
Output Range and Resolution The voltage and current output range of PISO-DA2/DA2U is represented as follow. The D/A converter is 12 bits. Based on the different output range, the resolution of every channel is figured out as Table 2-9. Voltage Output...
Calibration The PISO-DA2/DA2U is shipped fully calibrated from the factory with calibration coefficients stored in the EEPROM on board. For more precise application of voltages or currents at the "system end", the following procedure provides a method that allows you to calibrate the board within your system, for correct voltages or currents at your field connection.
Page 22
Note that the maximum and minimum calibration process of the current output must be preceded if the user wants to calibrate the current output. And the procedure is the same the above. Figure 2-5: Calibration tool PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Software Installation The PISO-DA2/DA2U card can be used in DOS and Windows 98/ME/NT/2K and 32-bit/64-bit Windows XP/2003/Vista/7. recommended installation procedure for windows is given in Sec. 3.1 ~ 3.3. Or refer to Quick Start Guide (CD:\NAPDOS\PCI\PISO-DA2\Manual\QuickStart\). http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/piso-da2/manual/quickstart/ Software Installing Procedure...
(CD:\NAPDOS\PCI\PISO-DA2\Manual\). http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/piso-da2/manual/ 3.2 PnP Driver Installation After installing the hardware (PISO-DA2/DA2U) and power on your PC, Windows 98/Me/2K and 32-bit/64-bit Windows XP/2003/Vista/7 can find a PCI card device and ask user to provide a PISODA2.inf to install hardware driver on the computer.
3.3 Confirm the Successful Installation Make sure the PISO-DA2/DA2U card installed is correct on the computer as follows: Step 1: Select “Start” “Control Panel” and then double click the “System” icon on Windows. Step 2: Click the “Hardware” tab and then click the “Device Manager” button.
Demo Programs for Windows Demo Programs for Windows All of demo programs will not work normally if DLL driver (PISO-DA2 Classic Driver) would not be installed correctly. During the installation process of DLL driver (PISO-DA2 Classic Driver), the install-shields will register the correct...
For every development environments, it fully includes the following demo programs. DEMO1: INT_CHAN_0 & INT_CHAN_1 timer interrupt demo DEMO2: D/A Output DEMO3: Write the data to EEPROM DEMO4: Read data from EEPROM. DEMO5: Software calibration PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
The Hardware Register The detailed descriptions of the registers format for PISO-DA2/DA2U will be presented here for advance user. This information is quite useful for the programmers who hope to handle the card by themselves. However we suggest that user need to understand the hardware system more clearly before starting to design the program for controlling it by them.
Page 29
List all PIO/PISO cards installed in the PC List the resources allocated to each PIO/PISO card List the wSlotBus and wSlotDevice details for identification of specific PIO/PISO cards. (Refer to Sec. 5.1 for more information) PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
The plug & play BIOS of the PCI-board will automatically assign the proper I/O address to each PIO/PISO series card very well. The I/O addresses of the PISO-DA2/DA2U are given as follows, which is based on the base address wBase.
Table 5-5: Aux data Register (Read/Write): wBase +3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Aux7 Aux6 Aux5 Aux4 Aux3 Aux2 Aux1 Aux0 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Table 5-7: 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 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
CH1 and CH2. Table 5-9: high byte of D/A channel-1 (Write): wBase+0xc0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
JP8 =1 JP8 is set at –5 V for internal refernce voltage source of channel 2 JP9=0 JP9 is set at Bipolar for channel 2 JP9=1 JP9 is set at Unipolar for channel 2 PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 wCardID = inportb(wBase+0xf0) & 0xF; /* Read Card ID*/ Note: The Card ID function is only supported by the PISO-DA2U. PISO-DA2/DA2U User Manual (Ver.2.7, Mar. 2012, PMH-020-27)
Need help?
Do you have a question about the PISO-DA2 and is the answer not in the manual?
Questions and answers