Hi!

I'm new so I hope I did post this thread to the right category.

We have a very old CNC that hasn't been used in like 20 or more years and since I just graduated, I was tasked to retrofit it. Along with this is the Baruffaldi Tool Turret - TOE100. The thing is, I was told to control the turret using a PLC (FX3U clone to be exact). I refer to this manual: toe1001st.pdf. Firstly, I need to test out the positions of the tool turret.

The Encoder Code Table shows this:
Click image for larger version. 

Name:	Encoder Code.png 
Views:	104 
Size:	86.5 KB 
ID:	31252

I may be wrong but through very limited research (due to lack of information in the net), I wired the encoder to the PLC like this (NOTE 1: Supply Voltage = 24VDC) (NOTE 2: FX3U and the encoder are connected in parallel to a power source through DC+/DC-):
Click image for larger version. 

Name:	Turret Encoder Wiring Diagram.png 
Views:	95 
Size:	46.3 KB 
ID:	31253

And programmed it like this:
Click image for larger version. 

Name:	PLC Program.png 
Views:	79 
Size:	16.5 KB 
ID:	31254

The problem is, when I test it, it does nothing. The contacts do not close in accordance with the should-be position of the encoder. Can it be that the encoder is faulty? If my wiring is wrong, can you guys help me?

If you need more info, please don't hesitate to ask me.

Thank you so much!


Regards,

Jerico