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

  • Metso Valmet BIU4 A413146 Binary Input Unit
  • Valmet AIU-8 Simulateur Board 421522-1a Analog Simulator
  • Valmet BIU8A Binary Input Unit 542803-3B M851222 M1
  • Valmet IQ Web Color DH Photoelectric Sensor A418182 2.04
  • Valmet A413200 AIU-8 Simulator Board 191151 421522-1A
  • Valmet Automation SCU M851006 System Control Unit Module
  • Valmet 857565/851565 Damatic Keyboard IP40 5V Operator Interface
  • Valmet A413077 FBC2 Module Rev 06 Field Bus Controller
  • Valmet DMU 2 PCB Module 545142-3A DM Data Management Unit
  • Valmet AIU16T PCB Card M851208 Analog Input Module
  • Valmet A413181 PLU Board
  • Valmet m851006 SCU Module
  • Valmet Metso 181226 Digital Input Module
  • Valmet AIU16T Analog Input Module - 16-Channel 65421466-2B MT924 V1.3
  • Valmet WIN3136875 Slide Clutch
  • Metso Valmet TIU61 A413111 Temperature Input Unit
  • Valmet MC12S Slitter Motor
  • Valmet A413139 AOH4 Board - Analog Output High Module
  • Valmet A409001 BIU85 Board
  • Valmet A413063 DMU Board
  • Valmet A413325 IPU I/O Power Unit
  • Valmet M851004 M2 CPU Module
  • Valmet IOP345 Digital Input Module
  • Metso Valmet A413215 Communication Board
  • Valmet DIFF-EL 80 M1 Transmitter
  • Valmet A413001 CPU Module
  • Valmet M899520 TDC-2 Module
  • Valmet A409001 BIU85 Board
  • Metso Valmet A413005 CPU Module
  • VALMET PUD 10 B Process Automation Rack with CPU SCU Module
  • Valmet A413091 GDU1 Board
  • VALMET M851006 M2 SCU Module
  • Lyngso Valmet Marine 990.896.000 Position Loop Card
  • Valmet Cooking Liquor Measurement 3417H
  • VALMET ABMB MT831 PCB Card
  • Valmet Automation A413325 IPU I/O Power Unit
  • Valmet Metso Consistency Transmitter Smart Pulp M2
  • VALMET METSO A413274 Connection Module
  • VALMET PI33S1KSA02RSA-ELI26 Switch
  • VALMET ND9103HN-CE07-K05 Intelligent Valve Controller
  • VALMET PMB 2R 16 Slot Backplane PCB Card
  • NELES VALMET A413135 AOU 4 Output Module
  • Metso Valmet A413345 FPU Power Unit
  • VALMET A413171 PIC Module
  • VALMET A413620 Repeater Module
  • Valmet M851521 Memory Card
  • Valmet DIFF-EL 140 M1 Transmitter
  • Valmet A413064 DMU Module
  • Valmet IOP371 I/O Bus Extender Module
  • Valmet Cooking Liquor Measurement 3400 Model 3417H
  • Metso Valmet A413043 CPU Module – Industrial Processor
  • Valmet BIU4 M851221 Binary Input Module
  • Valmet PMB 1S CPU SCU Rack Module
  • Valmet A413248 Controller Module
  • Valmet PDP601 Distributed Processing Unit
  • VALMET M851004 M2 CPU Printed Circuit Board Module
  • Metso Valmet A413045 Ver.05 CPU Module
  • Valmet A413181 Ver.05 PLU1 Board
  • Lyngso Valmet ATB16 Controller Board
  • VALMET AIU 16 Analog Input Unit 545100-3A/3B
  • VALMET PUD 10 B Power Supply PCB Rack Module
  • Valmet MS-50V/120V Bearing Unit
  • Valmet PDP603 Distributed Processing Unit – DPU Module
  • Valmet A413110 TIU Board – Terminal Interface Unit
  • Valmet S420154 I/O Backplane PCB – Printed Circuit Board
  • Valmet A413173 Industrial Control Module
  • Valmet A413044 CPU Module
  • Valmet A4IU1 Analog I/O Module
  • Valmet A413325 IPU Power Unit – PLC Module
  • Valmet M851002 CPU Module – Central Processing Unit
  • Valmet PUD10B Power Supply Board
  • Valmet K00990 Master CPU Electronic Assy
  • Valmet Metso IOP345 Input Module
  • Metso Automation T545215 Board
  • Valmet Metso IOP304 Input Module
  • Valmet 542844-6A SCU Module
  • Metso A413043 Ver.11 Valmet CPU Module
  • Valmet Automation BIU 8A Input Module
  • Metso A413044 Ver05 Valmet CPU Module
  • VALMET 542821-5A Control System Rack Module
  • Metso A413005 Ver.04 Valmet CPU Module
  • Valmet M851207 AIU16 Card
  • Valmet BIU8 Binary Input Unit
  • VALMET 547070-2B CPU Printed Circuit Board Module
  • Valmet Automation A413325 Power Module
  • VALMET AUTOMATION A413135 AOU4 Module
  • VALMET ACU A413165 Model 9 Analog Controller
  • VALMET AUTOMATION A413511-02 Slot Rack with I/O Backplane
  • Valmet A413148 BIE 4 Rev 08 Board
  • Valmet ATB16-4 Controller Board
  • Neles Automation BOR82 A413292 Processor Module
  • Valmet A413015 NCU Module – Network Control Unit
  • Valmet AIU 16 Analog Input Unit – M8512071
  • Metso Valmet A413091 GDU Board
  • Valmet M851565 Damatic Main Keyboard
  • Metso A413082 CPU Module
  • Valmet A403037 GDC – Graphics Display Controller
  • Valmet A413076 FBC Board
  • Valmet A413015 NCU Module – Network Control Unit
  • Valmet A413082 CPU Module
  • VALMET AUTOMATION A413620 Fieldbus Repeater
  • Valmet Metso IOP341R Positioner Module
  • Metso A413082 Ver.04 CPU Module
  • Valmet Metso MCA FT250/10 10 Inch Sensor
  • Valmet N0542 ABMB Printed Circuit Board
  • Valmet A413000 Ver.07 CPU Module
  • Valmet A413061 Ver.05 DMU Module
  • Valmet M851241 M1 BCU Binary Input Module
  • Valmet Automation NCU A413015 Circuit Board
  • Valmet A413046 Ver.06 CPU Module
  • Valmet A651B001 Panel Mount Keyboard
  • Valmet IQ Scanner A418080R Basis Weight Detector Head
  • Metso Valmet A413370 ESU Ethernet SCSI Unit
  • Valmet A413340 FPU Power Supply Unit
  • Valmet SKF GE 400/600 Spherical Plain Bearing
  • Valmet SCU PCB Card 542844-7B – System Control Unit
  • Valmet A413075 FBU Fieldbus Controller Module
  • Valmet A413171 PIC Card Binary Output
  • Valmet A413002 Ver.05 CPU
  • Valmet ABMB PCB Card – Industrial Control Board
  • Valmet PMB 2R 542821-4A PCB Card
  • Metso Valmet A413001 CPU Module
  • Metso Valmet A413050 RSU 6 Serial Controller Unit
  • Valmet ABMB MT241 Input Mother Board
  • Valmet DAMATIC M851565 Keyboard
  • Valmet A413075 Ver05 FBC Board
  • VALMET K14891 FLEXI-U Operating Terminal
  • VALMET AUTOMATION MKB2 DAMATIC Keyboard