Wiring for 1 or 2 encoders – Measurement Computing WBK17 User Manual
Page 23

WBK17, Counter/Encoder Module
987996
WBK17, pg. 23
Wiring for 1 or 2 Encoders
The following figure illustrates differential connections for two encoders. For single-ended connections,
remove the /A, /B, and /Z signal connections and short the Low inputs of these channels to COM.
The “A” signals must be connected to odd numbered channels and the associated “B” signals
must be connected to the next [higher] even numbered channels. For example,
for “A” connected to channel 1H, “B” is connected to channel 2H.
A wiring diagram for one encoder is not shown as it would be identical to the following diagram, except one
of the encoders and its associated wiring would be removed.
Two Encoders with Differential Connections to WBK17
In addition to the previous figure, the following table indicates how to connect two encoders to a WBK17
module. Each signal (A, B, Z) can be connected as a single-ended connection with respect to the common
ground or as a true differential input. Both encoders can draw their power from the WBK17’s power output
connector. Connect the encoder’s power input to the +5V or +15V power, connect the return to common
ground (COM) on the same connector. The programming setup given below is just a representative of
possible options.
Two Encoders – Example Setup
Channel
Connection
Example Programming Setup
1
Encoder1 – A
Encoder Mode, 4X option, 16-bit counter, Latch on SOS, Map channel
Clears the counter, set Map channel to 3
2
Encoder1 – B
Period Mode, 1Xperiod option, 16-bit counter, Map channel doesn’t gate,
Ticksize to 200ns
3
Encoder1 – Z
Counter in Totalize mode, stop-at-the-top, 16-bit counter
4
No connection
--
5
Encoder2 – A
Encoder Mode, 4X option, 16-bit counter, Latch on SOS, Map channel
Clears the counter, set Map channel to 7
6
Encoder2 – B
Period Mode, 1Xperiod option, 16-bit counter, Map channel doesn’t gate,
Ticksize to 200ns
7
Encoder2 – Z
Counter in Totalize mode, stop-at-the-top, 16-bit counter
8
No connection
--