DIO Input Pins
Posted: 17 Apr 2026, 11:32
I have a RevPi DIO module connected to a RevPi Connect 5 and am trying to read the input pins. I have 24V connected to the DIO power and Input and Output powers. I then have a cable connected to a device that when there's an error will go from 24V to 0V. Therefore I want to be able to read whether the cable is either 24V or 0V. I am using CODESYS for this and at the moment can only read the value from input pin 1, all the other input pins fail and are unable to read the input when the 24V is connected to them. All the input pins are configured the exact same way and this is a brand new DIO module I bought. I tried stopping the CODESYS control and using PiCtory and the RevPi Cockpit to read the value of the pins but that wasn't able to read any pins at all and only ever read 0 dez no matter how I configured the input pin.