January 23, 2022 at 4:12 pm #9994
I want to view the events list at the bottom of the screen, but I am using integer values to determine certain states and the description only shows the value of the actual integer. The operator will not understand the description if it is an integer value…
Is it possible to manipulate the events register to display any other data in the the description column?
Input channel 1 = 1 (state of field device healthy)
Event description displays “Healthy”
Input channel 1 = 2 (state of field device faulty)
Event description displays “Faulty”
Regards,January 24, 2022 at 11:18 am #9999
If I understand you correctly, you should
1. Set the Enumeration type for the input channel
2. Create a new row in the Units table to specify possible values (see Off-On, for example) and select the create unit for the channel.
Event descriptions should show the states as text.January 24, 2022 at 5:48 pm #10006
Thanks for the advice,
But I’m still struggling with this one a bit…
I can edit the channel properties like this:
Quantity = STATE
Format = ENUM TEXT
Unit = ON / OFF
Upper Alarm Limit = 2
The description indicates the following:
Channel Value = 3 / Event Description “Alarm High: ON” / Colour of text is green
Channel Value = 2 / Event Description “Normal: ON” / Colour of text is green
Channel Value = 1 / No Event
Channel Value = 0 / No Event
If I transition the channel value from 3 down to 0, then the description is “Normal:OFF” and it’s in red…
Is this correct, or did I not configure it correcty?
Perhaps I did not understand the point number 2 in your reply correctly??
Is there any way I can add my own text to display as the event description?
Regards,January 25, 2022 at 12:27 pm #10010
I suppose, you don’t need limits for enumeration channels. Just use events on change.
Create your own custom unit: Faulty; Healthy
If a controller sends values 1 and 2, you can use a formula to make it 0 and 1.
If you have 2 states:
State 0 is green
State 1 is red.
If you have 3 or more states, the default color is black. You can specify color by setting channel status by a formula. Status defines a color.January 25, 2022 at 4:34 pm #10011
I’m making progress at least…. I created the channels and used the different states to change colour. It works well.
I just cant figure out how to create my own custom unit… I dont see any option for that… All options I see in the units table are the pre defined units, and they dont include a “Custom Unit” selection…
Do I have to create a seperate channel as TEXT format and use a formula to do it?
Regards,January 25, 2022 at 6:41 pm #10012
I finally found the settings in the dictionaries, under the tabs “UNITS”, “EVENT TYPES”….
Now the event description is working!!
Please just give me an example of the formula used to change the state of a channel, so I can assign the correct colours to the events as well.
Regards,January 26, 2022 at 7:54 am #10013
A formula would be close to
Cnl >= 2 ? 0 : 1
If you also want to calculate channel status
Cnl >= 2 ? 0 : 1; Cnl >= 2 ? 201 : 202
where 201 and 202 are status IDs
January 26, 2022 at 1:25 pm #10016
- This reply was modified 10 months, 1 week ago by Mikhail.
I’ll play around with it until I get it to work… At least now I’m on the right path!
Tell me, is there a way we can swop the direction of the event messages around? Instead of having the latest event appear at the bottom, can we change it to appear at the top?
Regards,January 27, 2022 at 12:13 pm #10020
Event order is hardcoded. The list is scrolled down automatically if a user don’t touch it for some period (about 1 min).September 25, 2022 at 3:29 am #10907
I know if you have successfully implemented your requirement, I also would like to set the similar function.
Can you kindly share how you can set the input channel and formula and condition so that 1 is Healthy and 2 is Faulty then.
Can you help to share your steps if possible?September 26, 2022 at 11:10 am #10926
Can you kindly share how you can set the input channel and formula and condition so that 1 is Healthy and 2 is Faulty then.September 27, 2022 at 3:47 am #10939
I am currently busy with training so I am unable to assist right away.
I will be back in the office tomorrow, so hopefully I can provide you with the information before Friday.
Regards,September 27, 2022 at 4:56 am #10940
Thanks for your help. It is fine for me.
As I am still new on this platform, it will be good to have some information that can be followed with.October 6, 2022 at 12:41 am #11015
Can you kindly help to provide the information if you can support? I would like to learn from your side if possible.October 6, 2022 at 4:04 am #11016
Good day Victorlam,
My apologies for the long delay.
Just a quick question to understand your requirements…
The number, or input you need to work with… Is it a real number (number with a decimal point), or an Integer (Number without a decimal point) or a Boolean (On or Off)?
If the value is a “1” or a “2” or a “3” etc., then it is an integer, If the value is either a “0” or a “1”, then it is a Boolean or a discrete.
Also, do you only need two statuses? “Healthy” & “Faulty” ?
- You must be logged in to reply to this topic.