Sign in to follow this  
Followers 0
garbagegasman

Tag output formatting in FactoryTalk View

2 posts in this topic

Okay so the situation is as follows. I have FactoryTalk View 7 installed and running my SCADA at one of our locations now. I have a Daniels gas chromatagraph running at the location and I am not only pulling the gas percentages from it but also a time of last run output. Currently this output displays in the format HHMMSS to show the time of the last sample in 24 hour time format, I would like to format this output on the screen to show as HH:MM:SS. Does anyone know if there is a way to do this?

Share this post


Link to post
Share on other sites
Is the value an integer, or a String ? If it's an integer, you might be able to make an expression to parse out each element as a two-digit integer (divide by 10,000, divide by 100, etc) but there will be a bunch of careful adjustment for rounding. If it's a string, you'll probably want to handle it in the PLC.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0