Reverse polarity on inputs?

Now that I think of it, 3 relays switched by the control box could do the job of providing 5V signals to the pins with the correct polarity.. Thanks for reminding me of that!
Is there a specific reason it needs to be opto-isolators?