Adlink PCI-8124-C Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Adlink PCI-8124-C. ADLINK PCI-8124-C User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
Advance Technologies; Automate the World.
Manual Rev. 2.00
Revision Date: April 27, 2009
Part No: 50-11162-1000
PCI-8124-C
Advanced 4-CH Encoder Card with
High-speed Triggering Function
User’s Manual
Vista de página 0
1 2 3 4 5 6 ... 101 102

Resumo do Conteúdo

Página 1 - User’s Manual

Advance Technologies; Automate the World.Manual Rev. 2.00Revision Date: April 27, 2009Part No: 50-11162-1000PCI-8124-CAdvanced 4-CH Encoder Card wi

Página 2

vi List of Figures

Página 3 - Getting Service from ADLINK

90 Function Library_8124_get_linear_next_compare:This function is used to get the next linear compare data. This function is only for debug used. It d

Página 4

Function Library 91I16 Enable:  0: Disable (Default) 1: Enable I16 *DetectStatus: Status in bit format. bit 0: Noise occurred form EA, the signal

Página 5 - Table of Contents

92 Function Library6.15 Return ErrorsThe following table provides a list of possible return value in ourlibrary. If the return value is not zero, it m

Página 6

Introduction 11 IntroductionThe PCI-8124-C is an advanced quadrature encoder counterboard with position compare and high speed trigger pulse outputca

Página 7 - Table of Contents iii

2Introduction ADLINK provides a Windows WDM driver for users. Users canuse DLL function library to build up the application. The block dia-gram of PCI

Página 8 - List of Tables

Introduction 31.1 Features  PCI Rev 2.2, 32-bit/33Mhz Compliment Support both PCI-X (3.3V) and PCI (5V) slots Support 4-bit board ID for multiple

Página 9 - List of Figures

4Introduction1.2 SpecificationsMain Chip Chip Vendor: ACTEL Model No: A3P1000 Power usage: 3.3V and 1.5V Reference clock: 40MhzEncoder Counters:

Página 10

Introduction 5Trigger Output: Number of channels: 4 Maximum output frequency: 5Mhz Output types: Open collector or TTL Open collector Isolated ph

Página 11 - 1 Introduction

6IntroductionTTL Input Number of input pins: 4 Photo-coupler Isolated: No TTL input mode: General purpose or timer synchronous start signalTTL outp

Página 12 - 2Introduction

Introduction 71.3 Supported Software 1.3.1 Programming Library ADLINK provides Windows WDM driver and DLL function libraryfor the PCI-8124-C. These f

Página 14 - 1.2 Specifications

