Through-Bore Encoder

Component type: Absolute magnetic encoder (CAN)
Vendor/Manufacturer: WCP, developed with CTRE. Sold as the WCP ThroughBore by CANcoder (1/2” Hex).

WCP ThroughBore encoder powered by CANcoder

1. Overview & Purpose

The Through-Bore Encoder measures the angle, speed, and direction of a rotating shaft. A 1/2” hex shaft passes straight through the encoder’s bore, so the encoder can sit anywhere along the shaft instead of needing a magnet glued to the shaft’s end.

Inside is a CTRE CANcoder. That means it reports its position over the CAN bus like our other CTRE devices, and it is set up in Phoenix Tuner X and read in code with Phoenix 6. Because it is an absolute encoder, it knows the shaft angle as soon as it powers on. You do not need to zero the mechanism at the start of every match.

2. Key Specifications

Spec Value
Supply voltage 6–16 V (12 V nominal, from the robot’s power distribution)
Supply current 50 mA typical, 60 mA max
Communication CAN bus (CAN 2.0 and CAN FD)
Resolution 4096 counts per revolution
Bore 1/2” hex, with an alignment notch for clocking the shaft
Connector 6-pin latching Molex SL (cable included)

Specs are from the CTRE CANcoder User’s Guide.

3. Wiring & Connections

Power and CAN share a single 6-pin Molex SL connector. See the Molex SL page for how to crimp and assemble them. The mating parts are Molex 16020103 (crimp terminal, 22–24 AWG) and Molex 50579406 (6-circuit housing).

Pins Signal
2 pins (white box) 12 V and Ground
4 pins (green/yellow box) CAN H ×2 and CAN L ×2

There are two CAN H and two CAN L pins so the CAN bus can come in on one pair and go out on the other. This lets you daisy-chain the encoder with the rest of the robot’s CAN devices.

Molex SL pinout: 12V, Ground, CAN L, CAN L, CAN H, CAN H
Top view showing the 1/2 inch hex bore, alignment notch, LED light pipe, and 6-pin Molex SL connector

4. LED Status Indicators

The LED is visible through the light pipe on the top of the encoder. Dim blinking means the encoder has not seen a CAN bus since it booted. Bright blinking means the CAN bus is healthy.

LED color & pattern Meaning Action needed
Off No power. Check the 12 V and Ground wires and the Molex SL connector.
Rapid green Magnet in range (≈ 45–75 mT). None. This is the normal working state.
Rapid orange Magnet in range, but with slightly reduced accuracy (25–45 mT or 75–135 mT). Works, but check that the encoder is square to the shaft.
Rapid red Magnet out of range (< 25 mT or > 135 mT). Check the mounting and that the shaft is fully seated in the bore.
Slow bright red No valid CAN bus. Check the CAN H and CAN L wiring and that the roboRIO is on.
Alternating red/orange Damaged hardware. Run a self-test in Phoenix Tuner X and contact CTRE support.
Alternating orange/green Device is in the bootloader. Field-upgrade the firmware in Phoenix Tuner X.

Blink codes are from the CTRE CANcoder documentation.

5. Common Issues & Troubleshooting

Problem Likely cause Fix
Encoder does not show up in Tuner X CAN wiring is broken or reversed, or a connector is not fully latched. Look at the LED: slow bright red means no CAN. Re-check CAN H/L along the chain.
Encoder shows up but other CAN devices disappear It shares a CAN ID with another device of the same type. Give it a unique ID in Phoenix Tuner X.
Position is offset after reinstalling The encoder was clocked differently on the shaft. Use the alignment notch so it always goes back on the same way, then re-check the magnet offset in Tuner X.

6. Official Documentation