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

problem with an extended function block. Output always set to TRUE

robi
2020-11-09
2020-11-10
  • i-campbell

    i-campbell - 2020-11-09

    I don't call the method METH_RUN

    Yes you do.

     
    πŸ‘
    1

    Last edit: i-campbell 2020-11-09
  • robi - 2020-11-09

    Ohhhhh, I see..., I wanted to evaluate if the METH_Run’s boolean output was set to true, but as I am calling this method I am therefore setting its output to true (there is no condition implemented in the method’s logic to prevent it to set bRoll to true)...Instead I probably should’ve used a property for that..
    Thanks for the hint i-Campbell!! :)

     
    πŸ‘
    1

    Last edit: robi 2020-11-09
  • Morberis

    Morberis - 2020-11-10

    It wasn't your intention but thanks for sharing that paper. Reading it now and it looks to be very informative and great for exactly what you're using it for as well.

     

Log in to post a comment.