6/18/2013 9:35 PM | |
Joined: 9/27/2006 Last visit: 11/28/2023 Posts: 12177 Rating:
|
Hello protik; Your seach could be difficult, as there are no equivalents to DRUM or DRUM_X instructions in TIA Portal. See Sequencer/Drum functionality in S7 1200, specially our friend Huggy's comments and suggestions. An option for your light show could be shift and rotate instructions, with a time trigger 9a clock bit would do nicely) The attachment shows how to useSHR and SHL instructions in TIA Portal. Finally, have a lookat the sample program available in the following link: Where in STEP 7 (TIA Portal) V11 is there a program for the S7-1200 that lets different bit patterns rotate or flash under time control? |
Last edited by: O_Moderator at: 6/19/2013 7:22 AMLast edited by: dchartier at: 6/18/2013 9:36 PM |
|
This contribution was helpful to
1 thankful Users |
12/15/2016 6:45 PM | |
Posts: 20 Rating:
|
how we can use the DRUM sequencer FB85? any one can help? scadaexpert |
6/13/2017 4:28 PM | |
Joined: 7/25/2011 Last visit: 2/20/2023 Posts: 10 Rating:
|
I did my own theme park with blackjack and hookers sequencer multi FB for s7-12xx series plc at LAD only. If you want, you can translate it to SCL for s7-12xx series plc, or to STL for s7-15xx series plc. It will be interesting to see new version of my logics. It is 32 steps sequencer with possibility of switching between 16 steps and 32 steps mode for faster work. Meanwhile it works fast enough. So it has 32 starting conditions (you can use this conditions for checking before the new cycle starting, using SCok (starting conditions are ok) output variable). It has also 32 permanent conditions (to prevent emergency situation during cycle). If permanent conditions are not ok (PCok=0), sequencer will go to the step 8. Step 1 - is for initialize and prepare for working (it possible do this step after fault acknowledge or auto\manual mode switching). Step 2 - is for semiauto or pre-auto mode. Step 3 - is for activated auto mode. Step 4 - wait starting (missing other user conditions) Step 5 - manual mode is activated. Step 6 - sequencer timeout (if input time reference is zero - step is always deactivated), for control max cycle time. Step 7 - custom conditions missing Step 8 - permanent conditions missing Step 9 - emergency stop relay signals missing Step 10 - starting conditions OK checking Step 11...Step 32 - working steps Enjoy!!! P.s. example project is for TIA 13 sp1 upd8. P.p.s. Variables Step_stat_bool is overlaying "AT "step_stat" " and TArray is overlaying "AT "TMatrixDW" " for using the same memory space. I don't know why, but this information is not available in printed version of block.
AttachmentSequencer_32.pdf (450 Downloads) |
Last edited by: PlcPunk at: 6/13/2017 4:38:02 PM |
|
This contribution was helpful to
1 thankful Users |
6/13/2017 4:31 PM | |
Joined: 7/25/2011 Last visit: 2/20/2023 Posts: 10 Rating:
|
There is example project...AttachmentProject_Seq32_13_06_17.zip (369 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on