How-to
Encoder simulation wiring: A, B and index to the motion controller
Short answer
On a servo drive's encoder simulation output, C/C− is the differential marker (index) pair, not resolver excitation. Wire A/A− and B/B− to the controller's A and B inputs, C/C− to the index inputs, leave the +5 V terminal unconnected, and expect 4000 or 8000 counts per revolution from a 2000-cycle signal.

On this page
A servo drive with resolver feedback usually offers an encoder simulation output so an external motion controller can follow the motor. On an output described as two quadrature channels plus a marker pulse, the pairs are A/A−, B/B− and C/C−, and C/C− is the marker, also called the index. It is not the resolver excitation: the excitation, sine and cosine circuits stay on the resolver side of the drive, which electronically multiplies and conditions them into differential line-driver signals. Wire A/A− and B/B− to the controller's A and B inputs, C/C− to its index inputs, and leave the +5 V terminal unconnected.
Separate the resolver side from the simulation output #
The motor resolver connects to the drive through sine, cosine and excitation circuits. Those are drive inputs; the simulation port is a drive output. Nothing you see at the resolver terminals, including any terminals shown at 0 V on a block diagram, tells you what the simulation pins do. The only evidence that counts is the drive documentation's description of the output, and where a brochure or manual calls it dual quadrature with marker pulse, the third pair is the marker.
Map the three differential pairs #
For an interconnect unit whose encoder input terminals are labelled +MAX/−MAX, +MBX/−MBX and +INX/−INX, the mapping is:
| Drive simulation output | Controller terminal | Function |
|---|---|---|
| A / A− | +MAX / −MAX | Quadrature A |
| B / B− | +MBX / −MBX | Quadrature B |
| C / C− | +INX / −INX | Marker (index) |
The +5 V terminal stays unconnected: the simulation port is a powered drive output, not a separately supplied encoder, so it needs no external encoder supply unless the drive documentation explicitly provides for one. The port may also document no signal common; with differential pairs, each receiver sees opposite signals and rejects common-mode noise, so no common connection is needed and none should be invented. Our article on why a differential input rejects a single-ended 5 V encoder signal covers why that works.
Connect it #
- Isolate power and confirm you are at the encoder simulation connector, not the motor resolver connector.
- Run A/A− to +MAX/−MAX as one twisted pair.
- Run B/B− to +MBX/−MBX as a second twisted pair.
- Run C/C− to +INX/−INX as a third twisted pair.
- Leave +5 V open unless the drive manual documents otherwise, and take grounding and shielding from the equipment drawings.
- Verify each pin against the actual drive and controller drawings before energizing; where the drive manual gives no pin table, confirm by scope rather than assumption.
Why the axis "works" with C unhooked, and when it stops #
A and B alone carry position and direction, so with C/C− left off the machine appears fine. The missing index bites the moment the controller runs an index search or a marker-referenced home. The repeatable home sequence is: a mechanical home switch establishes an approximate region, removing the whole-revolution ambiguity, then the controller searches for the next marker pulse to land on an exact, repeatable shaft position within that region. If your application never executes an index search and its tolerance does not need marker-referenced homing, the C pair can stay unused, but then no routine may depend on an index event. A successful index search after switch trip is also the test that proves the C/C− connection. Marker handling after capture is covered in our article on why a pre-armed capture flag does not end a homing search.
Checking the waveforms and the count: 2000 cycles at 3000 RPM #
Confirm with a differential scope measurement that A/A− and B/B− are complementary pairs in quadrature and that C/C− produces one marker event. Then check the reported count against the scope frequency for a typical case, using these example inputs:
- Channel cycles per revolution N = 2000 (example, from the drive's simulation resolution)
- Motor speed = 3000 RPM (example jogging speed)
- Controller decoding factor = 2 or 4 edges per cycle
The rule: channel frequency in hertz equals RPM multiplied by cycles per revolution, divided by 60 to convert minutes to seconds. Do not multiply RPM by N directly; that leaves you a factor of 60 off.
f = 3000 × 2000 / 60 = 100 000 Hz
So each channel shows 100 kHz on the scope at that speed. The controller decodes edges: at 2× it reports 2 × 2000 = 4000 counts per revolution; at 4×, counting both edges of both channels, 4 × 2000 = 8000 counts per revolution. This is a calculated example for those inputs, not a measurement. The decision: when the controller's reported position changes by 4000 or 8000 per revolution, the scaling is consistent; a reading of 2000, 16 000 or a frequency that is 60 times off means the decoding factor or the speed conversion is wrong. Before comparing further, confirm whether the configured resolution means channel cycles, decoded edges or controller counts. Our article on what encoder CPR means after 4x quadrature decoding goes deeper on that distinction.
Final verification #
Jog in both directions, confirm the count direction follows the commanded direction, confirm no differential pair is reversed (a reversed A/B pair reverses direction; a reversed pair within one channel does not), then run the controller's index-search routine. A repeatable switch-plus-marker home proves A, B and C are all wired correctly; wiring a controller that also takes step and direction axes is covered in driving step and direction inputs from a controller velocity output.
Questions asked
Do C and C− connect to the controller's index inputs?
Yes. A drive described as dual quadrature channel with marker pulse uses C/C− as the differential index pair, so C goes to +INX and C− to −INX on that terminal block. Confirm pin numbers against the drive and controller drawings before energizing, since the simulation port may not document a signal common.
Will the axis run without the index pair connected?
Yes, and that is why the omission hides. Channels A and B alone give position and direction, so jogging and moves work. The gap appears only when a routine such as an index search or marker-referenced home expects one pulse and times out or hunts without it.
How do I calculate the channel frequency from motor speed?
For N channel cycles per revolution, the channel frequency in hertz is RPM multiplied by N divided by 60, because RPM is revolutions per minute and a hertz is a cycle per second. Keep that frequency separate from the controller's edge-decoded count rate, which is 2 or 4 times higher.