Installation 92 InstallationThis chapter describes how to install the PCI-8124-C. Please fol-low these steps below:  Check what you have (Section 2.

Página 15 - Introduction 5

Copyright 2009 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without priornotice in order to improv

Página 16 - 5%, 100mA(max)

10 Installation2.2 PCI-8124-C Outline Drawing Figure 2-1: PCI-8124-C PCB Layout CN1: SCSI 50 pins ConnectorCN2: TTL outputSW1: Board ID switch (ID: 0

Página 17 - 1.3 Supported Software

Installation 112.3 PCI-8124-C Hardware Installation2.3.1 Hardware ConfigurationThe PCI-8124-C is fully Plug and Play compliant. Hence memoryallocatio

Página 18 - 8Introduction

12 InstallationCheck the control panel of the Windows system if the card is listedby the system. If not, check the PCI settings in the BIOS or useano

Página 19 - 2 Installation

Installation 132.5 CN1 Pin AssignmentsCN1 is the 50-pin SCSI type connector for I/O signals.No. Name I/O Function No. Name I/O Function1 INCOM1 - Lat

Página 20 - SW2: Default Trigger Level

14 Installation2.6 CN2 Pin Assignments: TTL OutputCN2 is a 6-pin header as follows:Note: +5V and DGND pins are provided by the PCI-Bus. There-fore, t

Página 21 - 2.3.4 Troubleshooting:

Signal Connections 153 Signal ConnectionsSignal connections of all I/O’s are described in this chapter. Referto the contents of this chapter before w

Página 22 - 12 Installation

16 Signal Connections3.1 Connector (CN1) Pin Definition There are 4 Isolated Latch Inputs, 4 A-B-Z Encoder Inputs, 4 TTLlevel Inputs, 4 TTL level outp

Página 23 - 2.5 CN1 Pin Assignments

Signal Connections 1729 LTC4 I Latch input30 EGND - Latch input reference31 TRG3 O Trigger output32 EGND - Trigger output reference33 TRG4 O Trigger

Página 24 - 2.8 Default Trigger Level

18 Signal Connections3.2 Isolated Input Ports (LTC, INCOM)There are 4 pairs of isolated input ports on PCI-8124-C. Each pairhas two terminals. One is

Página 25 - 3 Signal Connections

Signal Connections 193.3 Isolated Encoder Differential InputThere are 4 pairs of A-B-Z encoder signal inputs on PCI-8124-C.The pin assignment of thes

Página 26

Getting Service from ADLINKContact us should you require any service or assistance. ADLINK Technology Inc. Address: 9F, No.166 Jian Yi Road, Chungho

Página 27

20 Signal Connections3.4 Isolated Output Ports (TRG, EGND)There are 4 independent isolated output ports on PCI-8124-C.Because the use of photo coupler

Página 28 - 7.5mA to 12.5mA

Signal Connections 21 Outside PCI-8124inside PCI-8124TRGx220Ω

Página 29

22 Signal Connections3.5 TTL Input PortsThere are 4 single ended TTL-level input ports on PCI-8124-C.The following table shows the pin assignment of t

Página 30

Signal Connections 233.6 TTL Output PortsThere are 4 single ended TTL-level output ports on PCI-8124-C.The following table shows the pin assignment o

Página 32 - 3.5 TTL Input Ports

Operation Theory 254 Operation TheoryThis chapter describes the detail operation of the PCI-8124-Cboard. Contents of the following sections are as fo

Página 33 - 3.6 TTL Output Ports

26 Operation Theory4.1 Trigger Board OverviewThe input and output relationships are shown as follows:Inside the PCI-8124-C, all the position compariso

Página 34 - 24 Signal Connections

Operation Theory 27and FIFO individually. Due to the mapping mechanism, severalcombinations are provided for users to continuously send out thetrigge

Página 35 - 4 Operation Theory

28 Operation Theory4.1.1 Encoder ChannelThe PCI-8124-C has four 32-bit binary up/down counters to keepthe present feedback position from each encoder

Página 36 - 4.1 Trigger Board Overview

Operation Theory 29Dual Pulse Mode (CW/CCW Mode)In this mode, EA is dedicated to count the pulses from externalsource and view it as clockwise direct

Página 37 - Operation Theory 27

ADLINK Technology Inc. (German Liaison Office) Address: Nord Carree 3, 40477 Duesseldorf, Germany Tel: +49-211-495-5552 Fax: +49-211-495-5557 Em

Página 38 - 4.1.1 Encoder Channel

30 Operation Theory90° phase shifted signals (AB phase Mode)In this mode, EA signal is a 90° phase leading or lagging to EBsignal. “Lead” or “lag” of

Página 39 - Operation Theory 29

Operation Theory 314.1.3 Homing with EZ SignalThe PCI-8124-C can clear the counter value as zero according tothe edge of EZ signal. Homing by edge ca

Página 40 - 4.1.2 Index Input (EZ)

32 Operation Theory4.1.6 FIFOFIFO is first-in-first-out storage. It is used for storing some presetposition data for comparing. Every time the positio

Página 41 - 4.1.5 Linear Function

Operation Theory 33such as a missing encoder signal, a cable becoming discon-nected, abnormal trigger levels, etc. One method to reduce main-tenance

Página 42 - 4.1.9 Trigger Counter

34 Operation Theory4.2 Trigger Board OperationThis section describes the operation theory for users to knowmore about PCI-8124-C.4.2.1 Position Compar

Página 43 - Operation Theory 33

Operation Theory 354.2.2 Position LatchThe position latch function is fulfilled by LTC signal. Once the LTCsignal is active, the counter value of its

Página 44 - 4.2 Trigger Board Operation

36 Operation Theory4.2.4 FIFO ModeContinuous triggering is fulfilled by linear function and FIFO.These two modes have their own comparators and can be

Página 45 - 4.2.3 Linear Function

Operation Theory 374.3 Multiple Boards Operation The maximum installation in one PC system is up to 16 pieces.This means user can have 64 channels fo

Página 46 - 4.2.5 Timer Function

38 Operation Theory4.4 Interrupt Control The PCI-8124-C can generate an INT signal to the host PC. Usershave to enable the interrupt service with this

Página 47

Operation Theory 39* (-) : reserved bit (set to 0)Use wait function we provided to wait interrupts under Win-dowsTo detect an interrupt signal from t

Página 48 - 4.4 Interrupt Control

Table of Contents iTable of ContentsTable of Contents... iList of Tables...

Página 49 - Operation Theory 39

40 Operation TheorySteps:1. Enable the interrupt factors that you want to be wait.“_8124_get_int_factor”2. Using wait function to wait the specified i

Página 50

TriggerMaster Utility 415 TriggerMaster UtilityAfter installing the hardware (Chapters 2 and 3), it is necessary tocorrectly configure all cards and

Página 51 - 5 TriggerMaster Utility

42 TriggerMaster Utility5.3 TriggerMaster Form Introduction5.3.1 Assign ID Type Dialog Automatically assign the CardIDManually assign the CardID

Página 52 - 5.3.1 Assign ID Type Dialog

TriggerMaster Utility 435.3.2 Main Form1. Card Selected: Choose the card to operate. Note: thecard must be selected first.2. Show Channel Status: CN

Página 53 - 5.3.2 Main Form

44 TriggerMaster Utility5. Set Sources: TRG_# and TTL_# Source: Display the Set_TRG_&_TTL_Out form to set source, logic and mode for TRG output a

Página 54 - 44 TriggerMaster Utility

TriggerMaster Utility 455.3.3 Display _Status_LinearCMP FormDisplay the status of linear comparatorSelect the card you want to observe

Página 55 - TriggerMaster Utility 45

46 TriggerMaster Utility5.3.4 Sketch_of_setting FormThis Sketch_of_setting form allows you to conveniently observethe all settings. When changing any

Página 56 - 5.3.4 Sketch_of_setting Form

TriggerMaster Utility 475.3.5 Set_TRG_&_TTL_Out FormIn this form, you can set operation logic, operation mode, source,and En/Disable options for

Página 57 - TriggerMaster Utility 47

48 TriggerMaster Utility5.3.6 Choose_PWM_Source FormIn this form, you can choose the source for PWM. Note: themanual_Trigger is always selected. The r

Página 58 - 5.3.6 Choose_PWM_Source Form

TriggerMaster Utility 495.3.7 Set_Linear_Comparator FormIn this form, you can set the En/Disable, choose source, and setparameters for each linear co

Página 59 - TriggerMaster Utility 49

ii Table of ContentsHoming with EZ Signal ...31Trigger Pulse Width ...

Página 60 - 5.3.8 Set_CNT_Source Form

50 TriggerMaster Utility5.3.8 Set_CNT_Source FormIn this form, you can set the source for the encoder counter. Thereare total eight kinds of input sou

Página 61 - 5.3.9 Encoder_# Mode

TriggerMaster Utility 515.3.9 Encoder_# ModeEnter Set mode and logic tab by clicking the Set mode and logictag as show below:1. Encoder_# Mode: Set t

Página 62 - 52 TriggerMaster Utility

52 TriggerMaster Utility5.3.10 Set_Interrupt_Source FormIn this form, you can set the various interrupt events for eachchannel and linear comparator i

Página 63 - TriggerMaster Utility 53

TriggerMaster Utility 53 FIFO_# Empty: Set the FIFO_# empty event to the inter-rupt factor. This interrupt event occurs when the FIFO is empty. FIF

Página 64 - 54 TriggerMaster Utility

54 TriggerMaster Utility5.3.11 Set_Interrupt_Source formEnter Operation tab by clicking the Operation tag show as below:1. Interrupt parameters: Time

Página 65 - TriggerMaster Utility 55

TriggerMaster Utility 555. Buttons:  Start Timer_#: Start the interval timer. Reset CNT_#: Reset the counter value. Reset Trir CNT_#: Reset the tr

Página 67 - 6 Function Library

Function Library 576 Function LibraryThis chapter describes the supporting software for PCI-8124-C.User can use these functions to develop programs i

Página 68 - Comparator: Section 5.6

58 Function LibrarySystem: Section 5.2Encoder & Counter: Section 5.3PWM Configuration: Section 5.4TRG-OUT & TTL-OUT Configuration: Section 5.5

Página 69

Function Library 59FIFO Comparing: Section 5.7Linear Comparing: Section 5.8Manual Trigger: Section 5.9Digital input: Section 5.10Latch: Section 5.11T

Página 70

Table of Contents iii6.8 Linear Comparing ... 776.9 Manual Trigger...

Página 71 - @ Description

60 Function LibraryInterrupt Control: Section 5.13Filtering & Monitoring: Section 5.14_8124_start_timer Start the timer manuallyFunction Name Desc

Página 72 - @ Arguments

Function Library 616.2 System & Initialization@ Name@ Description_8124_initialSw:This function is used to initialize the PCI-8124-C cards in your

Página 73 - 6.3 Encoder & Counter

62 Function Library@ SyntaxC/C++ (Windows 2000/XP)I16 _8124_initialSw( I16 *CardIdInBit, I16 ManualId, I16 DefaultSw ); I16 _8124_close();I16 _8124_ge

Página 74

Function Library 636.3 Encoder & Counter@ Name@ Description_8124_set_encoder_input_mode:There are 5 types of pulse input mode(EA/EB) including OU

Página 75 -  OFF (Rising edge) clear

64 Function Library_8124_set_counter_source:This function is used to set the counter source. The sourcecould be one of the EA/EB input channels or tim

Página 76 - 6.4 PWM Configuration

Function Library 65B_8124_set_counter_source (ByVal CardId As Integer, ByVal Channel As Integer, ByVal CtnSrc As Integer) As Integer@ Argument I16 Ca

Página 77

66 Function Library6.4 PWM Configuration@ Name@ Description_8124_set_pwm_source:This function is used to set the PWM source (trigger source). APWM has

Página 78 - 2: Count down

Function Library 67I16 _8124_set_pwm_mode( I16 CardId, I16 Channel, I16 PulseOrToggle );I16 _8124_set_pwm_pulse_width( I16 CardId, I16 Channel, I16

Página 79

68 Function LibraryI16 ToggleDir: Toggled condition select 0: Directionless 1: Count up 2: Count down

Página 80

Function Library 696.5 TRG-OUT & TTL-OUT Configuration@ Name@ Description_8124_set_trigger_source:There are two kinds of TGR sources. One is from

Página 81 - Function Library 71

iv List of TablesList of TablesTable 2-1: CN1 Pin Assignments ... 13Table 2-2: CN2 Pin Assignments: TTL O

Página 82 - 6.6 Comparator

70 Function Library@ SyntaxC/C++ (Windows 2000/XP)I16 _8124_set_trigger_source( I16 CardId, I16 Channel, I16 GroupSel, I16 PwmInBit, I16 TtlInInBit, I

Página 83 - 6.7 FIFO Comparing

Function Library 71I16 EzInBit: The source of EZ channel in bit format. Ex: EzInBit = 0x1, means EZ_0I16 TtlOutSrc: The TTL-OUT output source 0: us

Página 84

72 Function Library6.6 Comparator@ Name@ Description_8124_set_comparator_data:This function is used to override the current comparing data tothe compa

Página 85 -  FIFO data > Empty

Function Library 736.7 FIFO Comparing@ Name@ Description_8124_reset_fifo:This function is used to reset (clear) the FIFO. The FIFO statusis return “E

Página 86 - 76 Function Library

74 Function Library_8124_set_fifo_data:This function is used to set the specified comparing data to theFIFO. The capacity of FIFO is 1023. When the st

Página 87 - 6.8 Linear Comparing

Function Library 75Visual Basic (Windows 2000/XP)B_8124_reset_fifo (ByVal CardId As Integer, ByVal Channel As Integer) As IntegerB_8124_get_fifo_sts

Página 88

76 Function LibraryI16 Level: The FIFO low level setting.(remaining data numbersin FIFO) 0: Low level = 0 (Empty) 1: Low level = 256 ( 1/4 FIFO size

Página 89 - 0: disable, 1: enable

Function Library 776.8 Linear Comparing@ Name@ Description_8124_set_linear_compare:This function is used to configure the linear comparing triggerfun

Página 90 - 6.9 Manual Trigger

78 Function Library_8124_enable_linear_set:The PCI-8124-C has 10 linear sets. Before using these linearsets, enable the linear set by this function. W

Página 91 - 6.10 Digital Input

Function Library 79I16 Enable: Enable/Disable linear set 0: disable, 1: enable

Página 92 - 6.11 Latch

List of Figures vList of FiguresFigure 1-1: PCI-8124-C Block Diagram ... 2Figure 2-1: PCI-8124-C PCB Layout ...

Página 93 -  ON (Falling edge) clear

80 Function Library6.9 Manual Trigger@ Name@ Description_8124_manual_trigger:This function is used to generate one pulse manually. @ SyntaxC/C++ (Wind

Página 94 - 6.12 Timer

Function Library 816.10 Digital Input@ Name@ Description_8124_get_di_sts:This function is used to get the status of digital inputs. The digi-tal inpu

Página 95 - Function Library 85

82 Function Library6.11 Latch@ Name@ Description_8124_set_latch:This function is used to enable or disable the high-speed posi-tion capture (latch) fu

Página 96 - 6.13 Interrupt

Function Library 83Visual Basic (Windows 2000/XP)B_8124_set_latch (ByVal CardId As Integer, ByVal Channel As Integer, ByVal Enable As Integer, ByVal

Página 97

84 Function Library6.12 Timer@ Name@ Description_8124_set_Timer:This function is used to configure the timer. The timer can bestart by external signal

Página 98

Function Library 85I16 WaitTtlIn: Enable TTL-IN start timer (0: Disable, 1:Enable)I16 TtlTrigLogic: TTL-IN start timer condition 0: Falling edge of

Página 99

86 Function Library6.13 Interrupt@ Name@ Description_8124_set_int_factor:This function is used to enable/disable the interrupt source.Users can use th

Página 100 - @ Argument

Function Library 87function was time out. This function returns when one of the fol-lowing occurs:1. The specified interrupt factor is in the signale

Página 101 - Function Library 91

88 Function Library@ Argument I16 IntFactorsInBit: Interrupt event factor setting in bit for-mat.I16 FactorBitNum: Specified the bit number of the Int

Página 102 - 6.15 Return Errors

Function Library 896.14 Filtering & Monitoring@ Name@ Description_8124_set_input_filter_enable:This function is used to enable the digital filter

Comentários a estes Manuais

Sem comentários