Digital output query


Hi
On the gauge reader, good( green) , rework(amber), scrap(red) they work on relays, it’s OK breakout from connector 4,5,13 to digital inputs and would 12 goto neutral? It hafsd external power so doesn’t need to be powered by the cobot
Thanks for any help

SOLVED broke the gnd to 24v works as it should