Hi all,
i have some problems with GPIO on RPI4. I set-up a simple system to test codesys but it doesn't work. I have only 1 input (pushbutton) and 1 out (a led). I also test the MPU6050 and it works correctly.
Testing with python everything work fine, but with Codesys can't see the input when i push nor the output using a blink module.
I started with the example GPIO.project, i change the GPIO board with the B+, i set GPIOs parameter input\output for the related channels, i declared in I\O mapping the variable name (dwOut - as per example - and dwIn). I login, run and codesys seems work, but no voltage at the output pin nor input signal read in codesys. What's wrong ?
BR
Matteo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
i have some problems with GPIO on RPI4. I set-up a simple system to test codesys but it doesn't work. I have only 1 input (pushbutton) and 1 out (a led). I also test the MPU6050 and it works correctly.
Testing with python everything work fine, but with Codesys can't see the input when i push nor the output using a blink module.
I started with the example GPIO.project, i change the GPIO board with the B+, i set GPIOs parameter input\output for the related channels, i declared in I\O mapping the variable name (dwOut - as per example - and dwIn). I login, run and codesys seems work, but no voltage at the output pin nor input signal read in codesys. What's wrong ?
BR
Matteo
I not sure but probably i solved disabling remote GPIO in RPI setting.