After a reversal, forward steps do not always generate lines. A new-position trigger intentionally suppresses steps through previously scanned positions. Define whether the application needs only new material or rescans while moving forward through old positions.
Forward direction and forward progress beyond the boundary
Separate position input, decoded count and direction, trigger request, and captured line. In forward-only mode, requests resume as soon as movement turns forward. A forward-new-position mode remembers the prior boundary and resumes only beyond it. Both can look identical on monotonic test data.
This distinction is independent of encoder cycles per turn and ×1 or ×4 decoding. If decoded position skips or fails to decrease during reversal, investigate the input separately.
Worked example: eleven forward steps can give eight requests
Replay decoded position offline with no motor or production line. Start at 0, move six steps to 6, reverse three to 3, and move five more forward to 8. Assume no additional trigger interval constraint and at most one request per eligible step.
| Segment | Decoded positions | Forward only | Forward new positions |
|---|---|---|---|
| Initial forward run | 1, 2, 3, 4, 5, 6 | 6 requests | 6 requests |
| Reverse | 5, 4, 3 | 0 | 0 |
| Return through old positions | 4, 5, 6 | 3 | 0 |
| First new positions | 7, 8 | 2 | 2 |
The eleven forward steps give eleven or eight requests. Returning to position 6 reaches the old boundary. Position 7 is the first step beyond it in this model. Verify the manufacturer's boundary rule. Suppressing repeated lines can prevent duplicate stitching, but can fail a rescan requirement. If requests still fail after crossing, inspect device state separately.
The reference clock does not determine position history
The board clock can time trigger synchronization, state processing, and readout. It does not determine which position the encoder reports. NDK's NX3225SA series covers a fundamental 25 MHz passive crystal example. A standard specification gives ±15 ppm room-temperature tolerance at 25 °C, separate from temperature variation relative to that point. Confirm exact specification, load capacitance, equivalent series resistance, and drive.
At 25,000,000 Hz, 15 ppm is 375 Hz. This illustrates component tolerance under that condition. It is not total board tolerance or an explanation for exactly three suppressed positions. Investigate timing if the same replay and mode still give inconsistent requests or output intervals.
Preserve decoded motion, requests, and acquired line IDs
Use a software replay or approved isolated low-voltage board. Lock board, firmware, and mode. Record position, direction, output request, and received line ID, and mark unavailable signals pending.
| Check | Record | Distinguish |
|---|---|---|
| Input and decoding | Position and direction at every step | Valid motion versus decoding jumps |
| Rule | Requests at repeated and new positions | Expected suppression versus missing trigger |
| Boundary | Previous maximum and first new position | Return to the boundary versus crossing it |
| Acquisition | Request, accepted line, and host receipt | Trigger, capture, and transfer failure |
| Clock | Actual point, board conditions, and specification | Electrical evidence of reference problems |
Preserve the earlier path and any resets. Starting directly at 3 can differ from first reaching 6 and reversing to 3. Define rescan behavior and the first required line after crossing on the purchase specification. Keep the oscillator part and electrical requirements separate.
Frequently asked questions
Does a changing position count establish that a line was captured? Match the input to a request and verify acquisition and readout.
Why are lines still missing after forward motion resumes? New-position mode can suppress old positions. Replay across the old boundary. After it, distinguish absent requests from requests that fail to yield a line. Keep a normal clock baseline if the selected rule explains the blank interval.
