Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

ADLINK LPCIe-8124-C Encoder Card Trigger Configuration Guide

F: | Au:FANS | DA:2026-08-13 | 600 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:


ADLINK LPCIe-8124-C Encoder Card Trigger Configuration and Debugging Guide

ADLINK LPCIe-8124-C is a high-performance four channel encoder and high-speed trigger output card based on PCIe bus, designed for industrial automation scenarios that require precise positioning and synchronous triggering, such as automatic optical inspection AOI, distance measurement, motion control feedback, etc. This card supports up to four 32-bit orthogonal encoder inputs (compatible with A/B phase, CW/CCW, OUT/DIR formats, etc.), with a maximum input frequency of 18 MHz (4x multiplier mode), and is equipped with 14 built-in 32-bit comparators, which can flexibly configure multiple position comparison trigger modes such as manual, linear, table, and timing. The trigger output frequency is up to 4.4 MHz, and it provides three output interfaces: TTL, 5-24V open collector, and differential, suitable for various actuators.

Product positioning and core application scenarios

LPCIe-8124-C plays the role of a "position synchronization trigger" in the system. It reads the position value feedback from the encoder in real time, matches it with the preset comparison point, and once it reaches the specified position, immediately generates precise trigger pulses for triggering camera capture, light source flicker, laser marking, or actuator action. Compared to solutions that rely on software polling or CPU interrupts, hardware level triggering can ensure microsecond level response certainty and is a key component of high-speed and high-precision detection equipment.

Typical applications:

AOI detection: When the stage moves to a specific coordinate, it triggers a high-resolution camera to capture PCB solder joints or components.

Distance/angle measurement: Based on the encoder pulse count, trigger sampling at equidistant positions to construct contour data.

Flying needle test: precise control of probe contact timing.

Printing/Packaging: Achieving equidistant marking or cutting on continuously moving materials.


Hardware Overview and Interface Description

2.1 Main Technical Parameters

Project specifications

Number of channels: 4 encoder inputs+4 trigger outputs

Encoder input frequency up to 18 MHz (4 × A/B phase mode)

Trigger output frequency up to 4.4 MHz

The trigger pulse width can be programmed from 0.1 μ s to 3.2765 ms

Counter bit count 32 (encoder count)

14 comparators per channel (32-bit)

FIFO 1023 points/channel (used for pre stored comparison points in table mode)

Digital I/O per channel: EA+/-, EB+/-, EZ+/-, LTC (latch input), TRG (trigger output)

Isolation characteristics: Partial I/O optical isolation, isolation voltage of 2500 VRMS

Interface 50 pin SCSI-II connector

Power supply slot+5V/900mA, external+5V/500mA (for output)

Working temperature 0~50 ° C

2.2 Definition of connector pins (50 pin SCSI-II)

Encoder signal: EAx+, EAx -; EBx+, EBx-; EZx+, EZx-(x=1~4), Differential or single ended input.

Position latch input: LTC1~LTC4 (optically isolated, with common terminal INCOM).

Trigger outputs: TRG1~TRG4 (optically isolated collector with OUTCOM common terminal), as well as TTL-OUT1~4 and TTL-IN1~4 (non isolated TTL level).

Power supply: DGND (Digital Ground), external power input for open collector electrode output.

Pin allocation is detailed in the table on page 3 of the manual. When wiring, it is important to pay attention to the polarity of differential signals (+/- pairing) and the voltage range of isolated terminals.


Encoder input configuration and counting mode

3.1 Input Interface Type Selection

LPCIe-8124-C supports three encoder signal formats, which can be configured through software:

A/B phase (orthogonal): A standard incremental encoder that supports 1 ×, 2 ×, and 4 × harmonics (the highest frequency at 4 × is 18 MHz, which means that when the encoder itself has a frequency of 4.5 MHz, it reaches a counting resolution of 18 MHz after 4 harmonics).

CW/CCW: Forward/Reverse Pulse, suitable for certain absolute values or stepper motor drive feedback.

OUT/DIR: Pulse+direction, commonly used in servo drive outputs.

3.2 Counting and comparator mechanism

Each channel has an independent 32-bit up/down counter that tracks position in real-time.

Built in 14 32-bit comparison registers, multiple comparison positions can be set simultaneously. When the count value matches any comparison value, the hardware automatically triggers the corresponding output action.

