6 Station Tool Post Inductive Sensor Connection

3 black wires connects to 3phase/380V power supply.
1 other(should be Yellow) connects to the ground
Yellow-1
Orange-2
Blue-3
White-4
Gray-5
Purple-6
Inductive Sensors
There are some special cases should be
White-1
Blue-2
Purple-3
Orange-4
Gray-5
Black-6