Professional Documents
Culture Documents
#4 - GOC35 Programming in Ladder (And, Or, Set & Reset) - Mechatron Solutions
#4 - GOC35 Programming in Ladder (And, Or, Set & Reset) - Mechatron Solutions
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
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
Figure-10
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.
Figure-12
Figure-13
Figure-14
Summery :