Home

Manual

image

Contents

1. Table 5 4 Card No wlnterruptSource Description PIO D48 0 P2C3 PC7 from Port 2 1 P2C3 PC7 from Port 5 2 Cou 8 Cout2 PIO D56 D24 0 P2C0 1 P2C1 2 P2C2 3 P2C3 PIO D64 0 EXTIRQ 1 EVTIRQ 2 TMRIRQ PIO D96 0 P2C0 1 P5C0 2 P8C0 3 P11C0 PIO D144 D168 0 P2C0 1 P2C1 2 P2C2 3 P2C3 wActiveMode Input When to trigger the interrupt 0 gt PIODIO_ActiveLow 1 gt PIODIO_ActiveHigh e Return Please refer to Section 5 1 Error Code PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 42 5 6 4 PIODIO_IntRemove e Description This subroutine removes the IRQ service routine e Syntax WORD PIODIO_IntRemove void eo Parameter None e Return Please refer to Section 5 1 Error Code 5 6 5 Architecture of Interrupt mode as CreateThread Create Event for Device Driver CreateEvent PIODIO IntInstall gt Set Event to Signal Hardware Interrupt Signal Figure 5 2 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 43 5 6 6 Program Architecture PIODIO Driverlnit Enable All DD PIODIO InputByte Figure 5 3 PIO D56 PIO D24 User Manual Ver 2 3 JUN 2004 PPH 005 23 44 6 Demo Programs for Windows All demo programs will not work properly if the DLL driver has not been installed correctly During the
2. 2 6 2 DN 32 ADN EA RS ETES 15 2 6 3 A AA deenen oe Ee a dead aaa aA la en ein 16 2 6 4 ADP 200P EE 16 2 6 5 DB 24P DB 24PD Isolated Input Board ss 17 2 6 6 DB 24R DB 24RD Relay Board 18 2 6 7 DB 24PR DB 24POR DB 24C nirera a EA EACE REEE E 19 2 6 8 Daughter Board Comparison Table 20 3 VO CONTROL REGISTER sicssssvsdssisdonatecession sbadsteasbevastevtsdonciacaseescdeudsdead even 21 3 1 HOW TO FIND THE DO ADDRESS eebe Eeer 21 3 2 THE ASSIGNMENT OF I O ADDptssg nono noncnnonoananonoos 24 3 3 THETO ADDRESS MAP 58 nest oa Mann deb le tristes 26 3 3 1 RESET Control RG 18tei csendnek nette ne Ed ONE 27 3 3 2 AUX TEE 27 3 3 3 AUX data Register cries here il nement ABER ARG 27 3 3 4 INT Mask Control Register 28 3 3 5 AUX Status RELET atar aeaaea AARE NA TASET R 28 3 3 6 Interrupt Polarity Control Register ss 28 3 3 7 I O Selection Control Register ss 29 3 3 6 Read Write 8 bit data Register ss 30 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 2 4 SOFTWARE INSTALLATION wessscssscccsscssscstsentccsucssecsocdsutectecseesentecevassucsvese 31 4 1 SOFTWARE INSTALLING PROCEDURE scsscsssesecsesesssseceeececeesenseaeeeeeeeeeesesssaeeeeees 31 4 2 PNP DRIVER INSTALLATION oroit iaiia r a aae 31 5 DLL FUNCTION DESCRIPTION sssssseessnsenessnsnssseesee 32 5 1 TABLE OF ERRORCODE AND ERRORSTRING AA 33 5 2 FUNCTION DESCRIPTIONS 2 3 2ccceceaet8 cok setcceeca stole oaedeee coaevedene a tie die
3. If the user has trouble preceding through this process please refer to PnPinstall pdf for more information PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 31 5 DLL Function Description The DLL driver is the collection of function calls on the PIO DIO card for the Windows 98 Me NT 2000 XP system The application structure is presented in following figure The user application program was developed by designated tools such as VB Delphi and Borland C Builder which can call on the PIODIO DLL driver in the user mode Following that the DLL driver will call up PIO sys to access the hardware system Function Call into DLLs Development Toolkit Services Call into Kernel Mode Device Control Figure 5 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 32 5 1 Table of ErrorCodes and ErrorStrings Table 5 1 SE Error ID Error String 0 PIODIO_NoError OK No error 1 PIODIO_DriverOpenError Device driver can not be opened 2 PIODIO_DriverNoOpen Users have to call the Driverlnit function first 3 PIODIO GetDriverVersionError Get driver version error 4 PIODIO_InstalllrqError Install IRQ Error 5 PIODIO ClearlntCountError Clear counter value Error 6 PIODIO_GetIntCountError Get counter interrput error 7 PIODIO_RemovelrgError Remove IRQ Error 8 PIODIO_FindBoardError Can not find board 9 PIODIO_ExceedBoardNumber The Max board is 8 10 PIODIO_ResetE
4. Read Write wBase 0 Reserved Reserved Reserved Reserved Reserved Reserved Reserved RESET When the PC s power is first turned on RESET signal is in a Low state This will disable all D 1 O operations The user has to set the RESET signal to a High state before any D I O command applications are initiated outportb wBase 1 RESET High gt all D I O are enable now outportb wBase 0 RESET Low gt all D I O are disable now 3 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 3 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 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 27 3 3 4 INT Mask Control Register Read Write wBase 5 o b fo b ENS Jos ou ENO 0 gt Disable P2C0 as a interrupt signal Default ENO 1 gt Enable P2CO0 as a interrupt signal outportb wBase 5 0 Disable interrupt outportb wBase 5 1 Enable interrupt P2C0 outportb wBase 5 0x0f Enable interrupt P2C0 P2C1 P2C2 P2C3 3 3 5 Aux Status Register Read Write wBase 7 Aux0 P2C0 Aux1 P2C1 Aux2 P2C2 Aux3 P2C3 Aux7 4
5. Vendor ID Device ID 0xE159 0x0001 Sub vendor ID 0xC080 Sub device ID 0x01 e Sub aux ID 0x40 lt REV 5 0 or above gt e Vendor ID 0xE159 e Device ID 0x0001 Sub vendor ID 0xC080 Sub device ID 0x01 Sub aux ID 0x40 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 21 The utility program PIO_PISO EXE will detect and present all information from the PIO PISO cards installed on this PC as shown in the following figure The necessary means for identifying the PIO series cards of ICPDAS data acquisition boards by the sub vender sub device and sub Aux ID is given in table 3 1 below the following figure ow 11 2003 of the following cards w the detail information 0x0 0 OxC 400 PIO DS56 PIO D24 Vendor ID Device ID Slot Device Base Ader IRO Number Figure 3 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 22 Table 3 1 Description Sub_Sendor Sub_Device Sub_ AUX PIO PISO series card PIO D168 168 DIO 9880 01 50 PIO D168A 168 DIO 38 o PIO D144 REV4 0 PIO D96 REV4 0 96 D I O 80 5880 PIO D64 REV2 0 64 D I O 80 4080 PIO D56 REV5 0 24 D I O 80 C080 01 40 16 D l 16 D O PIO D48 REV2 0 48 D I O 80 0080 pp PIO D24 REV6 0 24 D I O 80 C080 01 40 PIO 821 Multi function 80 03 PIO DA16 16 D A 80 04 PIO DAB 8s DA 3 04 80 PISO
6. 16P8R DB 24POR DB 24SSR DB 24C or any OPTO 22 compatible daughter board e 4 interrupt sources P2C0 P2C1 P2C2 P2C3 e One DB37 connector two 20 pin flat cable connectors only for PIO D56 e High driving capability e Automatically detected by Windows 95 98 2000 XP e No base address or IRQ switches to set PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 4 1 2 Specifications e All inputs are TTL compatible Logic high voltage 2 4V Min Logic low voltage 0 8V Max e All outputs are TTL compatible OPTO 22 output CON3 Sink current 64mA Max Source current 32mA Max 16 channel output CON1 Sink current 8mA Max Source current 0 4mA Max e Environmental Operating Temperature 0 C to 60 C Storage Temperature 20 C to 80 C Humidity O to 90 non condensing e Dimensions 143mm X 105mm e Power Consumption 5V 530mA 420mA PIO D56 PIO D24 1 3 Product Check List In addition to this manual the package includes the following items e One PIO D56 or PIO D24 card e One company floppy diskette or CD e One release note It is recommended to read the release note first All important information will be given in the release in the following order 1 Where you can find the software driver amp utility 2 How to install the software amp utility 3 Where the diagnostic program is 4 FAQ s Attention If any of these items is missing or damaged contact the dealer from w
7. A 62X DIO 64 ISO DA16 DA8 3 Channel 16 Form A Relay 8 Form C Relay 4 Relay switching up to 5A at 110ACV 5A at ODCV PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 19 2 6 8 Daughter Board Comparison Table Table 2 10 20 pin flat cable 50 pin flat cable D sub 37 pin DB 37 No No Yes DN 37 No No Yes ADP 37 PCI No Yes Yes ADP 50 PCI No Yes No DB 24P No Yes No DB 24PD No Yes Yes DB 16P8R No Yes Yes DB 24R No Yes No DB 24RD No Yes Yes DB 24C Yes Yes Yes DB 24PR Yes Yes No Db 24PRD No Yes Yes DB 24POR Yes Yes Yes DB 24SSR No Yes Yes Note There is no 50 pin flat cable header in the PIO D56 PIO D24 The PIO D56 PIO D24 has one DB 37 connector and two 20 pin flat cable headers only for PIO D56 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 20 3 3 1 VO Control Register 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 IDs for the PIO D56 D24 cards are given as follows HR PIO D24 lt REV 1 0 REV 5 0 gt Vendor ID Device ID 0xE159 0x0002 Sub vendor ID 0x80 Sub device ID 0x01 Sub aux ID 0x40 H PIO D56 lt REV 1 0 REV 4 0 gt Vendor ID Device ID 0xE159 0x0002 Sub vendor ID 0x80 Sub device ID 0x01 Sub aux ID 0x40 lt REV 6 0 or above gt
8. C64 64 isolated D O 80 00 Current sinking PISO A64 64 isolated D O Current sourcing 80 08 PISO P64 64 isolated Di 08 PISO P32C32 32 isolated D O 32 isolated Di PISO P32A32 32 isolated DO 32 isolated Di PISO P8R8 8 isolated DI MEAN 8 isolated D I 8 SSR AC 8 isolated D l 8 SSR DC PISO 730 16 DI 16 D O 16 isolated D l 16 isolated D O Current sinking 80 08 PISO 730A 16 DI 16 D O 16 isolated D l 16 isolated D O Current sourcing PISO 813 32 isolated A D 80 PISO DA2 2 isolated D A Note If your board is a different version it may also have different Sub IDs However this will present no actual problem No matter which version of the board you select we offer the same function calls PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 23 3 2 The Assignment of the I O Address The Plug Play BIOS will assign the proper I O address to a PIO PISO series card If there is only one PIO PISO board the user can identify the board as card_0 If there are two PIO PISO boards in the system the user will find it very difficult to identify which board is card_0 The software driver can support a maximum of 16 boards Therefore the user can install 16 PIO PSIO series cards onto one PC system The methods used to find and identify card_0 and card_1 is demonstrated below The simplest way to identify which card is card_0 is to use
9. D56 D24 are represented in Tables 2 3 2 4 and 2 5 All signal sources for each digital input or output pin channel is TTL compatible Table 2 3 CONS 37 pin D type female connector for PortO Port1 Port2 GND PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 8 Table 2 4 CON1 20 pin header oni for PIO D56 DO1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 9 2 4 Enable I O Operation When the PC is turned on all operations involved with digital IC channels CON1 CON2 CON3 are disabled Note that the digital I O channels are enabled or disabled by the RESET signal Refer to Sec 3 3 1 for more information related to this 2 4 1 DIO Port Architecture CON3 The power on states for all DI O ports CON3 are given as follows e D I O operations for each port are disabled e D I O ports are all configured as Digital input ports e D O latch register outputs are all undefined The user has to perform some initialization before using these digital UO ports The recommended steps are given as follows Step 1 Find the address mapping for PIO PISO cards Refer to Sec 3 1 Step 2 Enable all Digital WO operations Refer to Sec 3 3 1 Step 3 Configure the three ports in CON3 to their expected D l O states 8 send their initial values to every D O port Refer to Sec 3 3 7 and Sec 3 3 8 For more information on the initial procedure for digital UO ports please refer
10. Note that DEMO3 C amp DEMO4 C are demo programs for a single interrupt source and DEMO5 C is the demo program for four interrupt sources in the DOS operating system If only one interrupt signal source is used the interrupt service routine does not need to identify the interrupt source Refer to DEMO3 C 8 DEMO4 C However if there are more than one interrupt source the interrupt service routine has to identify the active signals in the following manner refer to DEMO5 C 1 Read the new status of the interrupt signal sources 2 Compare the new status with the old status to identify the active signals 3 If P2CO is active service P2CO amp non inverter inverted the P2CO signal 4 lf P2C1 is active service P2C1 4 non inverted inverted the P2C1 signal 5 If P2C2 is active service P2C2 non inverted inverted the P2C2 signal 6 If P2C3 is active service P2C3 non inverted inverted the P2C3 signal 7 Update the interrupt status Limitation if the interrupt signal is too short the new status may be the same as the old status So the interrupt signal must be held active until the interrupt service routine has been executed This hold time is different for differing operating systems The hold time can be as short as a micro second or as long as 1 second In general 20ms is enough for all O S PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 14 2 6 Daughter Boards 2 6 1 DB 37 The DB 37 is a general purpose da
11. Aux ID Refer to DEMO5 C for more information The Aux 0 3 are used as interrupt source The interrupt service routine has to read this register to identify the interrupt source Refer to Sec 2 5 for more information 3 3 6 Interrupt Polarity Control Register Read Write wBase 0x2A o jo fo ows Jus nv This register provides a function to control invert or non invert for the interrupt signal source A detailed application example is given below INVO 1 gt select the non inverted signal from P2C0 INVO 0 gt select the inverted signal from P2C0 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 28 outportb wBase 0x2a 0x0f select the non inverted input P2C0 1 2 3 outportb wBase 0x2a 0x00 select the inverted input of P2C0 1 2 3 outportb wBase 0x2a 0x0e select the inverted input of P2C0 El select the non inverted input P2C1 2 3 outportb wBase 0x2a 0x0c select the inverted input of P2C0 1 select the non inverted input P2C2 3 S Refer to Sec 2 5 and DEMO5 C for more information 3 3 7 1 0 Selection Control Register Write wBase 0xcc po o0 fo oo Porte Port This register provide the function for configuration digital input output port of the PIO D56 D24 Every I O port can be programmed to be a D l or a D O port Note that all ports are used as D I ports when the PC is first turned on Port 1 this port is used as a D O port Port 0 gt this port
12. CON2 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 12 2 4 3 DO Port Architecture CON1 The digital output CON1 control architecture for the PIO D56 is demonstrated in Figure 2 4 e RESET is in the Low state gt all DO operations are disabled e RESET is in the High state gt all DO operations are enabled The power on states are as follows e All DO operations are disabled e All output latches are cleared to Low Level RESET clear input Latch Clock input D O buffer CKT Figure2 4 DO Port Architecture CON1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 13 2 5 Interrupt Operation The P2C0 P2C1 P2C2 and P2C3 can be used as interrupt signal source Refer to Sec 2 1 for P2C0 P2C1 P2C2 P2C3 location The interrupt of the PIO D56 PIO D24 is level trigger amp Active_High The interrupt signal can be programmable as inverted or non inverted The procedures for how to configure the interrupt signal source are given as follows 1 Make sure the initial level is high or Low from the signal source 2 If the initial state is High please select the inverted setting for interrupt signal source Section 3 3 6 If the initial state is Low please select the non inverted setting for interrupt signal source Section 3 3 6 3 Enable the interrupt function Section 3 3 4 4 lf the interrupt signal is active the interrupt service routine will be started up
13. 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 win2000 XP 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 gt demo program BCB3 gt for Borland C Builder 3 PIODIO H gt Header file PIODIO LIB gt Linkage library for BCB only Delphi3 gt for Delphi3 PlODIO PAS gt Declaration file VB6 gt for Visual Basic 6 PIODIO BAS gt Declaration file The list of demo programs DIO Digital intput and output of Port0 1 2 and CON1 CON2 INT Interrupt of P2C0 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 45 6 1 Digital intput and output This demo program is used to check the digital output and digital input status for Port0 1 2 CON3 and CON1 CON2 Digital Input Output demo for PIO D56 Total Boards Ca Enable 411 DI DO Setting Port 0 to Output Mode and Port 1 2 to Input mode Output Port 0 Hex Input Port 2 1 Hex Output Port Hex Input Port 2 Hex Output Port Hex Input Port 2 Hex Output Port Hex Input Port Hex Output Port Hex Input Port Hex Output Port Hex In
14. ID wSubDevice Output Sub Device ID wSubAux Output Sub Aux ID wSlotBus Output Slot Bus number wSlotDevice Output Slot Device ID Return Please refer to Section 5 1 Error Code PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 40 5 6 5 6 1 5 6 2 INTERRUPT FUNCTION PIODIO_IntResetCount Description This function will clear the counter value on the device driver for the interrupt Syntax WORD PIODIO_IntResetCount void Parameter None Return Please refer to Section 5 1 Error Code PIODIO_IntGetCount Description This subroutine will read the dwintCount defined in the device driver Syntax WORD PIODIO_IntGetCount DWORD dwintCount Parameter dwintCount Output Address of dwintCount which will stores the counter value of interrupt Return Please refer to Section 5 1 Error Code PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 41 5 6 3 PIODIO_Intinstall e Description This subroutine installs the IRQ service routine e Syntax WORD PIODIO_IntInstall WORD wBoardNo HANDLE hEvent WORD winterruptSource WORD wActiveMode e Parameter wBoardNo Input Which board to be used hEvent Input Address of a Event handle The user s program must call up the Windows API function CreateEvent to create the event object winterruptSource Input What the Interrupt Source to be used Please refer to the following table
15. MOS Relay 350V 01 A DB 24SSR 24 SSR 250VAC 4A DB 24C 24 O C 30V 100 mA DB 16P8R 16 Relay 120V 0 5A 8 isolated input PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 18 2 6 7 DB 24PR DB 24POR DB 24C Table 2 9 DB 24PR 24 power relay 5A 250V DB 24POR 24 PhotoMOS relay 0 1A 350VAC DB 24C 24 open collector 100mA per channel 30V max The DB 24PR 24 channel power relay output board consists of 8 form C and 16 form A electromechanical relays for efficiently controlling the switch with the use of an appropriately loaded program The contact of each relay can allow 5A current load at 250ACV 30VDCV The relay is energized by applying a 5 voltage signal to the associate relay channel on the 20 pin flat cable connector just used 16 relays or 50 pin flat cable connector OPTO 22 compatible for DIO 24 series 24 enunciator LEDs for indicating the status of for each relay and the corresponding LED light will go on when their associated relay has been activated To avoid overloading your PC s power supply this board needs a 12VDC or 24VDC external power supply as shown in figure 2 11 Normal Open Form A Relay Kee III DB 24PRD 50 pin header Figure 2 11 Note 1 50 Pin connector OPTO 22 compatible for DIO 24 DIO 48 DIO 144 PIO D144 PIO D96 PIO D56 PIO D48 PIO D24 PIO D168 2 20 Pin connector for 16 channel digital output A 82X
16. PIO D56 D24 User s Manual 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 2004 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 1 Tables of Content 1 INTRODUCTION E 4 1 1 FEATURES nn italiano ido 4 1 2 IS Oe E NEE 5 1 3 PRODUCT CHECK LB Ticas ciclista NEESS 5 2 HARDWARE CONFIGURATION sssssssssssmnsnsrnssnsnnssessensese 6 2 1 BOARD LAY OUT ue ee ee 6 2 2 TO PORT OCATION Sta A EE 7 2 3 PIN ASSIGNMENT nent ne nn Mn ne tn ne nt ES a 8 2 4 ENABLE VO OPERATION ut etienne AE eee etre 10 2 4 1 DIVO Port Architecture CON issues 10 2 4 2 DI Port Architecture CONZ esse 12 2 4 3 DO Port Architecture CONTI sisi 13 2 5 INTERRUPT OPERATION santa as EEN 14 2 6 DAUGHTER BOARDS set ua ee nial aaah Ria 15 2 6 1 RTE ER dos 15
17. RD is valid Return None PIODIO_InputWord Description This subroutine reads the 16 bits data from the specified I O port Syntax DWORD PIODIO_InputWord DWORD wPortAddr Parameter wPortAddr input I O port addresses please refer to function PIODIO_GetConfigAddressSpace Only the low WORD is valid Return 16 bit data Only the low WORD is valid PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 37 5 5 5 5 1 5 5 2 Driver Relative Functions PIODIO_GetDriverVersion Description This subroutine reads the version number information from the PIODIO driver Syntax WORD PIODIO_GetDriverVersion WORD wDriverVersion Parameter wDriverVersion Output address of wDriverVersion Return Please refer to Section 5 1 Error Code PIODIO Driverlnit Description This subroutine opens the PIODIO driver and allocates the computer resource for the device This function must be called once before applying other PIODIO functions Syntax WORD PIODIO Driverinit Parameter None Return Please refer to Section 5 1 Error Code PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 38 5 5 3 5 5 4 PIODIO_SearchCard Description This subroutine can search the card and get the board total This function must be called once before applying other PIODIO functions Syntax WORD PIODIO SearchCard WORD wBoards DWORD dwPlOCardID Parameter
18. a EE eN a ESE 48 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 3 1 Introduction The PIO D56 PIO D24 provides 56 24 TTL digital I O lines The PIO D56 consists of one 24 bit bi directional port one 16 bit input port and one 16 bit output port However PIO D24 only contains the 24 bit bi directional port The 24 bit port supports three 8 bit groups which are PA PB and PC respectively Each 8 bit group can be individually configured to function as digital input or output port Each group in a 24 bit bi directional port is configured as digital inputs once the power is turned on or if a reset has been executed DB 24PD is the daughter board which is designed to connect the input port for either isolation purposes or to interface to the output port for relay control PIO D24 has one D sub connector However The PIO D56 contains one D sub connector and two 20 pin flat cables The flat cable can be connected to an ADP 20 PCI adapter The adapter can be fixed onto the chassis This product can be installed into a 5V PCI bus and supports actual Plug 8 Play technology 1 1 Features e PCI bus e Up to 56 24 PIO D56 PIO D24 digital I O channels lines e All UO lines buffered on the board e 3 Eight bit groups independently selectable for I O on 24 bit port e Input Output ports can be configured via software control e Double side SMD short card e Connects directly to DB 24PR DB 24PD DB 24RD DB 24PRD DB
19. a ti NEREAENUEER ACEN 33 5 3 FUNCTIONS OF TEST utopia tte die hein dE gie 35 5 3 1 PTODIO_GetDILVer sion en cccccccccccccccccccccccccccscccscscscscscscscsesesescseseseseseseseseseeeeees 35 5 3 2 PIODIO Shorts ub cissscsicivestice aci REEE ee AEN 33 5 3 3 PIODIO FlOG S UD coi nn tin sine 35 5 4 DIGITAL VO FUNCTIONS sail id abc RER te 36 5 4 1 PIODIO leede EEN EE nn SEENEN 36 5 4 2 PIODIO INPU ByYLE 2 AA RE A A aaa bas eelevea 36 5 4 3 PIODIO Oupui EE 37 5 4 4 PIODIO Hnput Words seins aiii g EE cbantdienteedeanayavebes 37 5 5 DRIVER RELATIVE FUNCTIONS ie 38 5 5 1 PIODIO_GetDriver Version ooonnnnninnininnnnnininacacacicanananara narrar rara rara 38 5 3 2 PIODIO rer Eege dee dee 38 5 5 3 PIODIO SearchCard rite ER 39 5 5 4 PIODIO Driver Close iia Ee Ee ee 39 9 555 PIODIO_GetConfigAddressSpace ss 40 5 6 INTERRUPT GELEET 41 5 6 1 PIODIOSIntResetCount eos ck hewn ies ie hens A an M Rte 4 5 6 2 PIODIO nt G et COURT EE Re BREEN EE AE 41 5 6 3 PIODIO TE 42 5 6 4 PIODIO erter AAN ie Blas DE a 43 5 6 5 Architecture of Interrupt mode ss 43 5 6 6 Program Archer sires cline Badin hee OR avs eR en nets 44 6 DEMO PROGRAMS FOR WINDOWS sssssmsmsssrssnsenseesensee 45 6 1 DIGITALAINTPUT AND OUTPUT a E aaa 46 6 2 INTERRUPT OF P2C 0 nn ne ei ee a num eeoa aa i a E cari 46 PP id DIN DI B E T O T 47 APPENDIX A RELATED DOS SOFTWARE nono nnnnononnnnanononnncnnananos 47 A 1 Where is the related software ss 47 A 2 DOS LIB Function res E A E
20. ameter wSubVendor Input SubVendor ID of the board wSubDevice Input SubDevice ID of the board wSubAux Input SubAux ID of the board eo Return Please refer to Table A 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 50
21. ard by comparing it to the data from the wSlotBus 8 wSlotDevice found in step1 and step2 Note that normally the card installed in slot O is card0 and the card installed in slot1 is card1 for PIO PISO series cards PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 25 3 3 The I O Address Map The I O address for PIO PISO series cards are automatically assigned by the main board ROM BIOS The I O address can also be re assigned by the user It is strongly recommended that users do not change the I O address The Plug amp Play BIOS will effectively perform the assignment of proper I O addresses to each PIO PISO series card The I O addresses for the PIO D56 D24 are given in the table below all of which are based on the base address of each card Table 3 3 Wbase 0 RESET control register Wbase 2 Aux control register Same Wbase 3 Aux data register Same Wbase 5 INT mask control register Wbase 7 Is pin status register Wbase 0x2a INT polarity control register Same Wbase 0xc0 read PortO write PortO Wbase 0xc4 read Porti write Port1 Wbase 0xc8 read Port2 write Port2 Wbase 0xcc read configuration Port0 Port2 configuration Wbase 0xd0 read CON2 Low byte write CON1 Low byte only for PIO D56 only for PIO D56 Wbase 0xd4 read CON2 high byte write CON1 high byte only for PIO D56 only for PIO D56 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 26 3 3 1 RESET Control Register
22. board Return Please refer to Table A 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 48 A 2 3 PlO_GetConfigAddressSpace e Description The user can use this function to save the resources found on all the PIO PISO cards installed on the system Then the application program can control all the functions of PIO PISO series cards directly Syntax WORD PIO_GetConfigAddressSpace wBoardNo wBase wir wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice Parameter wBoardNo Input Board number wBase Output The base address of the board wlrq Output The IRQ number that the board using wSubVendor Output Sub Vendor ID wSubDevice Output Sub Device ID wSubAux Output Sub Aux ID wSlotBus Output Slot Bus number wSlotDevice Output Slot Device ID e Return Please refer to Table A 1 A 2 4 PIO GetDriverVersion e Description This subroutine will obtain the version number of PIODIO driver e Syntax WORD PIO_GetDriverVersion WORD wDriverVersion Parameter wDriverVersion Output Address of wDriverVersion e Return Please refer to Table A 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 49 A 2 5 ShowPIOPISO e Description This function will show a text string for a special Sub_ID This text string is the same as that defined in PIO H e Syntax WORD ShowPlOPISO wSubVendor wSubDevice wSubAux eo Par
23. gt BC declaration file gt BC large model library file gt BC huge model library file The list of demo programs DEMO D O of CON3 DEMO2 DI O of CON1 CON2 8 CON3 DEMO3 Interrupt of P2CO Initial low amp active high DEMO4 Interrupt of P2CO Initial high amp active low DEMOS 4 interrupt sources PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 47 A 2 DOS LIB Function A 2 1 Table of ErrorCode and ErrorString Table A 1 ErrorCode and ErrorString E Error ID Error String 0 NoError OK No Error 1 DriverHandleError Device driver opened error 2 DriverCallError Got the error while calling the driver functions 3 FindBoardError Can t find the board on the system 4 TimeOut Timeout 5 Ehe ae board number Valid range 0 to TotalBoards 1 6 NotFoundBoard Can t detect the board on the system A 2 2 PIO Driverinit e Description This function can detect all PIO PISO series cards in the system It is implemented based on the PCI Plug amp Play mechanism 1 It will find all PIO PISO series cards installed in this system and save all their resources in the library e Syntax WORD PIO_DriverlInit WORD wBoards WORD wSubVendorlD WORD wSubDevicelD WORD wSubAuxID o Parameter WBoards Output Number of boards found in this PC wSubVendor Input SubVendor ID of the board wSubDevice Input SubDevice ID of the board wSubAux Input SubAux ID of the
24. hom you purchased the product Save the shipping materials and carton in case you want to ship or store the product in the future PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 5 2 Hardware configuration 2 1 Board Layout NOD pcQ Old O 9950 0ld O sng lod 0000000000 p goooocccoo o gt ei D Q O LD D Figure2 1 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 6 2 2 I O Port Location The PIO D56 PIO D24 consists of one 24 bit bi directional port one 16 bit input port and one 16 bit output port only for PIO D56 The 24 bit port supports three 8 bit groups which are PA PB and PC respectively Each 8 bit group can be configured as a Di or D O port via the software Note that when the PC is first turned on or if a reset has been executed all ports are set as D I ports The I O port location is given as follows Table 2 1 Connector of PIO D56 D24 PAO PA7 PBO PB7 P2C0 PC7 CONS DI O PortO Port1 Port2 Table 2 2 Connector of PIO D56 Description CON1 D O CON2 D I Refer to Sec 2 1 for board layout amp I O port location Note P2C0 P2C1 P2C2 and P2C3 can be used as interrupt signal source Refer to Sec 2 5 for more information PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 7 2 3 Pin Assignment The Pin assignments for all connectors on the PIO
25. is used as a D I port outportb wBase 0xcc 0x00 set Port0 1 2 as D I port outportb wBase 0xcc 0x04 set Port0 1 as D I port set Port2 as D O port PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 29 3 3 8 Read Write 8 bit data Register Read Write wBase 0xc0 0xc4 0xc8 0xd0 0xd4 Dz D e pm Jm oe There are five three 8 bit I O ports in the PIO D56 PIO D24 Each port is easy to read write by access his owns data register outportb wBase 0xc0 Val Val inportb wBase 0xc0 outportb wBase 0xcc 0x07 outportb wBase 0xc0 i1 outportb wBase 0xc4 i2 outportb wBase 0xc8 i3 outportb wBase 0xcc 0x01 outportb wBase 0xc0 i1 j2 inportb wBase 0xc4 j3 inportb wBase 0xc8 L inportb wBase 0xd0 H inportb wBase 0xd4 Val H lt lt 8 L outportb wBase 0xd0 Val write to port 0 read from port 0 set PortO Port2 as DO port write to PortO write to Port write to Port2 set Port as DO port Port1 Port2 as DI port write to Port read Port read Port2 read CON2 Low byte read CON2 High byte Valis 16 bit data write to CON1 Low byte outportb wBase 0xd4 Val gt gt 8 write to CON1 high byte Ri Si oP 2 EI Ap SE SE y Note Make sure the I O port configuration DI or DO before read write the data register wBase 0xc0 0xc4 0xc8 refer to Sec 3 3 7 and Table 3 3 for more inf
26. ormation PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 30 4 Software Installation The PIO D56 D24 can be used in DOS and Windows 98 Me NT 2000 XP For Windows OS the recommended installation steps are given in Sec 4 1 42 4 1 Software Installing Procedure Step 1 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 Step 2 Click the item Install Toolkits Software Manuals Step 3 Click the item PCI Bus DAQ Card Step 4 Click PIO DIO Step 5 Click install Toolkit for Windows 98 Or Me NT 2000 XP Then the InstallShield will start the driver installation process to copy the related material to the indicated directory and register the driver on your computer The driver target directory is as below for different systems Windows NT 2000 XP The PIODIO DLL will be copied onto C WINNT SYSTEM32 The NAPWNT SYS and PIO SYS will be copied into CAWINNT SYSTEM32 DRIVERS Windows 95 98 Me The PIODIO DLL and PIODIO Vxd will be copied onto C Windows SYSTEM 4 2 PnP Driver Installation After installing the hardware PIO D56 D24 and you turn the power on for your PC Windows 98 Me 2000 XP will find a PCI card device and then ask the user to provide a PIODIO inf to install the hardware driver onto the computer
27. put Port Hex Output Port Hex J Test the PIO Card 6 2 Interrupt of P2C0 Figure 6 1 This demo program uses port as digital output port and P2CO0 as interrupt source Then port0 will output a high and low signal repeatedly according to the trigger of the interrupt source a Interrupt Demo for PIO Total Boards Wait Event Got Event Output 0x01 to Port 0 Output 0x00 to Port O Wait Event Got Event Output 0x07 to Port 0 Output 0x00 to Port 0 Wait Event Got Event Stop Interrupt Interrupt Counter 10 end Test the PIODIO Card Figure 6 2 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 46 Appendix Appendix A Related DOS Software A 1 Where the related software is The related DOS software and demos in the CD is given as follows e TC e MSC e BC e TC LIB e TC DEMO e TC DIAG e TC LIB PIO H e TC LIB TCPIO_L LIB e TC LIB TCPIO_H LIB e MSC LIB PIO H e MSC LIB MSCPIO_L LIB e MSC LIB MSCPIO_H LIB e BC LIB PIO H e BC LIB BCPIO L LIB e BC LIB BCPIO_H LIB gt for Turbo C 2 xx or above gt for MSC 5 xx or above gt for BC 3 xx or above gt for TC library gt for TC demo program gt for TC diagnostic program gt TC declaration file gt TC large model library file gt TC huge model library file gt MSC declaration file gt MSC large model library file gt MSC huge model library file
28. rror Can t reset interrupt count 11 PIODIO_IrqMaskError Irq Mask is 1 2 4 8 or 1 to OxF 12 PIODIO ActiveModeError Active Mode is 1 2 or 1 to 3 13 PIODIO_GetActiveFlagError Can t get interrupt active flag 14 PIODIO ActiveFlagEndOfQueue The flag queue is empty 5 2 Function Descriptions All of the functions provided for the PIO D24 56 are listed below with more detailed information for every function presented in the following section However in order to make the description more simple and clear the attributes for the input and output parameters of the function are indicated as input and output respectively as shown in following table Table 5 2 Keyword Setting parameter by user Get the data value before calling this function from this parameter after calling this function Input Yes No Output No Yes Input Output Yes Yes PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 33 Table 5 3 Return Type Function Definition float PIODIO_FloatSub float fA float fB short PIODIO_ShortSub short nA short nB WORD PIODIO_GetDIlVersion void WORD PIODIO Driverinit void void PIODIO DriverClose void WORD PIODIO_SearchCard WORD wBoards DWORD dwPlOCardID WORD PIODIO GetDriverVersion WORD wDriverVersion PIODIO GetConfigAddressSpace WORD wBoardNo DWORD WORD wAddrBase WORD wlrqNo WORD
29. se a wide range of AC signals You can also use this board to isolate the computer from large common mode voltage ground loops and transient voltage spikes that often occur in industrial environments as shown in Figure 2 9 Table 2 4 is the comparison of DB 24P and DB 24PD PIO D56 D24 AC or DC Signal OV to 24V Figure 2 9 Table 2 6 DB 24P DB 24PD 50 pin flat cable header Yes Yes D sub 37 pin header No Yes Other specifications Same PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 17 2 6 6 DB 24R DB 24RD Relay Board The DB 24R 24 channel relay output board consists of 24 form C relays for efficiently controlling the switch with the use of an appropriately loaded program The relays are energized by applying a 12V 24V voltage signal to the appropriate relay channel on the 50 pin flat cable connector There are 24 enunciator LEDs for each relay channel and the LED light will go on when their associated relay has been activated The control scheme is illustrated below Form C Relay Normal Open Normal Close Note Channel 24 Form C Relay Relay Switch up to 0 54 at 11040 VW or 14 at 249DCW Figure 2 10 Table 2 7 DB 24R DB 24RD 50 pin flat cable header Yes Yes D sub 37 pin header No Yes Other specifications Same Table 2 8 DB 24R DB 24RD 24 Relay 120V 0 5A DB 24PR DB 24PRD 24 Power Relay 250V 5A DB 24POR 24 Photo
30. t value fB Input 4 bytes floating point value Return The value of fA fB PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 35 9 4 5 4 1 5 4 2 Digital UO FUNCTIONS PIODIO_OutputByte Description This subroutine sends the 8 bits data to the specified I O port Syntax void PIODIO OutputByte D WORD wPortAddr WORD bOutputVal Parameter WPortAdar Input 1 O port addresses please refer to function PIODIO GetConfigAddressSpace Only the low WORD is valid bOutputVal Input 8 bit data send to I O port Only the low BYTE is valid Return None PIODIO_InputByte Description This subroutine reads the 8 bits data from the specified UO port Syntax WORD PIODIO_InputByte DWORD wPortAdar Parameter wPortAddr Input I O port addresses please refer to function PIODIO_GetConfigAddressSpace Only the low WORD is valid Return 16 bits data with the leading 8 bits are all 0 Only the low BYTE is valid PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 36 5 4 3 5 4 4 PIODIO_OutputWord Description This subroutine sends the 16 bits data to the specified I O port Syntax void PIODIO_OutputWord DWORD wPortAddr DWORD wOutputVal Parameter WPortAddr _ Input I O port addresses please refer to function PIODIO_GetConfigAddressSpace Only the low WORD is valid WOutputVal Input 16 bit data send to I O port Only the low WO
31. to the DEMO1 C demo program PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 10 The digital WO CON3 control architecture for the PIO D56 D24 is demonstrated in Figure 2 2 The operation method used for the control signal is presented below e RESET is in the Low state gt all D l O operations are disabled e RESET is in the High state gt all D I O operations are enabled e f D I O is configured as a D I port gt D l external input signal e f D I O is configured as a D O port gt D l read back of D O e f D I O is configured as a D I port gt sending data to a Digital input port will only change the D O latch register The latched data will be output when the port is configured as digital output and is activated right away JO select Sec 3 3 7 RESET Sec 3 3 1 disable D I input Latch Sec 3 3 8 Clock input DIO latch CKT disable Buffer input Sec 3 3 8 y Clock input DA buffer CKT Figure2 2 DI O Port Architecture CON3 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 11 2 4 2 DI Port Architecture CON2 The digital input CON2 control architecture for the PIO D56 is demonstrated in Figure 2 3 e RESET is in the Low state gt all DI operations are disabled e RESET is in the High state gt all DI operations are enabled RESET disable CON2 Buffer input Clock input Dil buffer CKT Figure2 3 DI Port Architecture
32. ughter board for D sub 37 pins It is designed for easy wire connection via pin to pin uE EROS E z Jj a 1 Figure 2 5 DB 37 2 6 2 DN 37 amp DN 50 The DN 37 is a general purpose daughter board for DB 37 pins with DIN Rail Mountings The DN 50 is designed for 50 pin flat cable headers win DIN Rail mountings They are also designed for easy wire connection via pin to pin We PEAL E Ds 4 AE a Figure 2 6 DN 37 DN 50 PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 2 6 3 DB 8125 The DB 8125 is a general purpose screw terminal board It is designed for easy wire connection The DB 8125 consists of one DB 37 amp two 20 pin flat cable headers AN mat pa Sir i i CH Adi Ag E w E BEN ll 20 pin flat cable header LL AL ed 5 Figure 2 7 DB 1825 2 6 4 ADP 20 PCI The ADP 20 PCI is an extender for the 20 pin header The one side of the ADP 20 PCI can be connected to a 20 pin header The other side can be mounted onto the PC chassis as is depicted by the following Figure 2 8 ADP 20 PCI PIO D56 PIO D24 User Manual Ver 2 3 JUN 2004 PPH 005 23 16 2 6 5 DB 24P DB 24PD Isolated Input Board The DB 24P is a 24 chamnel isolated digital input daughter board The optically isolated inputs of the DB 24P consist of a bi directional optocoupler with a resistor for current sensing You can use the DB 24P to sense DC signals from TTL levels up to 24V or use the DB 24P to sen
33. wBoards Output Get the total boards DwPlOCardiD Input Sub id of PIODIO card Please refer table3 1 NOTE Different versions of PIO D24 56 boards may have different Sub IDs This function will find the total amount of PIO D24 56 boards which will include all versions so it does not matter what version Sub ID you input We have demonstrated an example below wRtn PIODIO_SearchCard amp wBoards 0x800140 You will get the total number of PIO D56 D24 boards including all versions in your PC Return Please refer to Section 5 1 Error Code PIODIO DriverClose Description This subroutine closes the PIODIO Driver and releases this resource from the computers device resources This function must be executed once before exiting the user s application Syntax void PIODIO DriverClose Parameter None Return None PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 39 5 5 5 PIODIO_GetConfigAddressSpace Description Obtain the I O address and other information for the PIODIO board Syntax WORD PIODIO GetConfigAddressSpace WORD wBoardNo DWORD wAddrBase WORD wirqNo WORD wSubVendor WORD wSubDevice WORD wSubAux WORD wSlotBus WORD wSlotDevice Parameter wBoardNo Input PIODIO board number wAddrBase Output The base address of the PIODIO board Only the low WORD is valid wlrqNo Output The IRQ number that the PIODIO board is using wSubVendor Output Sub Vendor
34. wSlotBus amp wSlotDevice in the following manner 1 Remove all PIO D56 D24 boards from the PC 2 Install one PIO D56 D24 into the PC s PCI_slot1 run PIO_PISO EXE Then record the wSlotBus1 and wSlotDevicet information 3 Remove all PIO D56 D24 boards from the PC 4 Install one PIO D56 D24 into the PC s PCI_slot2 and run PIO PISO EXE Then record the wSlotBus2 and wSlotDevice2 information 5 Repeat steps 3 4 4 for every PCI_slot and record all the information from wSlotBus and wSlotDevice 6 The records may look similar to the table follows Table 3 2 PC s PCI slot WslotBus WslotDevice Slot_1 0 0x07 Slot_2 0 0x08 Slot_3 0 0x09 Slot_4 0 Ox0A PCI BRIDGE Slot_5 1 UO Slot_6 1 0x08 Slot_7 1 0x09 Slot_8 1 0x07 The above procedure will record all the wSlotBus and wSlotDevice information on a PC These values will be mapped to this PC s physical slot This mapping will not be changed for any PIO PISO card Therefore this PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 24 information can be used to identify the specified PIO PISO card by following these next 3 steps Step1 Using the wSlotBus and wSlotDevice information in table 3 2 Step2 Input the board number into funtion PIO_GetConfigAddressSpace to get the specified card s information especially the wSlotBus and wSlotDevice information Step3 The user can identify a specified PIO PISO c
35. wSubVendor WORD wSubDevice WORD wSubAux WORD wSlotBus WORD wSlotDevice WORD PIODIO_ActiveBoard WORD wBoardNo WORD PIODIO_WhichBoardActive void void PIODIO_OutputWord DWORD wPortAddress DWORD wOutData void PIODIO OutputByte D WORD wPortAddr WORD bOutputValue DWORD PIODIO_InputWord DWORD wPortAddress WORD PIODIO_InputByte D WORD wPortAdar WORD PIODIO_Intinstall WORD wBoardNo HANDLE hEvent WORD winterruptSource WORD wActiveMode WORD PIODIO_IntRemove void WORD PIODIO_IntResetCount void WORD PIODIO_IntGetCount DWORD dwIntCount PIO D56 PIO D24 User s Manual Ver 2 3 JUN 2004 PPH 005 23 34 9 3 5 3 1 5 3 2 5 3 3 FUNCTIONS OF TEST PIODIO_GetDIIVersion Description To get the version number of PIODIO DLL driver Syntax WORD PIODIO GetDIlVersion Void Parameter None Return 200 hex for version 2 00 PIODIO_ShortSub Description To perform the subtraction as nA nB in short data type This function is provided for testing DLL linkage purpose Syntax short PIODIO_ShortSub short nA short nB Parameter nA Input 2 bytes short data type value nB Input 2 bytes short data type value Return The value of nA nB PIODIO_FloatSub Description To perform the subtraction as fA fB in float data type This function is provided for testing DLL linkage purpose Syntax float PIODIO_FloatSub float fA float fB Parameter fA Input 4 bytes floating poin

Download Pdf Manuals

image

Related Search

Manual manual manualslib manual car manuale digitale manually meaning manual timesheet manual transmission manual wheelchair manual arts high school manually update your device drivers windows manual definition manual for courts martial manual labor manual lawn mower manual muscle testing manually register devices with autopilot manual muscle testing grades manual transfer switch manualidades manual blood pressure cuff manual handling manual transmission cars for sale manual digital manual pdf manual autopilot enrollment

Related Contents

POWER AMPLIFIER Manual de instrucciones  Fiche signalétique  PEG-N760C - Manuals, Specs & Warranty  Benutzerhandbuch  Manual de Ecomanejo    Installation and Operating Instructions  BCDI, mode d`emploi Sur le bureau de l`ordinateur, l`icône de BCDI  取扱説明書 - 株式会社ワーテックス  SSW7000 - Manual do Usuário  

Copyright © All rights reserved.
Failed to retrieve file