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

Alarms don't connect with variables

Alarms don't connect with variables

yannic
Established Member

Hello community,

I have some variables in my HMI. If I connect them with e.g. a radial gauge I can see the values without problem. But If I connect the same variables with alarms or the recorder, I can't see any alarm or values in the recorder on my hmi.

Anyone has an idea for a solution?

 

3 REPLIES 3

webiq-sk
Frequent Contributor

Hello Yannic,

alarms are displayed with the widgets "AlarmList" and "AlarmInfo".

I don't understand what you mean with "I can't see any alarm or values in the recorder" as the recorder has no widget interface (only the trend which does not show alarms).

Could you please explain this in more detail?

Regards,
Sascha Kimmel

yannic
Established Member

Hello Sascha.

I created Variables which show the status of a device. 1:ok 2:device should be replaced 3:device is already damaged.

If it is 1, 2 or 3 decides a plc programm and changes the variables in the datalayer. 

If the variable is 1, my button color is green

yannic_0-1629460829178.png

If the variable is 2, my button color is orange

yannic_1-1629460857768.png

If the variable is 3, my button color is red

yannic_2-1629460882981.png

That works fine and fast.

Now I want additional alarms for that.

That means, if the value is 3 and the button gets red there should be an alarm.

yannic_3-1629461000189.png

So I added this alarm.

In the HMI I can only see some old alarms. I don't know how they came in. New alarms are not visible.

yannic_4-1629462915361.png

So thats my problem here.

The same problem in the trend display.

My temperature value is 26°C

yannic_5-1629463103075.png

It works fine in the radial gauge.

yannic_6-1629463155448.png

In my Trend display the value keeps 0.

HmiGuide
Community Moderator
Community Moderator

Hello

Attached you find a demo project, with following features:

  • You can set the local variable iState (range 1-3) to simulate 1=ok 2=replace 3=damaged
  • Image changer to display colors (1=green 2=orange 3=damaged)
  • Online alarm list (displaying alarms for values 2 and 3)
  • History alarm list

Maybe your problem was, that you  do not set the option "Log Alarm History" for all alarms.

Regards Stefan

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