DIO Input Pins
DIO Input Pins
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.
Re: DIO Input Pins
I have found that is I stop the codesyscontrol then I am able to correctly operate everything via the Pictory configuration. I think the issue is codesys isn't allowed permission to write configurations to the modules, or is trying to configure them to the wrong addresses. How would I make sure Codesys can configure the DIO module and alter the state of the DIO modules outputs?