s7 Graph - timer

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi I am playing about with S7 graph.

If I have a problem where i need to know if the cycle time of 3 consequtive steps exceeds a time...

basically in step 2 run a timer, and leave it running in step 3 and step 4. If the timer elapses, alarm and goto step 1

II cant see within graph how to use 3 steps to run the same timer. Am i going to have to do this 'outside' of the graph?
 
S7-Graph

Hi,

My opinion is that I would Set a bit in Step 2 and Reset it in Step 5. This bit can be used to run an on_delay outside the graph, if the timer exceeds, you can initialise the Graph on the outside of the graph FB... This will work.

Kind regards,
Combo





Hi I am playing about with S7 graph.

If I have a problem where i need to know if the cycle time of 3 consequtive steps exceeds a time...

basically in step 2 run a timer, and leave it running in step 3 and step 4. If the timer elapses, alarm and goto step 1

II cant see within graph how to use 3 steps to run the same timer. Am i going to have to do this 'outside' of the graph?
 
Last edited:
I'm not a Graph user (but SFC). But maybe this can work:
Make a parallel branch over the steps you want to monitor. Let it end in an alternative branch.
If this parallel branch times out first, run the alternative with restart. If the 3-steps times out first, go on.

... Hmm. It sounded both complex and stupid... I'll log off and walk the dog.:)

Kalle
 
hmm

If you want to run in parallel braches in the graph, then you will have parallel steps. If you jump back, the parallel steps may still be active. You should do init then I think instead of jumping back. The problem is that you have several steps, you should run a parallel step over each step with a monitoring time I think... Didn't test it, but I still think outside the graph is easier.

Kind regards,
Combo


I'm not a Graph user (but SFC). But maybe this can work:
Make a parallel branch over the steps you want to monitor. Let it end in an alternative branch.
If this parallel branch times out first, run the alternative with restart. If the 3-steps times out first, go on.

... Hmm. It sounded both complex and stupid... I'll log off and walk the dog.:)

Kalle
 
Hi all
thanks for replies. If the timer expires the design intent is to return to step 1 (reset) so if i do the parralel branch idea and then enable (N) a db bit to reset the graph on the input (SQ_OFF?) would this work?
 
k

Should work.

Hi all
thanks for replies. If the timer expires the design intent is to return to step 1 (reset) so if i do the parralel branch idea and then enable (N) a db bit to reset the graph on the input (SQ_OFF?) would this work?
 

Similar Topics

Hi I wish a step to 'move up' after a timer, that is stored in a DB in TIME format. In S7 Graph I added an action, to turn on a temp bit, used D...
Replies
2
Views
4,535
Hello Folks! I have an issue and its very often but in this case i applied all the tricks and tips that i always do in similiar issues but in this...
Replies
2
Views
776
Hi all - Considering using S7 GRAPH for some sequencing. I have a few questions which I am having difficulty finding clear answers to in the...
Replies
0
Views
577
Can someone explain the order of processing the actions of a step...is it top - bottom see attachment for reference. Does it process the blkmov...
Replies
1
Views
2,075
the plant I am supporting uses a siemens graph function to do some of the step procedures. in several steps it waits for the step to execute for...
Replies
1
Views
768
Back
Top Bottom