The CLR block implements the CLR ladder logic
instruction. When the rung conditions are true, the block clears all the bits specified in the
Data To Clear tag.
Controls the execution of the block. EnableIn reflects the
rung state preceding the block. If the rung state preceding the block is false,
EnableIn is false, the block does not execute and the outputs
are not updated.
By default, EnableOut follows the state of
EnableIn. If the EnableIn input to the
block is false, the logic implemented by the block is not executed and
EnableOut signal is set to false.
Data To Clear — Operand data A (default) | boolean
Specify the data bits to be cleared. Data bits are specified in the format of
tags. In Ladder Diagrams, tags (variables) are used for
representing all inputs, outputs, and internal memory with attributes such as
Data Type, Initial Value, and
size. To change the attributes of the Data To
Clear, open the Program Variables table within the
Ladder Diagram Program block.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.