Displaying a Text in HMI by digital signal



  • 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


  • administrators

    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



  • 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