S5Time max value

Unregistered

Guest
U
(Step7 & a Siemens 312C)

We, two final year students in engineering from Belgium, want to program steps which have to run longer than the 2h46min max value of S5Time. This is not directly possible with timers in Step7.

We think that a solution might be to use a timer of 60 seconds, combined with a counter, which counts the minutes we want the step to run.

But does anyone know about a way to program this? We're really stuck here...


Thanks in advance!
 
Why don't you use the IEC timers? SFB3, SFB4 and SFB5.

These do not have the same upper time limit restrictions as the standard S5 timers.

These can be found in the standard library -> System function blocks

Paul
 
Hello guys;

On top of Paul's IEC timers suggestion, here are 2 solutions I have used in similar situations:
- Run-time meters(SFC2-3-4)
- Reading the real-time clock (SFC1)
Choose the solution that best fits your process.

There is a manual (Standard and system functions) that is installed with Step 7 that will contain all details of programming them.
Hope this helps,
Daniel Chartier
 
We used the SFB3, which was the easiest to embed in our program.


Thanks!!
 

Similar Topics

Hi All, Anyone know what a STRUCT Type S5TIME is in Intouch tagname dictionary item? example PLC Step 7, DB19, Type, STRUCT is S5TIME and...
Replies
1
Views
1,660
Hi i need help in converting Time to S5time in S71200, in s7-300 converted using T_conv Thanks in Advance Ragu
Replies
7
Views
5,334
I have a strange problem in my software. I'm using a 315-2DP PLC and picked (what I thought) a free timer to use in my code. Timer 128. I used...
Replies
14
Views
7,209
I am trying to store timer values into DB's for changeability from HMI, but for some reason I can only put in values of milliseconds from...
Replies
5
Views
3,728
I am trying to use FC40 to go from time to S5time. I have the time going in as a DW set to type time and I have a mw set to s5time on the out. No...
Replies
5
Views
6,158
Back
Top Bottom