CLR (Clear) Ladder Logic Instruction

Definition & Video Demonstration

The Clear instruction is a ladder logic rung output instruction that clears all the bits (sets them to zero) of the Destination tag. The instruction is enabled when the preceding logic is true and disabled otherwise. The destination must be a value tag.

List of possible arguments

DESTINATION can be any of the following data types.

SINT              
INT
DINT
REAL

 

Note: Negative numbers are valid. Arithmetic status flags are affected (S:V, S:Z, S:N, S:C). Overflow, Zero, Negative, and Carry.