Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

RPI GPIO does't work

2020-09-30
2020-10-02
  • mrgoodcat1234 - 2020-09-30

    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

     
  • mrgoodcat1234 - 2020-10-02

    I not sure but probably i solved disabling remote GPIO in RPI setting.

     
    πŸ‘
    3

Log in to post a comment.