News:

  • May 05, 2026, 06:49:25 AM

Login with username, password and session length

Author Topic: Ladder Scan Question  (Read 9964 times)

tmoulder

  • Full Member
  • ***
  • Posts: 31
Ladder Scan Question
« on: May 10, 2013, 07:48:04 AM »
If I am in stage 0 of any given program block, and the only instruction is JMP to Stage 1;

Will Stage 1 execute immediately, within the same ladder scan, or on the next ladder scan?

Thanks!

TM

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 261
    • Host Engineering, Inc.
Re: Ladder Scan Question
« Reply #1 on: May 10, 2013, 08:14:03 AM »
if Stage 1 follows Stage 0 in the ladder diagram then the JMP will enable Stage 1 and it will execute on the same scan as the JMP.

If Stage 1 is before Stage 0 in the ladder diagram, the JMP will enable Stage 1, but it will execute on the next scan.
Good design costs a lot. Bad design costs even more.

tmoulder

  • Full Member
  • ***
  • Posts: 31
Re: Ladder Scan Question
« Reply #2 on: May 10, 2013, 08:39:16 AM »
Thanks, that's what I needed to know

Another question about scan within a stage:

If I set D10 (for instance) to "1" with a MOVE command in the first rung of a stage,

Will D10=1 for the next rung of the same stage, if I want to compare it?

Thanks again,

TM

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Ladder Scan Question
« Reply #3 on: May 10, 2013, 09:39:43 AM »
Yep.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

tmoulder

  • Full Member
  • ***
  • Posts: 31
Re: Ladder Scan Question
« Reply #4 on: May 10, 2013, 12:39:49 PM »
Thanks again!

TM