Stopwatch/timer PLC HMI

arriej

Member
Join Date
May 2014
Location
The netherlands
Posts
1
Hello,

Our school project this year is to make a conveyerbeld and move a glass as fast as possible 5 rounds and without losing water.

Our program is almost finished but we wanted to add a timer, one for the time of 1 round, and one for the time of all 5 rounds.After the 5 rounds it should stay in the display until pressed on start again then the timers reset to 0:0 This timer is displayed on the HMI

But until now we have not been able to find this in simatic manager or WinCC.
Now my question is: does anyone have an idea on how to make this? and make it that its visible on the HMI?

Thanks,

Arriej
 
Last edited:
Hi arriej
I dont think you will find any in the Simatic Manager Libraries, so you have to make one by your selves.
Use S7time witch is an IEC time format. This is a 32Bit format where time is in mSec. Identical to a signed DINT, so 1000 is equal to 1 sec, this make the calc more easy.
I have made a simple one with no overflow protection, but it seems to work:
I use SFC64 who read the system time and then just make a few calculations

FB_StopWatch_NW1.png

FB_StopWatch_NW2_3.png

FB_StopWatch_NW4.png


Interface:
FB_StopWatch_Interface.png

FB_StopWatch_Call.png


Stopwatch.zip
 

Similar Topics

Hello, I'm Ammar and still a newbie in PLC. Right now im going through an internship program in a Food Industry. I were given a task which i need...
Replies
21
Views
5,060
I have a possible project that I'm trying to land, and to keep the thing affordable to this particular customer, I'm checking out the C-More HMIs...
Replies
5
Views
2,653
This might be a bit out of the box: I want to try an use a smart relay to gather data, specifically start and stop times, times in between...
Replies
4
Views
1,768
Hi there. I'm trying to make a logic where a RTO function will count the time an equipment takes to complete a certain movement. This movement...
Replies
4
Views
3,131
Dear respected engineers I want to make a production downtime stopwatch without using step7 only by using Wincc. I have a signal of failure...
Replies
8
Views
2,954
Back
Top Bottom