FIFO (1023 points) is used for "table mode", where users can pre install a series of comparison positions, and the cards will be matched one by one in order, suitable for continuous triggering with equal or non-uniform intervals.

3.3 Index (EZ) Signal and Reset

The encoder index (Z-phase) can be used to reset the counter or set a preset value, achieving absolute origin reference. It can be configured to automatically reset the counter every time the Z signal arrives, or triggered through software instructions.


Trigger output mode and pulse parameters

4.1 Trigger Output Type

TTL output (TTL OUTx): Standard 5V level, suitable for connecting camera trigger inputs or high-speed counters.

Open collector electrode output (TRGx): can be connected with an external pull-up resistor up to 5-24V, driving relays, solenoid valves or PLC inputs, with optical isolation and strong anti-interference ability.

Differential output (not directly listed, but implemented through TRG+/- signals, suitable for long-distance transmission).

4.2 Trigger pulse width programming

Set the pulse high-level duration through software, ranging from 0.1 μ s to 3.2765 ms, with a step size of 0.1 μ s. It is recommended to set at least 1 μ s to ensure reliable response of the device. If connecting optocouplers or relays, it should be extended to milliseconds.

4.3 Trigger Mode

Manual triggering: Software instructions immediately generate pulses for debugging.

Linear comparison trigger: Set the starting position and step size, triggering every time the counter reaches the starting position+n x step size, achieving equidistant triggering.

Table trigger: Pre stored up to 1023 position points, matched in order for triggering, used for any spacing requirement (such as irregularly distributed points on PCB).

Timer trigger: independent of position, generates pulses at fixed time intervals, and simulates position triggering in conjunction with encoder speed.

The trigger output can independently control each channel and supports output inversion (polarity selection) to adapt to the effective level of different devices.

Position Latch function

Each channel is equipped with an external latch input (LTC) that can be used to capture the instantaneous position of the encoder when an unexpected event occurs. When the LTC signal (rising or falling edge optional) is triggered, the hardware immediately stores the current count value in the latch register, which can be read by software for measuring event intervals or calculating speed. This is very useful when measuring the precise coordinates of an object passing through a sensor.


Software support and TriggerMaster tool

6.1 Operating System and Development Environment

Supports Windows 7/8.1 and RTX real-time extensions (8.1a/2009) to meet hard real-time requirements.

Provide sample programs and source code for VB/VC+/BCB for easy and fast integration.

It is recommended to use the TriggerMaster application, which provides a graphical interface for parameter configuration, trigger mode testing, and I/O status monitoring, greatly simplifying the debugging process.

6.2 Basic Configuration Process

Install the driver (download from the card CD or official website).

Run TriggerMaster to identify the card (multiple cards can be distinguished by the index switch on the card).

Select the channel, set the encoder input mode (A/B × 4, CW/CCW, etc.) and counting direction.

Configure comparator: Select trigger mode (linear/tabular/manual), set comparison point value or import point file.

Set the trigger pulse width and output polarity.

Enable output channel, observe oscilloscope or trigger device response.


Wiring guidance and anti-interference measures

7.1 Differential Encoder Wiring

Use twisted pair shielded wires to pair EA+/EA -, EB+/EB -, EZ+/EZ - respectively, and ground the shielding layer at one end (to control card DGND or chassis ground).

If the encoder has a single ended output (such as NPN open set), the negative terminal should be connected to DGND, and attention should be paid to voltage matching (5V or 24V current limiting resistors should be added).

7.2 Optical isolation output wiring

The open collector electrode output (TRG) requires an external power supply (VEXT) and a pull-up resistor. For example, to drive a 24V relay, connect OUTCOM to VEXT -, TRG to one end of the relay coil, and the other end of the coil to VEXT+, while also connecting a current diode (cathode to VEXT+).

The maximum load current is limited by the external power supply and internal optocoupler, and it is recommended not to exceed 50mA (please refer to the complete electrical specifications for details).

7.3 Power supply precautions

The card requires a PCIe slot to provide+5V (900mA), and an external+5V (500mA) supply for open collector electrode output and isolation side logic. Make sure the external power supply is stable and has low ripple.


Common troubleshooting and solutions

8.1 Unstable or jumping encoder readings

