Topic: DMD0083

WEND - While End


The While End (WEND) instruction marks the end of a While/Wend loop.

 

 

Note: All of the looping instructions are 'power-rail' instructions. Even though the instructions are displayed in the left-most column of the ladder diagram (the power rail), they are created in the right-most column of the ladder logic diagram (the output column). Creating these instructions in Do-more Designer is a bit counter-intuitive because the first step is to position the edit cursor in the output column of the ladder logic diagram (the far right) instead of positioning it against the power rail (the far left).

 


Parameters:

There are no parameters for this instruction.

 


Status Display:

 

The WEND instruction will show the current .TimeSlice value of the Program or Task when status is ON.

 

The blue triangle in the upper left corner indicates this is a Yielding instruction.

 


See Also:

 


Rung Example: