Reset GPIO's on exit?

allen00se
2016-08-30
2016-09-01
  • allen00se - 2016-08-30

    How would I go about resetting GPIO's when my application is stopped? Right now when I stop a running application, or when codesys shuts down it just leaves my GPIO's in whatever state they were last in... I know in python I would just call a gpio clear, but I am not sure how to do this in codesys.

    Thanks in advance.

     
  • wollvieh

    wollvieh - 2016-08-31

    how about this ?

    wollvieh.

    IMG: outputs.PNG

     
  • allen00se - 2016-09-01

    wollvieh hat geschrieben:
    how about this ?
    outputs.PNG
    wollvieh.

    Looks promising, I will give it a try.

     

Log in to post a comment.