PLC Type KV Keyence , Name Input / Output PLC :
INPUT PLC :
0000 ; Switch ON/OFF Traffic Light.
OUTPUT PLC :
0500 ; Red Color Lights in Position A.
0501 ; Green color lights in Position A.
0502 ; Red Color Lights in Position B.
0503 ; Green color lights in Position B.
0504 ; Red Color Lights in Position C.
0505 ; Green color lights in Position C.
0506 ; Red Color Lights in Position D.
0507 ; Green color lights in Position D.
Please Download Picture Traffic Light PLC Program with PLC Keyence :
Traffic Light PLC Program with PLC Keyence
Reading Ladder PLC Programming for Traffic Light PLC Program with PLC Keyence :
Step 1 :
Sequence for Green Light
a.If 0000= ON Then System Traffic Light is Active.
Green Light in Position A = ON
b.If 0000= ON And ( 1000 = ON or T003 = ON ) And 1002 = OFF Then 1001 = ON ( Hold ON ) And T000 Activated.
Green Light in Position C = ON
c.If 0000= ON And T000= ON And 1003 = OFF Then 1002 = ON ( Hold ON ) And T001 Activated.
Green Light in Position D = ON
d.If 0000= ON And T001= ON And 1004= OFF Then 1003= ON ( Hold ON ) And T002 Activated.
Green Light in Position B = ON
e.If 0000= ON And T002= ON And 1001= OFF Then 1004= ON ( Hold ON ) And T003 Activated.
f.If T003= ON And Goto Step 1.a.
Setting Timer Traffic Light = 2 minutes:
Step 2 :
Sequence for Red Light
a.If 0000= ON And ( 1002 = ON Or 1003 = ON Or 1004 = ON ) Then 1005 = ON.
b.If 0000= ON And ( 1001 = ON Or 1002 = ON Or 1003 = ON ) Then 1006 = ON.
c.If 0000= ON And ( 1001 = ON Or 1003 = ON Or 1004 = ON ) Then 1007 = ON.
d.If 0000= ON And ( 1001 = ON Or 1002 = ON Or 1004 = ON ) Then 1008 = ON.
Step 3 : Output PLC
a.If 0000= ON And 1005 = ON Then 0500 = ON.
b.If 0000= ON And 1001 = ON Then 0501 = ON.
c.If 0000= ON And 1006 = ON Then 0502 = ON.
d.If 0000= ON And 1004 = ON Then 0503 = ON.
e.If 0000= ON And 1007 = ON Then 0504 = ON.
f.If 0000= ON And 1002 = ON Then 0505 = ON.
g.If 0000= ON And 1008 = ON Then 0506 = ON.
h.If 0000= ON And 1003 = ON Then 0507 = ON.
Please Download Programming for KV Builder :
Traffic Light PLC Program with PLC Keyencee
See : Traffic Light PLC Program
INPUT PLC :
0000 ; Switch ON/OFF Traffic Light.
OUTPUT PLC :
0500 ; Red Color Lights in Position A.
0501 ; Green color lights in Position A.
0502 ; Red Color Lights in Position B.
0503 ; Green color lights in Position B.
0504 ; Red Color Lights in Position C.
0505 ; Green color lights in Position C.
0506 ; Red Color Lights in Position D.
0507 ; Green color lights in Position D.
Traffic Light PLC Program with PLC Keyence
Reading Ladder PLC Programming for Traffic Light PLC Program with PLC Keyence :
Step 1 :
Sequence for Green Light
a.If 0000= ON Then System Traffic Light is Active.
Green Light in Position A = ON
b.If 0000= ON And ( 1000 = ON or T003 = ON ) And 1002 = OFF Then 1001 = ON ( Hold ON ) And T000 Activated.
Green Light in Position C = ON
c.If 0000= ON And T000= ON And 1003 = OFF Then 1002 = ON ( Hold ON ) And T001 Activated.
Green Light in Position D = ON
d.If 0000= ON And T001= ON And 1004= OFF Then 1003= ON ( Hold ON ) And T002 Activated.
Green Light in Position B = ON
e.If 0000= ON And T002= ON And 1001= OFF Then 1004= ON ( Hold ON ) And T003 Activated.
f.If T003= ON And Goto Step 1.a.
Setting Timer Traffic Light = 2 minutes:
Step 2 :
Sequence for Red Light
a.If 0000= ON And ( 1002 = ON Or 1003 = ON Or 1004 = ON ) Then 1005 = ON.
b.If 0000= ON And ( 1001 = ON Or 1002 = ON Or 1003 = ON ) Then 1006 = ON.
c.If 0000= ON And ( 1001 = ON Or 1003 = ON Or 1004 = ON ) Then 1007 = ON.
d.If 0000= ON And ( 1001 = ON Or 1002 = ON Or 1004 = ON ) Then 1008 = ON.
Step 3 : Output PLC
a.If 0000= ON And 1005 = ON Then 0500 = ON.
b.If 0000= ON And 1001 = ON Then 0501 = ON.
c.If 0000= ON And 1006 = ON Then 0502 = ON.
d.If 0000= ON And 1004 = ON Then 0503 = ON.
e.If 0000= ON And 1007 = ON Then 0504 = ON.
f.If 0000= ON And 1002 = ON Then 0505 = ON.
g.If 0000= ON And 1008 = ON Then 0506 = ON.
h.If 0000= ON And 1003 = ON Then 0507 = ON.
Please Download Programming for KV Builder :
Traffic Light PLC Program with PLC Keyencee
See : Traffic Light PLC Program