Announcement

Collapse
No announcement yet.

Stage programming

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

  • renhoek
    started a topic Stage programming

    Stage programming

    Hello all,

    I would like to report the current stage of a do-more plc to a c-more panel. Can anyone say how this is done?

    Thanks,
    T.

  • BobO
    replied
    Since multiple stages can be active at once, stages must be stored as bits. Unfortunately that complicates the simple case of a single active stage. Sounds like you are getting it worked out though.

    Leave a comment:


  • renhoek
    replied
    Current stage

    Thanks you pointed me in the right direction.

    I am looking for current sage, I found the ENCO function will return the first non zero bit of a 32 bit location. That will work

    Thanks,
    T.

    Leave a comment:


  • Do-more PE
    replied
    You can do it with a single MOVE if you land the C bit on a word boundry.

    MOVE:
    Source: MyProgramName.S0_15
    Destination: C96:UW

    Leave a comment:


  • plcnut
    replied
    MOVE:
    Source: MyProgramName.S0_15
    Destination: V100

    MOVER:
    Source: V100:0
    Num of elements: 16
    Destination: C100

    This will place stage 0 through 15 into C100 through C115.

    If you only need one stage, then just user a MOVE with the one stage.
    Last edited by plcnut; 10-03-2014, 06:05 AM.

    Leave a comment:

Working...
X