step 7 question

sayahan2003

Member
Join Date
Jun 2006
Location
Calgary
Posts
185
dear friends,
please excuse me because i am new in step7. i have 2 questions:

1-i have doubt about time value of timers. as you
know, when i use s5t#... then the time valuse is
limited to 2H46Min. if i want to measure more than
this time for example 24 hour, what can i do? i know
that i have to change the time base but i dont know
how. i read the help of step 7 but i couldnt
undrestand.
2- if i want to turn on a bit for just 1 cycle in
every 10 seconds(oneshot), how can i do it?
 
1.: Use the IEC timers in stead of the S5 Timers.
The usage is a bit different, so expect to dig into it for some time.
Search for an example with "multiple instance IEC timer".

2.: You have to program a timer that restarts every 10 seconds.
You can use both S5 Timers and IEC timers for that purpose.
For an IEC timer simply put the inverted .Q output to the .EN input.
(You can not use the clock bits because the max cycle time for these are 2 seconds).
 
You could just stack timers. In other words, set up a one hour timer. When it times out have it start the next timer and so on. That would be a simple quick and dirty way to do it.

Robert
 
hi

set up a free running timer of 1 hour.
Use the pulse of this timer to increment a counter with desired value at PV of the counter.
or
Use the pulse of this timer to increment a word register.
Keep comparing the word register value with desired value.

manmeet
 
manmeetvirdi said:
hi

set up a free running timer of 1 hour.
Use the pulse of this timer to increment a counter with desired value at PV of the counter.
or
Use the pulse of this timer to increment a word register.
Keep comparing the word register value with desired value.

manmeet
thank u my friend
i will try your suggestion
 

Similar Topics

Hi everyone, I have a short question about BLKMOV instruction, illustrated in the image below. I have the same piece of code in STEP 7 (ET200S)...
Replies
2
Views
2,686
When looking at the DB declaration ( see below pic), I did not see addresses like DB108.DBX203.0 or DB108.DBX205.0 and so on .... and yet they...
Replies
15
Views
3,242
Is it Gain or Proportional band? The HMI shows it as Proportional Band and the tag name is Gain???
Replies
3
Views
2,164
Tomorrow morning I have to use a rented Siemens PC to troubleshoot a Siemens HMI, programmed with WinCC, communicating to a couple of ABB drives...
Replies
5
Views
10,103
Hello Folks! I'm still trying to get the hang of using STL and Pointers in Step 7 (V5.5). For background, I'm writing a sample application...
Replies
7
Views
3,279
Back
Top Bottom