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

Momentary push button normally closed

angel
2020-05-14
2020-05-15
  • angel - 2020-05-14

    Hi
    I have included momentary push buttons (i.e. action = tap) to simulate NC push buttons.
    Thus, I have checked the option "TAP False".
    It works in steady state, but previously, when I am starting the simulation the user must push this button once in order to make it work properly.
    Although it is not a big problem, it should not be this way. Does someone knows if it is a bug, or am I missing something?

     
  • JAPIB

    JAPIB - 2020-05-14

    Hello,
    This is normal operation of the simulation mode. You have to press the button once so that it takes the correct value.

    To avoid this, you can initialize the variable associated with the button to the false value.

    BR

     
  • angel - 2020-05-15

    Thank you. It works

     

Log in to post a comment.