Check if the polarity of the wiring is reversed (swapping EA+and EA - will result in opposite counting directions and may cause garbled characters).

Confirm that the encoder power supply (usually 5V or 24V) matches the card. If the encoder output is differential, differential receiving mode must be used; If it is single ended, the negative terminal needs to be grounded and the input threshold needs to be adjusted (software selection).

Check if the shielding wire is well grounded. It is strongly recommended to use star grounding at the encoder end to avoid ground loops.

Reduce the count multiplier (e.g. from 4x to 2x) to test whether signal distortion is caused by high frequency.

8.2 Trigger output without signal

Measure the TTL-OUT pin with an oscilloscope to confirm that the software has enabled output and the triggering conditions have been met (such as the comparison value not being reached or the FIFO being empty).

Check if the trigger pulse width is set properly (too narrow may not drive the optocoupler).

For open electrode output, confirm that the pull-up resistor and external power supply are connected correctly, and whether the load is short circuited.

Confirm that the output polarity setting is correct (active high or active low).

8.3 Comparison of Trigger Position Deviation

Check if the initial value of the counter is correct (whether it was reset or pre-set before startup).

Confirm that the encoder resolution is consistent with the comparison point unit (for example, if the comparison value is in pulses, and the encoder has 1000 lines per revolution, then each revolution corresponds to 4000 counting pulses (4 x), and the comparison point needs to be calculated based on this).

Check if the FIFO is fully loaded in table mode, and if the number of comparison points exceeds 1023, load them in batches.

8.4 The board cannot be recognized

Check if the PCIe slot is working properly and try replacing the slot.

Check if the card index switch on the card is set correctly, and avoid conflicts if there are multiple cards.

Install the latest driver and check for unrecognized devices in Device Manager, manually update the driver path.

8.5 LTC latch value abnormal

Confirm whether the LTC signal level meets the input specifications (optically isolated input requires external power drive, non isolated TTL-IN can be directly connected to 5V).

Check if the latch trigger edge (up/down) matches the external signal.

Ensure that the counter counts properly before the latch occurs.


Suggestions for maintenance and long-term stability

Regularly clean the gold fingers and connectors to prevent poor oxidation contact.

Avoid hot swapping (although PCIe supports it, it is recommended to shut down and plug in to prevent surges).

If the working environment of the equipment is dusty, a dust cover can be used to protect the card.

