Topic: DMD0413

Help File Version: 2.10.0.636

ENDC - Conditional End of Code-Block


If the input logic is ON, the Conditional End of Code-Block (ENDC) instruction skips over all of the ladder logic from the point where the ENDC is placed to the end of the Code-Block. This instruction can be used in a Program, Task, or Interrupt Service Routine, but it can NOT be used in a Subroutine, use the RETC - Conditional Return Back to Call instruction instead.

 

 


Parameters:

This instruction has no parameters.

 


Status Display:

 

The green triangle in the upper left corner indicates this is a Skipping instruction.

 


See Also:

END - End Program or Task

 

ENDC - Conditional End of Code-Block

 

EXIT - Exit This Program

 

HALT - Halt Program or Task

 

RESTART - Restart Program or Task

 

SUSPEND - Suspend Program or Task

 

YIELD - Yield Program or Task

 


Code Block Overview

 

Programs

 

Tasks

 

Subroutines

 

Interrupt Service Routines

 

Termination Scan Behavior

 


Rung Example: