You have GHS3806G2000BML5 ?
Size:2000PPR | Color:Line driver with 5V
The Incremental Rotary Encoder is designed to provide pulse feedback when the shaft is rotated. It is low cost yet compact, high quality and an incremental rotary encoder.
Widely used in Steel Industry, Textile Machinery, Port Machinery, Plastic Machinery, Lifting Machinery, Pressure Machinery, Glass Machinery, Printing Machinery, Wood Machinery, Packaging Machinery, Machine Tool, ogistics Machinery, Tire Machinery, Electronics and Solar, Elevator.
Color: Like the picture show
**power supply:**DC5-26V wide voltage or DC5V
Speed: more than 6000 r / min
Size: Shaft: 6mm Dia, Shell Size: 38mm Dia,
Output: Line Driver output with ABC A-B-C- signals ;Voltage out put ;Push-pull with ABZ 3 signals;NPN
When 3 channels: Red=VCC, Black = 0V, Green = A, White = B, Yellow = Z
When 6 channels: Red = VCC, Black = 0V, Green = A, White = B, Yellow = Z, Brown=A-, Grey=B-, Orange= Z
Note: If the encoder is not connected to the device can not be directly oscilloscope oscilloscope (open collector output without pull-up resistor when there is no voltage output) If you want the oscilloscope in AB two-phase output with two pull-up resistors. **Cable:**1meter cable side
What you have is
Red Vcc = positve supply
Black 0V = supply gnd
Green = A Signal A one of the quadrature channels.
White = B Signal B one of the quadrature channels.
Yellow = Z Sync signal, one pulse per revolution.
Brown = -A Inverted A signal.
Grey = -B inverted B signal.
Orange = -Z inverted Z signal.
Your encoder has line driver output, so you will not need pull-up resistors.
I not knowing what your project is, I can only guess you need;
Vcc, Gnd, A and B signals.
-A, -B, -Z and Z you can leave open circuit.
Can you please tell us your electronics, programming, arduino, hardware experience?
Can you please tell us your application, project?