• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Button to light

    Mervis
    1
    3
    2047
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SorakCz
      SorakCz last edited by

      Hi,

      I try to create button to light. Button is connected to digital input. I need this action:
      first click switch on
      secont click switch off

      In next steps i want to try doubleclick.

      Is in Mervis some element for this simulation?
      I Tried it in Fupla with AND, OR and negation elements, but it did not work correctly.

      Thank

      1 Reply Last reply Reply Quote 0
      • SorakCz
        SorakCz last edited by

        Hi,

        I try to create button to light. Button is connected to digital input. I need this action:
        first click switch on
        secont click switch off

        In next steps i want to try doubleclick.

        Is in Mervis some element for this simulation?
        I Tried it in Fupla with AND, OR and negation elements, but it did not work correctly.

        Thank

        1 Reply Last reply Reply Quote 0
        • ?
          Guest last edited by

          Hi,

          first of all you might need to set the sleep mode to minimum because the runtime run in loops which takes some time (not event-driven system) so it is highly possible you will not be able to catch pulses that do not take much time.

          I recommend making your own function block in st (see the video tutorials https://www.youtube.com/playlist?list=P ... ugVSn2K1RL )

          1 Reply Last reply Reply Quote 0
          • First post
            Last post