Contec PIO-16 User Manual Download Page 16

 

2. Setup 

 

 

 

PIO-16/16RY(PCI) 

9

 

2.

 

Setup 

This chapter explains how to set up the board. 

 

What is Setup? 

Setup means a series of steps to take before the product can be used. 

Different steps are required for software and hardware. 

The setup procedure varies with the OS and applications used. 

Using the Board under Windows 

Using the Driver Library API-PAC(W32) 

This section describes the setup procedure to be performed before you can start developing application 

programs for the board using the bundled CD-ROM “Driver Library API-PAC(W32)”. 

Taking the following steps sets up the software and hardware.  You can use the diagnosis program later 

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 Checking Operations with the Diagnosis Program 

If Setup fails to be performed normally, see the “Setup Troubleshooting” section at the end of this 

chapter. 

Using the Board under Windows 

Using Software Other than the Driver Library  

API-PAC(W32) 

For setting up software other than API-PAC(W32), refer to the manual for that software.  See also the 

following parts of this manual as required. 

 

This chapter Step 2 Setting the Hardware 

 

This chapter Step 3 Installing the Hardware 

 

Chapter 3  External Connection 

 

Chapter 6  About Hardware 

Summary of Contents for PIO-16

Page 1: ...PC HELPER Digital I O Board with High Voltage Isolation for PCI PIO 16 16RY PCI User s Guide CONTEC CO LTD...

Page 2: ...discover damaged or missing items contact your retailer Product Configuration List Board PIO 16 16RY PCI 1 First step guide 1 CD ROM 1 API PAC W32 1 Warranty Certificate 1 Serial number label 1 1 The...

Page 3: ...without notice All relevant issues have been considered 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...

Page 4: ...nment 7 Inspection 7 Storage 7 Disposal 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 Dri...

Page 5: ...gnment 27 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 28 Connecting Input Signals 29 Input Circuit 29 Connecting a Switch 29 Examples of Connecting the Board to an E...

Page 6: ...38 Using Sample Programs 39 Uninstalling the Driver Libraries 41 About Software for Linux 42 Driver Software Install Procedure 42 Accessing the Help File 43 Using Sample Programs 43 Uninstalling the d...

Page 7: ...vi PIO 16 16RY PCI...

Page 8: ...oth of current sink and current source outputs Capable of selecting a voltage range of 12 to 24 VDC or 24 to 48 VDC for each channel Directly accepts the output device of a leakage current OFF current...

Page 9: ...formation please visit the CONTEC s Web site Linux version of digital I O driver API DIO LNX Stored on the bundled CD ROM driver library API PAC W32 The API DIO LNX is the Linux version driver softwar...

Page 10: ...ded Cable with Two 37 pin D Type Connectors PCA37PS 0 5P 0 5m PCA37PS 1 5P 1 5m PCA37PS 3P 3m PCA37PS 5P 5m D SUB37P Male Connector Set 5 Pieces CN5 D37M Accessories Option Screw Terminal M3 x 37 EPD...

Page 11: ...rge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchas...

Page 12: ...estruction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result...

Page 13: ...th industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so could caus...

Page 14: ...s no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion Check that the bus connector of the board and its cable have been plugged correctly Storage W...

Page 15: ...1 Before Using the Product 8 PIO 16 16RY PCI...

Page 16: ...are and hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the H...

Page 17: ...this manual This chapter Step 2 Setting the Hardware 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 s...

Page 18: ...ng system as Windows XP Although some user interfaces are different depending on the OS used the basic procedure is the same Starting the Install Program 1 Load the CD ROM API PAC W32 on your PC 2 The...

Page 19: ...RY PCI Selecting the Digital I O Driver 1 The following dialog box appears to select Driver Type and Install Type 2 Select Digital I O API DIO 98 PC W95 3 Select Driver Help etc Full install 4 Click o...

Page 20: ...Show readme file check boxes are displayed When 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...

Page 21: ...up even with the factory defaults untouched You can change board settings later Parts of the Board and Factory Defaults Figure 2 1 shows the names of major parts on the board Note that the switch set...

Page 22: ...age Range The rated input voltage range of the board is 12 24 VDC or 24 48 VDC Set the jumper for each input channel to the desired voltage range depending on the corresponding input signal voltage Se...

Page 23: ...PCI bus slot A B Slit for 5 V 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 overhe...

Page 24: ...all the board first determine what PC resources are free to use The resources used by each board do not depend on the location of the PCI bus slot or the board itself If you remove two or more boards...

Page 25: ...ard Source folder The setup information INF file is contained in the following folder on the bundled CD ROM Windows XP 2000 INF Win2000 Dio PCI Windows Me 98 95 INF Win95 Dio PCI Example of specifying...

Page 26: ...dialog box appears only indicating that the relevant 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...

Page 27: ...zation of the Driver library Invoking API TOOL Configuration 1 Open the Start Menu then select Programs CONTEC API PAC W32 API TOOL Configuration 2 API TOOL Configuration detects boards automatically...

Page 28: ...I O status and interrupt status Check Method Connect the board to a remote device to text the input output and check the execution environment For this board prepare an external power supply 12 48VDC...

Page 29: ...Program Starting the Diagnosis Program Select the board in the API TOOL Configuration windows then run the Diagnosis Program The name of the board you have just added is displayed The name of the boar...

Page 30: ...pt Displays the number of interrupts detected 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 DioWaitE...

Page 31: ...n the install folder Program Files CONTEC API PAC W32 The Diagnosis Program performs board presence absence check driver file test board setting test and so on CAUTION Before executing diagnosis repor...

Page 32: ...gnosis Program is coded with API TOOL functions As long as the board operates with the Diagnosis Program it is to operate with other applications as well In such cases review your program while paying...

Page 33: ...2 Setup 26 PIO 16 16RY PCI...

Page 34: ...Cable Connector Connector Pin Assignment 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 N C I 00 I 01 I 02 I 03 I 04 I 05 I 06 I 07 I 10 I 11 I 12 I 13 I 14 I 15 I 16 I 17 ICOM0 1 N C 20 21 22 23 24...

Page 35: ...4 4 I 03 3 I 02 2 I 01 1 I 00 0 Input logical port 1 I 17 15 I 16 14 I 15 13 I 14 12 I 13 11 I 12 10 I 11 9 I 10 8 D7 D6 D5 D4 D3 D2 D1 D0 Output logical port 0 O 27 7 O 26 6 O 25 5 O 24 4 O 23 3 O 22...

Page 36: ...ustrated in Figure 3 3 For each input channel use the corresponding jumper to select a voltage range of 12 24 or 24 48 VDC depending on the voltage of the input signal The signal inputs are isolated b...

Page 37: ...vice Board Input common Input Sink type output External power supply 12 24VDC or 24 48VDC Figure 3 5 Connecting the input to the sink type output Board Input Input common Sourece type output External...

Page 38: ...emiconductor relay Semiconductor relay Load Load Output common Figure 3 7 Output Circuit The output circuits of interface blocks of the board are illustrated in Figure 3 7 The signal outputs are semic...

Page 39: ...ard Output common Output Sink output acceptable input External power supply Figure 3 9 Connecting the Output to the Sink Output Acceptable Input Sourece output acceptable input Board Output common Out...

Page 40: ...n input data is ON 1 is input to the relevant bit When the input data is OFF in contrast 0 is input to the relevant bit Data Output When 1 is output to the relevant bit the corresponding transistor is...

Page 41: ...lter Input to PC Figure 4 1 Digital Filter Function Principle Set Digital Filter Time Set the digital filter time to 0 20 14h Setting the digital filter time to 0 disables digital filtering It is set...

Page 42: ...led when the power is turned on Selecting the Interrupt Edge Interrupt edge select bits can be used to set the input logic for interruption bit by bit If you set an interrupt edge select bit to 0 an i...

Page 43: ...4 Function 36 PIO 16 16RY PCI...

Page 44: ...ml Version information on each API TOOL English 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...

Page 45: ...of specified bits Hardware digital filtering that prevents chattering For details refer to the help file The help file provides various items of information such as Function Reference Sample Programs...

Page 46: ...t by API TOOL Configuration in the DrvNo and GrpNo fields Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API...

Page 47: ...d bit Sample program 6 Services interrupts of a specified board Sample program 7 Provides process control of a specified board Sample program 8 Performs trigger monitoring of a specified board Sample...

Page 48: ...ck on the Start button on the Windows taskbar From the Start Menu select Control Panel 2 Double click on Add or Remove Programs in the Control Panel 3 Select CONTEC API DIO 98 PC xx from the applicati...

Page 49: ...river API DIO 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 ar...

Page 50: ...mple Programs Sample programs have been prepared for specific basic applications Sample programs for each language are contained in the contec cdio samples directory For compiling them refer to the ma...

Page 51: ...5 About Software 44 PIO 16 16RY PCI...

Page 52: ...nse time 200 sec within Output Output format Semiconductor relay output Number of output signal points 16 points 1 common Output voltage 120VAC DC Max Output rating Output current 100mA par channel Ma...

Page 53: ...surface of the slot cover mm 176 41 L 105 68 H Block Diagram Input Port 0 8 points Group 0 Input Port 1 8 points Group 1 Output Port 0 8 points Group 2 Output Port 1 8 points Group 3 Interrupt Control...

Page 54: ...55 0025 Japan Japanese http www contec co jp English 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 writ...

Reviews: