Digital i/o board with opto-isolation for pci, digital input board with opto-isolation for pci, digital output board with opto-isolation for pci (71 pages)
Page 2
Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items listed below. Check, with the following list, that your package is complete. If you discover damaged or missing items, contact your retailer. Product Configuration List - CNT24-4D(PCI)H …1...
No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this document. The information in this document is subject to change without notice.
When Using API-CNT(98/PC) ....................14 Executing the Installation ......................15 Step 2 Setting the Hardware ......................16 Parts of the Board and Factory Defaults ................... 16 Setting the Board ID ........................17 Setting One-shot Pulse Output Signals .................... 17 CNT24-4D(PCI)H...
Page 5
One-shot Pulse Output Connection ................... 43 Output Circuit and an Example Connection ................43 Surge Voltage Countermeasures....................... 44 FUNCTION Types and Operations of Pulse Signals .................... 45 Types of pulse signals ........................ 45 2-phase Input ..........................45 Single-phase Input ........................46 CNT24-4D(PCI)H...
Page 6
Accessing the Help File ......................60 Using Sample Programs......................60 Uninstalling the driver ....................... 60 ABOUT HARDWARE Hardware specification ........................61 Block Diagram ..........................62 Different in the specification ......................63 Differences between the CNT24-4D(PCI)H and CNT24-4D(PCI) ..........63 CNT24-4D(PCI)H...
Win32 API functions, such as Visual Basic or Visual C/C++. < Example > - Detecting a position of the table of a machine tool - Detecting a change in weight Tool CNT24-4D(PCI)H Processing thing Rack Encoder Power supply Linear Scale...
This driver is used to control CONTEC counter boards (PC Cards). You can control CONTEC counter boards easily using the shared library used by gcc, Kylix, the device driver (module) for each kernel version, and the board (PC Cards) configuration program (config).
*3 Option cable PCB96P or PCB96PS, and the cable for 37-pin D-SUB are required separately. *4 “Spring-up” type terminal is used to prevent terminal screws from falling off. Check the CONTEC’s Web site for more information on these options. CNT24-4D(PCI)H...
You can download updated driver software and differential files as well as sample programs available in several languages. Note! For product information Contact your retailer if you have any technical question about a CONTEC product or need its price, delivery time, or estimate information. Limited Three-Year Warranty CONTEC Interface boards are warranted by CONTEC CO., LTD.
WARNING indicates a potentially hazardous situation which, if not avoided, could WARNING result in death or serious injury. CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. CNT24-4D(PCI)H...
Even when using the product continuously, be sure to read the manual and understand the contents. Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this product. Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
(3) Store the package at room temperature at a place free from direct sunlight, moisture, shock, vibration, magnetism, and static electricity. Disposal When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances. CNT24-4D(PCI)H...
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 CNT24-4D(PCI)H...
Chapter 6 About Hardware For using the board under an OS such as MS-DOS other than Windows, see the following parts of this manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware CNT24-4D(PCI)H...
OS and devices in the future but will not support Windows NT 4.0, Windows 95, ISA bus. Use API-CNT(98/PC) if your operating environment contains such an unsupported piece of software or hardware. Check the following selection guide to easily select the driver to be used. CNT24-4D(PCI)H...
If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows Vista, XP, Server 2003 and 2000, log in as 7, Server 2008, a user with administrator privileges. CNT24-4D(PCI)H...
(3) Click on the [Install] button. Clicking the [API-CNT] button displays detailed information about API-CNT(WDM) and API-CNT(98/PC). Run the installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. CNT24-4D(PCI)H...
(1) The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”. (2) Select “Classic Counter input driver”. (3) Click on the [Install] button. Clicking the [API-CNT] button displays detailed information about API-CNT(WDM) and API-CNT(98/PC). CNT24-4D(PCI)H...
2) Click on the [Finish] button. Go to Step 2 to set and plug the hardware. *When the hardware has already been installed: Check “Perform a hardware setup now”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. CNT24-4D(PCI)H...
Setting method Set the type of one-shot-pulse output signals with SW2. By referring to the following table, set the one-shot pulse output signal. Channel TTL-Level output Open-collector output Factory Setting : ON Figure 2.3. Switch for setting one-shot-pulse output signals CNT24-4D(PCI)H...
Input signal Insert the Not insert the terminal terminal General-purpose(U) Phase-Z Phase-B Phase-A Figure 2.4. Terminator setting switches CAUTION Channel whose the line receiver input is not used and unused input signal should be left as “Not insert the terminal”. CNT24-4D(PCI)H...
Be sure that the personal computer power is turned off. Make sure that your PC or expansion unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. Power supply from the PCI bus slot at +5V is required. CNT24-4D(PCI)H...
In this case, you must check the resource settings. When Using API-CNT(WDM) (1) The “Found New Hardware Wizard” will be started. Select “No, not this time” and then click the “Next” button. CNT24-4D(PCI)H...
Page 28
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 the following folder on the bundled CD-ROM. \INF\Wdm\Cnt \INF\Wdm\Cnt CNT24-4D(PCI)H...
2. Setup * The name of the board you have just added is displayed. - CNT24-4D(PCI)H You have now finished installing the hardware. When Using API-CNT(98/PC) (1) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location[Advanced]”, then click on the [Next] button.
Page 30
* The name of the board you have just added is displayed. - CNT24-4D(PCI)H Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows 7, Server 2008, Vista, XP, Server 2003, 2000 \INF\Win2000\Cnt\PCI...
Page 31
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. * The name of the board you have just added is displayed. - CNT24-4D(PCI)H You have now finished installing the software. CNT24-4D(PCI)H...
- CNT24-4D(PCI)H (2) The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup (the device name should appear highlighted). Click [Properties]. CNT24-4D(PCI)H...
Page 33
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 device. You have now finished installing the initial setting of Software. CNT24-4D(PCI)H...
2. Setup When Using API-CNT(98/PC) (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32” – “API-TOOL Configuration”. (2) Click on the [CNT] icon. API-TOOL Configuration detects boards automatically. The detected boards are listed. Updating the Settings (1) Select “Save settings to registry…” from the “File” menu.
Starting the Diagnosis Program for Use of API-CNT(98/PC) Select the board in the API-TOOL Configuration windows, then run the Diagnosis Program. Follow the instructions on screen. * The name of the board you are testing is displayed - CNT24-4D(PCI)H CNT24-4D(PCI)H...
Page 37
(2) Setting the channel0. Select line receiver input for Signal Source. Use default data for other settings. Because other three channels should be the same settings, click [Use Same Mode] then. Select the [line receiver input]. Click on the [Use Same Mode]. CNT24-4D(PCI)H...
Page 38
2. Setup (3) Click [End] button to finish condition setting. [line receiver input] Click on the [End] Button. CNT24-4D(PCI)H...
Page 39
You can test following counter actions by using this diagnosis program Start counting Reset Stop counting (1) Click [Counter Start] button to Start counting Click on the [Counter Start] Button (2) The count value of each counter and their status (AI, U, A, B,and Z) will be displayed CNT24-4D(PCI)H...
Page 40
Click on the [Diagnosis Report] Button CAUTION Before executing diagnosis report output, unplug the cable from the board. (2) A diagnosis report is displayed as shown below. * The name of the board you have tested is displayed. - CNT24-4D(PCI)H CNT24-4D(PCI)H...
Turn off the power to your PC, then unplug the board. Restart the OS and delete the board settings of API-TOOL Configuration. Turn off the PC again, plug the board, and restart the OS. Let the OS detect the board and use API-TOOL Configuration to register board settings. If your problem cannot be resolved Contact your retailer. CNT24-4D(PCI)H...
To connect an external device to this board, plug the cable from the device into the interface connector shown below. Interface connector (CN1) Connector used (PCR-E96LMD ((mfd. by HONDA) Applicable connectors (PCR-E96FA ((mfd. by HONDA) Figure 3.1. Connecting the Interface Connector CNT24-4D(PCI)H...
CH0 line receiver B phase input+ L0B+ CH0 line receiver A phase input- L0A- CH0 line receiver A phase input+ L0A+ Ground Not connected N.C. [96] [48] * [Pin numbers specified by HONDA] Figure 3.2. Pin Assignments of Interface Connector < CNT24-4D(PCI)H > CNT24-4D(PCI)H...
Input pin+ Output pin+ 51Ω Varistor Internal 100Ω circuit Input pin- Output pin- 26LS32 or 51Ω Varistor equivalent to it 1kΩ Minus common Figure 3.5. Line-receiver input circuit CAUTION The general input signal uses the same circuit structure. CNT24-4D(PCI)H...
Figure 3.8. TTL-level input circuit CAUTION The general input signal uses the same circuit structure. The cable should be 1.5m or less. To prevent malfunction caused by noise, separate the circuit as much as possible from other signal cables and noise sources. CNT24-4D(PCI)H...
Surge current prevention resistor Output pin Output pin Dark-lighting bypass resistor Ground Ground Figure 3.12. Samples of Surge Voltage Protection CAUTION The protection circuit will not be effective unless it is installed less than 50cm from the load and contact. CNT24-4D(PCI)H...
* The minimum phase difference between phases-A and B is 300 nsec. Counting is not performed normally if the phase difference is less than 300 nsec. Figure 4.1. Example counting during 2-phase input CNT24-4D(PCI)H...
(phase-A/UP) while the gate control signal (phase-B/DOWN) goes high and stops counting while the gate control signal goes low. Figure 4.3. Example counting during single-phase input with gate control CNT24-4D(PCI)H...
(Phase-Z/CLR) Count value * When decremental counting in the CW direction is set, the board performs decremental counting at the rising edge of the phase-A signal while the phase-B input remains low. Figure 4.5. Example counting during synchronous clear CNT24-4D(PCI)H...
The default setting is “only the next phase-Z input is enabled once”. If phase-Z is set as negative logic, a valid signal of phase-Z input is low level. If the phase-Z/CLR input is not used, be sure to set the phase-Z to “disable the phase-Z input.” CNT24-4D(PCI)H...
A delay of more than four set-cycle clocks may occur depending on noise. If a level changes at a frequency faster than the set-sampling-clock cycle, that level change is invalidated and not correctly counted. Be sure to input signals which are less than the input frequency. CNT24-4D(PCI)H...
CAUTION The initial state is set to "line-receiver input (00H)." The line receiver input cannot be select for the general-purpose input signals when the TTL level input is used. Only TTL-level input is available. CNT24-4D(PCI)H...
The initial state varies with external connection states. A, B, and Z phase statuses lag by four cyclical clocks since the status data is available after the filter function is processed. The general-purpose input status indicates the external input status as it is. CNT24-4D(PCI)H...
Pre-set a target data and to allow the counter to output a one-shot pulse when the count data of this specified channel matched this target data. For details, refer to the help file. The help file provides various items of information such as “Function Reference”, “Sample Programs”, and “FAQs”. Use them for program development and troubleshooting. CNT24-4D(PCI)H...
5. About Software Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Cnt” – “API-CNT HELP” to display help information. CNT24-4D(PCI)H...
The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\Cnt\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Cnt” – “SAMPLE…”. (3) A sample program is invoked. CNT24-4D(PCI)H...
Page 64
5. About Software Sample Programs – Examples Counter Sample CNT1 : Basic actions of counting input signals. Timer Sample CNT2 : Using programmable timer to generate interrupt requests periodically. [Sample program 1] [Sample program 2] CNT24-4D(PCI)H...
(1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Control Panel”. (2) Double-click on the “Add or Remove Programs” in the Control Panel. (3) For use of API-CNT(WDM), select “CONTEC API-CNT(WDM) driver” and “CONTEC API-CNT(WDM) VerX.XX (Develop)” from the application list displayed.
# mount /dev/cdrom /mnt/cdrom Mount the CD-ROM. # cp /mnt/cdrom/linux/dio/cdioXXX.tgz ./ Copy the compressed file. # tar xvfz cdioXXX.tgz Decompress the compressed file....# cd contec/cdio # make Compile the file....# make install Install....# cd config # ./config...
Sample programs for each language are contained in the contec/ccnt/samples directory. For compiling them, refer to the manual for the desired language. Uninstalling the driver To uninstall the driver, use the uninstall shell script contained in the contec/ccnt directory. For details, check the contents of the script. CNT24-4D(PCI)H...
PCI bus specification 32bit, 33MHz, Universal key shapes supported *2 Dimension (mm) 121.69(L)×105.68(H) *3 Weight 120g Boards with different board numbers are different in these specifications. See Table 6.2 "Different in the specification" at the end of this document. CNT24-4D(PCI)H...
6. About Hardware Different in the specification The CNT24-4D(PCI)H different in specifications, depending on the board number as listed below. Table 6.2. Different in the specification CNT24-4D(PCI)H Board No. No.7294 No.7294A No.7294B No.7294C later Power consumption 5VDC 500mA (Max.) 5VDC 500mA (Max.) 5VDC 670mA (Max.)
Page 71
3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-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 written consent of CONTEC CO., LTD. [02232015] [03082005] Management No. A-51-006 [02232015_rev7] Parts No. LYES127...
Need help?
Do you have a question about the CNT24-4D(PCI)H and is the answer not in the manual?
Questions and answers