Simple pause sequence and continue from where it stopped, how?

nebell
2023-02-14
2023-02-16
  • nebell - 2023-02-14

    Hello, I'm trying to finish my school project and I've done everything but the correct stop function. I've spent about 4-5 hours now only on that part and it's driving me crazy.
    I can easily do a stop function where it just stops, but I need a stop function where it stops once I press the stop button, then continues from where it stopped once I press the start button.
    I have attached a screenshot of how it's now (and plenty of it is wrong, but I just don't know what to do). Help please :-)

     
  • ph0010421 - 2023-02-16

    You can put your Pause flag in series with the line that advances the sequence.
    (Before the MOV 20 in your code)
    So it will finish step 10 that wait there before moving to step 20

     

Log in to post a comment.