Logic Gates in PLC Ladder Logic: A Beginner’s Guide

Table of Contents

    Logic gates are an electronics circuit which makes logical decisions based on the combination of digital signals present on its inputs. clickhere to read Introduction to PLCs.

    OR gate

    Y=A + B

    An OR gates produces a HIGH on the outputs when any of the inputs is HIGH. The outputs is LOW when all the inputs are LOW.

    In this ladder program, the output Y1 is HIGH when either X1 or X2 is HIGH, and vice versa.

    AND gate

    Y=A.B

    An AND gate produces a HIGH output only when all the inputs are HIGH. The output is LOW when any one input is LOW.

    In this ladder program, the output Y1 is HIGH when both inputs X1 and X2 are HIGH; otherwise, output Y1 is LOW

    NOT gate

    The inverter (NOT circuit) performs the operation called inversion or complementation. The inverter changes one logic level to the opposite level

    The Y1 is on when power is supplied to it, and Y1 will turn off if X1 is triggered.

    XOR gate

    An XOR gate produces a HIGH output only when one of its inputs X1 OR X2 IS HIGH. The output is LOW in any other condition.

    The output Y1 is only set to HIGH in two specific conditions: when X1 is ON and X2 is OFF, or when X1 is OFF and X2 is ON. In all other scenarios, Y1 remains at a LOW state.

    NAND gate

    The NAND gate is like a digital detective that reveals falsehood. It takes multiple inputs and declares ‘false’ only when every input is ‘true.’ In this sense, it’s the mirror image of an AND gate, constantly seeking out the truth in a sea of possibilities.

    Y1 shines its light in every scenario, except when both X1 and X2 join forces to dim its glow.

    The video showcases the design of all the Previously mentioned logic gates within the Mitsubishi GXWorks 2 software

    logic gates ladder diagram in gxworks2.

    Denesh Neupane

    Denesh is a tech enthusiast who enjoys sharing ideas and creative digital solutions. With a passion for turning concepts into real projects, he loves exploring new technologies.

    View All Posts

    3 Comments

    강남여성전용마사지 July 29, 2025 at 1:05 pm
    My stiff shoulders softened after a session at <a href="https://gangnamtodak2.clickn.co.kr" rel="nofollow ugc">강남여성전용마사지</a>. I was genuinely impressed.
    토닥이 August 4, 2025 at 2:39 am
    When life feels overwhelming, <a href="https://womensmassage.isweb.co.kr" rel="nofollow ugc">토닥이</a> offers balance in the simplest way.
    토닥이외모 August 20, 2025 at 9:23 pm
    That was exactly what I needed — thanks, <a href="https://todacke.clickn.co.kr" rel="nofollow ugc">토닥이</a>!

    Leave a Comment

    Subscribe for More

    Get the latest projects and tutorials in your inbox.