background image

2. Setup 

  

 

 

 

34

 

DIO-48D2-PCI 

 

 

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for DIO-48D2-PCI

Page 1: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Page 2: ...PC HELPER Bi Directional Digital I O Board for PCI DIO 48D2 PCI User s Guide CONTEC CO LTD Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 3: ...e is complete If you discover damaged or missing items contact your retailer Product Configuration List Board DIO 48D2 PCI 1 First step guide 1 CD ROM 1 API PAC W32 1 1 The CD ROM contains the driver...

Page 4: ...nsidered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONT...

Page 5: ...l 7 2 SETUP 9 What is Setup 9 Using the Board under Windows Using the Driver Library API PAC W32 9 Using the Board under Windows Using Software Other than the Driver Library API PAC W32 9 Using the Bo...

Page 6: ...al Ports Bits and Connector Signal Pins 38 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 38 Connecting I O Signals 39 I O Circuit 39 Example of Connection 39 About the...

Page 7: ...edure 51 Accessing the Help File 52 Using Sample Programs 52 Uninstalling the driver 52 6 ABOUT HARDWARE 53 For detailed technical information 53 Hardware specification 54 Block Diagram 55 Differences...

Page 8: ...vi DIO 48D2 PCI Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 9: ...tware in eight signals units in four signals unit for some inputs outputs You can use up to 48channels of the input signals as interrupt events You can use up to 48channels of the input signals as int...

Page 10: ...driver API DIO LNX Stored on the bundled CD ROM driver library API PAC W32 The API DIO LNX is the Linux version driver software which provides device drivers modules by shared library and kernel versi...

Page 11: ...PCA96P 1 5 1 5m Flat cable with single ended connector for 50 pin PCA50J 1 5 1 5m Half pitch 96 pin Female Connector Set 5 Pieces CN5 H96F Accessories Option Screw Terminal M3 x 96 EPD 96A 1 2 Screw T...

Page 12: ...with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or n...

Page 13: ...d the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING WARNING ind...

Page 14: ...or remove this product to or from the expansion slot while the computer s power or expansion unit is turned on Otherwise this product may malfunction overheat or cause a failure Be sure that the pers...

Page 15: ...sion Check that the board has no dust or foreign matter adhering Check that the bus connector of the board and its cable have been plugged correctly Storage When storing this product keep it in its or...

Page 16: ...1 Before Using the Product 8 DIO 48D2 PCI Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 17: ...r to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Checkin...

Page 18: ...ware Chapter 3 External Connection Chapter 5 About Software Chapter 6 About Hardware For using the board under an OS such as MS DOS other than Windows see the following parts of this user s guide This...

Page 19: ...M and API DIO 98 PC API DIO WDM is a new driver to perform digital I O under Windows API DIO WDM was developed to improve the conventional product version of API DIO 98 PC in the ease of use and funct...

Page 20: ...CD ROM drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button When using the Windows 7 Vista driver is automatically installed CAUTION Before installing the softwa...

Page 21: ...nced Digital I O driver 3 Click on the Install button Clicking the API DIO button displays detailed information about API DIO WDM and API DIO 98 PC Run the installation 1 Complete the installation by...

Page 22: ...lect Driver to install and Install option Usage of driver library 2 Select Classic Digital I O driver 3 Click on the Install button Clicking on the API DIO button displays detailed information on API...

Page 23: ...you are installing the software or hardware for the first time 1 Uncheck Perform a hardware setup now 2 Click on the Finish button Go to Step 2 to set and plug the hardware When the hardware has alre...

Page 24: ...s later Parts of the Board and Factory Defaults Figure 2 1 shows the names of major parts on the board Note that the switch setting shown below is the factory default DIO 48D2 PCI SW1 BOARD ID BOARD I...

Page 25: ...ard ID 0 should be used Setting Procedure To set the board ID use the rotary switch on the board Turn the SW1 knob to set the board ID as shown below BOARD ID SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Board...

Page 26: ...PCI bus slot Slit for 3 3 V PCI bus slot CAUTION Do not touch the board s metal plated terminals edge connector with your hands Otherwise the board may malfunction overheat or cause a failure If the...

Page 27: ...d can be allocated Before attempting to install the board first determine what PC resources are free to use The resources to be used does not depend on the location of the PCI bus slot or the board it...

Page 28: ...oard When the model name of hardware is displayed select Install the software automatically Recommended and then click on the Next button Source folder The setup information INF file is contained in t...

Page 29: ...2 PCI 21 You have now finished installing the hardware The name of the board you have just added is displayed DIO 48D2 PCI Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www...

Page 30: ...rdware Wizard will be started Select No not this time and then click the Next button 2 Select Install from a list or specific location Advanced and then click the Next button Artisan Technology Group...

Page 31: ...contained in the following folder on the bundled CD ROM Windows 7 32bit Vista 32bit XP 32bit Server 2003 32bit 2000 INF Win2000 Dio PCI Example of specifying the folder for use under Windows XP INF W...

Page 32: ...elevant driver has not passed Windows Logo testing and it can be ignored without developing any problem with the operation of the board In this case click on the Continue Anyway button You have now fi...

Page 33: ...select System and then select the Device Manager tab You can also open Device Manager by right clicking on My Computer and selecting Properties 2 The installed hardware appears under the CONTEC Devic...

Page 34: ...here is used later when programming The initial device name that appears is a default value You can use this default name if you wish Make sure that you do not use the same name for more than one dev...

Page 35: ...guration 2 API TOOL Configuration detects boards automatically The detected boards are listed Updating the Settings 1 Select Save setting to registry from the File menu You have now finished installin...

Page 36: ...re It can also be used as a simple checker when an external device is actually connected Using the Diagnosis Report feature reports the driver settings the presence or absence of the board I O status...

Page 37: ...s Program Starting the Diagnosis Program for Use of API DIO WDM Click the Diagnosis button on the device property page to start the diagnosis program Artisan Technology Group Quality Instrumentation G...

Page 38: ...TOOL Configuration windows then run the Diagnosis Program Follow the instructions on screen The name of the board you have just added is displayed The name of the board you have just added is display...

Page 39: ...bit by bit To use the wait time control feature click on the Wait Configuration button Use the feature when the wait time based on the DioWait or DioWaitEx function is not normal To use the function e...

Page 40: ...C API PAC W32 by the text file DioRep txt and then displayed The Diagnosis Program performs board presence absence check driver file test board setting test and so on CAUTION Before executing diagnosi...

Page 41: ...s and their return values When the board is an isolated type it has a time lag for its response between the output by a function and the actual output Consider the execution intervals between function...

Page 42: ...2 Setup 34 DIO 48D2 PCI Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 43: ...om the device into the interface connector CN1 or CN2 and CN3 shown below CN2 CN3 CN1 Figure 3 1 Interface Connector Shape CAUTION CN2 and CN3 are designed assuming the connection to any other board o...

Page 44: ...47 A46 A45 A44 A43 A42 A41 A40 A39 A38 A37 A36 A35 A34 A33 A32 A31 A30 A29 A28 A27 A26 A25 A24 A23 A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A09 A08 A07 A06 A05 A04 A03 A02 A01 2 PC7 GND 2 P...

Page 45: ...01 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 1 PC7 1 PC6 1 PC5 1 PC4 1 PC3 1 PC2 1 PC1 1 PC0 1 PB7 1 PB6 1 PB5 1 PB4 1 PB3 1 PB2 1 PB1 1 PB0 1 PA7...

Page 46: ...r Signal Pins D7 D6 D5 D4 D3 D2 D1 D0 I O Logical Ports0 1 PA7 7 1 PA6 6 1 PA5 5 1 PA4 4 1 PA3 3 1 PA2 2 1 PA1 1 1 PA0 0 I O Logical Ports1 1 PB7 15 1 PB6 14 1 PB5 13 1 PB4 12 1 PB3 11 1 PB2 10 1 PB1...

