Citect scada hide tags

ALAN001

Member
Join Date
Apr 2010
Location
UK
Posts
30
I want to hide some tags in a report when I print out
Is there a function I could use when my ELSE command is run to hide the tags instead of printing 0.00

The 0.00 is a Real Data type

FUNCTION CASH_SALE()
IF CASH_SALE_ON_CMD=TRUE
THEN GOODS_VALUE = LOAD_MIX_SIZE_PV * RECIPE_COST_PER_CUBE
VAT_TICKET = GOODS_VALUE * (VAT_VALUE/
100)
LOAD_VALUE = VAT_TICKET + GOODS_VALUE
ELSE
GOODS_VALUE =0.00
VAT_TICKET =0.00
LOAD_VALUE =0.00
END
END

Regards
Alan
 
You could create a memory based STRING tag. Then based on your IF the tag would contain nothing or it would contain the finished string which would be made up of static text "The goods value = " and have the REAL tag added to teh string after being converted to STRING by the function RealToStr(). It would look something like this
"The goods value = " + RealToStr(yourtag)
 

Similar Topics

Hello, the system we use is Scada 7.5 series. We have usb key activ now we need additional key to make the system work, how do we solve this...
Replies
0
Views
42
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
68
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
328
We are trying to set up a newer generation Omron PLC (NX/NS Series) with Citect / Aveva Plant SCADA using the Ethernet/IP CIP Protocol to read...
Replies
2
Views
402
I am new to Citect SCADA and I am building the graphics for a page that will contain the control of a plant by a Kingfisher RTU. The project I...
Replies
0
Views
287
Back
Top Bottom