Typically a speed switch is three wires, Gnd , 5v and input /signal.
Trying to think logically from past experince one would say ZB is signal input as the two letters do not equate to Gnd or 5V.
However as previoulsy mentioned tracing the pin out track may help more.