Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Mechatron Solutions

Automation for better life

#4_GOC35 Programming in ladder (And, Or, Set


& Reset).

Hello Friends till now we learned about how to configure PLC for programming & operate the codesys
software.

In this tutorial we will learn about And, Or, Set & Reset logic.
Figure-1

AND Logic

Before starting we create program as above then i will explain step by step.

In 1st rung logic like as follow if M1 & M2 both are high then only output OUT1 will turn on. Rest of the
time it will become Low.

Figure-2

Figure-3

Figure-4

The following image explain the logic of And ladder diagram.


Figure-5

The truth table & logical possibilities of And logic.

Figure-6

OR Logic

In 2nd rung There is OR logic. If M3 & M4 both will goes of then only OUT2 will goes of. otherwise any
one for from M3 & M4 will high it will turn on the OUT2.

Figure-7
Figure-8

Figure-9

Following figure explain the logic as well as truth table of OR logic.

Figure-10

Now we will talk about SET & RESET output coils.

Before starting about SET & RESET coil I want to inform about from where you can take SET & Reset
coils.
Figure-11

This will useful instead of latch logic le er on we will discussed about latch in ladder.

In following circuit M5 will turn on OUT3 coil which is SET coil after M% goes low still OUT3 will
remain high because it is SET coil.

Until M6 will RESET the OUT3 it will turn remain high.

Figure-12

OUT3 is remain high after M5 goes low.

Figure-13

While M6 will turn on that time OUT3 will low.

Figure-14

Summery :

1. And with logic, Ladder, Truth table.


2. OR with logic, Ladder, Truth table.
3. SET & RESET coil, where to take, How to use.

In next tutorial we discussed about ladder “Latch” Circuit.


CREATE A FREE WEBSITE OR BLOG AT WORDPRESS.COM.

You might also like