Topic: DMD0373

Help File Version: 2.9.4.37

RETC - Conditional Return Back to CALL


The Conditional Return Back to Call (RETC) instruction is used to end of the execution in a Subroutine if the input logic is TRUE. The RETC instruction is a conditional output, meaning that at least one element of input logic is required on the rung with the RETC instruction. A Subroutine still requires at least one Return Back to Call (RET) instruction even if one or more RETC instructions are used in the Subroutine.

 

 


See Also:

CALL - Call Subroutine

 

RET - Return

 

RETC - Conditional Return

 

Subroutines

 


Related Topics:

Programs

 

Tasks

 

Interrupt Service Routines