background image

1. Before Using the Product 

  

 

 

 

6

 

CNT32-4MT(LPCI) 

Environment 

Use this product in the following environment. If used in an unauthorized environment, the board may 
overheat, malfunction, or cause a failure. 

Operating temperature 

0 - 50

°

C

 

Operating humidity 

10 - 90%RH (No condensation)

 

Corrosive gases 

None 

Floating dust particles 

Not to be excessive 

Inspection 

Inspect the product periodically as follows to use it safely. 

- Check that the board has

   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 

When storing this product, keep it in its original packing form. 

(1)  Put the board in the storage bag. 

(2)  Wrap it in the packing material, then put it in the box. 

(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. 

Summary of Contents for CNT32-4MT

Page 1: ...PC HELPER 4ch 32Bit Up Down High Speed Counter Board for Low Profile PCI CNT32 4MT LPCI User s Guide CONTEC CO LTD ...

Page 2: ...ollowing list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board CNT32 4MT LPCI 1 First step guide 1 CD ROM 1 API PAC W32 1 Bracket for PCI 1 1 The CD ROM contains the driver software and User s Guide this guide CD ROM API PAC W32 Board First step guide Bracket for PCI ...

Page 3: ...nge 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 LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this product Tr...

Page 4: ...ons 5 Environment 6 Inspection 6 Storage 6 Disposal 6 2 SETUP 7 What is Setup 7 Using the Board under Windows Using the Driver Library API PAC W32 7 Using the Board under Windows Using Software Other than the Driver Library API PAC W32 7 Using the Board under an OS Other than Windows 8 Step 1 Installing the Software 9 About the driver to be used 9 Starting the Install Program 10 When Using API CNT...

Page 5: ...g 32 Symptoms and Actions 32 If your problem cannot be resolved 32 3 EXTERNAL CONNECTION 33 Using the On Board Connectors 33 Connecting a Board to a Connector 33 Connector Pin Assignment 34 How to Connect the Counter Input Signal 36 Example Connection for Counter Input Circuit 36 Example Connection with a Rotary Encoder 38 Example Connection with a Linear Scale 38 Connecting the control signal inp...

Page 6: ...pling 55 Hardware event 56 Types of hardware events 56 Control input signal 57 Control output signal 58 Count match 59 Counter error 61 Sampling output signal 63 Status input 64 Pulse signal input states 64 Control input signal states 64 Error 64 Carry Borrow 64 Count match 64 Other functions 65 Digital filter 65 Timer 65 5 ABOUT SOFTWARE 67 CD ROM Directory Structure 67 About Software for Windows...

Page 7: ...vi CNT32 4MT LPCI ...

Page 8: ...etween the board and the PC at high speed using PCI bus mastering Example Linear Scale CNT32 4MT LPCI Encoder CNT32 4MT LPCI Detecting a position of the table of a machine tool Processing thing Tool Power supply RelayBOX Detecting a change in weight Power supply Rack Features Can input two phase and single phase signals Can input pulse signals up to 10MHz and can resolve phase differences as short...

Page 9: ... the updated version from the CONTEC s Web site http www contec com apipac For more details on the supported OS applicable language and new information please visit the CONTEC s Web site Cable Connector Option Shielded cable for CardBus counter input card CNT 68M 50M 0 5m Cable with 68 Pin D sub Connector at either Ends Mold Type PCB68PS 0 5P 0 5m PCB68PS 1 5P 1 5m Shielded cable with single conne...

Page 10: ...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 purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original products The warranty is not applicable if the device has been tampered with or damag...

Page 11: ...destruction 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 in death or serious injury WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury CAUTION CAUTION indicates a potentially hazardous ...

Page 12: ...ith 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 cause trouble Be sure that the personal computer or the I O expansion unit power is turned off Make sure that your PC or expansion unit can supply ample power to all the boards installed Insufficiently e...

Page 13: ...ard has 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 When storing this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature ...

Page 14: ... 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 t...

Page 15: ...the Board under an OS Other than Windows For using the board under an OS other than Windows see the following parts of this user s guide This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware ...

Page 16: ...wo digital I O drivers are available API CNT WDM and API CNT 98 PC API CNT WDM is a new driver to perform digital I O under Windows API CNT WDM was developed to improve the conventional product version of API CNT 98 PC in the ease of use and functionality It is advisable to use API CNT WDM for you to use an digital I O device API DIO WDM will support new OS and devices in the future but will not s...

Page 17: ...2 Installer window appears automatically 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 7 Server 2008 Vista XP Server 2003 and 2000 log in as a user with administrator privileges ...

Page 18: ...ption Usage of driver library 2 Select the Advanced 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 Run the installation 1 Complete the installation by following the instructions on the screen 2 The Readme file appears when the installation is complete ...

Page 19: ...8 PC 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 ...

Page 20: ...guration and 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 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 softw...

Page 21: ...ange board settings later Replacing the Bracket At the time of shipment this board is provided with the low profile PCI bracket If you want to mount the bracket to the PCI bus slot replace the low profile PCI bracket with the PCI bracket Follow the replacement procedures as shown in the figure below Screws Remove the screws and replace the low profile PCI bracket with the standard PCI bracket Brac...

Page 22: ...etting the Board ID If you install two or more boards on one personal computer assign a different ID value to each of the boards to distinguish them The board IDs can be set from 0 Fh to identify up to sixteen boards If only one board is used the original factory setting Board 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 ...

Page 23: ...CI bus slot 3 3 V 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 overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the com...

Page 24: ...dresses and interrupt level for the board can be allocated Before attempting to install 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 that have already been installed and then remount one of them on the computer it is unknown that which one of the se...

Page 25: ...folder on the CD ROM which contains the setup information INF file to register the board 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 ...

Page 26: ...stalling 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 The name of the board you have just added is displayed CNT32 4MT LPCI ...

Page 27: ...up 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 Windows Me 98 95 INF Win95 Cnt PCI Example of specifying the folder for use the CNT32 4MT LPCI under Windows XP INF Win2000 Cnt PCI The name of the board you have just added is displayed CNT32 4MT LPCI ...

Page 28: ...s 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 on the Continue Anyway button You have now finished installing the hardware The name of the board you have just added is displayed CNT32 4MT LPCI ...

Page 29: ...e driver library Invoking API TOOL Configuration 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 setting to registry from the File menu The name of the board you have just added is displayed CNT32 4MT LPCI ...

Page 30: ...connection or Checking the board with an external device to simply check the board for wiring or for connection to an actually connected external device The program has the diagnosis report feature to report the driver settings I O status interrupt status and the presence or absence of the board Check method 1 Checking the Board single handedly without external connection The diagnosis program che...

Page 31: ...rm counting normally by check method 2 its input circuit may be defective Test pulse output circuit and its sample connection TPOA and TPOB CNT32 4MT LPCI has one test pulse output for phase A and another for phase B for self diagnosis purposes The output pulses are LVTTL level output at fixed 100 kHz To check the board in single phase input mode connect either the phase A or phase B test pulse ou...

Page 32: ...or the connected device may not be compliant with the specifications Connection diagram Use the following connection to connect to CH0 via a PCA68PS P cable and a rotary encoder with a TTL level output open collector output For connection to another channel and for the details on signal position see Chapter 3 External Connection Sample connection to rotary encoder channel 0 Shield Encoder GND 35 p...

Page 33: ...T WDM Click the Diagnosis button on the device property page to start the diagnosis program 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 The name of the board you have just added is displayed CNT32 4MT LPCI ...

Page 34: ...r mode settings Click on Counter Mode The Counter Mode setting dialog box appears 2 Set the counter mode for channel 0 Leave the other settings at factory defaults Click on Use Same Mode to make the same settings for the other channels Click on Counter Mode Click on Use Same Mode ...

Page 35: ...2 Setup 28 CNT32 4MT LPCI 3 Click on End Click on End ...

Page 36: ...used to check the basic operations of the counter Counter Start Starts the counter Zero Clear Clears the counter to zero Counter Stop Stops the counter 1 Click on Counter Start 2 The counter value of each channel is displayed along with its status ALM AI U A B Z Click on Counter Start ...

Page 37: ...2 Setup 30 CNT32 4MT LPCI 3 Clicking on Start with Test Pulse set to Internal outputs two phase line receiver signals to all channels allowing you to check their count value and status Click on Start ...

Page 38: ...at The saved results are displayed as a text file CntRep txt in the install folder Program Files CONTEC API PAC W32 The diagnosis program performed includes Board presence absence check interrupt test driver file test Board setting test 2 A diagnosis report is displayed as shown below The name of the board you have just added is displayed CNT32 4MT LPCI Click on Diagnosis Report ...

Page 39: ... 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 attention to the following points Check the arguments to functions and their return values Check whether the counter mode is appropriate for the incoming signal format The OS won t normally get started or detect the board Turn off the power to yo...

Page 40: ...ing between the board and external device Connector used 50 pin mini ribbon connector 10250 52AJL 3M or equivalent to it 150mm Laminate side 1 35 2 36 33 67 34 68 Connector used 68 pin 0 8mm pitch connector HDRA E68MA1 HONDA TSUSHIN KOGYO CO LTD or equivalent Cable 68 conductor shielded cable Cable length 500mm Conductor size AWG 30 CNT 68M 50M PCA68PS P Cable 68 conductor shielded cable Cable len...

Page 41: ... Phase B output Unconnection CH1 control output 2 CH3 control output 2 Unconnection Control input signal pull up Unconnection 3 3V output 3 CH0 phase A input CH0 Phase B input CH0 Phase Z input CH0 control input 1 Unconnection CH1 Phase A input CH1 Phase B input CH1 Phase Z input CH1 control input 1 Unconnection CH2 Phase A input CH2 Phase B input CH2 Phase Z input CH2 control input 1 Unconnection...

Page 42: ...nd Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground 3 3V Output 3 Counter Input signal pull up CH2 control output 2 CH0 control output 2 Test pulse Phase A output Sampling Stop Output Sampling Clock Output Sampling Stop Input Sampling Clock Input CH3 Control Input 1 CH3 Phase Z input CH3 Phase B input CH3 Phase A input CH2 Control Input 1 CH2 Phase Z input CH2 Ph...

Page 43: ...ard Not connecting the pull up voltage may affect the counter input channel left unconnected For a two phase input connect both phase A and phase B For a single phase input connect to either phase A or phase B If not using the Z phase this does not need to be connected Remarks The pull up pins are PUP1 pin 32 1 for the counter input signal and PUP2 pin 66 1 for the control input signal PUP1 pin 32...

Page 44: ...L tPWH High level count input pulse width 50nsec Min tPWL Low level count input pulse width 50nsec Min tPWH Figure 3 6 Input signal CAUTION The connection cable length should be within 1 5 m To prevent noise from causing a malfunction arrange the connection cable as away from any other signal conductor or noise source as possible ...

Page 45: ...ample Connection with a Linear Scale Shield When the control input is set as a general purpose input the alarm output state can be checked When the control input is set as the counter stop input the counter can be stopped at alarm output Connector pin No GND 35 pin Control input 4 pin Phase A 1 pin Phase B 2 pin Phase Z 3 pin 3 3V output 34 pin Pull up 32 pin Pull up 66 pin 3 3V output 68 pin 0V P...

Page 46: ...se match the pull up voltage to the driving voltage on output side IC If using 3 3V connect to the VCC pin on the board Not connecting the pull up voltage may affect the control input pin left unconnected Remarks The pull up pins are PUP1 pin 32 1 for the counter input signal and PUP2 pin 66 1 for the control input signal PUP1 pin 32 Pull up for A B and Z phase input signal A0 B0 Z0 A1 B1 Z1 A2 B2...

Page 47: ... by internal 3 3 V output power Control input DI0 DI1 DI2 DI3 CLKIN STARTIN STOPIN CAUTION The connection cable length should be within 1 5 m To prevent noise from causing a malfunction arrange the connection cable as away from any other signal conductor or noise source as possible ...

Page 48: ... width 50nsec Min tPWL Low level clock pulse width 50nsec Min tPWL Figure 3 11 External sampling clock signal Other control input signals DI0 to DI3 EXTSTART EXTSTOP These signals are TTL level compatible and the trigger edge is software programmable at either the rising or falling edge High and low level hold times of at least 50 nsec are required to detect an edge of the signal tHIH tHIH High le...

Page 49: ...ate a hardware event such as a count match The signal is an LVTTL level output and can be set to positive or negative logic by software Control output circuit and its sample connection Vcc Remote device Ground LVTTL level output TTL level input Internal circuit Board Vcc Ground Figure 3 13 Sample connection to control output circuit DO0 DO3 CLKOUT STARTOUT STOPOUT ...

Page 50: ...us Clear Multiply by 1 Single phase Input with Gate Control Attached Asynchronous Clear Multiply by 2 2 phase Input A two phase pulse input consists of two pulse inputs phase A advanced signal and phase B delayed signal with a phase difference of 90 If the Z phase reference position signal is used the two phase pulse input can clear the count value to zero 0 1 2 Count operation for incremental cou...

Page 51: ... DOWN Count value Figure 4 2 Example counting during single phase input Single phase Input with Gate Control Attached The counter can be started and stopped using a gate control signal input along with the single phase pulse stream 7 8 6 9 Series of single phase pulses Phase A UP Gate control signal Phase B DOWN Count operation for incremental counting in the CW direction When decremental counting...

Page 52: ...igure 4 4 Example counting when count input multiplication is set Synchronous Clear When incremental counting in the CW clockwise direction is set with phase Z positive logic the board clears the counter at the rising edge of the phase A signal while the phase Z input goes high and starts counting at the rising edge of the phase A signal after the phase Z input goes low 2 0 1 1 Phase A Phase A UP ...

Page 53: ...ase B input remains low When phase Z negative logic is used the signal is enabled while the phase Z input remains low Figure 4 6 Example counting during asynchronous clear Phase Z CLR Input Phase Z is the signal to clear the counter to zero The number of phase Z inputs can be specified by software Phase Z input Disable phase Z input Counter 0 Ignored Phase Z input Enable the next phase Z input onl...

Page 54: ...h transition Available only when the control input signal has been selected for counter start stop Fall of control input signal The counter is ended at a level change high to low transition Available only when the control input signal has been selected for counter start stop Counter stop trigger Sampling stop Sampling stop counter stop 0 Software The counter is started or stopped by software eithe...

Page 55: ...le only when the control input signal has been selected for presetting Count match Register0 Count value Comparison register 0 Preset method Count match Register1 Count value Comparison register 1 Software The counter is presetting by software either for each channel or for all channels Rise fall of an external input signal The counter is presetting by an external input signal supplied through the...

Page 56: ...put The counter is zero cleared by the external phase Z input signal Software is used to select positive or negative logic and to enable or disable zero clearing Rise fall of an external input signal The counter is zero cleared by an external input signal supplied through the control input pin The control input pin is used for preset signal input The rising or falling edge of the signal can be sel...

Page 57: ...and sampling start stop are used Counting and sampling can be performed synchronously by specifying sampling start stop as the counter start stop condition Sampling mode Yes No Figure 4 8 Counter mode and sampling mode Counter mode In the counter mode the board starts the counter after setting counter operation conditions and performs counter operations such as reading the count value and status I...

Page 58: ...an be allocated should be checked with a sample program For the sampling mode sampling operation conditions must be set as well as counter operation conditions For details about sampling see Sampling function described later in this chapter The counter start can be synchronized with the sampling start Pulse input signal Samplingclock Count value 0 1 2 3 4 5 6 7 8 8 Nothing Sampling value 4 Counter...

Page 59: ...erential counter mode the difference with the count at the previous sampling time is sampled A totalizing counter or differential counter can be setup for each channel Totalizing counter mode Pulse input signal Samplingclock Count value 0 1 2 3 4 5 6 7 8 9 Nothing 1 4 8 Sampling value Line receiver counter mode Pulse input signal Samplingclock Count value Nothing 1 3 4 Sampling value 1 0 3 2 1 3 2...

Page 60: ...s in the physical address space However the CNT32 4MT LPCI can still perform continuous data transfer to such discontinuous physical address spaces Bus master transfer can transfer data to physical address spaces up to 64Mbytes When setting up the transfer area in your application note that the actual available memory size depends on the operating system you are using and on the size of memory ins...

Page 61: ...ake appropriate action for example lower the transfer rate or system load S G OVER IN Indicates a buffer overflow The number of data items to be transferred exceeds the buffer size Increase the buffer size TRG ERROR Indicates that the external start and stop signals have been received Transfer is not performed when this status is set Check how the external start and stop signals are input CLOCK ER...

Page 62: ... stop signal EXTSTOP Count match When the count value for channel 0 to 3 matches the value in comparison register 0 or 1 Specified number of times Terminated after sampling for the specified number of times Sampling stop trigger Bus master error When FIFO memory has become full Sampling can be controlled by one clock start and stop trigger per board One sampling start trigger per board and one sam...

Page 63: ...er 1 Abnormal input error When phases A and B are changed at the same time Control output signal 2 Digital filter error When a pulse faster than the digital filter setting is input Count value Comparison register 0 Preset Count value Comparison register 1 Count value Comparison register 0 Count match Zero clear Count value Comparison register 1 1 When the control input signal is used as a general ...

Page 64: ...used as the general purpose input signal pin The input logic is fixed as positive logic Preset When the control input signal is set to presetting the control input pin serves as the external trigger input pin for presetting The rising or falling edge of the signal can be selected Zero clear When the control input signal is set to zero clearing the control input pin serves as the external trigger i...

Page 65: ...Negative logic The one shot pulse width is set by software to 10 μsec 100 μsec 1 msec 10 msec or 100 msec General purpose output When not used as a hardware event the control output pin can be used as a general purpose output In this case the output becomes a level output rather than a one shot pulse output The logic polarity can be switched between positive and negative Count match Register 0 A o...

Page 66: ...Preset Count match Count value Comparison register 0 or Count value Comparison register 1 Zero clear Given below are application examples using the count match feature Example 1 Move count values 100 to 200 in both ways When the count value falls below 90 or exceeds 210 a one shot pulse is output to an external device Initial setting External output signal selection Count match 0 or Count match 1 ...

Page 67: ...art 1 2 0 200 300 400 500 100 3 4 1 Time required between events About 5 ms depending on the system configuration 2 COMP0 Count match register 0 Status COMP1 Count match register 1 Status Event at 4 Count value 400 comparison register 1 A interrupt is occured with count value comparison register 1 Check the interrupt status and if COMP1 contains 1 set comparison register 1 to 600 Reset COMP1 to 0 ...

Page 68: ...However a filter error does not occur if the frequency of the input clock is equal to or close to an integer multiple of the filer source clock The following are possible causes for a digital filter error When a signal faster than the digital filter setting is input Noise is generated 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 100nsec Even when the input signal is less...

Page 69: ... input error occurs when both the A and B phases change during one period of the board s 40MHz 25nsec reference clock A possible cause of the abnormal input error is as follows When the phase difference between phases A and B is shorter than one digital filter source clock cycle 25 nsec with no filter set Noise is generated Phase A input Phase B input An abnormal input error is reported if phases ...

Page 70: ...gnal 100nsec with negative logic polarity The logic polarity and pulse width cannot be modified Sampling stop output signal This outputs the sampling stop trigger as a one shot pulse signal 100nsec with negative logic polarity The logic polarity and pulse width cannot be modified Sampling clock output signal This outputs the sampling clock trigger as a one shot pulse signal 100nsec with negative l...

Page 71: ...ultaneously A status is latched to indicate that this error has occurred and can be cleared by software Digital filter error When a signal faster than the digital filter setting is input to phase A or B it is reported as a digital filter error The status is latched and cleared by software Carry Borrow Carry The 32 bit counter is set to 1 when incremented from its maximum value FFFFFFFFh 0h Borrow ...

Page 72: ...s required for them to be input when the digital filter is used Initially the delay owing to the digital filter does not occur as it is not used by default The same applies also to the LOW level Externally input signal Externally input signal Digital filter Digital filter setting time Input to the PC Not valid Valid Input to the PC Figure 4 18 Digital filter CAUTION The digital filter is initially...

Page 73: ...4 Functions 66 CNT32 4MT LPCI ...

Page 74: ...ach API TOOL English APIPAC Each installer AIOWDM Disk 1 Disk 2 Disk N CNT FreeSamples Sample programs in Delphi and Builder Builder 1 0 HELP HELP file Aio Cnt INF OS specific INF file folder Windows 9X 2000 WDM Win2000 Win95 Linux Linux file driver Readme Driver readme file folder Release Driver file For creation of a user specific install program API_NT API_W95 UsersGuide Hardware User s Guide P...

Page 75: ...l filter using hardware capabilities Function to preset or zero clear the counter at the rising or falling edge of the control input signal Function to output a one shot pulse to the control output signal upon detection of a count match or error Function to sample count values using bus mastering in sync with the specified external clock or internal clock For details refer to the help file The hel...

Page 76: ...ut Software CNT32 4MT LPCI 69 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 ...

Page 77: ...e program enter its device name set by API TOOL Configuration Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 Cnt Samples or Program Files CONTEC API PAC W32 Cnt Samples CntMaster Sample program for CNT32 8M PCI CNT32 4MT CB CNT32 4MT LPCI ...

Page 78: ...ample Execute basic operations such as input signal count processing and hardware event handling for four channels Sampling Sample Samples pulse signals at four channels saves the resulting data to a text file and displays it along with the sampling status Counter Sample ...

Page 79: ...click on Add 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 For use of API CNT 98 PC select CONTEC API CNT 98 PC xx VerX XX Develop and CONTEC API CNT 98 PC xx VerX XX Runtime from the application list displayed Click on the Change Remove button Follow the on screen instructio...

Page 80: ...put Sampling stop trigger Sampling Sampling start trigger Software External start input Count match Sampling stop trigger Software External stop input Specification number Bus master tranfer error Count match Sampling clock Sampling timer External clock input Sampling timer 50nsec 107sec 25nsec unit can not be independently set for each channel External sampling start signal Unisolated LVTTL level...

Page 81: ...evel output Test pulse output point One for each of phases A and B Output frequency 100kHz fixed Sampling Sampling output signal type Unisolated LVTTL level output Output point Sampling start trigger sampling stop trigger Sampling clock trigger 1 point each One shot output signal width Negative logic 100nsec fixed Response speed 100nsec Max Rated output current IOL 8mA Max IOH 8mA Max Bus master D...

Page 82: ...tting register Counter read register 32 bit counter Initial value storage register Comparison setting register Signal selector digital filter Each control register Sampling control CH2 External control signal Direct Read Unisolated LVTTL level signal input PCI Bus Interface Figure 6 1 Block Diagram ...

Page 83: ...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 04182011 03242005 Management No A 51 020 04182011_rev3 Parts No LYET253 ...

Reviews: