Move time/date stamp into HMI

saultgeorge

Lifetime Supporting Member
Join Date
Jul 2015
Location
Detroit
Posts
535
Hi folks.
First time I've tried to do this. I am using rs5K V.28 and change, FTV ME V.8.0. I have a project that entails moving values into numerical displays in the HMI. I have cycle counts coming in, and when a tool is changed out after so many counts, maintenance pushes a reset button on the screen and it resets the counter, and moves the counts into a history display (6 historical values). I got that with no problem. How do I move a time/date value into a numerical display? I used the GSV and "WallClock", "LocalDateTime" attribute. My question is it ought to show up in logic, but how do I configure the numerical display? It seems there will be at least 15 or 16 places. I'm just wanting to save Month, day, year, and hours/minutes. This is so they can see how long it was since the last reset. Thanks folks. I hope to wrap this up tomorrow. 🤞🏻
 
you have build it using CONCAT.

See Attached. It's an exported routine. Import into a blank program and check it out. It converts time to a string not a number.
 
Hi, thanks for the response. I tried importing it into an existing program and I can't seem to do that. When I try to open it is says no controller exported with the file. I've haven't done much with files sent over this forum--I have little experience with zip/unzip. I was thinking perhaps what I want to do is covered in the Panel View user manual. My old boss always got mad at me and told me to RTFM.
 
it's a subroutine not a program. Create or use any test program you have and use import routine.
 

Similar Topics

i am using RS logix 5000 programming software for compact logix..i want to send date(ex:23-may-2013) into one single TAG(integer type)..i am not...
Replies
5
Views
1,708
So I'm pretty green when it comes to troubleshooting in the field so bear with me. We have a Danfoss valve that opens/closes from an analog output...
Replies
23
Views
892
Hi. This is pretty basic but I'm struggling to find an efficient solution. I have a float value of let say 666.555 that I want to move / split...
Replies
3
Views
146
hi, I got a plc S7-1200 with SEW movitrac **** and i need to program something ridiculous if my application reaches sensor 1 then my SEW has to...
Replies
0
Views
177
Afternoon, I have a DB in TIA Portal V16 that is optimised. I cannot change this. There is an array inside that block which consists of 3000...
Replies
9
Views
1,037
Back
Top Bottom