Omega Engineering EN-EIC-325-PCI User Manual

Four axis pci encoder interface card

Advertisement

Quick Links

User' s Guide
Shop online at
omega.com
e-mail: info@omega.com
For latest product manuals:
omegamanual.info
EN-EIC-325-PCI
Four Axis PCI Encoder
Interface Card

Advertisement

Table of Contents
loading

Summary of Contents for Omega Engineering EN-EIC-325-PCI

  • Page 1 User’ s Guide Shop online at omega.com e-mail: info@omega.com For latest product manuals: omegamanual.info EN-EIC-325-PCI Four Axis PCI Encoder Interface Card...
  • Page 2 Toll Free in United Kingdom: 0800-488-488 e-mail: sales@omega.co.uk It is the policy of OMEGA Engineering, Inc. to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
  • Page 3 FOUR AXIS ENCODER INTERFACE CARD Version 2.01, Oct. 2003...
  • Page 4: Table Of Contents

    TABLE of CONTENTS Section Page GENERAL DESCRIPTION ......ENCODER INTERFACE ......1.1.1 IPC .
  • Page 5: General Description

    GENERAL DESCRIPTION • The EN-EIC-325-PCI handles four axes of user's encoders. Each user's encoder is directly attached to the Encoder Interface on the card. • The EN-EIC-325-PCI includes eleven logical inputs, and three general outputs. • The EN-EIC-325-PCI is I/O mapped.
  • Page 6: Software Inputs

    Four outputs of the Event Signals, as described in section 1.1.2 / ii. The user may define these outputs to be held until he sends an explicit "Clear" request. CARD'S HARDWARE The EN-EIC-325-PCI uses the PCI bus of the PC. 2.1. DATA BUS and ADDRESS BUS * The Data bus is 32 bits connected to the PCI.
  • Page 7: Pin Lay-Out

    2.2. PIN LAY-OUT The drawings of the input/output connections are in Appendix B. Encoder Inputs D-Type Function 44 pin No. Index+ Index– Encoder A Sine– / Phase A– Sine+ / Phase A+ Cosine+ / Phase B+ Cosine– / Phase B– Index+ Sine+ / Phase A+ Encoder B...
  • Page 8 Logical Inputs D-Type Function 44 pin No. Input #2 Input #1 Input #3 Input #4 Input #5 Input #11 Input #7 Input #6 Input #8 Input #9 Input #10 ENCODERS' EVENT SIGNALS AND GENERAL OUTPUTS D-Type Function 9 pin No. VExt+ Encoder A Encoder B...
  • Page 9: Software Interface With The Card

    3. SOFTWARE INTERFACE WITH THE CARD INSTALLATION 3.1. The main files and folders of the software package are as follows: Win95_98 Install.exe WRTdevN.VxD (Ten files: N=0,...,9) ImsEncPci.ocx WinNT WinRT.sys ImsEic325-PCINT4.reg Win2K EIC325_P.sys ImsEic325-PCIWDM.inf WinXP EIC325_P.sys ImsEic325-PCIWDM.inf OCX for WinNT/2K/XP ImsEncPci.ocx ReadMe.txt EncPciConst.h EncPciBasicTest...
  • Page 10 The VB folders The VB folders include an illustration program, which is essential for any user, not only the VB programmer. For any environment you are using – refer to the relevant VB folder. Note: If Visual Basic is NOT installed on your computer, then before running the (VB produced) program EncPciTest.exe (recommended), please verify that: 1.
  • Page 11: Windows

    3.1.1. Windows The various Windows folders supply the files required for the driver installation. The Win95/98 driver includes an ActiveX control. The WinNT/2K/XP drivers include two options: an ActiveX control and a DLL. The DLL uses the popular ‘stdcall’ calling convention recognizable by VB, VC, Delphi etc.
  • Page 12 WinNT/2K/XP • ActiveX Control Copy the .ocx file from your ‘OCX for WinNT_2K_XP’ folder to your WinSysPath folder and register it by Start, Run, WinSysPath 'regsvr32 \ImsEncPci.ocx'. • Copy the .dll file from your ‘DLL for WinNT_2K_XP’ folder to your WinSysPath folder.
  • Page 13 3.1.2. Select the ‘VB’ folder that corresponds to your driver installation (section 3.1.1). You'll find here a full illustration in VB 5.0 (named "EncPciTest") that demonstrates how to use the various functions to communicate with the card. There are two versions: one using the ActiveX control, the other using the DLL.
  • Page 14: Cpp

    • The display of the Hardware EventFlags Output reflects what SHOULD be in these outputs analyzing the Software EventFlags Outputs as well as user's operations that may affect the Hardware EventFlags Output, as described in section 3.5.4, functions #22 and #24.
  • Page 15: Introduction To The Functions

    3.2. INTRODUCTION TO THE FUNCTIONS Each encoders pair is handled by a "chip": Chip #1 includes Encoder Interfaces A and B. Chip #2 includes Encoder Interfaces C and D. The following functions serve the DOS C/C++ programmer as well as the Windows programmer.
  • Page 25: Position Counter

    3.6. ARGUMENTS The constants of the arguments are available as follows: * In VB they are included in the example source file. * In VC they are in the EncPciConst.h file in the VC folder; refer to the ReadMe.txt file. * For DOS C/C++, the arguments, along with the headers of the functions, are in the file CPP\EncPci.h.
  • Page 26 #define TurnOn 1 #define TurnOff 0 // EnabledDisabledMode: #define SetEnabled 1 #define SetDisabled 0 // Polarity: #define ActiveOnHigh 1 #define ActiveOnLow 0...
  • Page 27: Appendix Aspecification

    APPENDIX A: SPECIFICATION Introduction A half-size PC card. Supports four optical encoders with either Square-wave or Sine output, both linear and rotary types. Directly connected to the encoders and also provides the excitation. Single / Multiple encoder pulses: Interpolation = 1, 2 or 4 (software selectable). Independent operation mode for each axis.
  • Page 28 Index input per each axis (indicating Marker/Home/Zero). The user may instruct the card to reset its counter and/or generate an "Event Signal" output upon recognizing the index input. 11 Logical Inputs. The inputs are TTL/CMOS compatible Schmidt trigger single ended. Ten of them are general inputs and one is being used for requesting a real-time counters snapshot of all four channels.
  • Page 29 Software Method of communication with PCI bus: I/O ports. Software included: An ActiveX control to communicate with the card in Win95/98/NT/2K/XP. For WinNT/2K/XP thereʼs also a DLL option instead of the ActiveX control. A basic example in Visual C and a detailed example in VB. Example and source code on how to communicate with the board under DOS.
  • Page 30: Appendix Bdrawings

    APPENDIX B: DRAWINGS Connector Wiring for the Inputs...
  • Page 31 Connector Wiring for the Outputs...
  • Page 32: Appendix C: Card Installation

    APPENDIX C: CARD INSTALLATION Install your card only after driver installation (section 3.1.1). Win95/98 1. Shut down your PC (i.e., power off). 2. Insert the new card into a free PCI slot. 3. Turn on your PC. 4. During the Windows 95/98 startup, the following window will appear: Add New Hardware Wizard This wizard searches for new drivers for: PCI Card...
  • Page 33 9. Click: Next 10. Wizard displays: Unsupported Device. Windows has not installed a driver for this device. This is normal either. Click: Finish WinNT 1. Shut down your PC (i.e., power off). 2. Insert the new card into a free PCI slot. 3.
  • Page 41: Appendix D: Product Development

    APPENDIX D: PRODUCT DEVELOPMENT Main Milestones in Product Development: • Dec. ʼ01: V1.00: Product launching. • Apr. ʼ02: V1.02: Support under WinNT/2K/XP (refer to section 3.1.1 & appendix C). • May ʼ02: V1.03: In addition to the OCX, a DLL is supplied too (WinNT/2K/XP only). •...
  • Page 42 WARRANTY/DISCLAIMER OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of 13 months from date of purchase. OMEGA’s WARRANTY adds an additional one (1) month grace period to the normal one (1) year product warranty to cover handling and shipping time. This ensures that OMEGA’s customers receive maximum coverage on each product.
  • Page 43 Where Do I Find Everything I Need for Process Measurement and Control? OMEGA…Of Course! Shop online at omega.com TEMPERATURE Thermocouple, RTD & Thermistor Probes, Connectors, Panels & Assemblies Wire: Thermocouple, RTD & Thermistor Calibrators & Ice Point References Recorders, Controllers & Process Monitors Infrared Pyrometers PRESSURE, STRAIN AND FORCE Transducers &...

Table of Contents