Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: tmoulder on May 10, 2013, 07:48:04 AM

Title: Ladder Scan Question
Post by: tmoulder 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
Title: Re: Ladder Scan Question
Post by: MikeS 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.
Title: Re: Ladder Scan Question
Post by: tmoulder 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
Title: Re: Ladder Scan Question
Post by: BobO on May 10, 2013, 09:39:43 AM
Yep.
Title: Re: Ladder Scan Question
Post by: tmoulder on May 10, 2013, 12:39:49 PM
Thanks again!

TM