Skip to main content

Example - Ladder Diagram

CLC​


The CLC instruction sets the carry flag, F11.2, to OFF (0).

Ladder Diagram Example​


When the contact, M0.0, is powered OFF, the CLC instruction does NOT execute.



The carry flag, F11.2, is 1.


When the contact, M0.0, is powered ON, the CLC instruction executes.

Memory Monitor​


The carry flag, F11.2, is 0.