Date and Time formating in PanelView Plus

paulB

Member
Join Date
Apr 2003
Posts
171
We are collecting some data in Control Logix PLC. These data have associated date and time stamp obtained by GSV instruction and stored as DINT members of UDT. When displaying collected data on Panel View Plus screen, I would like to have uniform format dd-mm-yyyy, hh:mm. How to add leading 0 to displayed numeric values. I other words I would like to see 01-01-2011 instead of 1-1-2011 for date and 01:08 for time instead of 1:8.
We are using Factory Talk ME 5.1. Any suggestions?

Thanks in advance.

PaulB
 
We are collecting some data in Control Logix PLC. These data have associated date and time stamp obtained by GSV instruction and stored as DINT members of UDT. When displaying collected data on Panel View Plus screen, I would like to have uniform format dd-mm-yyyy, hh:mm. How to add leading 0 to displayed numeric values. I other words I would like to see 01-01-2011 instead of 1-1-2011 for date and 01:08 for time instead of 1:8.
We are using Factory Talk ME 5.1. Any suggestions?

Thanks in advance.

PaulB


Hm. I think that FT has an option on all numeric displays to show leading zeros.

Assuming it does, just set up a series of 2 digit numeric display objects, then show those with the leading zero. Yeah, you would have to buffer your time values into some PLC registers that were used only to send the time values to the HMI. There may be a better way, maybe somebody else can suggest a direct solution.
 
A cleaner option would be a text display with embedded variables. You can format each section (two digits with leading zeroes for example) and add the dashes and colons as needed.
 
Bernie,

Seems your solution will work. Insert embedded variable has option to fill left with zeros.

Thank you.
 

Similar Topics

Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
19
Hello, I have an automation direct d2 262 plc and C-more HMI EA9T6CL-R. I need to prepare a program, scheduled to be performed on a future date. I...
Replies
1
Views
45
Hi All, we've recently upgraded from FTView SE v10 to v12. Since the upgrade we've been having a problem where the HMI is slow to update tags in...
Replies
0
Views
45
Good Morning , Not sure how many use Markem-Imaje SmartDate X60 Printers , but I'm having trouble finding a good manual for...
Replies
3
Views
353
Hi, I have an iFIX 5.5 project (Windows 7) that needs to be updated to version 6.5 (Windows 10). iFIX communicates with the "Siemens Industrial...
Replies
1
Views
150
Back
Top Bottom