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

raspberry pi as PLC all GPIO input pins are TRUE value

2020-10-19
2020-10-29
  • rpiautomation12 - 2020-10-19

    Hi, i have a problem. All my GPIO pins of my raspberry pi 4 model B are always TRUE when the ladder program i created is running. See picture attached. I created a simple normally open contact in series with a coil but it turns out that my normaly open contact is having TRUE value all the time when i run the program.. Please i need help :(

     
  • eschwellinger

    eschwellinger - 2020-10-21

    Hi,
    if you use PI4 it is mandatory to use:
    GPIO B+/PI2 in the configuration.

    Please post your questions just once here not in several threads.

     
  • rpiautomation12 - 2020-10-22

    ok.. this will help me a lot. thank you very much sir!!. will delete the other thread.

     
  • rpiautomation12 - 2020-10-22

    Hi. I tested your recommendation (to use GPIO B+/Pi2) but still all the GPIO pins are initially in TRUE value after running the program. See attached picture. Thanks :))

     
  • eschwellinger

    eschwellinger - 2020-10-29

    which OS is installed on your PI?
    This is not Raspberry PI OS in current version right?

     

Log in to post a comment.