Citect - Display time in sec(integer@unity) to min(real@scada)

ongzy

Member
Join Date
Dec 2010
Location
Selangor
Posts
100
Any idea to do the above?

Eg.
Unity write tag = 250 sec
SCADA Display 4.17 min

When i display text by calling "(tag)/60", it returns an integer!
Though I specified text display format as ##.##

I tried to pass the tag into a local tag (defined to real).
Then display numeric text as "local = (tag)/60", it returns call error! (i.e. #A SS)


Note: I'm displaying it in a super genie page.
 
Last edited:
Thanks a lot. It works just fine.
By the way, I have one more doubts.

Is there any confusion if I use genie in a super genie page?
I have lots of repetition to do for the display, but it seems to me that they are not functioning unless I do it one by one, which is very tedious for the whole project.
 

Similar Topics

I am trying to display a variable within a cicode function onto a graphics page. This function queries a SQL database. I can get the value onto a...
Replies
3
Views
273
1. For how long period the trend shall be kept in history to be displayed on graph? 2. How to increase the trend graph history to be displayed for...
Replies
5
Views
5,613
I have upgraded Citect from 5.4 to 7.4 following the upgrade path, the program compiles and runs fine but a super genie that displays 3 trends...
Replies
7
Views
7,272
I have a device that gives an alarm value as an integer value. i want to display the fault code of this value in text, the range of this value...
Replies
3
Views
3,926
I've got Siemens S7300 PLC connected to Citect PC via Ethrnet. INT and Bool values are written and red without problems but as for Real values...
Replies
7
Views
3,217
Back
Top Bottom