Page 47: ...e to supplied is within 1A total Figure 3 4 I O Circuit Example of Connection 2k 1 PA0 CN1 A02 pin Switch GND CN1 A01 pin GND CN1 B01 pin LED 2 PA0 CN1 B02 pin Board side When switch is ON the corresp...

Page 48: ...itch based protection feature If the 5VDC output is accidentally connected to GND the protection feature works and it may disable the board temporarily In that case turn the PC off wait for a few minu...

Page 49: ...tive high signals I O setup of the port The I O function of the port must be set properly before the board can input output data correctly Writing a control word sets each port for either input or out...

Page 50: ...1 0 0 0 0 0 1 0 82 OUTPUT OUTPUT INPUT OUTPUT 1 0 0 0 0 0 1 1 83 OUTPUT OUTPUT INPUT INPUT 1 0 0 0 1 0 0 0 88 OUTPUT INPUT OUTPUT OUTPUT 1 0 0 0 1 0 0 1 89 OUTPUT INPUT OUTPUT INPUT 1 0 0 0 1 0 1 0 8...

Page 51: ...onding bit When input data is high level 1 is input to the corresponding bit Output When 0 is output to the corresponding bit low level is output to the external part When 1 is output to the correspon...

Page 52: ...relationships between digital filter time settings and the actual digital filter times Digital Filter Time sec 2n 8 x 106 n setting data 0 20 Setting Data n Digital Filter Time Setting Data n Digital...

Page 53: ...he input signal edge selection bit can be used to set the input logic for interruption bit by bit If you set an input signal edge selection bit to 0 an interrupt occurs when the input value to the cor...

Page 54: ...4 Function 46 DIO 48D2 PCI Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 55: ...APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS WDM Win2000 Win95 linux Linux driver file cnt dio Readme Readme file for each driver Release...

Page 56: ...98 PC from the Start Menu select Programs CONTEC API PAC W32 Dio API DIO HELP to display help information Using Sample Programs Sample programs have been prepared for specific basic applications For...

Page 57: ...data from to a programmable board Sample program 4 Inputs digital data from a specified port in the background Sample program 5 Inputs outputs digital data from to a specified bit Sample program 6 Se...

Page 58: ...r use of API DIO WDM select CONTEC API DIO WDM driver and CONTEC API DIO WDM VerX XX Develop from the application list displayed For use of API DIO 98 PC select CONTEC API DIO 98 PC xx VerX XX Develop...

Page 59: ...LNX is supplied as a compressed file linux dio cdioXXX tgz on the bundled API PAC W32 CD ROM Note XXX represents the driver version Mount the CD ROM as shown below copy the file to an arbitrary direct...

Page 60: ...specific basic applications Sample programs for each language are contained in the contec cdio samples directory For compiling them refer to the user s guide for the desired language Uninstalling the...

Page 61: ...tion For detailed technical information For further detailed technical information Technical Reference including the information such as an I O map configuration register etc visit the Contec s web si...

Page 62: ...ble distance of signal extension Approx 1 5m depending on wiring environment Bus specification PCI 32bit 33MHz Universal key shapes supported 2 Dimension mm 176 41 L x 106 68 H Connector CN1 96 pin ha...

Page 63: ...High 4 points 1 B port 8 points 2 C port High 4 points 2 B port 8 points 2 A port 8 points TTL transceiver TTL transceiver TTL transceiver TTL transceiver TTL transceiver TTL transceiver TTL transcei...

Page 64: ...CI is connector pin compatible with the conventional PIO 48D PCI but has the following differences from it PIO 48D PCI DIO 48D2 PCI Digital filter function None Have Selecting the Interrupt Edge None...

Page 65: ...glish http www contec com Chinese http www contec com cn No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 7292011 06082007 M...

Page 66: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Reviews: