Omega EngineeringメーカーEN-EIC-325-PCIの使用説明書/サービス説明書
ページ先へ移動 of 43
omega.com e-mail: info@omega.com For latest product manuals: omegamanual.info EN-EIC-325-PCI Four Axis PCI Encoder Inter face Card Shop online at U ser ’ s Guide.
Servicing Nor th America: U.S.A.: One Omega Drive, P.O. Box 4047 ISO 9001 Certified Stamford, CT 06907-0047 TEL: (203) 359-1660 FAX: (203) 359-7700 e-mail: info@omega.com Canada: 976 Bergar Laval (Quebec) H7L 5A1, Canada TEL: (514) 856-6928 FAX: (514) 856-6886 e-mail: info@omega.
1 FOUR AXIS ENCODER INTERFACE CARD M M M O O O D D D E E E L L L Version 2.01, Oct. 2003.
2 TABLE of CONTENTS Section Page 1 GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 ENCODER INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1.1 IPC . . . . . . . . . . . . . . . . . . . . . . . . . .
3 1. 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.
4 1.1.3. SOFTWARE INPUTS a. Data Request to request an XPC update. For example, upon Data Request on the A axis, the following operation is done: XPC A ⇐ IPC A Notes: 1. Data Request may be applied on a single axis, or (all at once) on: axes pair (A+B or C+D), or all four axes.
5 2.2. PIN LAY-OUT The drawings of the input/output connections are in Appendix B. Encoder Inputs Function D-Type 44 pin No. Vcc 31 Index+ 17 GND 2 Index– 32 Sine– / Phase A– 18 Sine+ / Phase A+.
6 Logical Inputs Function D-Type 44 pin No. Input #2 16 Input #1 1 Input #3 19 Input #4 34 Input #5 37 Input #11 8 Input #7 26 Input #6 11 Input #8 29 Input #9 44 Input #10 15 GND 30 ENCODERS' EVENT SIGNALS AND GENERAL OUTPUTS Function D-Type 9 pin No.
7 3. SOFTWARE INTERFACE WITH THE CARD 3.1. INSTALLATION 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 VB VC WinNT WinRT.sys ImsEic325-PCINT4.reg Win2K EIC325_P.
8 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.
9 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.
10 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, 'regsvr32 WinSysPath ImsEncPci.ocx'. • DLL Copy the .dll file from your ‘DLL for WinNT_2K_XP’ folder to your WinSysPath folder.
11 3.1.2. VB 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.
12 • 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.
13 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.
14 3.3. CARD LEVEL FUNCTIONS # Brief Description Name Arguments (in C Syntax) Full Description 1 Supply a ‘Card Handle’ to the n-th EN- EIC-325-PCI card (if exists). (First n is 0.) GetCardHandle (long* CardHandle , short CardIndex ) Call this function in loop in your initialization.
15 # Brief Description Name Arguments (in C Syntax) Full Description 5 Set Active Chip SetActiveChip (long CardHandle , short ChipNumber ) Makes the specified chip active. All the following functions refer to that active chip. 6 Get Active Chip GetActiveChip (long CardHandle , short* ChipNumber ) Gets the current active chip (Chip1 or Chip2).
16 3.4.2. I/O # Brief Description Name Arguments (in C Syntax) Full Description 8 Read the inputs of a chip, the EventFlags of its two encoders, and the Voltage Failure.
17 3.5. ENCODER LEVEL FUNCTIONS 3.5.1. RESOLUTION # Brief Description Name Arguments (in C Syntax) Full Description 10 Set Encoder Resolution SetEncoderResolution (long CardHandle , short EncoderNumber , short ClocksPerCycle ) Selects the appropriate resolution that fits user's encoder.
18 3.5.2. INDEX # Brief Description Name Arguments (in C Syntax) Full Description 12 Set Index Pulse Polarity SetIndexPulsePolarity (long CardHandle , short EncoderNumber , short Polarity ) Selects the polarity of the index (marker) pulse coming from user's encoder.
19 3.5.3. SETPOINT # Brief Description Name Arguments (in C Syntax) Full Description 16 Set Set Point SetSetPoint (long CardHandle , short EncoderNumber , long SetPoint ) Defines the Set Point Register (SPR). Reaching the SPR (i.e., meeting the condition IPC = SPR) may become the trigger of the Event Signal.
20 3.5.4. EVENT SIGNAL # Brief Description Name Arguments (in C Syntax) Full Description 18 Set Source of Encoder's EventFlag SetEncoderEventFlag Source (long CardHandle , short EncoderNumber , short EventFlagSource ) Selects a condition that becomes the trigger of the Event Signal.
21 22 Set Hold Mode of Hardware Encoder's EventFlag SetHoldEncoderEvent Flag (long CardHandle , short EncoderNumber , short OnOffMode ) Determines the "hold" characteristic of the hardware Event Signal: OnOffMode : Off: Hardware signal remains "as is" – no holding mechanism.
22 3.5.5. POSITION COUNTER # Brief Description Name Arguments (in C Syntax) Full Description 25 Reset (=clear) Position Counter ResetPositionCounter (long CardHandle , short EncoderNumber , short OutputsMirror ) Clears the Internal Position Counter (IPC) of one or two axes.
23 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 CPPEncPci.
24 #define TurnOn 1 #define TurnOff 0 // EnabledDisabledMode : #define SetEnabled 1 #define SetDisabled 0 // Polarity: #define ActiveOnHigh 1 #define ActiveOnLow 0.
25 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).
26 I/O 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.
27 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.
28 APPENDIX B: DRAWINGS Connector Wiring for the Inputs.
29 Connector Wiring for the Outputs.
30 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).
31 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. Turn on your PC.
32.
33.
34.
35.
36.
37.
38.
39 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).
W ARRANTY / 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 W ARRANTY adds an additional one (1) month grace period to the normal one (1) year product warranty to cover handling and shipping time.
M4272/0106 Where Do I Find Ever ything I Need for Pr ocess Measurement and Contr ol? OM EGA…Of Course! Shop online at omega.com TEMPERA TURE 䡺 ⻬ Thermocouple, RTD & Thermistor Probes, Connec.
デバイスOmega Engineering EN-EIC-325-PCIの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Omega Engineering EN-EIC-325-PCIをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはOmega Engineering EN-EIC-325-PCIの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Omega Engineering EN-EIC-325-PCIの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Omega Engineering EN-EIC-325-PCIで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Omega Engineering EN-EIC-325-PCIを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はOmega Engineering EN-EIC-325-PCIの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Omega Engineering EN-EIC-325-PCIに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちOmega Engineering EN-EIC-325-PCIデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。