Announcement

Collapse
No announcement yet.

Sequencer Program Examples

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • KyleB
    started a topic Sequencer Program Examples

    Sequencer Program Examples

    Hi all,

    For whatever reason I'm struggling programming the sequencer with my productivity 3000.
    I've read the help 1000 times and I'm still not sure what I'm doing wrong.

    Does anyone have a short example program I could take a look at?
    I tend to learn best from examples so this would help a ton, thanks!

  • RogerR
    replied
    Good tip. Kind of a bummer seeing it scrunched up.

    Leave a comment:


  • kewakl
    replied
    Most forum software munges your formatted text, unless you take precautions.
    I usually use [CODE] tags with courier new font.
    The forum may still munge on your leading spaces, so I put dots in the left column

    Code:
    . Step Output Start End
    .   1    0      0    0
    .   2    0            Output Not used
    .   3    1      1    0
    .   4    0            Output Not used
    .   5    1      1    1
    .   6    1            Output Not used
    .   7    0      0    1
    .   8    1            Output Not used
    .   9    0      0    0
    .  10    0      0    1
    .  11    1      1    1
    .  12    1      1    0
    .  13    0      0    0
    .  14    1      1    0
    .  15    1      1    1
    .  16    0      0    1

    Leave a comment:


  • RogerR
    replied
    Put the truth table in a pdf, the text changed when posted.
    Attached Files

    Leave a comment:


  • RogerR
    replied
    I have set up all 16 of the steps to the various four combinations of start/stop on the output and included not using the output in the step.
    This is the output condition observed for each step.
    The sequencer is set up on Event with a one shot contact to trigger.

    Step Output Start End
    1 0 0 0
    2 0 Output Not used
    3 1 1 0
    4 0 Output Not used
    5 1 1 1
    6 1 Output Not used
    7 0 0 1
    8 1 Output Not used
    9 0 0 0
    10 0 0 1
    11 1 1 1
    12 1 1 0
    13 0 0 0
    14 1 1 0
    15 1 1 1
    16 0 0 1
    Attached Files

    Leave a comment:


  • techme
    replied
    My outputs stay on whether I set the start and end at 0 and 1 or 1 and 1. Just as long as the end is 1 and the output tags are not used on a coil elsewhere in the ladder logic. Also the output tags cannot be set to 0 anywhere else in the SEQ. When I set to 0 and 1 and allow the sequence to cycle more than once the output will go off when a step initiated and then turn back on when step is completed.

    Leave a comment:


  • KyleB
    replied
    Physical output.
    I'll try setting it to 1 at both start and end. Setting it as 0 at start and 1 at end turns them off after completion of the step.

    Leave a comment:


  • RogerR
    replied
    Looks like the instruction does not differentiate between a boolean tag or a discrete output.
    DO-0.1.2.1 put into the sequencer turns on and off the same.

    Leave a comment:


  • kewakl
    replied
    On one of my steps I turn on 4 outputs.
    Can sequencers be written to Set outputs and leave them on?


    Do you mean physical outputs?

    Leave a comment:


  • RogerR
    replied
    I tried the sequencer on a P1000 and it looks like you can put in the value of 1 in both the start and stop value to turn on the boolean bit and leave it on.
    The bit would then have to be turned off at a later step or somewhere else in code.

    If this is true, then there are four options for a boolean bit in the sequencer step.
    1. Turn on at start and leave on at end
    2. Turn on at start and turn off at end
    3. Turn off at start and leave off at end
    4. Turn off at start and turn on at end

    Leave a comment:


  • KyleB
    replied
    I made a lot of progress with the sequencer but I have one question.
    On one of my steps I turn on 4 outputs.
    They turn on fine but the problem is they turn off at the end of the sequencer.
    Can sequencers be written to Set outputs and leave them on?

    Leave a comment:


  • RogerR
    replied
    I have not tried this on a plc, but this or something close to it should be a start. The sequencer has four steps that change values based upon an event.
    Have a copy data command that will display the variables changing state.
    Attached Files

    Leave a comment:

Working...
X