Regularly backup the TriggerMaster configuration file (. cfg) for quick recovery of multi card batch deployment.

  • Bosch Rexroth CML10.1-NN-210-NB-NNNN-NW IndraControl L10 PLC
  • Bosch Rexroth R911173255 S20-PSDO-8/3 Safe Digital Output Module
  • Bosch Rexroth MSM040B-0300-NN-M0-CC1 Servo Motor
  • Bosch Rexroth MSK040B-0450-NN-M1-UG0-NNNN Servo Motor
  • Bosch Rexroth 3630630010 3/2 Way Directional Control Valve
  • Bosch Rexroth IndraControl S20 R911173359 S20-PN-BK+ Bus Coupler
  • Bosch Rexroth MKD041B-144-GP0-KN Synchronous Servo Motor
  • Bosch Rexroth Indramat BT 100 Industrial Panel PC
  • Bosch Rexroth MSM019B-0300-NN-M5-MH1 Servo Motor
  • Rexroth SE-B5.700.020-10.000 Synchronous Servo Motor
  • Rexroth 0608820115 Nutrunner Torque Transducer Size 4
  • Rexroth MAC090A-0-ZD-5-C/110-A-0/KI520LV Servo Motor
  • Rexroth 4WMM6J53/N Directional Control Valve
  • Rexroth HCS02.1E-W0028 IndraDrive Base Unit
  • Rexroth MDD090B-N-030-N2M-110GB0 Servo Motor
  • Mannesmann Rexroth VT11025-16 Amplifier Module 19666
  • Rexroth HCS01.1E-W0008-A-03-B-ET-EC-NN-L4-NN-FW Inverter
  • Rexroth MDD093C-N-030-N2M-110GB0 Servo Motor
  • Rexroth R162211322 Linear Guide Slider
  • Rexroth IndraControl L40 CML40.2-NP-330-NA-NNNN-NW Controller
  • Rexroth 3 842 532 421 Geared Motor 1380 rpm
  • Rexroth 4WEH 16 E67 Directional Valve Set
  • Rexroth HMS01.1N-W0110-A-07-NNNN Inverter
  • Rexroth P-057429-00000 Repair Kit
  • Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Mannesmann Rexroth VT 11013 Amplifier Module
  • Rexroth 4DMC160 Transducer 0608820115
  • Rexroth 990500A Industrial Component
  • Bosch Rexroth HCS01.1E-W0003 Compact Drive
  • Rexroth 4WMM10E31/V Directional Valve R900593552
  • Bosch Rexroth EMC-032-NN-2 R021U10021 Linear Actuator
  • Rexroth VT-MX-4-10/K-AX4U-V50 Servo Interface Module
  • Rexroth 0811405144 Amplifier Card
  • Rexroth VM310 0608760109-103 Power Module
  • Rexroth HMD01.1N-W0012 IndraDrive Power Section
  • Rexroth LT303 0 608 750 084 Servo Amplifier
  • Rexroth DKCXX.3-040-7 Servo Drive 40 A
  • Rexroth 3842999760 UM 1 Return Module
  • Rexroth R911172284 Safety Controller SLC-3-CPU000300
  • Rexroth IMS2A-KWD-025-SNS-C1 R051702883 Measuring System
  • Rexroth NK350S Network Coupler MRN 3608877368
  • Bosch Rexroth CSB01.1N-AN-ENS Control Section
  • Rexroth R911330523 Power Cable RKL0045
  • Rexroth HMS01.1N-W0036 Single Axis Inverter
  • Rexroth 0 608 740 103 Connection Cable 2 m
  • Rexroth RWD-025-SNS-C2-P-2 Linear Bearing Block
  • Rexroth MSK050B-0300 Servo Motor R911309705
  • Bosch Rexroth KE312 Communication Module
  • Rexroth VCP05.2 IndraControl VCP 05 Panel
  • Rexroth CML40.2 IndraControl L PLC R911170254
  • Rexroth R911170826-206 Sercos Interface Module 24V DC
  • Mannesmann Rexroth VT 11030-12A 00010992 Valve Amplifier
  • Rexroth VT 11011-12 Amplifier Module R900010958
  • Bosch Rexroth SF-A1.0012.060-14.050 Servo Motor
  • Bosch Rexroth HCS01.1E-W0008-A-03-B R911325246 Inverter
  • Rexroth MDD093C-N-030-N2M-110PB2 Servo Motor
  • Bosch Rexroth MSK030B-0900-NN-M1-UG1-NNNN Servo Motor
  • Rexroth R900588201 4WE10E33/CG24N9K4 Solenoid Valve
  • Bosch Rexroth SR-A2.0020.030-00.000 Servo Motor 1070076772
  • Rexroth CML40.1-NP-220-NA-NNNN-NW Controller 1070170261-104
  • Yaskawa / Omron SGDM-01ADA - Sigma II Servo Drive 100W
  • Omron / KEP NT3S-ST123B-E - Interactive Display Operator Panel HMI
  • Yaskawa XD-01-MN01 - XtraDrive Servo Drive Controller
  • Applicom PC2000ETH - Ethernet Communication Interface Card
  • Fanuc A02B-0200-B523 - 6-Slot PLC Rack Chassis Series 160-MB
  • Endress+Hauser COS61-A2F0 - Dissolved Oxygen Sensor Probe
  • Kieback & Peter DDC4200L - Building Automation DDC Controller Display
  • Siemens 6ES5955-3LF12 - Simatic S5 Power Supply Module
  • Siemens 6ES5928-3UA21 - Simatic S5 PLC Central Processing Unit
  • Fanuc A06B-6077-H106 - Power Supply Module
  • KEB 15.F5.G1G-360A - Frequency Inverter Drive
  • Bonfiglioli Vectron ACU 210 - Frequency Inverter AC Drive
  • Allen Bradley MPL-A320H-MJ22AA - AC Servo Motor
  • Schneider (Telemecanique) XBTG2220 - Magelis Graphic Touch Panel HMI
  • Schneider (Telemecanique) XBTF011110 - Magelis Membrane Keyboard Overlay
  • Record STM20 - Automatic Sliding Door Processor Controller
  • Jetter JX2-SV1 - Servo Drive Controller Module
  • Siemens 6SL3120-1TE13-0AA4 - Sinamics S120 Motor Module Inverter
  • Grundig Electronic NPP 04 - Control Unit Module
  • Grundig NPA 01 - Power Supply Unit
  • Panasonic MDDCT5325B14 - AC Servo Drive Driver
  • Jetter JX2-SV1 - Servo Drive Controller Module
  • Schneider (Telemecanique) ATV32HU15M2 - Altivar 32 AC Frequency Inverter Drive
  • Sick ICR845-2E0020 - Image Code Reader Barcode Scanner
  • Endress+Hauser COM253-WX0110 - Dissolved Oxygen Analyzer Meter
  • Schneider (Telemecanique) XBTGT4230 - Magelis Advanced Touch Panel HMI
  • Siemens 6AV6640-0CA11-0AX1 - Touch Panel Operator Panel HMI
  • Jetter JX2-CNT1 - Counter Module PLC I/O
  • Omron NT3S-ST123B-E - Interactive Display Touch Terminal HMI
  • Omron C200HE-CPU42 - Sysmac C200HE PLC Modular System
  • Schneider Electric PM820MG - Multifunction Power Meter
  • Jetter JC-243 - JetControl Motion Controller PLC
  • Axor MTS-200-14/28-RX-S-0186 - Servo Drive Controller
  • Allen Bradley Ultra 3000i - Digital Servo Drive
  • Pro-face AGP3301-S1-D24 - Touch Screen Operator Interface HMI
  • Image AB 372151-00 - Keyboard Terminal Stand Mount
  • Harmonic Drive HA-220-5 - Harmonic Gearbox Servo Actuator
  • Omron NQ5-SQ000-B - Programmable Touch Panel HMI
  • Noax S12S-N8B-C1000 - Industrial Panel PC
  • Grundig Electronic NSP 02 - Control Unit Module
  • Omron NX-TS3201 - Temperature Sensor Input Unit PLC Module
  • Exor (UniOP) eTOP 11-0050 - Operator Panel Touch HMI
  • Schneider (Telemecanique) XBT P021010 - Magelis Operator Panel HMI
  • Omron NS5-SQ00-V2 - Touch Screen Operator Terminal HMI
  • Jetter JM-204-480 - Motion Controller Drive Module
  • Schneider (Telemecanique) XBTF024510 - Magelis HMI Touch Panel
  • Allen Bradley 22B-D010H204 - PowerFlex AC Drive Inverter
  • Yaskawa SGDV-2R8A15A - Sigma V Servo Pack Drive
  • National Instruments NI 9485 - C Series Solid-State Relay Output Module
  • Schindler SMICE 61.Q - Elevator Control Board PCBA
  • Schneider Electric (Telemecanique) TSXSUP40 - Power Supply Unit
  • Jandel SE272131 - Cylindrical Two Point Probe Sensor
  • National Instruments NI 9516 - C Series Motion Analog Input Module
  • Schneider Electric TSX3722101 - TSX Micro PLC Base Unit
  • Applicom International PC2000 V3.7.1 - Communication Card Interface
  • National Instruments cRIO-9014 - CompactRIO Controller Module
  • Qualiflow AFC-260 - Mass Flow Controller
  • Schneider (Telemecanique) HMIGTO3510 - Magelis GTO Color Touch Panel HMI
  • ESR Pollmeier BN 6751.3817 - Servo Controller Drive
  • Omron NT30-ST131-E - Touch Screen Operator Terminal HMI
  • Vickers / Moog BRM-P1-CF2100 - Brushless Servo Motor Drive
  • Festo SPC-200 - Multi-Axis Controller Module
  • Sartorius YDI 150 HD - Data Input Terminal Control Panel
  • Square D / Schneider (Telemecanique) XBTPM027110 - Magelis Operator Terminal HMI
  • Schneider (Telemecanique) HMIGTO2300 - Magelis GTO Color Touch Panel HMI
  • Schneider Electric ASIABLB3004 - Switched Mode Power Supply
  • Schindler MCCE 4.Q A - Elevator Control Board PCBA
  • Yaskawa SGDB-05VD - Servopack Servo Drive Amplifier