They are there to protect the optos incase the wires are connected incorrectly.
With a 1K resistor in series with the pic output, I dont think you would damage the opto LED even if connected reverse. I'm not saying removing the diodes is a solution, just that I think they are redundant.
Bookmarks