I have an optical encoder with four wires: Green = A phase, white = B phase, red = Vcc positive power supply, black = V0.
Additionally, it has a metal shielding layer in the cable. Now I don't know what is the use of this metal shielding. Can anybody provide some information about it?