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

    Push button relay toggle

    Scheduled Pinned Locked Moved Mervis
    mervisneuronswitch
    25 Posts 10 Posters 20.0k Views 1 Watching
    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.
    • M
      msoenen
      last edited by

      Hello I would like to activate direct switch, but I can not find how. could you explain?

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @msoenen
        last edited by

        @msoenen https://kb.unipi.technology/en:sw:01-mervis:advanced-modes-of-digital-inputs-hidden#direct_switch

        1 Reply Last reply
        Reply Quote 0
        • M
          msoenen
          last edited by

          Hello, thank you a works, but is it possible to use a 'RO' output with a 'DI' direct switch and another DI or function
          thank you

          1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators
            last edited by

            Right now, you can only link a DiX.Y and DO/ROX.Y - X and Y has to be the same with both DO/RO and DI.

            1 Reply Last reply
            Reply Quote 0
            • M
              msoenen
              last edited by

              Thank you for the answer, but for my home automation project, I wanted to

              activate my lamps with pushbuttons ( this OK) and a button to disable all RO at the same time

              how to do?

              T 1 Reply Last reply
              Reply Quote 0
              • T
                tomas_hora administrators @msoenen
                last edited by

                @msoenen Then check the "DirectSwitch_force" and its documentation which is part of Lib.UniPi

                M 1 Reply Last reply
                Reply Quote 0
                • M
                  msoenen @tomas_hora
                  last edited by

                  @tomas_hora Hello, this is the function I'm looking for, but I do not really understand how to do the program in input. would you have an example of a program with this function?
                  thank you in advance

                  T 1 Reply Last reply
                  Reply Quote 0
                  • T
                    tomas_hora administrators @msoenen
                    last edited by

                    @msoenen Just the picture in the help of Mervis.. There is actually not much to show.

                    1 Reply Last reply
                    Reply Quote 0
                    • M
                      msoenen
                      last edited by

                      0_1542708886962_51727d06-1f8e-42fc-a722-bdae974095ca-image.png

                      Hello sorry, I am beginner on unipi.
                      when I do exactly like help, it does not work, it must miss a configuration
                      Thank you for your help

                      T 1 Reply Last reply
                      Reply Quote 0
                      • T
                        tomas_hora administrators @msoenen
                        last edited by

                        @msoenen first of all get rid of the warining by removing the first connection, assigning to one variable multiple times in fupla is not allowed

                        1 Reply Last reply
                        Reply Quote 0
                        • G
                          Giamba
                          last edited by

                          0_1545042847414_mervis.png

                          Martin KudláčekM 1 Reply Last reply
                          Reply Quote 0
                          • Martin KudláčekM
                            Martin Kudláček @Giamba
                            last edited by

                            Hello @giamba ,
                            please do a proper screenshot of whole window, so we can see the error results. There are probably different variable types, but it is impossible to tell from the cut out.

                            Thank you,
                            Martin

                            1 Reply Last reply
                            Reply Quote 0
                            • John-paulJ
                              John-paul @Giamba
                              last edited by

                              Hello @Giamba , i was trying to use your dimmer program to to get a 0-10v output on my M203. I'm pretty sure i excactly copied your programm but not the results as you descripe. First of all, it will anly switch between 0 an 10V. no dimming function. Second problem is that i cannot connect the eq_0 / in1 to the BD30 counter to the br. Wont accept. maybe i made a misgtake but i cannot get it. Is it also possible to send me the parameters you use for the components in your programm? Many regards John-paul

                              1 Reply Last reply
                              Reply Quote 0
                              • John-paulJ
                                John-paul @Giamba
                                last edited by John-paul

                                @Giamba or maybe @Martin-Kudláček, i'm using this program to control my dali controler which working fine now except from the switch function.
                                When i push my my mometary switch on HMI and keep pushing it the light slowly increases or decreases at the next push. That's all working fine. But the switch function does work fine trough the g on the sel_0. Only problem is that when i start the plc the light is off (is ok) but the input on sel_0 is true so that results in no output on the sel_0. When i keep pushing the switch on the hmi the light increases on the output of the b30 counter but not on the output of the sel_0. Only when i realease the button the sel_0 output wil be the same as the output on the BD30 counter. After the sel_0 is high on the output and the lamp is on. i can switch the lamp on/off with a short push, no problem.
                                What i need is : Long push > increase or decrease light (even if the plc is just turned on) short push > turn light on/off.
                                Can anyone help me with this funtion to work fine?

                                Many regrards,

                                John-paul
                                M203_Dimmer.png

                                1 Reply Last reply
                                Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post