Premium Membership ♕

Limited Time Offer: Save 15% on Pro Plan with discount coupon: MX15. Study specialized LV/MV/HV technical articles and studies.

This is the fourth segment of the first volume on “How to Program a PLC”. In this series, we will examine an application and then create the code (logic) for the control of the discussed application. In this segment, we edit the logic to accomodate I/O memory locations and more compact code.

See other video courses from PLC Professor on Youtube.

Cant see this video? Click here to watch it on Youtube.

Premium Membership

Get access to premium HV/MV/LV technical articles, advanced electrical engineering guides, papers, and much more! It will help you to shape up your technical skills in your everyday life as an electrical engineer.
50% Discount 💥 - Save 50% on all 90+ video courses with Enterprise Membership plan.

More Information


  1. Harsha sravan
    Jun 06, 2019

    I really like your videos for practicing them I tried to download software for but I couldn’t find an suitable one, please give an link where I can download it.

  2. Ela
    Oct 18, 2015

    Yeah just figured it out while trying to fall asleep… a limit switch will provide 1 (true) until it reaches the limit… thx anyway :)

  3. Ela
    Oct 17, 2015

    Hi. Thanks a lot for all your videos. I’ve learned a lot. But I do have a question right now and it would be great if someone could answer..
    You have the next situation:

    MOTOR UP is being powered up by CR_UP
    CR_UP(last piece – third line of the program) is TRUE when the UP_PB has been pushed, the CR_DOWN is false and the UP_LIMIT is TRUE.
    This line of the code tells the door to go up, and stop when the limit has been reached. But until the door sets the UP_LIMIT sensor off, it still needs to be moving upwards. So basically the initial conditions in order to get the MOTOR_UP functioning, are not met.

    I have seen this many times and I just cannot understand the logic.. Maybe you could help me understand.
    In my opinion, this doesnt work. Because in order to get the UP_Limit sensor triggered, the door has to move initially
    (even if it is a few inches). But our program says that, in order to get the MOTOR_UP on(and the door moving), we first need to have the UP_LIMIT Sensor triggered. So how does it actually work? What am I missing?


Leave a Comment

Tell us what you're thinking. We care about your opinion! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a professional and meaningful conversation instead. Thanks for dropping by!

twenty four  −    =  sixteen

Learn How to Design Power Systems

Learn to design LV/MV/HV power systems through professional video courses. Lifetime access. Enjoy learning!

Subscribe to Weekly Newsletter

Subscribe to our Weekly Digest newsletter and receive free updates on new technical articles, video courses and guides (PDF).
EEP Academy Courses - A hand crafted cutting-edge electrical engineering knowledge