Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Web IQ Designer : How to make a simple indicator light ??

Web IQ Designer : How to make a simple indicator light ??

Franck_FR
Established Member

I make an HMI to control a Cytrobox, and we are used to putting light indicators for status of the machine. I still did not find how to make a simple thing like this after few hours... could you help me ? (see my HMI and what I'd like to do)

Thank's in advance,

2022-08-02_18h46_39.png

3 REPLIES 3

tommorassini
Established Member

One would like to think that something so trivial as changing a color wouldn't be so dificult!!  This is common with every HMI software out there, but WebIQ is more intended for HTML5 programmers and not for traditional controls engineers using typical HMI programs (just my opinions).

For an indicator I have acheived this by using the "Image Changer" Widget.  I'm not familiar with what's inside the Cytrobox controlwise, but for ctrlX PLC Engineering there's a Codesys WebViz License available that may be an option.  I haven't experimented with it yet, but it seems to be more suited to traditional HMI features plus the ability to add HTML5 code as well.

tommorassini_0-1659461027020.png

 

HmiGuide
Community Moderator
Community Moderator

Hello, there are 2 easy ways to do it:

  1. Widget: Image changer
    1. Create 2 image (one for state on, one for state off)
    2. Insert widget: iq-image-changer
    3. Open "Config" of widget
    4. Goto section "DATA Attributes" & select Option 1
      1. In field Item select the variable representing the state
      2. In field Options press "+" to add as many options/images you need
      3. Enable "Icon source" and select the 1st image by uploading it to WebIQ workspace.
        Use the red marked button. Here you select your icon from somewhere on the HD and it is automatically copied into the workspace.
        You use the button with "..." when the image is yet copied into the workspace.
        HmiGuide_0-1659534825698.png
      4. Repeat previous step for 2nd state
  2. Changing background color See: Change-the-color-of-an-item-according-to-a-value 

HINT: As discussed by the Reply above, WebIQ is totally different than e.g. WinStudio. Therefor you should take some time to view the videos provided on https://www.smart-hmi.com/ and the HOW TO area of this forum. How-to-videos-blogs-and-examples-for-ctrlX 

Franck_FR
Established Member

Thank's both of you, 

The image changer was my back up solution, I was thinking of a more "common" solution.

By the way it works well !

 

About Web iq, i am looking for the best way to make HMI, in the same time, simple and powerfull... not that easy to find 😃

I already made an HMI with node red, web iq theses days, and I may try webvizu soon... 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist