Industry Online Support
Technical Forum
6/11/2013 11:10 AM | |
Posts: 366 Rating:
|
Hi, when i understand you exactly: Step-1 in sequencer-1 should activate Step-1 in sequencer-2. After Step-1 in sequencer-2 is activated for 3 sec, step-2 in sequencer-1 should be activated. After step-2 in sequencer-1 is activated for 4 sec, step-1 in sequencer-1 should be activated again. So with Step-1 in sequencer-1 you set a marker (for example M100.0). This Marker is the transition to activate Step-1 in sequencer-2 so you need to put it on FB-Graph input "INIT_SQ". Also put the M100.0 in the Interlock-transition of Step-1 sequencer-2. Transition for Step-2 in sequencer-1 is a timer (T100) which is setted by M100.1. This Marker M100.1 is setted by Step-1 in sequencer-2 (on-delay 3sec). And after Step-2 in sequencer-1 is activated M101.0 is setted and M100.0 is reseted. M101.0 activates T101 (on-delay 4sec). T101 is the transition to jump back in step-1 sequencer-1. Please look at the code in attachment! I hope this helps you. nice regards AttachmentSequencer1.pdf (529 Downloads) |
6/11/2013 11:10 AM | |
Posts: 366 Rating:
|
Also this attachment!
AttachmentSequencer2.pdf (394 Downloads) |
6/11/2013 11:11 AM | |
Posts: 366 Rating:
|
And this!
AttachmentOverview.pdf (420 Downloads) |
6/18/2013 10:32 AM | |
Posts: 18 Rating:
|
Hi Kampi Thank you for the reply. I have managed to solve my problem. I have attached my test Graph code here so that it may help other people. Here are some tips I found out. 1. cannot use event dependent actions for the Initial Step. This step is required in order for the system to return to the start of a sequencer. 2. it is not a good programming practise to use jump between two sequencers. The jump instruction bypass the transition to the step it jumps into. Thus the previous step will not be disabled and is activated all the time. So instead of using jump instruction from Sequencer 2 to Sequencer 1, I have inserted a stop at end of Sequencer 2 and set the bit M200.2 which is part of the transition to Step 3 in Sequencer 1. It is a silly mistake I made. Hope everyone can learn from it.
AttachmentS7 Test Seqencer 1.pdf (414 Downloads) |
This contribution was helpful to
1 thankful Users |
6/18/2013 10:32 AM | |
Posts: 18 Rating:
|
Sequencer 2.
AttachmentS7 Test Sequencer 2.pdf (254 Downloads) |
7/15/2013 12:14 PM | |
Posts: 366 Rating:
|
Hi, anyway when i could help you maybe just a little bit, please give me some rating! thanks in advance. Nice regards |
Follow us on