Home

PCX-4288 - Audon Electronics

image

Contents

1. ByVal cardNo As Long ByVal portNo As Long ByVal bitNo As Long As Long Delphi Function W_4288 Set _RelayBit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 bitNo Channel Number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 36 PCX4288 User s manual 6 13 W_4288_Reset_RelayBit Description Set a relay channel Off dis energized Syntax C C Dos WORD D 4288 Reset RelayBit WORD cardNo WORD portNo WORD bitNo C C Windows WORD W 4288 Reset RelayBit WORD cardNo WORD portNo WORD bitNo Visual BASIC Windows Function W_ 4288 Reset _RelayBit ByVal cardNo As Long ByVal portNo As Long ByVal bitNo As Long As Long Delphi Function W 4288 Reset RelayBit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 bitNo Channel Number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 37 PCX4288 User s manual 6 14 D_4288 Read_IntStatus Description Get the interrupt status for DOS only Syntax C C DOS WORD D 4288 Read _IntStatus WORD cardNo WORD IntStatus Argument cardNo card number set by jumper on the card IntStatus return PCI interrupt status if bitO 1 interrupted by channel 0 DI_0 if bit1 1 interrup
2. Industrial type termination blocks permit heavy duty and reliable signal connections Table top mounting using nylon standoffs Screws and washers provided for panel or wall mounting Dimensions 80mm W x 181mm H 37 pin D type connector 43 44
3. channel 0 DI_0 Bit 0 1 or 0 rising or falling edge Interrupt Bit 1 1 or 0 enable Disable interrupt Int2Mode Interrupt mode of channel 8 DI_8 Bit 0 1 or 0 rising or falling edge Interrupt Bit 1 1 or 0 enable disable interrupt userlntServiceRoutine user Interrupt service routine called when interrupt occurs Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 40 PCX4288 User s manual PCX4288 User s manual 6 17 W_4288_IntDisable Description Disable interrupt of digital input channel 0 DI_O and channel 8 DI_8 Syntax C C Dos WORD W_4288 IntDisable WORD cardNo C C Windows WORD W_4288 IntDisable WORD cardNo Visual BASIC Windows Function W_ 4288 IntDisable ByVal cardNo As Long Delphi Function W_ 4288 IntDisable cardNo Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 41 42 PCX4288 User s manual PCX4288 User s manual Chapter 7 PI 837 Terminal board PlI 837 Screw terminal termination board features one 37 pin D type connector for easy maintenance wiring and installation It provides 37 channels that are accessed through a 37 pin D type connector 7 1 Main features Low cost screw terminal board for the all PCX series with 37 pin D type connector Reserved space for signal conditioning circuits such as low pass filter voltage attenuator and current shunt
4. voltage DC 5 24V 0 1KHz Windows 98 2000 NT Me XP DLL For VB VC BC5 the functionsDescriptions are included in this user s guide Windows 98 2000 NT Me XP Activex For Windows s applications LabVIEW Driver Contains the VIs which are used to interface with NI s Input impedance 4 7K ohm or optional 47K ohms for 24Vdc input range Response time 20u Sec Isolated 500v channel channel channel Ground LabVIEW e software package Supporting Windows 95 98 NT 2000 The Interrupt Pos or Neg edge interrupt programmable Ch 0 Ch 8 LabVIEW e drivers are free shipped with the board Software InTouch Driver Contains the InTouch driver which support the Windows Software Toolkit DLL ACtiveX for Windows 98 2000 NT XP 98 2000 NT XP The The InTouch drivers are free shipped with the board Software Toolkit for Labview Intouch Environmental Power requirements 5V 600mA typical Operation Temp 0 to 50C Storage Temp 20 to 70C Humidity 0 to 90 none condensing Dimensions 180 X 105 mm PCX4288 User s manual PCX4288 User s manual Chapter 2 This chapter describes how to install the PCX 4288 card Please follow the follow steps to install the PCX 4288 card Installation 2 1 What You Have In addition to this User s Manual the package includes the following items PCX 4288 board Driver utilities CD This user s manual If any of these items is missing or damaged contact the dealer fro
5. 4288 User s manual Chapter 4 4 1 Card number setting Maximum four PCX 4288 cards can be installed in system simultaneously with each J um per setti n g has a unique card number A jumper called ID See page 11 on the card is used to set the card number starts from 1 to 4 5 Card number 1 default setting 888 S 5 O le ER anos 58 anuk 5 8888 Oj o GZ 5 19 20 PCX4288 User s manual Chapter 5 Operation Theorem 21 PCX4288 User s manual 5 1 Digital Input Channels The isolated digital inputs of PCX 4288 can accept both dry contact input and voltage input wet contact The input voltage range form OV to 24V and input resistor is 4 7K ohms 47K option The connection between outside signal and PCX 488 is shown in Figure 5 3 Dry contact input Din e Voltage input DI_n 0 15 Figure 5 3 digital inputs of PCX 4288 5 2 Digital Output Channels On PCX 4288 the COM_n pin is used as relay channel n COMMON NO_n pin is used as relay channel n normal open output and NC_n pin is used as relay channel n normal close output The block as shown in Figure 5 4 Figure 5 4 relay output of PCX 4288 PCX4288 User s manual 5 3 Edge Change Detection The ECD Edge Change Detection detection circuit is used to detect the edge of level change In the PCX 4288 the detection circuit is applied to two inp
6. 5 NC_12 O O 13 NO_12 SE 3 NOD E 26 25 oO Converting cable E 33 12 NC 11 O 12 NC_11 22 21 11 COM_11 O 20 19 10 NO_11 O 11 com_11 18 17 9 NC_10 O 16 15 8 COM_10 O nono NC_15 25 de d A Note O O 9 NC_10 COM_15 24 10 9 5 COM_9 NO_15 23 8 7 4 NO_9 O 8 Com_10 NC_14 GC e 5 NC_8 O COM_14 21 4 3 2 COM_8 O 7 NoO_10 NO_14 20 2 1 1 NO_8 NC_15 25 O O 6 NC_9 CN1 COM_15 24 O O coms n pin number of 37 pin D type connectc NO_15 23 O O 4 NO_9 NC_14 22 O O 3 NC_8 COM_14 21 O O 2 coms NO_14 20 O O 1 NO_8 CN1 Figure 2 2 Pin Assignment of PCX 4288 connector CN1 Legend NO_n Relay output channel n normal open NC_n Relay output channels n normal close COM n Relay common n 13 14 PCX4288 User s manual Chapter 3 Registers Format 15 PCX4288 User s manual This information is quite useful for the programmers who wish to handle the card by low level programming However we suggest user have to understand more about the PCI interface then start any low level programming In addition the contents of this chapter can help users understand how to use software driver to manipulate this card 3 1 PCI PnP Registers There are two types of registers PCI Configuration Registers PCR and Peripheral Interface Bus PIB The PCR which is compliant to the PCl bus specifications is initialized and controlled by the plug amp p
7. D_4288 Read_IntStatus eee ceeeneeeeeeeeeeeseeeeeesaeeeenneeeeeenaeeeeseaas 38 6 15 W_4288 Clear_IntStatus 0 eee ee enneeeeeereeeeenneeeeeeaeeeeeseaeeeeneeeeneaa 39 6 10 W 4288 IntEnableic cisicincsctese cake isla Reder ARENS ege 40 6 17 W_4288 IntDisable cccccccccecseececesseeeceeeeeeesaeeeseesaeeeseeeeeeesseeeeneaas 41 Chapter 7 PI 837 Terminal DOard 2 2cecseeeceeee cece eeeeee cece ee eeeeeeaeeeeeeeeeeeeeeeanes 43 Z I Main features 43 4 PCX4288 User s manual PCX4288 User s manual Chapter 1 1 1 Introduction i The PCX 4288 is a 16 ch relay actuator and 16 ch isolated digital input card for the l ntrod u cti O n PCI bus Its sixteen on board SPDT relays are ideal for applications such as device ON OFF control or small power switched For easy monitoring each relay is equipped with one red LED to show its ON OFF status The PCX 4288 s sixteen optically isolated digital input channels are ideal for digital input in noisy environments or with floating potentials This I O card fully implements the PCI local bus specification Rev 2 1 All bus relative configurations such as base memory and interrupt assignment are automatically controlled by BIOS software 1 2 Features The PCX 4288 isolated digital I O card provide the following advanced features 16 relay output channels and 16 isolated digital input channels LED indicators to show activated relays Output status read back Keep rela
8. PCI slot selection The PCI card can be inserted to any PCI slot without any configuration for system resource PCX4288 User s manual 2 4 PCB Layout Eegenen 165 mm MM ae 0020000 900000000 PCX 4288 oI IC PCI Bus 4 i Controller g a e _ TOT JP1 Where CN1 Optical digital input and relay channel 0 channel 7 connector JP1 Relay channel 8 channel 15 connector ID Card number selection jumper 11 PCX4288 User s manual 2 5 Installation Procedures 1 Turn off your computer 2 Turn off all accessories printer modem monitor etc connected to your computer 3 Remove the cover from your computer 4 Setup jumpers on the card 5 Before handling the PCI cards discharge any static buildup on your body by touching the metal case of the computer Hold the edge and do not touch the components 6 Position the board into the PCI slot you selected 7 Secure the card in place at the rear panel of the system 2 6 Device Installation for Windows Systems 12 Once Windows 95 98 2000 has started the Plug and Play function of Windows system will find the new PCX cards If this is the first time to install PCX cards in your Windows system you will be informed to input the device information source PCX4288 User s manual 2 7 Connector Pin Assignment of PCX 4288 There are two connectors labeled CN1 and CN2 The CN1 connector is a 37 pin D type connector and CN2 con
9. PCX4288 User s manual PCX 4288 16 channel isolated Digital Input and 16 channel relay output Copy Right Notice The information in this manual is subject to change without prior notice in order t o improve reliability design and function and does not represent a commitment on the part of the manufacturer No part of this manual may be reproduced copied or transmitted in any form without the prior written permission of manufacturer Acknowledgment Products mentioned in this manual are mentioned for identification purpose only Products manes appearing in this manual may or may not be registered trademarks or copyright of their respective companies Printed Mar 2005 Rev 1 1 PCX4288 User s manual PCX4288 User s manual Table of Contents Chapter 1 Introduction iiss ege e sits eege geben Eege Ae 5 1 15 Introduction iiser Sel sees eee ete et nee ee St eens 6 CMN GE 6 E Wiele e EE 6 Ee le EE 7 1 5 Software Gupportimg eeeeeee eens eeeeneeeeeeeeeeeseeeeeeeaeeeeeeaeeeeneeeene 8 1 6 Programming Ubram nnne 8 Chapter 2 Installation icsccofisccices sci ENEE EE a a NE a ALADA aka 9 2A What YOu Haves staves eege e Eder tet acid eee aa tees Ean Ee 10 SZ UNPACKING evsee3s ccsee3es coeeocen shack eege 10 2 3 Hardware Installation Outline ccceceesece cece eeeeeeeeeeeeeeeeeeeeaeeeeeeeeeenees 10 SZ PEBiLayOuts ce eege gaere REENEN 11 2 5 Installation PDrocedures neee 12 2 6 Device Installation for Window
10. ass through address are assigned by system BIOS directly PCX 4288 cards have to be initialized by this function before calling other functions Syntax C C Dos WORD D 4288 Open WORD cardNo C C Windows WORD D 4288 Open WORD ExistCards Visual BASIC Windows Function W_4288 Open ByRef Exitedcards As Long As Long Delphi Function W_4288 Open var ExistedCards Integer Integer Argument CardNo card number be opened for DOS only existCards The number of installed PCX 4288 cards for Windows only This return value shows how many PCX4288 cards are installed in your system Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 28 PCX4288 User s manual 6 5 W_4288_GetCardsID Description Get the cards number that is set by jumper on cards Syntax C C DOS void D 4232 GetCardsID WORD CardsIDArray C C Windows WORD W 4288 GetCardsID WORD CardsIDArray Visual BASIC Windows Function W 4288 GetCardsID ByRef CardsIDArray As Long As Integer Delphi Function W 4288 GetCardsID var CardsIDArray Word Word Argument Cards IDArray This array return card number 1 2 3 4 which is set by jumper on card You should define a 4 elements array and then pass the array s pointer to this function Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 29 PCX4288 User s manual 6 6 W_4288 Version Description PCIDAQ DLL driver drives the PCX 4288 cards T
11. ddress Base 0x00h UO control registers Attribute Write only Address Base 0COh Base OEOh Value 01 Attribute Read Write PCI Internal special control register Value PCX 4288 internal control register should be written with value OFH before controlling PCX 4288 card Port Mode Ree Address Base 002h ee ee Attribute Write only Base 0C0h Write Write data to relay output port 0 NO_O NO_7 Value always are OFh Read Read back current relay port 0 data NO_O NO_7 Interrupt mask control register Write Write data to relay output port 1 NO_8 NO_15 Enable or disable PCI interrupt INT A Base 0C4h Read back current relay port 1 det Address Base 0x05h Read NO NO 15 Attribute Write only Base 0CC Write No used Value 10H enable PCI INT A Read Read digital input port 0 DI_O DI_7 OOH disable PCI INT A gt gt silweneleuged ee 2 Interrupt mode control register Base 0E0 Rp Control the interrupt mode of DI_O and DI_8 channels e Reed Read cional Input port PLS HEEN Address Base 0x03h Table 3 1 Attribute Write only Value bit 1 0 Disable interrupt form DI_O bit 1 1 bit 0 0 Enable falling edge interrupt form DI_O bit 1 1 bit 0 1 Enable rising edge interrupt form DI_O bit 3 0 Disable interrupt form DI 9 bit 3 1 bit 2 0 Enable falling edge interrupt form DI_8 bit 3 1 bit 2 0 Enable rising edge interrupt form DI_8 17 18 PCX4288 User s manual PCX
12. his function returns the version of PCIDAQ DLL driver Syntax C C Dos void D 4288 Version char version C C Windows WORD D 4288 Version void Visual BASIC Windows Function W 4288 Version As Long Delphi Function W_4288 Version Integer Return Code Version Version string DOS only The version of PCIDAQ DLL 30 PCX4288 User s manual 6 7 W_4288_GetBusSlot Description Get the PCI bus and slot occupied by PCX 4288 Syntax C C Dos WORD D 4288 GetBusSlot WORD cardNo WORD bus WORD slot C C Windows W_4288 _GetBusSlot WORD cardNo WORD bus WORD slot Visual BASIC Windows Function W 4288 GetBusSlot ByVal cardNo As Long ByRef bus As Long ByRef slot As Long As Long Delphi Function W 4288 GetBusSlot cardNo Integer var portNo Integer var bitNo Integer Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card Bus return PCI bus Number Slot return PCI slot Number of the bus Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 31 PCX4288 User s manual 6 8 W_4288 Close Description The IRQ and base_address of PCX 4288 pass through address are assigned by system BIOS directly This function should be called to release all system resource before terminate application program Syntax C C Dos WORD D 4288 Close WORD cardNo C C Windows W 4288 Close void Visual BASIC Windows Function W_4288 Close Delphi Function W_4288 C
13. lay PnP PCI BIOS The PCI bus controller Tiger 100 320 is provided by Tigerjet Network Inc www tjnet com For more detailed information of PIB please visit Tigerjet technology s web site to download relative information It is not necessary for users to understand the details of the PIB if you use the software library The PCI PnP BIOS assigns the base address of the PIB The assigned address is located at offset 14h of PIB The 4264 board registers are in 32 bit width But only lowest byte bit0 bit7 is used The users can access these registers by only 32 bit I O or 8 bit I O instructions The following sections show the address map including descriptions and their offset addresses relative to the base address 16 PCX4288 User s manual PCX4288 User s manual 3 2 Digital Input Output Register Address Map Interrupt status register There are 16 isolated digital inputs and 16 relay output channels on PCX 4288 each Read the interrupt status of DI_O and or DI_8 channels or clear the interrupt bit of based address is corresponding to a signal on the digital input or output Status register channel Address Base OC8h 3 3 PCI controller register address map Attribute Read write Reset control register Value The PCX 4288 is in inactive state when the system power on and should be Write any data to clear interrupt status activated by set bit o of this register to 1 state Read bit 0 DI_0 interrupt bit 1 DI_8 interrupt A
14. lose Argument None Return Code None 32 PCX4288 User s manual 6 9 W_4288 ReadDI Description This function is used to read data from digital input port There are two 8 bit digital inputs on the PCX 4288 You can get 8 bit input data from PCX 4288 by calling this function Syntax C C Dos WORD D 4288 ReadDI WORD cardNo WORD portNo WORD DiData C C Windows W 4288 ReadDI WORD cardNo WORD portNo WORD DiData Visual BASIC Windows Function W 4288 ReadDI ByVal cardNo As Long ByVal portNo As Long ByRef DiData As Long As Long Delphi Function W 4288 ReadDI cardNo Integer portNo Integer var DoData Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Digital Input port number 0 or 1 DiData return digital input data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 33 PCX4288 User s manual 6 10 W_4288_WriteRelay Description This function is used to write data to output port There are two 8 bit digital outputs port on the PCX 4288 You can send 8 bit output data toPCX 4288 by calling this function Syntax C C Dos WORD D 4288 WriteRelay WORD cardNo WORD portNo WORD Data C C Windows W 4288 WriteRelay WORD cardNo WORD portNo WORD Data Visual BASIC Windows Function W_4288 WriteRelay ByVal cardNo As Long ByVal portNo As Long ByVal Data As Long As Long Delphi Function WM 4288 WriteRelay cardNo Integer portN
15. m whom you purchased the product Save the shipping materials and carton in case you want to ship or store the product in the future 2 2 Unpacking Your PCX 4288 card contains sensitive electronic components that can be easily damaged by static electricity The operator should be wearing an anti static wristband grounded at the same point as the anti static mat Inspect the card module carton for obvious damage Shipping and handling may cause damage to your module Be sure there are no shipping and handing damages on the module before processing After opening the card module carton extract the system module and place it only on a grounded anti static surface component side up Again inspect the module for damage Press down on all the socketed IC s to make sure that they are properly seated Do this only with the module place on a firm flat surface 2 3 Hardware Installation Outline PCI configuration The PCI cards are equipped with plug and play PCI controller it can request base addresses and interrupt according to PCI standard The system BIOS will install the system resource based on the PCI cards configuration registers and system parameters which are set by system BIOS Interrupt assignment and memory usage I O port locations of the PCI cards can be assigned by system BIOS only These system resource assignments are done on a board by board basis It is not suggested to assign the system resource by any other methods
16. nector is a 40 pin FRC connector The CN2 can be converted to 37 pin D type connector by using converting cable attached in the package The pin assignment of the CN2 37 pins D type connector includes the isolated digital input channels DI_O DI_15 and relay output channels Relay_O Relay_7 The CN2 pin assignment is as shown in Figure 2 1 CH 19 COM 0 COMm_7 37 O O 18 NO_o NO_7 36 O O 17 DI_GND com_6 35 O O eps NO_6 34 O O Dap COM_5 33 O O Dap NO_5 32 O O 13 DI_12 com_4 31 O O 12 DI_11 NO_4 30 O O 11 DI_10 Nc_3 29 O O 10 DI_9 COM_3 28 O O ops NO_3 27 O O 8 DI_7 NC_2 26 O O 7 DL6 COM_2 25 O O 6 DL5 NO_2 24 O O pa NC_1 23 O O 4 DL3 COM_1 22 O O 3 DI_2 NO1 21 O O op nc_o 20 O O 1 DLo CN2 Figure 2 1 Pin Assignment of PCX 4288 connector CN2 Legend DI_n Digital input output channel n DI_GND Ground return path of input channels NO_n Relay output channel n normal open NC_n Relay output channels n normal close COM_n Relay common n PCX4288 User s manual The CN1 pin assignment is as shown in Figure 2 2 O O O 18 NC_13 O O 17 COM_13 O 40 39 O 16 NO_13 38 37 O 36 35 18 NC_13 O 15 NC_12 34 33 17 COM_13 O 32 31 16 NO_13 O 14 COM 12 30 29 1
17. o Integer Data Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 Data Data be written to output port Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 34 PCX4288 User s manual 6 11 W_4288_ReadRelay Description This function is used to read current data of realy output port There are two 8 bit digital outputs port on the PCX 4288 You can read back 8 bit output data of PCX 4288 by calling this function Syntax C C Dos WORD D 4288 ReadRelay WORD cardNo WORD portNo WORD RelayData C C Windows WORD W 4288 ReadRelay WORD cardNo WORD portNo WORD RelayData Visual BASIC Windows Function W 4288 ReadRelay ByVal cardNo As Long ByVal portNo As Long ByRef RelayData As Long As Long Delphi Function W 4288 ReadRelay cardNo Integer portNo Integer var DoData Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 Data Return current output data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 35 PCX4288 User s manual 6 12 W_4288_Set_RelayBit Description Set a relay channel ON energized Syntax C C Dos WORD D 4288 Set _RelayBit WORD cardNo WORD portNo WORD bitNo C C Windows W 4288 Ger _RelayBit WORD cardNo WORD portNo WORDbitNo Visual BASIC Windows Function W 4288 Set RelayBit
18. roject Delphi 1 Add file Include Declare pas in your project 2 Add this sentence uses Declare in the head of your unit pas C Builder 1 Add file Include PCIDAQ H and Lib PCIDAQ_CB ib to your project 2 Add this sentence include Include PCIDAQ H to head of your main file Note For more information please refer to program in directory Example 25 26 PCX4288 User s manual 6 3 Summary of function calls Function Description Page W_4288 Open E E card before using other 28 W_4288_GetCardsID Get PCX4288 card number 29 W_4288 Version Get version number of PCIDAQ DLL 30 W_ 4288 GetBusSlot Ee and slot number occupied by 31 W_4288 Close e card before terminating 32 W_4288_ReadDi Read digital input port data 8 bit 33 W_4288_WriteRelay Write data 8 bit to digital output port 34 W_4288_ReadRelay Read back current relay port value 35 W_4288 Set_RelayBit Set a bit of port to high 36 W_4288_Reset_RelayBit Reset a bit of port to low 37 D_4288 Read_IntStatus Read interrupt status register DOS only 38 W_4288 Clear_IntStatus Clear interrupt status register 38 W_4288_IntEnable Enable digital input change interrupt 39 W_4288 IntDisable Disable digital input interrupt 41 27 PCX4288 User s manual 6 4 W_4288_Open Description Because the PCX 4288 is PCI bus architecture and meets the plug and play design the IRQ and base_address p
19. s Gvstems 12 2 7 Connector Pin Assignment of PCX 4288 00 ceececeeceeeeeeeeeeeeaeeeeeeeeeeees 13 Chapter 3 Registers Formmat 2 cccccecsseecceceeeeeeeeeeeeeeeeeeeeeenaeeeeeeeseseeeeneeeeeees 15 SL PCIPNP Registers 2 lt 33 2c Serie e Een aaa eae 16 3 2 Digital Input Output Register Address Map 17 3 3 PCI controller register address map 17 Chapter 4 Jumper setting REENEN 19 4 1 Card number setting ENNEN eee een asd 20 Chapter 5 Operation Theorem keen 21 5 1 Digital Input Channels A 22 5 2 Digital Output Channels AA 22 5 3 Edge Change Detection 2 0 ccs0 i ene eee sic eieetee 23 Chapter O Libraries A aaae e aaa aa a aa aia aa a T aaa e A aa aaa a Paa aa iaaa aaa aiaiai 25 6 1 Libraries Installation ccccccceccececeeeceeeeeaeceeeeeseseneaeeeeeeeeeeceaeaeeeeeeneees 26 6 2 Howto use the Functions in PCIDAQ DL 26 6 3 Summary of function calls seresa 27 BA WR Opaka aa Eh eh 28 6 5 W4288_GetQards Dine eeii tiada die iaceat 29 6 6 W 24288 VOrSIOM ss secssssceacveaseocecnagczee vate paino apatia eaea eiieeii 30 DI W 4288 GetB sSlobi innana a E vane 31 0 8 W24288 Close Aere aere a a rial elie a N 32 BH W 4288 Reeg gedeit dE a a e idi edane 33 6 10 W_4288_WriteRelay ceecceecceeseeceeeeeeneeceeeeeeaeeseeeeeaeeeeeeeseeeseneeseeeeeas 34 PCX4288 User s manual 6 11 W_4288 Readt elay nr nnnnn ennn 35 6 12 W_4288 Get Relavbn 36 6 13 W_4288 Heset Helzavbn 37 6 14
20. ted by channel 9 DI_8 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 38 PCX4288 User s manual 6 15 W_4288_Clear_IntStatus Description Clear interrupt by writing data to Base Port 0xC8 Syntax C C Dos WORD D 4288 Clear _IntStatus WORD cardNo C C Windows W_ 4288 Clear IntStatus WORD cardNo Visual BASIC Windows Function W 4288 Clear IntStatus ByVal cardNo As Long As Long Delphi Function W_ 4288 Clear IntStatus cardNo Integer Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 39 PCX4288 User s manual 6 16 W_4288_IntEnable Description Enable Interrupt of channel 0 DI_0 and or channel 8 DI_8 Syntax C C Dos WORD D 4288 IntEnable WORD cardNo WORD Int1Mode WORD Int2Mode User Interrupt HANDLER userIntServiceRoutine C C Windows WORD W 4288 IntEnable WORD cardNo WORD Int1Mode WORD Int2Mode User Interrupt HANDLER userIntServiceRoutine Visual BASIC Windows Function W_4288 IntEnable ByVal cardNo As Long ByVal IntliMode As Long ByVal Int2Mode As Long ByVal userIntServiceRoutine As Long As Long Delphi Function WM 4288 IntEnable cardNo Integer Int1lMode Integer Int2Mode Integer userIntServiceRoutine Pointer Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card Int1 Mode Interrupt mode of
21. ut channels DIO_O and DIO_8 If channel is programmed to be rising edge or falling edge interrupt mode the ECD detection circuit generate an interrupt request when the signal inputs are changed from low to high level or high to low level respectively Rising Edge Interrupt DLOorDL8 JF LJ Le J L ECD TT IT INTL TL TL TL Generate Interrupt Falling Edge Interrupt DI_O or DI_ amp TI IT ECD TLL TL NT TL JL Be ee Generate Interrupt Figure 5 5 Debounce block diagram of PCX 4288 23 PCX4288 User s manual 24 PCX4288 User s manual PCX4288 User s manual C h This chapter describes the software library for operating this card Only the functions apter 6 in DOS library and Windows 98 2000 DLL are described Please refer to the PCIDAQ function reference manual which included in Inlog CD for the descriptions Libraries of the Windows 98 NT 2000 DLL functions 6 1 Libraries Installation The device drivers and DLL functions of Windows 98 NT 2000 are included in the PCIDAQ The Inlog CD also includes the detail examples and readme files 6 2 How to use the Functions in PCIDAQ DLL VC 6 0 1 Add file Include PCIDAQ H in your project 2 In link page of menu project setting add LIB PCIDAQ LIB in the blank of Objects Library Modules 3 Add this sentence include Include PCIDAQ H to the head of your main file Visual BASIC 1 Add file Include Declare bas in your p
22. y output values when hot system software reset High voltage isolation on input channels 2 500 V oc On board digital filter circuit High over voltage protection 70 V pc Wide input range 0 30 V oc Interrupt handling capability 37 pin D type connector Board card number 1 3 Applications Laboratory and Industrial automation Industrial ON OFF control Switch status sensing PC based Industrial Machinery Testing amp Measurement Laboratory amp Education External relay driving PCX4288 User s manual PCX4288 User s manual 1 4 Specifications 1 5 Software Supporting Relay Outputs Inlog provides versatile software drivers and packages for users different approach Contact Rating 0 3A 120V AC DC 1A 30V DC to built up a system We not only provide programming library such as DLL for many Windows systems but also provide drivers for many software package such as Contact arrangement Output channel 0 3 are form C LabVIEW Intouch and so on All the software options are included in the Output channel 4 7 are Form A provided CD Operating time 5 mSec 1 6 Programming Library Release time 10 mSec The provided CD includes the function libraries for many different operating systems Expected life gt 100 000 times at 30V 1A including Isolated Inputs DOS Library Borland C C and Microsoft C the functions descriptions Type opto isolated PC 814 are included in this user s guide Input

Download Pdf Manuals

image

Related Search

Related Contents

Series 90-70 Programmable Controller Data Sheet Manual, GFK  First Alert FE3A10 User's Manual  Bluestork BS-KB-MFIRST2/SP  DYMO RHINO 5200  Z-MS製品概要    Sony GV-D300E User's Manual  Metra 95-7861 mounting kit  Speco Technologies SIPSD10X Security Camera User Manual  Sony CMT-U1BT User's Manual  

Copyright © All rights reserved.
Failed to retrieve file