REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Displaying a Text in HMI by digital signal

    REXYGEN HMI Designer
    2
    3
    1.1k
    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.
    • R
      RexPeter
      last edited by

      I'm wondering if there is an easy way to "hide" or "diplay" a piece of text in the HMI Designer based on status of a digital signal (binary signal) like a push button or a LED that indicates the status of the digital signal in the "task block".
      So if a status is "ON" in the task block, I would like to display a "text" in the HMI and if it is "OFF", it should be hidden.
      I can use the "hide_by" function of the "DisplayString" component, but that requires to define the text to be displayed within the "task block".
      0_1563334627206_Display_string.PNG

      Alternatively if you take just a "Text" from the left hand side menu (i typed "My text"), and create a "group", you can add some "group functions" to it, but that does not include the "hide" functionality. I might be able to use the "Opacity" function and use a value of 0 and 100 to either display it or hide it, but I thought there might be an easier way that I simply did not figure out yet.
      0_1563334678550_Group_Animation.PNG

      Looking forward for feedback on this.

      Regards,
      Peter

      1 Reply Last reply Reply Quote 0
      • cechuratC
        cechurat
        last edited by

        Hi Peter,

        for "hide" or "display" any item drawn in REXYGEN HMI Designer we use Group Animation -> Opacity as you proposed. The signal mapping can be afterwards changed in the opacity component so it can be connected to any binary signal within REXYGEN project - see screenshot.

        0_1563437648355_d55c4fef-bea5-424a-8126-d39d056065d9-image.png

        Cheers, Tomas

        1 Reply Last reply Reply Quote 0
        • R
          RexPeter
          last edited by

          Hi Tomáš,
          Excellent, did not thought about doing it in that way, but that is exactly what I was looking for. Thanks a lot!

          Peter

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

          This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

          There is also an outdated REXYGEN community forum.

          Powered by NodeBB.