Next question for you both.

Basically there is a spindle sensor, I assume it must be required for the auto toolchanger as it used to rotate the spindle to a specific angle prior to activating the tool changer. So was wondering how I go about determining details of this sensor.

At this moment in time I have found the wires that come from the sensor (pic attached). Wire colours are blue, green, yellow and red. Is there any relevance of wire colours for sensors?

Click image for larger version. 

Name:	IMG_20151024_174908661[1].jpg 
Views:	997 
Size:	96.9 KB 
ID:	16386