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

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
286
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
355
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
265
Hi All, I aim to use Aveva Plant SCADA 2020 to read and write data from/to Omron CJ2M CPU35 PLC using OMFINS protocol. However I have Bad Data...
Replies
1
Views
726
Hey, I'm trying to do the following, I have some experience with Citect but can't seem to figure this out. I/O Tag: BoxPos1_ProdNum (Data Type...
Replies
0
Views
577
Back
Top Bottom