You are on page 1of 173

List of PLC Programming Examples:

1. PLC Programming Example for Marking Machine

2. PLC Programming Example for Marking Machine with Ejector

3. PLC Programming Example for Packing Machine

4. PLC Programming Example for Sorter Machine

5. PLC Programming Example for Assembly Line

6. PLC Programming Example for Automatic Cutting Machine

7. PLC Programming Example for Spiral Binding Machine

8. PLC Programming Example for Filling Machine

9. PLC Programming Example for Heater Controller

10. PLC Programming Example for Injection Molding Machine

11. PLC Programming Example for Water Treatment

12. PLC Programming Example for Laser Engraving Machine

13. PLC Programming Example for Traffic Light

14. PLC Programming Example for Elevator

15. PLC Programming Example for Push ON Push OFF

16. PLC Programming Example for Display Seven Segment


17. PLC Programming Example for Timer Countdown

18. PLC Programming Example for Automatic Gates

19. PLC Programming Example for Parking Information

20. PLC Programming Example for Weighing Machine

21. PLC Programming Example for Password

22. PLC Programming Example for Lock Unlock Door

23. PLC Programming Example for Conveyor

24. PLC Programming Example for 3 Movement

25. PLC Programming Example for Automatic Welding Machine

26. PLC Programming Example for Rotary Bottle Washing


Machine

27. PLC Programming Example for Car Ticketing Machine

28. PLC Programming Example for Snack Vending Machine

Program Sequence PLC :

Step 1 :
If Upper LImit = ON And Switch Start = ON Then Cylindrical (Marking) DOWN
= ON.

Step 2 :
If Cylindrical (Marking) DOWN = ON And Lower Limit = ON Then Cylindrical
(Marking) UP = ON And Cylindrical (Marking) DOWN = OFF.

Step 3 :
If Cylindrical (Marking) UP = ON And Upper LImit = ON Then Cylindrical
(Marking) UP = OFF.

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; LS or Limit Switch for Upper Marking
000.01 ; Switch Start
000.02 ; LS or Limit Switch for Lower Marking

OUTPUT PLC :
005.00 ; Solenoid for Cylinder Marking Down
005.01 ; Solenoid for Cylinder Marking Up

Step 1 :
If 000.00 = ON And 000.01 = ON And 010.01 = ON Then 010.00 = Hold ON (
Latching ).
Step 2 : ( Lifter in the Middle Position )
If 010.00 = ON And 000.02 = ON And 000.00 = OFF Then 010.01 = Hold ON (
Latching ).
Step 3 :
a. If 010.00= ON Then 005.00 = ON.
b. If 010.01 = ON Then 005.01 = ON.

Step 1 :

If Upper LImit = ON And Switch Start = ON Then Marking DOWN = ON.

Step 2 :
If Marking DOWN = ON And Lower Limit = ON Then Marking UP = ON And
Marking DOWN = OFF.
Step 3 :
If Marking UP = ON And Upper LImit = ON Then Marking UP = OFF And
Ejector Forward = ON And Marking DOWN = OFF.

Step 4 :
If Ejector Forward = ON And Forward LImit = ON Then Ejector Forward = OFF
And Ejector Reverse = ON And Marking DOWN = OFF And Marking UP = OFF.

Step 5 :
If Ejector Reverse = ON And Reverse LImit = ON Then Ejector Reverse = OFF
And Ejector Forward = OFF And Marking DOWN = OFF And Marking UP =
OFF.

INPUT PLC :
000.00 ; LS or Limit Switch for Marking UP
000.01 ; Switch Start
000.02 ; LS or Limit Switch for Marking DOWN
000.03 ; LS or Limit Switch for Ejector Forward
000.04 ; LS or Limit Switch for Ejector Reverse

OUTPUT PLC :
005.00 ; Solenoid for Cylinder Marking DOWN
005.01 ; Solenoid for Cylinder Marking UP
005.02 ; Solenoid for Cylinder Ejector Forward
005.03 ; Solenoid for Cylinder Ejector Reverse

Step 1 :
( Marking to Move Down ) If 000.00 = ON And 000.01 = ON And 010.01 = OFF
And 010.02 = OFF And 010.03 = OFF And 010.04 = OFF Then 010.00 = Hold ON
( Latching ).
Step 2 : ( Marking to Move UP )
If 010.00 = ON And 000.02 = ON And 010.02 = OFF And 010.03 = OFF And
010.04 = OFF Then 010.01 = Hold ON ( Latching ).
Step 3 : ( Ejector to Move Forward )
If 010.01 = ON And 000.00 = ON And 010.03 = OFF And 010.04 = OFF Then
010.02 = Hold ON ( Latching ).
Step 4 : ( Ejector to Move Reverse )
a.If 010.02 = ON And 000.03 = ON And 010.04 = OFF Then 010.03 = Hold ON (
Latching ).
b.If 010.03 = ON And 000.04= ON Then 010.04 = ON.
Step 5 :
a. If 010.00 = ON Then 005.00 = ON.
b. If 010.01 = ON Then 005.01 = ON.
c. If 010.02 = ON Then 005.02 = ON.
d. If 010.03 = ON Then 005.03 = ON.

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 7 Input :
--- 1 Unit Input for Limit Feeder Reverse
--- 1 Unit Input for Limit Feeder Forward
--- 1 Unit Input for Limit Lifter Lower
--- 1 Unit Input for Limit Lifter Middle
--- 1 Unit Input for Limit Lifter Upper
--- 1 Unit Input for Switch Start. It's Functions to Start Process
--- 1 Unit Input for Push Button RESET. It's Functions to ORIGIN Proses
--- Total Number Of Inputs PLC is Minimum 7 Input Unit

2. Number Of Output PLC is 4 Output :


--- 1 Unit Output for Electrical Solenoid. It's Functions to Moves Feeder Forward
--- 1 Unit Output for Electrical Solenoid. It's Functions to Moves Feeder Reverse
--- 1 Unit Output for Electrical Solenoid Type Center Closed. It's Functions to
Moves Lifter DOWN
--- 1 Unit Output for Electrical Solenoid Type Center Closed. It's Functions to
Moves Lifter UP
--- Total Number Of Outputs PLC is Minimum 4 Output Unit
Sequence PLC Programming for Packing Machine :

Step 1 : ( Feeder Forward to 1 )


If Feeder REV Limit = ON And Lifter UP Limit = ON And Switch Start = ON
Then Cylindrical Feeder Forward = ON.

Step 2 :
1. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Feeder Reverse = ON.
2.a. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Lifter DOWN = ON.
2.b. If Lifter MID Limit = ON Then Cylindrical Lifter DOWN = OFF.

Step 3 : ( Feeder Forward to 2 )


If Feeder REV Limit = ON And Lifter MID Limit = ON Then Cylindrical Feeder
Forward = ON.

Step 4 :
1. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Feeder Reverse = ON.
2.a. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Lifter DOWN = ON.
2.b. If Lifter LOW Limit = ON Then Cylindrical Lifter DOWN = OFF.

Step 5 : ( Feeder Forward to 3 )


If Feeder REV Limit = ON And Lifter MID Limit = ON Then Cylindrical Feeder
Forward = ON.

Step 6 :
1. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Feeder Reverse = ON.
2.a. If Cylindrical Feeder Forward = ON And Feeder FWD Limit = ON Then
Cylindrical Lifter UP = ON.
2.b. If Lifter UP Limit = ON Then Cylindrical Lifter UP = OFF.
INPUT PLC :
000.00 ; LS or Limit Switch for Feeder Reverse
000.01 ; LS or Limit Switch for Feeder Forward
000.02 ; LS or Limit Switch for Lifter Lower
000.03 ; LS or Limit Switch for Lifter Middle
000.04 ; LS or Limit Switch for Lifter Upper ( Forward )
000.05 ; Switch Start
000.06 ; Push Button Reset

OUTPUT PLC :
005.00 ; Solenoid for Cylinder Feeder Forward
005.01 ; Solenoid for Cylinder Feeder Reverse
005.02 ; Solenoid for Cylinder Lifter Down
005.03 ; Solenoid for Cylinder Lifter Upper

Step 1 :
If 000.00 = ON And 000.04 = ON And 000.05 = ON And 010.01 = OFF And
010.04 = OFF And 010.07 = OFF And 000.06 = OFF Then 010.00 = Hold ON (
Latching ).
Step 2 : ( Lifter in the Middle Position )
a. If 010.00 = ON And 000.01 = ON And 010.03 = OFF And 000.06 = OFF Then
010.01 = Hold ON ( Latching ).
b. If 010.00 = ON And 000.01 = ON And 000.03 = OFF And 000.06 = OFF Then
010.02 = Hold ON ( Latching ).
Step 3 :
If 010.01 = ON And 000.03= ON And 000.00 = ON And 010.04 = OFF And
000.06 = OFF Then 010.03 = Hold ON ( Latching ).
Step 4 : ( Lifter in the Lower Position )
a. If 010.03 = ON And 000.01 = ON And 010.06 = OFF And 000.06 = OFF Then
010.04 = Hold ON ( Latching ).
b. If 010.03 = ON And 000.01 = ON And 000.02 = OFF And 000.06 = OFF Then
010.05 = Hold ON ( Latching ).
Step 5 :
If 010.04 = ON And 000.02= ON And 000.00 = ON And 010.07 = OFF And
000.06 = OFF Then 010.06= Hold ON ( Latching ).
Step 6 :( Lifter in the Upper Position or Origin Position )
a. If 010.06 = ON And 000.01 = ON And 000.00 = OFF And 000.06 = OFF Then
010.07= Hold ON ( Latching ).
b. If 010.06 = ON And 000.01 = ON And 000.04 = OFF And 000.06 = OFF Then
010.08 = Hold ON ( Latching ).
Step 7 :
a. If 010.00 = ON Or 010.03 = ON Or 010.06 = ON Then 005.00 = ON.
b. If 010.01 = ON Or 010.04 = ON Or 010.07 = ON Or 000.06 = ON Then 005.01
= ON.
c. If 010.02 = ON Or 010.05 = ON Then 005.02 = ON.
d. If 010.08 = ON Or 000.06 = ON Then 005.03 = ON.

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 7 Input :
--- 1 Unit Input for ON / OFF Selector Switch
--- 1 Unit Input for GO from Sensor 0
--- 1 Unit Input for NOGO from Sensor 0
--- 1 Unit Input for Limit Lifter UP
--- 1 Unit Input for Limit Lifter DOWN
--- 1 Unit Input for Work Sensor from Sensor 1
--- 1 Unit Input for Work Sensor from Sensor 2
--- Total Number Of Inputs PLC is Minimum 7 Input Unit

--- For Sensor 0 , 1 Unit sensor with 2 output ( 1 output for GO, 1 Output for
NOGO )
--- Example Type Sensor 0 ( GO , NOGO ) : Thickness Detection Sensor

--- For Sensor 1 and Sensor 2 , 1 Unit Sensor with 1 Output.


--- Example Type Sensor 1 and 2 ( Goods Sensor ) : Goods Sensor or Proximity

2. Number Of Output PLC is 3 Output :


--- 1 Unit Output for Contactor. It's Functions to electrical Motor Conveyor ( ON /
OFF Motor )
--- 1 Unit Output for Electrical Solenoid Type Center Closed. It's Functions to
Moves Lifter DOWN
--- 1 Unit Output for Electrical Solenoid Type Center Closed. It's Functions to
Moves Lifter UP
--- Total Number Of Outputs PLC is Minimum 3 Output Unit

Step 1 :
a. If Switch = ON And Sensor 0 (GO) = OFF And Sensor 0 (NOGO) = OFF Then
Contactor for Motor Conveyor = ON.
b. If Switch = OFF or Sensor 0 (GO) = ON or Sensor 0 (NOGO) = ON Then
Contactor for Motor Conveyor = OFF.

Step 2 :
a. If Switch = ON And Sensor 0 (GO) = ON and Limit Lifter UP = OFF Then
Solenoid Lifter UP = ON.
b. If Switch = ON And Sensor 0 (GO) = ON and Limit Lifter UP = ON Then
Solenoid Lifter UP = OFF.
c. If Switch = ON And Sensor 0 (NOGO) = ON and Limit Lifter DOWN = OFF
Then Solenoid Lifter DOWN = ON.
d. If Switch = ON And Sensor 0 (NOGO) = ON and Limit Lifter DOWN = ON
Then Solenoid Lifter DOWN = OFF.

Step 3 :
a. If Sensor 0 (GO) = ON And Limit Lifter UP = ON And Sensor 1 = OFF Then
Contactor for Motor Conveyor = ON.
b. If Sensor 0 (NOGO) = ON And Limit Lifter DOWN = ON And Sensor 2 = OFF
Then Contactor for Motor Conveyor = ON.

Step 1 :
If 000.00=ON And 000.01=OFF And 000.02=OFF Then 010.00=ON.

Step 2 :
If 000.00=ON And 000.01= ON ( Latching ) And 000.03= OFF Then 010.01=ON (
Latching ON ).
Step 3 :
If 000.00=ON And 000.01=ON And 000.03=ON And 000.05=OFF Then Pulse UP
010.02.

Step 4 :
If 000.00=ON And Pulse UP 010.02 ( Latching ) and 000.05=OFF And
010.00=OFF Then 010.03=ON ( Latching ON ).

Step 5 :
If 000.00=ON And 000.02=ON ( Latching ) and 000.04=OFF Then 010.04=ON (
Latching ON ).

Step 6 :
If 000.00=ON And 000.02=ON and 000.04=ON And 000.06=OFF Then Pulse UP
010.05.

Step 7 :
If 000.00=ON And Pulse UP 010.05 ( Latching ) and 000.06=OFF And
010.00=OFF Then 010.06=ON ( Latching ON ).

Step 8 :
If 000.00=ON And 010.00=ON or 010.03=ON or 010.06=ON Then 005.00=ON.

Step 8 :
a. If 000.00=ON And 010.01=ON Then 005.01= ON.
b. If 000.00=ON And 010.04=ON Then 005.02= ON.

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 13 Input :
--- 5 Unit Input for Push Button Emg / Emergency.
--- 5 Unit Input for Push Button Finish.
--- 2 Unit Input for Sensor 1 and Sensor 2.
--- 1 Unit Input for sensor 3. It's Function to Count Revolution or Distance
Between Operators.
--- Total Number Of Inputs PLC is Minimum 13 Input Unit.

--- Example Push Button : Devices Input PLC


--- Example Sensor 1 and Sensor 2 : Sensor / Proximity

2. Number Of Output PLC is 16 Output :


--- 1 Unit Output for Contactor. It's Functions to electrical Motor Conveyor ( ON /
OFF Motor )
--- 5 Unit Output for Emg / Emergency Lamp or Tower / Sign Lamp Red
--- 5 Unit Output for Finish Lamp or Tower / Sign Lamp Yellow
--- 5 Unit Output for Proses Lamp or Tower / Sign Lamp Green
--- Total Number Of Outputs PLC is Minimum 16 Output Unit

--- Example Tower / Sign Lamp : Devices Output PLC

Sequence PLC Programming for Assembly Line :

Step 1 :
If Push Button Emg Operator 1 = OFF Or Push Button Emg Operator 2 = OFF Or
Push Button Emg Operator 3 = OFF Or Push Button Emg Operator 4 = OFF Or
Push Button Emg Operator 5 = OFF Then Contactor for Motor Conveyor = OFF
And All System OFF.

Step 2 :
a. If Sensor 1 = ON And Sensor 2 = OFF And All Push Button Finish = ON Then
Contactor for Motor Conveyor = ON.
b. If Count ( Sensor 3 = ON ) = 2 ( Data Setting for Distance Between Operators )
Then Contactor for Motor Conveyor = OFF.

Step 3 :
a. If Push Button Emg = OFF Then Tower / Sign Lamp Red = ON.
b. If Push Button Finish = ON And Push Button Emg = ON Then Tower / Sign
Lamp Yellow = ON.
c. If Sensor 1 = ON And Push Button Emg = ON Then Tower / Sign Lamp Green
Operator 1 = ON.
d. If Count ( Motor Conveyor = ON , Motor Conveyor = OFF ) > 1 And Motor
Conveyor = OFF And Push Button Emg = ON And Sensor 2 = OFF Then Tower /
Sign Lamp Green Operator 2 = ON.
e. If Count ( Motor Conveyor = ON , Motor Conveyor = OFF ) > 2 And Motor
Conveyor = OFF And Push Button Emg = ON And Sensor 2 = OFF Then Tower /
Sign Lamp Green Operator 3 = ON.
f. If Count ( Motor Conveyor = ON , Motor Conveyor = OFF ) > 3 And Motor
Conveyor = OFF And Push Button Emg = ON And Sensor 2 = OFF Then Tower /
Sign Lamp Green Operator 4 = ON.
g. If Sensor 2 = ON And Push Button Emg = ON Then Tower / Sign Lamp Green
Operator 2, 3, 4, 5 = ON.

PLC Type Series-C Omron , Name Input / Output PLC :


000.00 ; Push Button Emg Operator 1
000.01 ; Push Button Finish Operator 1
000.02 ; Push Button Emg Operator 2
000.03 ; Push Button Finish Operator 2
000.04 ; Push Button Emg Operator 3
000.05 ; Push Button Finish Operator 3
000.06 ; Push Button Emg Operator 4
000.07 ; Push Button Finish Operator 4
000.08 ; Push Button Emg Operator 5
000.09 ; Push Button Finish Operator 5
000.10 ; Sensor 1
000.11 ; Sensor 2
000.12 ; Sensor 3
005.00 ; Motor Conveyor
005.01 ; Emg Lamp Red Operator 1
005.02 ; Finish Lamp Yellow Operator 1
005.03 ; Proses Lamp Green Operator 1
005.04 ; Emg Lamp Red Operator 2
005.05 ; Finish Lamp Yellow Operator 2
005.06 ; Proses Lamp Green Operator 2
005.07 ; EmgLamp Red Operator 3
005.08 ; Finish Lamp Yellow Operator 3
005.09 ; Proses Lamp Green Operator 3
005.10 ; Emg Lamp Red Operator 4
005.11 ; Finish Lamp Yellow Operator 4
005.12 ; Proses Lamp Green Operator 4
005.13 ; Emg Lamp Red Operator 5
005.14 ; Finish Lamp Yellow Operator 5
005.15 ; Proses Lamp Green Operator 5

Reading PLC Programming for Assembly Line :


Step 1 :
If 000.00=ON And 000.02=ON And 000.04=ON And 000.06=ON And
000.08=ON Then 010.00=ON.
Step 2 :
a. If 010.00=ON And 000.01=ON Then Holding 010.01=ON ( SET ).
b. If 010.00=ON And 000.03=ON Then Holding 010.02=ON ( SET ).
c. If 010.00=ON And 000.05=ON Then Holding 010.03=ON ( SET ).
d. If 010.00=ON And 000.07=ON Then Holding 010.04=ON ( SET ).
e. If 010.00=ON And 000.09=ON Then Holding 010.05=ON ( SET ).
Step 3 :
a. If 010.00=OFF Or 010.07=ON Then Not Holding 010.01=OFF ( RSET ).
b. If 010.00=OFF Or 010.07=ON Then Not Holding 010.02=OFF ( RSET ).
c. If 010.00=OFF Or 010.07=ON Then Not Holding 010.03=OFF ( RSET ).
d. If 010.00=OFF Or 010.07=ON Then Not Holding 010.04=OFF ( RSET ).
e. If 010.00=OFF Or 010.07=ON Then Not Holding 010.05=OFF ( RSET ).
Step 4 :
If 010.01=ON And 010.02=ON And 010.03=ON And 010.04=ON And
010.05=ON Then 010.06=ON.
Step 5 :
a. If 010.00=ON And 000.10=ON And 000.11=OFF And 010.06=ON And
C000=OFF Then 010.07=ON ( Latching ON ).
b. If C000=ON Then 010.07=OFF ( Latching OFF ).
Step 6 :
a. If 010.00=ON And 010.07=ON And 000.12=ON Then Differentiate Up
010.08=ON.
b. If 010.08=ON Then Count Up C000.
c. If Count C000>= 2 Then C000=ON.
d. If 010.00=OFF Or 010.07=OFF Then Reset C000 / Count C000=0.
Step 7 :
If 010.00=On And 010.07=ON Then Differentiate Down 010.09=ON.
Step 8 :
a. If 010.00=ON And 010.09=ON And 010.06=OFF Then 010.10=ON ( Latching
ON ).
b. If 010.06=ON Then 010.10=OFF ( Latching OFF ).
Step 9 :
a. If 010.10=ON Then Count Up C001.
b. If 010.10=ON Then Count Up C002.
c. If 010.10=ON Then Count Up C003.
d. If Count C001>= 1 Then C001=ON.
e. If Count C002>= 2 Then C002=ON.
f. If Count C003>= 3 Then C003=ON.
g. If 010.00=OFF Then Reset C001 / Count C001=0, Reset C002 / Count C002=0,
Reset C003 / Count C003=0.
Step 10 :
If 010.00=ON And 010.07=ON Then 005.00=ON.
Step 11 :
a. If 000.00=OFF Then 005.01=ON.
b. If 000.00=ON And 010.01=ON Then 005.02=ON.
c. If 000.00=ON And 000.10=ON And 010.01=OFF Then 005.03=ON.
Step 12 :
a. If 000.02=OFF Then 005.04=ON.
b. If 000.02=ON And 010.02=ON Then 005.05=ON.
c. If 000.02=ON And 010.10=ON And ( C001=ON Or 000.11=ON ) And
010.02=OFF Then 005.06=ON.
Step 13 :
a. If 000.04=OFF Then 005.07=ON.
b. If 000.04=ON And 010.03=ON Then 005.08=ON.
c. If 000.04=ON And 010.10=ON And ( C002=ON Or 000.11=ON ) And
010.03=OFF Then 005.09=ON.
Step 14 :
a. If 000.06=OFF Then 005.10=ON.
b. If 000.06=ON And 010.04=ON Then 005.11=ON.
c. If 000.06=ON And 010.10=ON And ( C003=ON Or 000.11=ON ) And
010.04=OFF Then 005.12=ON.
Step 15 :
a. If 000.08=OFF Then 005.13=ON.
b. If 000.08=ON And 010.05=ON Then 005.14=ON.
c. If 000.08=ON 000.11=ON And 010.05=OFF Then 005.15=ON.

Notes :
LS = Limit Switch.
LS 1 = Limit Switch for Cutter Reverse.
LS 2 = Limit Switch for Cutter Forward.
LS 3 = Limit Switch for Clamp1 (Fixed) Forward (Clamp).
LS 4 = Limit Switch for Clamp1 (Fixed) Reverse (UnClamp).
LS 5 = Limit Switch for Clamp2 (Movable) Forward (Clamp).
LS 6 = Limit Switch for Clamp2 (Movable) Reverse (UnClamp).
LS 7 = Limit Switch for Clamp2 (Movable) Forward.
LS 8 = Limit Switch for Clamp2 (Movable) Reverse.

See : LS or Limit Switch

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 11 Input :
--- 1 Unit Input for Push Button Start.
--- 1 Unit Input for Push Button Emg / Emergency.
--- 1 Unit Input for Selector Switch Electric Motor ON.
--- 8 Unit Input for Limit Switch (LS).
--- Total Number Of Inputs PLC is Minimum 11 Input Unit.
2. Number Of Output PLC is 9 Output :
--- 1 Unit Output for Contactor. It's Functions to electrical Motor Cutter ( ON /
OFF Motor ) .
--- 2 Unit Output for Solenoid Cylinder Cutter : Forward - Reverse.
--- 2 Unit Output for Solenoid Cylinder Clamp1 : Clamp - UnClamp .
--- 2 Unit Output for Solenoid Cylinder Clamp2 : Clamp - UnClamp.
--- 2 Unit Output for Solenoid Cylinder Clamp2 : Forward - Reverse.
--- Total Number Of Outputs PLC is Minimum 9 Output Unit.

See : Solenoid

Sequence PLC Programming for Cutting Machines :

Step 1 :
a. If Push Button Emg = OFF Then All System OFF.
b. If LS 1 = ON And LS 4 = ON And LS 6 = ON And LS 8 = ON Then All Limit
Switch Origin = ON.
c. If Push Button Emg = ON And Selector Switch Motor = ( OFF to ON ) And All
Limit Switch Origin = ON Then Contactor Motor = ON.

Step 2 :
a. If Push Button Start = ON And Contactor Motor = ON And All Limit Switch
Origin = ON Then Starts Automatic Cutting Process.
--- Download Animation : Cutting Machine
b. If have been three times ( Data Setting = 3 (Can be Changed) ) Then Stops
Automatic Cutting Process And ALL Return Origin.
c. If Push Button Emg = Pulse ON Then ALL Return Origin.

INPUT PLC :
000.00 ; Push Button Start
000.01 ; Push Button Emergency
000.02 ; Selector Switch Motor ON / OFF
000.03 ; LS or Limit Switch Cutter REV ( Reverse)
000.04 ; LS or Limit Switch Cutter FWD ( Forward )
000.05 ; LS or Limit Switch Clamp1 CLAMP
000.06 ; LS or Limit Switch Clamp1 UNCLAMP
000.07 ; LS or Limit Switch Clamp1 CLAMP
000.08 ; LS or Limit Switch Clamp1 UNCLAMP
000.09 ; LS or Limit Switch Clamp2 FWD ( Forward )
000.10 ; LS or Limit Switch Clamp2 REV ( Reverse)

OUTPUT PLC :
005.00 ; Contactor Motor Cutter
005.01 ; Solenoid for Cylinder Cutter Forward
005.02 ; Solenoid for Cylinder Cutter Reverse
005.03 ; Solenoid for Cylinder Clamp1 CLAMP
005.04 ; Solenoid for Cylinder Clamp1 UNCLAMP
005.05 ; Solenoid for Cylinder Clamp2 CLAMP
005.06 ; Solenoid for Cylinder Clamp2 UNCLAMP
005.07 ; Solenoid for Cylinder Clamp2 Forward
005.08 ; Solenoid for Cylinder Clamp2 Reverse

Reading PLC Programming for Cutting Machines :


Step 1 :
If 000.01 = OFF ( Interlock Condition = OFF) Then ALL Outputs =OFF.
Step 2 :
If 000.03 = ON And 000.06 = ON And 000.08 = ON And 000.10 = ON Then
010.00 = ON ( All LS Origin).
Step 3 :
a. If 000.02 = ON Then 010.01 = Momentary ON ( Diff. UP).
b. If 010.01 = ON And 010.00 = ON Then 010.02 = Hold ON ( Latching ).
Step 4 :
If 000.00 = ON And 010.02 = ON And 010.00 = ON And CNT000 = OFF Then
010.03 = Hold ON ( Latching ) And 010.04 = Momentary ON ( Diff. UP).
Step 5 :
If 010.04 = ON And 010.03 = ON And 010.06 = OFF Then 010.05 = Hold ON (
Latching ).
Step 6 :
a. If ( 010.05 = ON Or 010.14 = ON ) And 000.07 = ON And 000.06 = ON And
010.03 = ON And 010.07 = OFF Then 010.06 = Hold ON ( Latching ).
b. If 010.06= ON And 000.09 = ON And 010.03 = ON And 010.08 = OFF Then
010.07 = Hold ON ( Latching ).
c. If 010.07= ON And 000.05 = ON And 010.03 = ON And 010.09 = OFF Then
010.08 = Hold ON ( Latching ).
d. If 010.08= ON And 000.08 = ON And 010.03 = ON And 010.10 = OFF Then
010.09 = Hold ON ( Latching ).
e. If 010.09= ON And 000.10 = ON And 005.00 = ON And 010.03 = ON And
010.11= OFF Then 010.10 = Hold ON ( Latching ).
f. If 010.10= ON And 000.04 = ON And 010.03 = ON And 010.12 = OFF Then
010.11 = Hold ON ( Latching ).
g. If 010.11= ON And 000.03 = ON And 010.03 = ON And 010.13 = OFF Then
010.12 = Hold ON ( Latching ).
h. If 010.12= ON And 000.07 = ON And 010.03 = ON And 010.14 = OFF Then
010.13 = Hold ON ( Latching ).
Step 7 :
a. If 010.10= ON And 000.03 = ON Then 011.00 = ON ( For Count Cutting ).
b. If 011.00= ON Then Count Up CNT000 ( For Count Cutting ).
c. If 010.03= OFF Then Reset CNT000.
Step 8 :
a. If 010.13= ON And 000.06 = ON And CNT000 = OFF And 010.03= ON And
010.06 = ON Then 010.14 = Hold ON ( Latching ).
b. If CNT000 = OFF Then Return to Step 6 ( Loop Until CNT000 = ON ).
Step 9 :
a. If 000.01 = ON Then 011.01 = Momentary ON ( Diff. UP).
b. If ( CNT000 = ON Or 011.01 = ON ) And 010.00 = OFF Then 010.15 = Hold
ON ( Latching ).
Step 10 :
a. If 010.02 = ON Then 005.00 = ON.
b. If 010.10 = ON Then 005.01 = ON.
c. If 010.11 = ON Or 010.15 = ON Then 005.02 = ON.
d. If 010.07 = ON Then 005.03 = ON.
e. If 010.13 = ON Or (010.15 = ON And 000.03) = ONThen 005.04= ON.
f. If 010.05 = ON Or 010.12 = ON Then 005.05= ON.
g. If 010.08 = ON Or 010.15 = ON Then 005.06= ON.
h. If 010.06 = ON Then 005.07= ON.
i. If 010.09 = ON Or (010.15 = ON And 000.06) = ONThen 005.08 = ON.

LS = Limit Switch or Micro Switches for the Detection of Wire Out.

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 4 Input :
--- 1 Unit Input for Push Button Start.
--- 1 Unit Input for Push Button Stop.
--- 1 Unit Input for Micro Switches Wire Out.
--- 1 Unit Input for Motor Feedback Alarm.
--- Total Number Of Inputs PLC is Minimum 4 Input Unit.

2. Number Of Output PLC is 2 Output :


--- 1 Unit Output for Speed Control Motor ( ON / OFF Motor ) .
--- 1 Unit Output for Single Solenoid. It's Functions to Pneumatic Cylinder Wire
Cutter ON ( Normally Cutter OFF).
--- Total Number Of Outputs PLC is Minimum 2 Output Unit.

Sequence PLC Programming for Spiral Binding Forming Machine :

Step 1 :
a. If Push Button Start = ON Then Speed Control Motor = ON.
b. If Speed Control Motor = ON And Timer0 = ON Then Speed Control Motor =
OFF.
c. If Timer0 = ON And Speed Control Motor = OFF Then Wire Cutters = ON.
d. If Wire Cutters = ON And Timer1 = ON Then Wire Cutters = OFF.
e. If Wire Cutters = OFF And Timer2 = ON Then Speed Control Motor = ON.
f. Continuous Process.
--- Download Simulation : Spiral Binding Forming Machine

Step 2 :
a. If Push Button Stop = ON Then Stop Process.
b. If Micro Switches = OFF Or Motor Feedback Alarm = OFF (Normally ON)
Then ALL System OFF.
c. Data Set Value Timer0 = 3 Second ( Data Setting = 3 second (Can be Changed)
) for Spiral Length.
PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Push Button Start
000.01 ; Push Button Stop
000.02 ; Micro Switches Wire Out
000.03 ; Motor Feedback Alarm

OUTPUT PLC :
005.00 ; Speed Control Motor ( Motor Running )
005.01 ; Single Solenoid Wire Cutters

PLC Omron Programming :

Download Picture : PLC Omron Programming

Please Download Programming for SYSWIN : PLC Omron Programming

Reading PLC Programming for Binding Machine :


Step 1 :
If 000.02 = OFF And 000.03 = OFF Then ALL Outputs =OFF ( Interlock = OFF ).
Step 2 :
If 000.00 = ON And 000.01 = OFF Then 010.00 = Hold ON ( Latching ) And
010.01 = Momentary ON ( Diff. UP).
Step 3 :
a. If 010.01 = ON And TIM000 = OFF Then 010.02= Hold ON ( Latching ) And
TIM000 Activated.
b. If 010.00 = ON And TIM002 = ON And TIM000 = OFF Then 010.02 = Hold
ON ( Latching ) And TIM000 Activated.
Step 4 :
If TIM000 = ON And TIM001 = OFF Then 010.03 = Hold ON ( Latching ) And
TIM001 Activated.
Step 5 :
If TIM001 = ON And TIM002 = OFF Then 010.04 = Hold ON ( Latching ) And
TIM002 Activated.
Step 6 :
a. If 010.02 = ON Then 005.00 = ON.
b. If 010.03 = ON Then 005.01 = ON.

For Setting Spiral Length :

---------

Note :
1. Electric Motor for Rotation Screw Conveyor
2. Sensor to Count Revolution, Example using One Proximity Switch
3. Sensor Bottle, Example Using Infrared Sensor
4. 1 Limit Switch (LS) Nozzle Up for 4 Nozzle ( 4 Nozzle with 1 Pneumatic
Cylinder )
5. 1 Limit Switch (LS) Nozzle Down for 4 Nozzle ( 4 Nozzle with 1 Pneumatic
Cylinder )

Remarks :
1. If Circulation Process Then Valve Drain = ON (Open) And Valve Filling = OFF
(Closed)
2. If Filling Process Then Valve Drain = OFF (Closed) And Valve Filling = ON
(Open)
3. If Operation for Nozzle = OFF Then Valve Filling Always OFF And Pump =
OFF
4. If Fluid Sensor = OFF Then Pump = OFF And Filling Machine Stop
5. If Digital Flow Switch = OFF And Circulation Process Then Pump = OFF
6. Pump Use Pneumatic Pump.
7. Valve Drain and Valve Filling use Single Solenoid Normally Closed.

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 19 Input :
--- 1 Unit Input for Push Button Start.
--- 1 Unit Input for Push Button Stop.
--- 4 Unit Input for Selector Switch 4 Nozzle ON/OFF.
--- 4 Unit Input for 4 Sensor Bottle.
--- 4 Unit Input for 4 Digital Flow Switch
--- 1 Unit Input for Sensor to Count Revolution.
--- 1 Unit Input for Fluid Sensor with 1 tank for 4 Nozzle.
--- 1 Unit Input for Alarm Electric Motor Used Screw Conveyor .
--- 1 Unit Input for Limit Switch Nozzle Down.
--- 1 Unit Input for Limit Switch Nozzle Up.
--- Total Number Of Inputs PLC is Minimum 19 Input Unit.

2. Number Of Output PLC is 15 Output :


--- 1 Unit Output for Electric Motor Used Screw Conveyor ( ON / OFF Motor ) .
--- 2 Unit Output for Solenoid to Pneumatic Cylinder Nozzle Up and Nozzle
Down.
--- 4 Unit Output for Single Solenoid to Valve Drain Nozzle 1 ~ 4.
--- 4 Unit Output for Single Solenoid to Valve Filling Nozzle 1 ~ 4.
--- 4 Unit Output for Single Solenoid to Pneumatic Pump Nozzle 1 ~ 4.
--- Total Number Of Outputs PLC is Minimum 15 Output Unit.

Sequence PLC Programming for Filling Machine :

Step 1 : Circulation and Filling Process


a. If Push Button Start = ON and Switch Nozzle 1 ~ 4 = ON and Fluid Sensor =
ON Then Pump 1 ~ 4 = ON.
b. If Pump 1 ~ 4 = ON And Valve Filling Nozzle 1 ~ 4 = OFF Then Solenoid to
Valve Drain Nozzle 1 ~ 4 = ON (Circulation Process).
c. If Pump 1 ~ 4 = ON And Filling Nozzle 1 ~ 4 = ON Then Solenoid to Valve
Drain Nozzle 1 ~ 4 = OFF (Filling Process).
d. If Pump 1 ~ 4 = ON And Valve Drain Nozzle 1 ~ 4 = ON and Digital Flow
Switch 1 ~ 4 = OFF ( Stability With Timer ) Then Pump 1 ~ 4 = OFF.
e. If Push Button Stop = ON or Fluid Sensor = OFF or Alarm Electric Motor =
OFF Then Filling Machine Stop ( All System OFF ).

Step 2 : Filling Process


a. If Pump 1 ~ 4 = ON and Sensor Bottle 1 ~ 4 = ON Then Pneumatic Cylinder
Nozzle Down.
b. If Limit Switch Nozzle Down = ON and Sensor Bottle 1 ~ 4 = ON Then
Solenoid to Valve Filling Nozzle 1 ~ 4 = ON and Timer Filling Activated.
c. Data Set Value Timer Filling = 3 Second ( Data Setting = 3 second (Can be
Changed) ) for Liquid Volume.
d. If Timer Filling = ON Then All Solenoid to Valve Filling = OFF and Pneumatic
Cylinder Nozzle Up = ON.
e. If Limit Switch Nozzle Up = ON Then Electric Motor Used Screw Conveyor =
ON and Count Revolution .
f. If Count Revolution = 4 Then Electric Motor Used Screw Conveyor = OFF .
g. Continuous Process.

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Push Button Start
000.01 ; Push Button Stop
000.02 ; Selector Switch 1
000.03 ; Selector Switch 2
000.04 ; Selector Switch 3
000.05 ; Selector Switch 4
000.06 ; Sensor Bottle 1
000.07 ; Sensor Bottle 2
000.08 ; Sensor Bottle 3
000.09 ; Sensor Bottle 4
000.10 ; Digital Flow Switch 1
000.11 ; Digital Flow Switch 2
000.12 ; Digital Flow Switch 3
000.13 ; Digital Flow Switch 4
000.14 ; Proximity for Count Revolution
000.15 ; Fluid Sensor
001.00 ; Motor Feedback Alarm for Screw Conveyor
001.01 ; Limit Switch (LS) Nozzle Down
001.02 ; Limit Switch (LS) Nozzle Up

OUTPUT PLC :
005.00 ; Motor ( Motor Running ) for Screw Conveyor
005.01 ; Solenoid for Cylinder Nozzle Up
005.02 ; Solenoid for Cylinder Nozzle Down
005.03 ; Single Solenoid for Drain Nozzle 1
005.04 ; Single Solenoid for Drain Nozzle 2
005.05 ; Single Solenoid for Drain Nozzle 3
005.06 ; Single Solenoid for Drain Nozzle 4
005.07 ; Single Solenoid for Filling Nozzle 1
005.08 ; Single Solenoid for Filling Nozzle 2
005.09 ; Single Solenoid for Filling Nozzle 3
005.10 ; Single Solenoid for Filling Nozzle 4
005.11 ; Single Solenoid for Pneumatic Pump 1
005.12 ; Single Solenoid for Pneumatic Pump 1
005.13 ; Single Solenoid for Pneumatic Pump 1
005.14 ; Single Solenoid for Pneumatic Pump 1

Please Download Picture Programming Ladder PLC :

PLC Omron Programming for Filling Machine


Reading Ladder PLC Programming for Filling Machine :
Step 1 :
a.If 000.00 = ON And 000.01 = OFF And 000.15 = ON And 001.00 = ON Then
012.00 = ON And 012.01 = Momentary ON ( Diff. Up).
b.012.01 For Return To Origin Signal
c.If 012.00 = ON Then ALL System Ready ( Master Control = ON ).
Step 2 :
For Pump ON and Drain Process for 1 Nozzle, Example Nozzle 1
a. If 000.02 = ON And 013.00 = OFF Then 010.00 = ON.
b. If 005.11 = ON And 005.07 = OFF Then 010.04 = ON.
c. If 005.11 = ON And 005.03 = ON And 000.10 = OFF Then TIM000 Activated (
Can be Setting for Stability ).
d. If TIM000 = ON Then SET 013.00 = Hold ON.
e. If 000.02 = OFF Then RSET 013.00 = OFF.
See Picture for Setting Stability Flow Switch OFF :
Step 3 :
Filling Process
a. If (005.11 = ON And 000.06 = ON) Or (005.12 = ON And 000.07= ON) Or
(005.13 = ON And 000.08= ON) Or (005.14= ON And 000.09= ON) Then 010.08
= ON.
b. If 010.08 = ON And 001.02 = ON And 005.00 = OFF And 011.09 = OFF Then
010.09 = ON (Latching ON) And 010.10 = Momentary ON ( Diff. Up).
c. If 010.10 = ON And 011.06 = OFF And 010.09 = ON Then 010.11 = ON
(Latching ON).
d. If 010.11 = ON And 001.01 = ON And 011.06 = OFF And 010.09 = ON Then
010.12 = ON (Latching ON).
e. If 010.12 = ON And 005.11 = ON And 000.06 = ON And 011.01 = OFF Then
010.13 = ON And TIM004 Activated ( Can be Setting for Liquid Volume ).
f. If 010.12 = ON And T004 = ON Then SET 011.01 = Hold ON ( Bottle 1 =
FULL ).
g. If 011.01 = ON And 011.02 = ON And 011.03 = ON And 011.04 = ON Then
011.05 = ON ( ALL Bottle = FULL ).
See Picture for Setting Liquid Volume for Bottle 1 until 4 :
Step 4 :
Nozzle Up
a. If 010.10 = ON Or 011.06 = ON Then 011.01 = OFF And 011.02 = OFF And
011.03 = OFF And 011.04 = OFF.
b. If 010.12 = ON And 011.05 = ON And 011.07 = OFF Then 011.06 = ON
(Latching ON).
Step 5 :
Running Screw Conveyor
a. If ( 011.06 = ON Or 011.11 = ON ) And 001.02 = ON And 011.08 = OFF Then
011.07 = ON (Latching ON).
b. If 005.00 = ON Then CNT010 Activated Count Up to 4 ( Not Set ).
c. If CNT010 = ON Then 011.07 = OFF.
d. Continue To Step 3
Step 6 :
Return to Origin
a. If 012.01 = ON And 001.02 = OFF Or ( 000.06 = OFF And 000.07 = OFF And
000.08 = OFF And 000.09 = OFF ) Then 011.09 = ON (Latching ON).
b. Nozzle move to Up
c. If Bottle Empty Then Running Screw Conveyor

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 3 Input :
--- 1 Unit Input for Swicth for Heater ON - OFF.
--- 1 Unit Input for Temperature is Reached from NO Contact Contactor.
--- 1 Unit Input for Alarm Heater from Alarm Heater Element Bournout Detector.
--- Total Number Of Inputs PLC is Minimum 3 Input Unit.

2. Number Of Output PLC is 3 Output :


--- 1 Unit Output for Heater ON / OFF to Power Temperature Controller .
--- 1 Unit Output for Alarm Heater Lamp ( RED Lamp ).
--- 1 Unit Output for Temperature is Reached Lamp ( GREEN Lamp ).
--- Total Number Of Outputs PLC is Minimum 3 Output Unit.

Sequence PLC Programming for Heater controller with PLC :


Step 1 : Check Alarm Heater
a. If Swicth for Heater = ON Then Power Temperature Controller = ON.
b. If NO Contact Contactor = ON And Power Temperature Controller = ON Then
Timer Alarm Activated.
c. Data Set Value Timer Alarm = 2 Second ( Data Setting = 2 second (Can be
Changed) ) for Stability Current from Power to Heater.
d. If Timer Alarm = ON And Alarm Heater = OFF ( NO Alarm is ON And Alarm
is OFF ) Then Alarm Heater Lamp = ON And Power Temperature Controller =
OFF ( Hold OFF Until Swicth for Heater = OFF ).
e. If Swicth for Heater = OFF Then Power Temperature Controller = OFF.
Step 2 : Temperature is Reached
a. If NO Contact Contactor = ON (Hold ON by Heating Pocess ) And Power
Temperature Controller = ON And Swicth for Heater = ON And Alarm Heater
Lamp = OFF Then Heating Pocess = ON.
c. If NO Contact Contactor = ON to OFF And Heating Pocess = ON Then
Temperature is Reached Lamp = ON ( Hold ON ).
d. If Power Temperature Controller = OFF Or Swicth for Heater = OFF Or Alarm
Heater Lamp = ON Then Temperature is Reached Lamp = OFF.

INPUT PLC :
000.00 ; Swicth for Heater ON - OFF
000.01 ; NO Contact Contactor
000.02 ; Alarm Heater Element Bournout Detector

OUTPUT PLC :
005.00 ; Power Temperature Controller
005.01 ; Alarm Heater Lamp ( RED Lamp )
005.02 ; Temperature is Reached Lamp ( GREEN Lamp )

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Swicth for Heater ON - OFF
000.01 ; NO Contact Contactor
000.02 ; Alarm Heater Element Bournout Detector

OUTPUT PLC :
005.00 ; Power Temperature Controller
005.01 ; Alarm Heater Lamp ( RED Lamp )
005.02 ; Temperature is Reached Lamp ( GREEN Lamp )

Please Download Picture Programming Ladder PLC :

PLC Omron Programming for Heater Controller

Reading Ladder PLC Programming for Heater Controller :


Step 1 :
a.If 000.00 = ON Then 010.00 = Momentary ON ( Diff. Up).
b.If 010.00 = ON And 000.00 = ON And 010.02 = OFF Then 010.01 = ON ( Hold
ON ).

Step 2 : Check Alarm Heater


a.If 000.01 = ON And 010.01 = ON Then T000 Activated.
b.If TIM000 = ON And 000.02 = OFF Then SET 010.02 = ON ( Hold ON ).
c.If 000.00 = OFF Then RSET 010.02 = ON ( 010.02 = OFF ).
See Picture to Set Value Timer for Stability Current from Power to Heater :
Step 3 : Temperature is Reached
a.If 000.01 = ON And 010.01 = ON And 000.00 = ON And 010.02 = OFF Then
010.03 = ON ( Hold ON ).
b.If 000.01 = OFF And 010.03 = ON Then SET 010.04 = ON ( Hold ON ).
c.If 010.01 = OFF And 000.00 = OFF And 010.02 = ON Then RSET 010.04 = ON
( 010.04 = OFF ).

Step 4 :
a.If 010.01 = ON Then 005.00 = ON.
b.If 010.02 = ON Then 005.01 = ON.
c.If 010.04 = ON Then 005.02 = ON.
------------------------

Information on Drawing Numbers :


1.Cylinder to Reverse - Forward for Molding Dies
2. Limit Switch Reverse for Molding Dies
3. Limit Switch Forward for Molding Dies
4. Molding Dies
5. Heater to Heat the Raw Materials
---(Heater is Controlled by Temperature Controller)
6. Speed Control Motor to Rotate the Screw
7. Screws to Inject material into the Molding Dies
8. Plastic Raw Material Seeds
9. Materials that are Liquid
Number Of Inputs and Output PLC applied :
1. Number Of Inputs PLC is 7 Input :
--- 1 Unit Input for Push Button Start.
--- 1 Unit Input for Push Button Stop.
--- 1 Unit Input for Temperature is Reached, the Signal from the Contact Contactor
or Output the Temperature Controller.
--- 1 Unit Input for Alarm Heater, the Signal from the Heater Element Burnout
Detector.
--- 1 Unit Input for Alarm Motor, the Signal from the Speed Control Motor.
--- 1 Unit Input for Limit Switch Reverse from Cylinder Molding.
--- 1 Unit Input for Limit Switch Forward from Cylinder Molding.
--- Total Number Of Inputs PLC is Minimum 7 Input Unit.

Remarks To Alarm Heater or Motor :


If ALARM or FAULT Then Output Alarm = OFF.
If NO ALARM Then Output Alarm = ON.

2. Number Of Output PLC is 4 Output :


--- 1 Unit Output for Speed Control Motor ( ON / OFF Motor for Screw ) .
--- 2 Unit Output for Solenoid to Pneumatic Cylinder Molding Reverse and
Molding Forward.
--- 1 Unit Output for Heater ON / OFF to Temperature Controller.
--- Total Number Of Outputs PLC is Minimum 4 Output Unit.

Sequence PLC Programming for Injection Molding Machine :

Step 1 :
a. If Push Button Start = ON Then Heater = ON.
Please Click : Heater Controller with PLC
b. If Temperature is Reached And Alarm Heater = ON And Alarm Motor = ON (
See Remarks above) Then Injection Molding is Ready for use.
Step 2 :
a. If Push Button Start = ON And Injection Molding is Ready And Limit Switch
Reverse from Cylinder Molding = ON Then Solenoid to Cylinder Molding
Forward = ON.
b. If Solenoid to Cylinder Molding Forward = ON And Limit Switch Forward
from Cylinder Molding = ON Then Motor for Screw = ON And Timer Motor ON
Activated.
c. Data Set Value Timer Motor ON = 10 Second ( Data Setting = 10 second (Can
be Changed) ) for Volume of Materials into Molding Dies.
d. If Timer Motor ON = ON Then Motor for Screw = OFF And Timer Wait Cool
Activated (Wait for the Cool Material ) .
e. Data Set Value Timer Wait Cool = 15 Second ( Data Setting = 15 second (Can
be Changed) ) for Wait for the Cool Material.
f. If Timer Motor Wait Cool = ON Then Solenoid to Cylinder Molding Reverse =
ON.
g. If Solenoid to Cylinder Molding Reverse = ON And Limit Switch Reverse from
Cylinder Molding = ON Then Solenoid to Cylinder Molding Forward = ON.
h. Continuous Process.
Download Simulation Process : PLC for Injection Molding Machine

Step 3 :
a. If Push Button Stop = ON Then Injection Molding Machine Stop ( All System
OFF ).

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Push Button START
000.01 ; NO Contact Contactor for Temperature is Reached
000.02 ; Alarm Heater Element Bournout Detector
000.03 ; Push Button STOP
000.04 ; Alarm Motor, the Signal from the Speed Control Motor.
000.05 ; Limit Switch Reverse from Cylinder Molding
000.06 ; Limit Switch Forward from Cylinder Molding

OUTPUT PLC :
005.00 ; Power Temperature Controller
005.01 ; Speed Control Motor ( ON / OFF Motor for Screw )
005.02 ; Solenoid to Pneumatic Cylinder Molding Forward
005.03 ; Solenoid to Pneumatic Cylinder Molding Reverse

Please Download Picture Programming Ladder PLC :

PLC Omron Programming for Injection Molding Machine

Reading Ladder PLC Programming for Injection Molding Machine :

Step 1 : Heating Process


Heater Controller with PLC

Step 2 : Injection Molding Process


a.If 010.01 = ON And 010.04 = ON And 000.04 = ON Then 010.05 = ON.
b.If 000.00 = ON And 010.05 = ON And 000.03 = OFF Then 010.06 = ON ( Hold
ON ).
c.If 000.05 = ON And 000.06 = OFF And 010.06 = ON And 010.11 = OFF Then
010.07 = ON ( Hold ON ).
d.If 000.06 = ON And 000.05 = OFF And 010.06 = ON And 010.10 = OFF Then
010.08 = ON ( Hold ON ) And TIM001 Activated .
e.If 010.08 = ON And TIM001 = ON And 010.06 = ON And 010.11 = OFF Then
010.09 = ON ( Hold ON ) And TIM002 Activated.
f.If TIM001 = ON Then SET 010.10 = ON ( Hold ON ).
g.If TIM002 = ON Then SET 010.11 = ON ( Hold ON ).
h.If 010.09 = ON And TIM002 = ON And 010.06 = ON And 010.10 = ON Or
010.11 = ON Then 010.12 = ON ( Hold ON ).
i.If 010.12 = ON And 000.05 = ON Or 010.06 = OFF Then RSET 010.10 = ON (
010.10 = OFF ) And RSET 010.11 = ON ( 010.11 = OFF ).
See Picture to Set Value Timer for :
1. Stability Current from Power to Heater
2. Volume of Materials into Molding Dies
3. Wait for the cool Material

Step 3 : Output PLC


a.If 010.01 = ON Then 005.00 = ON.
b.If 010.08 = ON Then 005.01 = ON.
c.If 010.07 = ON Then 005.02 = ON.
d.If 010.12 = ON Then 005.03 = ON.

Information on Drawing Numbers for Detail Process Automation :


1.Valve to the Source of Dirty Water
2. Valve to Get Water From Water Tank 2
3. Valve to Get Water From Water Tank 1
4. Water Pump
5. Water Purifier or Water Purification or other
6. Valve for the Water to Water Tank 1
7. Valve for the Water to Water Tank 2
8. Clean Water Sensor or PH Water or other for Water Tank 1
9. Water Level Sensor or Water Level Gauge or other for Water Tank 1
10. Water Tank 1
11. Water Tank 2
12. Water Level Sensor or Water Level Gauge or other for Water Tank 2
13. Clean Water Sensor or PH Water or other for Water Tank 2
14. Switch ON / OFF

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 9 Input :
--- 1 Unit Input for Switch ON / OFF (No.14).
--- 1 Unit Input for OK (Good) from Clean Water Sensor in Water Tank 1 (No.08).
--- 1 Unit Input for NG (No Good) from Clean Water Sensor in Water Tank 1
(No.08).
--- 1 Unit Input for OK (Good) from Clean Water Sensor in Water Tank 2 (No.13).
--- 1 Unit Input for NG (No Good) from Clean Water Sensor in Water Tank 2
(No.13).
--- 1 Unit Input for FULL WATER from Water Level Sensor in Water Tank 1
(No.09).
--- 1 Unit Input for EMPTY WATER from Water Level Sensor in Water Tank 1
(No.09).
--- 1 Unit Input for FULL WATER from Water Level Sensor in Water Tank 2
(No.12).
--- 1 Unit Input for EMPTY WATER from Water Level Sensor in Water Tank 2
(No.12).
--- Total Number Of Inputs PLC is Minimum 9 Input Unit.

2. Number Of Output PLC is 6 Output :


--- 1 Unit Output for Valve to the Source of Dirty Water (No.01).
--- 1 Unit Output for Valve to Get Water From Water Tank 2 (No.02).
--- 1 Unit Output for Valve to Get Water From Water Tank 1 (No.03).
--- 1 Unit Output for Water Pump (No.04).
--- 1 Unit Output for Valve for the Water to Water Tank 1 (No.06).
--- 1 Unit Output for Valve for the Water to Water Tank 2 (No.07).
--- Total Number Of Outputs PLC is Minimum 6 Output Unit.

Sequence PLC Programming for Process Automation For Water Treatment :

Step 1 :
a. If Switch = ON Then Valve No.01 = ON And Pump No.04 = ON And Valve
No.06 = ON.
b. If FULL WATER No.09 = ON Then Valve No.01 = OFF And Pump No.04 =
OFF And Check Clean Water Sensor No.08.
c. If OK (Clean Water Sensor) No.08 = ON Then Finish Process.
d. If NG (Clean Water Sensor) No.08 = ON Then Next Process to Step 2.

Step 2 :
a. If NG (Clean Water Sensor) No.08 = ON And Switch = ON Then Valve No.01
= OFF And Valve No.03 = ON And Pump No.04 = ON And Valve No.06 = OFF
And Valve No.07 = ON.
b. If FULL WATER No.12 = ON Or EMPTY WATER No.09 = ON Then Pump
No.04 = OFF And Valve No.03 = OFF And Check Clean Water Sensor No.13.
c. If NG (Clean Water Sensor) No.13 = ON Then Valve No.01 = OFF And Valve
No.02 = ON And Valve No.03 = OFF And Pump No.04 = ON And Valve No.06 =
ON And Valve No.07 = OFF.
d. If FULL WATER No.09 = ON Or EMPTY WATER No.13 = ON Then Pump
No.04 = OFF And Valve No.02 = OFF And Check Clean Water Sensor No.08.
e. If OK (Clean Water Sensor) No.08 = ON Then Finish Process.
f. If NG (Clean Water Sensor) No.08 = ON Then Next Process to Step 2.a.
h. Continuous Process until Clean Water = OK.
Download Simulation Process :
Process Automation For Water Treatment

Step 3 :
a. If Switch = OFF Then Process Automation Stop.
PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
0000 ; Switch ON / OFF (No.14).
0001 ; OK from Clean Water Sensor in Water Tank 1 (No.08).
0002 ; NG from Clean Water Sensor in Water Tank 1 (No.08).
0003 ; OK from Clean Water Sensor in Water Tank 2 (No.13).
0004 ; NG from Clean Water Sensor in Water Tank 2 (No.13).
0005 ; FULL from Water Level Sensor in Tank 1 (No.09).
0006 ; EMPTY from Water Level Sensor in Tank 1 (No.09).
0007 ; FULL from Water Level Sensor in Tank 2 (No.12).
0008 ; EMPTY from Water Level Sensor in Tank 2 (No.12).

OUTPUT PLC :
0500 ; Valve to the Source of Dirty Water (No.01).
0501 ; Valve to Get Water From Water Tank 2 (No.02).
0502 ; Valve to Get Water From Water Tank 1 (No.03).
0503 ; Water Pump (No.04).
0504 ; Valve for the Water to Water Tank 1 (No.06).
0505 ; Valve for the Water to Water Tank 2 (No.07).

Please Download Picture Programming Ladder PLC :

PLC Omron Programming for Process Automation For Water Treatment

Reading Ladder PLC Programming for Process Automation For Water Treatment :

Step 1 : Process 1
a.If 0000 = ON Then 1000 = Momentary ON ( Diff. Up).
b.If 0000 = ON And 1000 = ON And 1002 = OFF And 1003 = OFF Then 1001 =
ON ( Hold ON ).
c.If 0000 = ON And 1001 = ON And 0005 = ON And 0001 = ON Then SET 1002
= ON ( Hold ON ).
d.If 0000 = ON And 1001 = ON And 0005 = ON And 0002 = ON Then SET 1003
= ON ( Hold ON ).
e.If 0000 = OFF Then RES 1002 = ON ( 1002 = OFF ) And RES 1003 = ON (
1003 = OFF ).

Step 2 : Process 2 And 3


PROCESS 2 :
a.If 0000 = ON And 1003 = ON And 0002 = ON And 1005 = OFF And 1006 =
OFF Then 1004 = ON ( Hold ON ).
b.If 0000 = ON And 1003 = ON And 1004 = ON And 0007 = ON Or 0006 = ON
And 0003 = ON Then SET 1005 = ON ( Hold ON ).
c.If 0000 = ON And 1003 = ON And 1004 = ON And 0007 = ON Or 0006 = ON
And 0004 = ON Then SET 1006 = ON ( Hold ON ).
PROCESS 3 :
d.If 0000 = ON And 1003 = ON And 1006 = ON And 0004 = ON And 1008 =
OFF And 1009= OFF Then 1007 = ON ( Hold ON ).
e.If 0000 = ON And 1003 = ON And 1006 = ON And 1007 = ON And 0005 = ON
Or 0008 = ON And 0001 = ON Then SET 1008 = ON ( Hold ON ).
f.If 0000 = ON And 1003 = ON And 1006 = ON And 1007 = ON And 0005 = ON
Or 0008 = ON And 0002 = ON Then SET 1009 = ON ( Hold ON ).
g.If 0000 = OFF Then RES 1005 = ON ( 1005 = OFF ) And RES 1006 = ON (
1006 = OFF ) And RES 1008 = ON ( 1008 = OFF ) And RES 1009 = ON ( 1009 =
OFF ).

Step 3 : Output PLC


a.If 0000 = ON And 1001 = ON Then 0500 = ON.
b.If 0000 = ON And 1007 = ON Then 0501 = ON.
c.If 0000 = ON And 1004 = ON Then 0502 = ON.
d.If 0000 = ON And 1001 = ON Or 1004 = ON Or 1007 = ON Then 0503 = ON.
e.If 0000 = ON And 1001 = ON Or 1007 = ON Then 0504= ON.
f.If 0000 = ON And 1004 = ON Then 0505 = ON.

Information on Drawing Numbers for Detail Marking with Laser Engraving


Machine :
1. Laser Engraving Machine
2. Cylinder to Up - Down for Pneumatic Vacuum Cups
3. Limit Switch Up for Pneumatic Vacuum Cups
4. Limit Switch Down for Pneumatic Vacuum Cups
5. Pneumatic Vacuum Cups
6. Cylinder to Reverse - Forward for Vacuum Cups
7. Limit Switch Reverse for Vacuum Cups
8. Limit Switch Forward for Vacuum Cups
9. Plate Structure or Workpiece
10. Magazine for Plate Structure or Workpiece
11. Finished Workpiece Basket

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 10 Input :
--- 1 Unit Input for Push Button Start.
--- 1 Unit Input for Push Button Stop.
--- 2 Unit Input for Limit Switch ( LS ) Up - Down for Pneumatic Vacuum Cups.
--- 2 Unit Input for Limit Switch ( LS ) Reverse - Forward for Vacuum Cups.
Example Input from Laser Engraving Machine :
--- 1 Unit Input for Ready From Laser Engraving Machine.
--- 1 Unit Input for Error From Laser Engraving Machine.
--- 1 Unit Input for Marking From Laser Engraving Machine.
--- 1 Unit Input for Marking Complete From Laser Engraving Machine.
--- Total Number Of Inputs PLC is Minimum 10 Input Unit.

2. Number Of Output PLC is 9 Output :


--- 1 Unit Output for Solenoid to Pneumatic Vacuum Generator.
--- 2 Unit Output for Solenoid to Up - Down for Pneumatic Vacuum Cups.
--- 2 Unit Output for Solenoid to Reverse - Forward for Vacuum Cups.
Example Output from Laser Engraving Machine :
--- 1 Unit Output for Emergency Stop To Laser Engraving Machine.
--- 1 Unit Output for Marking Start To Laser Engraving Machine.
--- 1 Unit Output for Count-Up To Laser Engraving Machine.
--- 1 Unit Output for Counter Reset To Laser Engraving Machine.
--- Total Number Of Outputs PLC is Minimum 9 Output Unit.

Sequence PLC Programming for Marking with Laser Engraving Machine :

Step 1 :
a. If Push Button Start = ON Then Emergency Stop To Laser Engraving Machine
= ON (Hold ON).
b. If Emergency Stop To Laser Engraving Machine = ON And Ready = ON And
Error = OFF And LS Up Vacuum Cups = ON And LS Reverse Vacuum Cups =
ON Then Counter Reset To Laser Engraving Machine = Pulse ON ( With Timer )
And Counter PLC = 0 And Marking Start To Laser Engraving Machine = ON.
c. If Marking = ON Then Marking Start = OFF.
d. If Marking Complete = ON Then Next to Step 2.

Step 2 :
a. If Marking Complete From Laser Engraving Machine = ON Then Solenoid
Forward for Vacuum Cups = ON.
b. If LS Forward for Vacuum Cups = ON Then Solenoid Down for Vacuum Cups
= ON.
c. If LS Down for Vacuum Cups = ON Then Solenoid to Pneumatic Vacuum
Generator = ON And Timer Vacuum Activated .
d. If Timer Vacuum Cups = ON Then Solenoid Up for Vacuum Cups = ON .
e. If LS Up for Vacuum Cups = ON Then Solenoid Reverse for Vacuum Cups =
ON .
f. If LS Reverse for Vacuum Cups = ON Then Solenoid to Pneumatic Vacuum
Generator = OFF And Count-Up To Laser Engraving Machine = ON And Counter
PLC Increased by one.
g. If Counter PLC = OFF ( Current Value <> 5 ( Be Changed )) And Emergency
Stop To Laser Engraving Machine = ON And Ready = ON And Error = OFF Then
Marking Start To Laser Engraving Machine = ON.
h. If Marking From Laser Engraving Machine = ON Then Marking Start = OFF
And Goto Step 2.a.
i. If Counter PLC = ON ( Current Value = 5 ( Be Changed ) for 5 Product ) Then
Process Marking Stop.

Download Simulation Process :


Marking with Laser Engraving Machine

Step 3 :
a. If Push Button Stop = ON Or Error From Laser Engraving Machine = ON Or
Ready From Laser Engraving Machine = OFF Then Process Marking Stop.

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Push Button Start.
000.01 ; Push Button Stop.
000.02 ; Limit Switch ( LS ) Up for Pneumatic Vacuum Cups. .
000.03 ; Limit Switch ( LS ) Down for Pneumatic Vacuum Cups.
000.04 ; Limit Switch ( LS ) Reverse for Vacuum Cups.
000.05 ; Limit Switch ( LS ) Forward for Vacuum Cups.
000.06 ; Ready From Laser Engraving Machine.
000.07 ; Error From Laser Engraving Machine.
000.08 ; Marking From Laser Engraving Machine.
000.09 ; Marking Complete From Laser Engraving Machine.

OUTPUT PLC :
005.00 ; Solenoid to Pneumatic Vacuum Generator.
005.01 ; Solenoid to Up for Pneumatic Vacuum Cups.
005.02 ; Solenoid to Down for Pneumatic Vacuum Cups.
005.03 ; Solenoid to Reverse for Vacuum Cups.
005.04 ; Solenoid to Forward for Vacuum Cups.
005.05 ; Emergency Stop To Laser Engraving Machine.
005.06 ; Marking Start To Laser Engraving Machine.
005.07 ; Count-Up To Laser Engraving Machine.
005.08 ; Counter Reset To Laser Engraving Machine.

Please Download Picture Programming Ladder PLC :

PLC Omron Programming for Marking with Laser Engraving Machine

Reading Ladder PLC Programming for Marking with Laser Engraving Machine :

Step 1 : Running / Stop


Running :
a.If 000.00 = ON Then SET 010.00 = ON ( Hold ON ).
b.If 010.00 = ON And 005.05 = ON And 000.06= ON And 000.07 = OFF And
000.00 = ON And 000.02 = ON And 000.04 = ON Then 010.01 = ON ( Hold ON )
And 010.02 = Momentary ON ( Diff. Up).
Stop :
c.If 000.01 = ON Then RSET 010.00 = ON ( 010.00 = OFF ) And 010.01 = OFF.

Step 2 :
Counter Reset To Laser Engraving Machine And Counter Reset in PLC
a.If 010.01= ON And 010.02 = ON And TIM000 = ON Then 010.03 = ON ( Hold
ON ) And TIM000 Activated.
b.If 010.03= ON Then RESET CNT003 And 005.08 = ON ( Counter Reset To
Laser Engraving = ON ).
c.If TIM000= ON Then 010.03= OFF.
Step 3 : Automatic Marking Process
First Process of Marking ( Product 1 ) And Starts Marking a.If 010.01 = ON
And 010.03 = ON And TIM000= ON And 010.05 = OFF Then 010.04 = ON (
Hold ON ).
The Next Process ( Product 2 until 5 ) And Continuous of Marking
b.If 010.01 = ON And 010.14 = ON And 010.05 = OFF Then 010.04 = ON ( Hold
ON ).
Waiting Process Marking from Laser Engraving Machine Completed
c.If 010.01 = ON And 010.04 = ON And 000.08= ON And 010.06 = OFF Then
010.05 = ON ( Hold ON ).
Retrieval Process of Product After in Marking
d.If 010.01 = ON And 010.05 = ON And 000.09= ON And 010.07 = OFF Then
010.06 = ON ( Hold ON ).
e.If 010.01 = ON And 010.06 = ON And 000.05= ON And 010.10 = OFF Then
010.07 = ON ( Hold ON ).
f.If 010.01 = ON And 010.07 = ON And 000.03= ON And 010.12 = OFF Then
010.08 = ON ( Hold ON ) And TIM001 Activated.
g.If TIM001= ON Then 010.09 = Momentary ON ( Diff. Up) .
h.If 010.01 = ON And 010.08 = ON And 010.09= ON And 010.11 = OFF Then
010.10 = ON ( Hold ON ).
i.If 010.01 = ON And 010.10 = ON And 000.02= ON And 010.12 = OFF Then
010.11 = ON ( Hold ON ).
j.If 010.01 = ON And 010.11 = ON And 000.04= ON And 010.08 = ON Then
010.12 = ON ( Hold ON ).
Counter PLC in adding one And Count-Up To Laser Engraving Machine =
ON
k.If 010.01 = ON And 010.12 = ON And TIM002= OFF Then 010.13 = ON ( Hold
ON ) And TIM002 Activated.
l.If 010.13 = ON Then Count Up CNT003 ( For Count Product ).
m.If 010.13 = ON Then 005.07 = ON ( Count-Up To Laser Engraving Machine =
ON ).
Counter PLC <> 5 ( CNT003= 5 ( Be Changed ) : Number of Products )
n.If 010.01 = ON And TIM002 = ON And CNT003= OFF And 010.04= OFF Then
010.14 = ON ( Hold ON ) .
o.If 010.14 = ON Then To Step 3.b Or The Next Process ( Product 2 until 5 ).
For Setting Number of Products Marking with Laser Engraving:

Step 4 : Origin Process


a.If 010.01 = OFF And 000.02 = OFF And 000.00 = ON Then 005.01 = ON.
b.If 010.01 = OFF And 000.02 = ON And 000.04 = OFF And 000.00 = ON Then
005.03 = ON.

Information on Drawing Numbers for Traffic Light PLC Program:


1. Red Color Lights in Position A
2. Green color lights in Position A
3. Red Color Lights in Position B
4. Green color lights in Position B
5. Red Color Lights in Position C
6. Green color lights in Position C
7. Red Color Lights in Position D
8. Green color lights in Position D
Number Of Inputs and Output PLC applied :
1. Number Of Inputs PLC is 1 Input :
--- 1 Unit Input for Switch ON/OFF Traffic Light.
--- Total Number Of Inputs PLC is Minimum 1 Input Unit.

2. Number Of Output PLC is 8 Output :


--- 1 Unit Output for Red Color Lights in Position A
--- 1 Unit Output for Green color lights in Position A
--- 1 Unit Output for Red Color Lights in Position B
--- 1 Unit Output for Green color lights in Position B
--- 1 Unit Output for Red Color Lights in Position C
--- 1 Unit Output for Green color lights in Position C
--- 1 Unit Output for Red Color Lights in Position D
--- 1 Unit Output for Green color lights in Position D
--- Total Number Of Outputs PLC is Minimum 8 Output Unit.

Sequence PLC Programming for Traffic Light PLC Program:

Step 1 :
a. If Switch ON/OFF = ON Then System Traffic Light is Active.
b. If Switch ON/OFF = OFF Then System Traffic Light is Inactive.

Step 2 :
a. IF Green color lights in Position A ( No.2) = ON then Red Color Lights in
Position B,C, AND D = ON And Timer0 Activated.
b. IF Timer0 = ON then Green color lights in Position C ( No.6) = ON And Red
Color Lights in Position A,B, AND D = ON And Timer1 Activated.
c. IF Timer1 = ON then Green color lights in Position D ( No.8) = ON And Red
Color Lights in Position A,B, AND C = ON And Timer2 Activated.
d. IF Timer2 = ON then Green color lights in Position B ( No.4) = ON And Red
Color Lights in Position A,C, AND D = ON And Timer3 Activated.
e. IF Timer3 = ON then Green color lights in Position A ( No.2) = ON And Red
Color Lights in Position B,C, AND D = ON And Timer0 Activated.
f. Continuously to Step 2.b
g. Timer0,1,2,3 set to 2 minutes

PLC Type Series-C Omron , Name Input / Output PLC :

INPUT PLC :
000.00 ; Switch ON/OFF Traffic Light.

OUTPUT PLC :
005.00 ; Red Color Lights in Position A.
005.01 ; Green color lights in Position A.
005.02 ; Red Color Lights in Position B.
005.03 ; Green color lights in Position B.
005.04 ; Red Color Lights in Position C.
005.05 ; Green color lights in Position C.
005.06 ; Red Color Lights in Position D.
005.07 ; Green color lights in Position D.

Please Download Picture Traffic Light PLC Program with PLC Omron :
Traffic Light PLC Program with PLC Omron

Reading Ladder PLC Programming for Traffic Light PLC Program with PLC
Omron :

Step 1 :
Sequence for Green Light
a.If 000.00= ON Then System Traffic Light is Active.
Green Light in Position A = ON
b.If 000.00= ON And ( 010.00 = ON or TIM003 = ON ) And 010.02 = OFF Then
010.01 = ON ( Hold ON ) And TIM000 Activated.
Green Light in Position C = ON
c.If 000.00= ON And TIM000= ON And 010.03 = OFF Then 010.02 = ON ( Hold
ON ) And TIM001 Activated.
Green Light in Position D = ON
d.If 000.00= ON And TIM001= ON And 010.04= OFF Then 010.03= ON ( Hold
ON ) And TIM002 Activated.
Green Light in Position B = ON
e.If 000.00= ON And TIM002= ON And 010.01= OFF Then 010.04= ON ( Hold
ON ) And TIM003 Activated.
f.If TIM003= ON And Goto Step 1.a.

Setting Timer Traffic Light = 2 minutes:

Step 2 :
Sequence for Red Light
a.If 000.00= ON And ( 010.02 = ON Or 010.03 = ON Or 010.04 = ON ) Then
010.05 = ON.
b.If 000.00= ON And ( 010.01 = ON Or 010.02 = ON Or 010.03 = ON ) Then
010.06 = ON.
c.If 000.00= ON And ( 010.01 = ON Or 010.03 = ON Or 010.04 = ON ) Then
010.07 = ON.
d.If 000.00= ON And ( 010.01 = ON Or 010.02 = ON Or 010.04 = ON ) Then
010.08 = ON.

Step 3 : Output PLC


a.If 000.00= ON And 010.05 = ON Then 005.00 = ON.
b.If 000.00= ON And 010.01 = ON Then 005.01 = ON.
c.If 000.00= ON And 010.06 = ON Then 005.02 = ON.
d.If 000.00= ON And 010.04 = ON Then 005.03 = ON.
e.If 000.00= ON And 010.07 = ON Then 005.04 = ON.
f.If 000.00= ON And 010.02 = ON Then 005.05 = ON.
g.If 000.00= ON And 010.08 = ON Then 005.06 = ON.
h.If 000.00= ON And 010.03 = ON Then 005.07 = ON.

Information on Drawing Numbers for Elevator PLC Program:


(1). Push Button Switch ( Push Button Switch with Light ) In Floor B Outside.

(2). Light Push Button Switch ( Push Button Switch with Light ) In Floor B
Outside.

(3). Push Button Switch ( Push Button Switch with Light ) In Floor 1 Outside.

(4). Light Push Button Switch ( Push Button Switch with Light ) In Floor 1
Outside.

(5). Push Button Switch ( Push Button Switch with Light ) In B Inside.

(6). Light Push Button Switch ( Push Button Switch with Light ) In B Inside.

(7). Push Button Switch ( Push Button Switch with Light ) In 1 Inside.

(8). Light Push Button Switch ( Push Button Switch with Light ) In 1 Inside.

(9). Limit Switch for Position 1


(10). Limit Switch for Position B
(11). Limit Switch for Door Open
(12). Limit Switch for Door Close
(13). Safety Sensor

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 9 Input :
--- 1 Unit Input for Push Button Switch In Floor B Outside.
--- 1 Unit Input for Push Button Switch In Floor B Inside.
--- 1 Unit Input for Push Button Switch In Floor 1 Outside.
--- 1 Unit Input for Push Button Switch In Floor 1 Inside.
--- 1 Unit Input for Limit Switch Position 1.
--- 1 Unit Input for Limit Switch Position B.
--- 1 Unit Input for Limit Switch Door Open.
--- 1 Unit Input for Limit Switch Door Close.
--- 1 Unit Input for Safety Sensor.
--- Total Number Of Inputs PLC is Minimum 9 Input Unit.

2. Number Of Output PLC is 8 Output :


--- 1 Unit Output for Electric Motors ( Move To Position B )
--- 1 Unit Output for Electric Motors ( Move To Position 1 )
--- 1 Unit Output for Move the Door Open
--- 1 Unit Output for Move the Door Close
--- 1 Unit Output for Light Push Button Switch in B Inside
--- 1 Unit Output for Light Push Button Switch in 1 Inside
--- 1 Unit Output for Light Push Button Switch in B Outside
--- 1 Unit Output for Light Push Button Switch in 1 Outside
--- Total Number Of Outputs PLC is Minimum 8 Output Unit.

Sequence PLC Programming for Elevator PLC Program:

Step 1 : Elevator Up - Down ( 1 - B )


a. If Push Button B Outside = ON And the elevator was not in a position B Then
elevator Move to B.
b. If Push Button B Inside = ON And the elevator was not in a position B Then
elevator Move to B.
c. If Push Button 1 Outside = ON And the elevator was not in a position 1 Then
elevator Move to 1.
d. If Push Button 1 Inside = ON And the elevator was not in a position 1 Then
elevator Move to 1.
Step 2 : Door Open - Close
a. IF Limit Switch Position B = ON (Pulse / diff.Up) Or Limit Switch Position 1 =
ON (Pulse / diff.Up) then Door Open.
b. IF Limit Switch Door Open = ON Or Safety Sensor = ON then Door Close.
c. Continuously to Step 1

PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ;Push Button Switch In Floor B Outside.
0000.01 ;Push Button Switch In Floor B Inside.
0000.02 ;Push Button Switch In Floor 1 Outside.
0000.03 ;Push Button Switch In Floor 1 Inside.
0000.04 ;Limit Switch Position 1.
0000.05 ;Limit Switch Position B.
0000.06 ;Limit Switch Door Open.
0000.07 ;Limit Switch Door Close.
0000.08 ;Safety Sensor.

OUTPUT PLC :
0005.00 ;Electric Motors ( Move To Position B )
0005.01 ;Electric Motors ( Move To Position 1 )
0005.02 ;Move the Door Open
0005.03 ;Move the Door Close
0005.04 ;Light Push Button Switch in B Inside
0005.05 ;Light Push Button Switch in 1 Inside
0005.06 ;Light Push Button Switch in B Outside
0005.07 ;Light Push Button Switch in 1 Outside

Please Download Picture Elevator PLC Program with PLC Omron :


Elevator PLC Program with PLC Omron

Reading Ladder PLC Programming for Elevator PLC Program with PLC Omron
:
Step 1 :
a.If 0011.01 = Diff. Up ON Then 0010.11 = ON .
Request from Inside the Elevator
b.If 0000.01 = ON And 0000.04 = ON Or 0000.05 = OFF Then 0010.00 = ON
(Hold ON) .
c.If 0000.03 = ON And 0000.05 = ON Or 0000.04 = OFF Then 0010.01 = ON
(Hold ON) .
Request from Outside the Elevator
d.If 0000.00 = ON And 0000.05 = OFF Then 0010.02 = ON (Hold ON) .
e.If 0000.02 = ON And 0000.04 = OFF Then 0010.03 = ON (Hold ON) .

Step 2 :
Elevator doors open and close
a.If 0000.04 = ON Then 0010.04 = Diff. Up ON.
b.If 0000.05 = ON Then 0010.05 = Diff. Up ON.
c.If 0010.04 = ON Or 0010.05 = ON And 0010.13 = ON And 0010.14 = ON And
0010.07 = OFF Then 0010.06 = ON (Hold ON).
d.If 0010.06 = ON And 0000.06 = ON And 0010.10 = OFF Then 0010.07 = ON
(Hold ON).
e.If 0010.07 = ON And 0000.08 = ON And 0010.09 = OFF Then 0010.08 = ON.
f.If 0010.07 = ON And 0000.08 = OFF Then 0010.09 = ON.
g.If 0010.07 = ON And 0000.05 = ON And ( 0000.00 = ON Or 0000.01 = ON )
Then 0010.09 = ON.
h.If 0010.07 = ON And 0000.04 = ON And ( 0000.02 = ON Or 0000.03 = ON )
Then 0010.09 = ON.
i.If 0010.07 = ON And 0000.07 = ON And 0010.11 = OFF And 0010.12 = OFF
Then 0010.10 = ON (Hold ON).

Step 3 :
Elevator moving up and down
a.If 0010.10 = ON And ( 0010.00 = ON And 0010.02 = ON ) And 0000.05 = OFF
And 0010.12 = OFF Then 0010.11 = ON (Hold ON).
b.If 0011.01 = ON Then 0010.11 = ON (Hold ON).
c.If 0010.10 = ON And ( 0010.01 = ON And 0010.03 = ON ) And 0000.04 = OFF
And 0010.11 = OFF Then 0010.12 = ON (Hold ON).
Step 4 : Output PLC
a.If 0010.11 = ON Then 0005.00 = ON.
b.If 0010.12 = ON Then 0005.01 = ON.
c.If 0010.06 = ON Or 0010.09 = ON Then 0005.02 = ON.
d.If 0010.08 = ON Then 0005.03 = ON.
e.If 0010.00 = ON Or 0000.01 = ON Then 0005.04 = ON.
f.If 0010.01 = ON Or 0000.03 = ON Then 0005.05 = ON.
g.If 0010.02 = ON Or 0000.00 = ON Then 0005.06 = ON.
h.If 0010.03 = ON Or 0000.02 = ON Then 0005.07 = ON.

Step 5 : If no person in the elevator


a.If 0010.10 = ON And 0010.11 = OFF And 0010.12 = OFF And 0000.00 = ON
And 0000.05 = ON Then 0010.13 = Diff. Up ON.
b.If 0010.13 = ON Then 0010.10 = OFF And 0010.06 = ON.
c.If 0010.10 = ON And 0010.11 = OFF And 0010.12 = OFF And 0000.02 = ON
And 0000.04 = ON Then 0010.14 = Diff. Up ON.
d.If 0010.14 = ON Then 0010.10 = OFF And 0010.06 = ON.

Information on Drawing Numbers for Push ON Push OFF With PLC:


1. Push Button Switch ( without lock )
2. External Output, example Lamp
3. PLC or Programmable Logic Controller

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 1 Input:
--- 1 Unit Input for Push Button Switch ( without lock ).
--- Total Number Of Inputs PLC is Minimum 1 Input Unit.

2. Number Of Output PLC is 1 Output:


--- 1 Unit Output for Lamp.
--- Total Number Of Outputs PLC is Minimum 1 Output Unit.

Sequence PLC Programming for Push ON Push OFF:

Step 1 : First Push


a. If Push Button Switch = ON Then Lamp = ON.
b. If Push Button Switch = OFF Then Lamp = ON.

Step 2 : Second Push


a. IF Push Button Switch = ON then Lamp = OFF.
b. IF Push Button Switch = OFF then Lamp = OFF.

1. Methods : Internal Relay PLC

Push ON Push OFF With Internal Relay PLC Omron

Push ON Push OFF With Internal Relay PLC Mitsubishi

Push ON Push OFF With Internal Relay PLC Keyence

2. Methods : Counter PLC

Push ON Push OFF With Counter PLC Omron

Push ON Push OFF With Counter PLC Mitsubishi

Push ON Push OFF With Counter PLC Keyence

3. Methods : Data Memory PLC

Push ON Push OFF With Data Memory PLC Omron

Push ON Push OFF With Data Memory PLC Mitsubishi


Push ON Push OFF With Data Memory PLC Keyence

2. PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Push Button Switch ( without lock ).

OUTPUT PLC :
0005.00 ; Lamp.
3. PLC programming for Push ON Push OFF With Internal Relay PLC
Omron :

4.

Reading Ladder PLC Programming for Push ON Push OFF with


Internal Relay PLC Omron :

Step 1 :
Push ON , Lamp ON
a.If 0000.00 = ON And 0010.02 = OFF Then 0010.00 = ON (Hold ON).
b.If 0010.00 = ON And 0000.00 = OFF And 0010.02 = OFF Then
0010.01 = ON (Hold ON).
c.If 0010.00 = ON Then 0005.00 = ON.

Step 2 :
Push ON, Lamp OFF
a.If 0010.01 = ON And 0000.00 = ON And 0010.03 = OFF Then
0010.02 = ON (Hold ON) And (0010.00 = OFF And 0010.01 = OFF).
b.If 0010.02 = ON And 0000.00 = OFF Then 0010.03 = ON And
0010.02 = OFF.
c.If 0010.00 = OFF Then 0005.00 = OFF.

Please Download Programming for SYSWIN :


Push ON Push OFF With Internal Relay PLC Omron

See : Push ON Push OFF


Read this: Guidance how we can use Arduino as Programmable Logic
Controller

PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Push Button Switch ( without lock ).

OUTPUT PLC :
0005.00 ; Lamp.
PLC programming for Push ON Push OFF With Counter PLC Omron :

1.

Reading Ladder PLC Programming for Push ON Push OFF with


Counter PLC Omron :

Step 1 :
Push ON , Lamp ON
a.If 0000.00 = ON Then Present Value ( CNT000 = 1 And CNT001 = 1 )
And ( C000 = ON And C001 = OFF ).
b.If 0000.00 = OFF Then C000 = ON And C001 = OFF.
c.If C000 = ON Then 0005.00 = ON.

Step 2 :
Push ON, Lamp OFF
a.If 0000.00 = ON Then C001 = ON And Present Value ( CNT000 = 0
And CNT001 = 0 ) And ( C000 = OFF And C001 = OFF ).
b.If 0000.00 = OFF Then C000 = OFF And C001 = OFF.
c.If C000 = OFF Then 0005.00 = OFF.

PLC Type Series-CV Omron , Name Input / Output PLC :


INPUT PLC :
0000.00 ; Push Button Switch ( without lock ).

OUTPUT PLC :
0005.00 ; Lamp.

PLC programming for Push ON Push OFF With Data Memory PLC Omron :

1.

Reading Ladder PLC Programming for Push ON Push OFF with Data
Memory PLC Omron :

Step 1 :
Push ON , Lamp ON
a.If 0000.00 = ON Then Increment D00000 ( INC with Differentiate Up
) And D00000 = 1.
b.If D00000 = 1 Then 0005.00 = ON.
c.If 0000.00 = OFF Then D00000 = 1 And 0005.00 = ON .

Step 2 :
Push ON, Lamp OFF
a.If 0000.00 = ON Then Increment D00000 (Differentiate Up) And
D00000 = 2.
b.If D00000 = 2 ( EQU ) Then D00000 = 0 ( MOV ).
c.If D00000 = 0 Then 0005.00 = OFF.
d.If 0000.00 = OFF Then D00000 = 0 And 0005.00 = OFF .

2.
Information on Drawing Numbers for Display Seven Segment with PLC :
1. Push Button Switch ( without lock )
2. One Display Seven Segment
3. PLC or Programmable Logic Controller

PLC Wiring Diagram for 7 Segment :


1. common anode seven segment to plc
2. common cathode seven segment to plc

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 1 Input :
--- 1 Unit Input for Push Button Switch ( without lock ).
--- Total Number Of Inputs PLC is Minimum 1 Input Unit.

2. Number Of Output PLC is 7 Output :


--- 7 Unit Output for Seven Segment.
--- Total Number Of Outputs PLC is Minimum 7 Output Unit.

3. Diagram 7 Segment and PLC Output


4.

5. Numeric Seven Segment from 0 to 9


6.

Sequence PLC Programming for Display Seven Segment :

Numeric Display 0
0. If Data Memory = 0 Then Display Seven Segment = 0. PLC OUTPUT
: OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON, OUT4=ON,
OUT5=ON, OUT6=OFF
Numeric Display 1
1. If Push Button Switch = ON (Push-1) Then Data Memory = 1 And
Display Seven Segment = 1.
PLC OUTPUT : OUT0=OFF, OUT1=ON, OUT2=ON, OUT3=OFF,
OUT4=OFF, OUT5=OFF, OUT6=OFF

Numeric Display 2
2. If Push Button Switch = ON (Push-2) Then Data Memory = 2 And
Display Seven Segment = 2.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=OFF, OUT3=ON,
OUT4=ON, OUT5=OFF, OUT6=ON

Numeric Display 3
3. If Push Button Switch = ON (Push-3) Then Data Memory = 3 And
Display Seven Segment = 3.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON,
OUT4=OFF, OUT5=OFF, OUT6=ON

Numeric Display 4
4. If Push Button Switch = ON (Push-4) Then Data Memory = 4 And
Display Seven Segment = 4.
PLC OUTPUT : OUT0=OFF, OUT1=ON, OUT2=ON, OUT3=OFF,
OUT4=OFF, OUT5=ON, OUT6=ON

Numeric Display 5
5. If Push Button Switch = ON (Push-5) Then Data Memory = 5 And
Display Seven Segment = 5.
PLC OUTPUT : OUT0=ON, OUT1=OFF, OUT2=ON, OUT3=ON,
OUT4=OFF, OUT5=ON, OUT6=ON

Numeric Display 6
6. If Push Button Switch = ON (Push-6) Then Data Memory = 6 And
Display Seven Segment = 6.
PLC OUTPUT : OUT0=ON, OUT1=OFF, OUT2=ON OUT3=ON,
OUT4=ON, OUT5=ON, OUT6=ON

Numeric Display 7
7. If Push Button Switch = ON (Push-7) Then Data Memory = 7 And
Display Seven Segment = 7.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON OUT3=OFF,
OUT4=OFF, OUT5=OFF, OUT6=OFF

Numeric Display 8
8. If Push Button Switch = ON (Push-8) Then Data Memory = 8 And
Display Seven Segment = 8.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON OUT3=ON,
OUT4=ON, OUT5=ON, OUT6=ON

Numeric Display 9
9. If Push Button Switch = ON (Push-9) Then Data Memory = 9 And
Display Seven Segment = 9.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON,
OUT4=OFF, OUT5=ON, OUT6=ON

Numeric Display 0
0. If Push Button Switch = ON (Push-10) Then Data Memory = 0 And
Display Seven Segment = 0. PLC OUTPUT : OUT0=ON, OUT1=ON,
OUT2=ON, OUT3=ON, OUT4=ON, OUT5=ON, OUT6=OFF

7. Table Numeric Seven Segment versus PLC Output


8.

9. Common Anode Seven Segment to PLC


10.

11.
12. The physical appearance of the seven segments

Definition of common anode seven segment with Light Emitting Diode


(LED)

Internal Circuit Diagram of common anode seven segment

Wiring Diagram of common anode seven segment with PLC Output


Common Cathode Seven Segment to PLC

The physical appearance of the seven segments

Definition of common Cathode seven segment with Light Emitting Diode (LED)
Internal Circuit Diagram of common Cathode seven segment

Wiring Diagram of common Cathode seven segment with PLC Output


PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Push Button Switch ( without lock ).

OUTPUT PLC :
0005.00 ; OUT0 or Seven Segment A.
0005.01 ; OUT1 or Seven Segment B.
0005.02 ; OUT2 or Seven Segment C.
0005.03 ; OUT3 or Seven Segment D.
0005.04 ; OUT4 or Seven Segment E.
0005.05 ; OUT5 or Seven Segment F.
0005.06 ; OUT6 or Seven Segment G.

PLC Programming for Seven Segment Display With PLC Omron


Reading Ladder PLC Programming for Seven Segment Display with PLC
Omron :

Step 1 :
Increments the memory data specified by the operand by 1
a.If 0000.00 = ON Then Increment D00000 ( Diff Up INC / Differentiate Up
Increment).

Step 2 :
a.If D00000 = 0 Then 0010.00 = ON.
b.If D00000 = 1 Then 0010.01 = ON.
c.If D00000 = 2 Then 0010.02 = ON.
d.If D00000 = 3 Then 0010.03 = ON.
e.If D00000 = 4 Then 0010.04 = ON.
f.If D00000 = 5 Then 0010.05 = ON.
g.If D00000 = 6 Then 0010.06 = ON.
h.If D00000 = 7 Then 0010.07 = ON.
i.If D00000 = 8 Then 0010.08 = ON.
j.If D00000 = 9 Then 0010.09 = ON.

Step 3 :
a.If 0010.00 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON.
b.If 0010.01 = ON Then 0005.01 = ON And 0005.02 = ON.
c.If 0010.02 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.06 = ON.
d.If 0010.03 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.06 = ON.
e.If 0010.04 = ON Then 0005.01 = ON And 0005.02 = ON And 0005.05 = ON
And 0005.06 = ON.
f.If 0010.05 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.05 = ON And 0005.06 = ON.
g.If 0010.06 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
h.If 0010.07 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON.
i.If 0010.08 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
j.If 0010.09 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.05 = ON And 0005.06 = ON.

Information on Drawing Numbers for Timer Countdown with PLC :


1. Timer Countdown with Two 7 Segment
2. PLC or Programmable Logic Controller
3. Toggle Switch ( ON - OFF )
4. Lamp to signal countdown completion

Two Seven Segment and PLC Output

Information for One Seven Segment to PLC :


1. one 7 Segment
2. common anode seven segment
3. common cathode seven segment

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 1 Input :
--- 1 Unit Input for Toggle Switch ( ON - OFF ).
--- Total Number Of Inputs PLC is Minimum 1 Input Unit.

2. Number Of Output PLC is 15 Output :


--- 14 Unit Output for two Seven Segment.
--- 1 Unit Output for Lamp to signal countdown completion.
--- Total Number Of Outputs PLC is Minimum 15 Output Unit.
Sequence PLC Programming for Timer Countdown :

1. Timer Countdown Display starts from 30 seconds


-> If Toggle Switch = OFF Then Timer Countdown display = 30.

2. Count down from 30 seconds to 00 seconds


-> If Toggle Switch = ON Then Timer Countdown display = count down from 30
seconds to 00 seconds.

3. After 00 seconds then Lamp: ON


-> If Timer Countdown display = 00 Then Lamp = ON.

4. Reset for Timer Countdown


-> If Toggle Switch = OFF Then Timer Countdown display = 30 And Lamp =
OFF.

Information on Drawing Numbers for Display Seven Segment with PLC :


1. Push Button Switch ( without lock )
2. One Display Seven Segment
3. PLC or Programmable Logic Controller
PLC Wiring Diagram for 7 Segment :
1. common anode seven segment to plc
2. common cathode seven segment to plc

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 1 Input :
--- 1 Unit Input for Push Button Switch ( without lock ).
--- Total Number Of Inputs PLC is Minimum 1 Input Unit.

2. Number Of Output PLC is 7 Output :


--- 7 Unit Output for Seven Segment.
--- Total Number Of Outputs PLC is Minimum 7 Output Unit.

Diagram 7 Segment and PLC Output

Numeric Seven Segment from 0 to 9


Sequence PLC Programming for Display Seven Segment :

Numeric Display 0
0. If Data Memory = 0 Then Display Seven Segment = 0. PLC OUTPUT :
OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON, OUT4=ON, OUT5=ON,
OUT6=OFF
Numeric Display 1
1. If Push Button Switch = ON (Push-1) Then Data Memory = 1 And Display
Seven Segment = 1.
PLC OUTPUT : OUT0=OFF, OUT1=ON, OUT2=ON, OUT3=OFF, OUT4=OFF,
OUT5=OFF, OUT6=OFF

Numeric Display 2
2. If Push Button Switch = ON (Push-2) Then Data Memory = 2 And Display
Seven Segment = 2.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=OFF, OUT3=ON, OUT4=ON,
OUT5=OFF, OUT6=ON

Numeric Display 3
3. If Push Button Switch = ON (Push-3) Then Data Memory = 3 And Display
Seven Segment = 3.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON, OUT4=OFF,
OUT5=OFF, OUT6=ON

Numeric Display 4
4. If Push Button Switch = ON (Push-4) Then Data Memory = 4 And Display
Seven Segment = 4.
PLC OUTPUT : OUT0=OFF, OUT1=ON, OUT2=ON, OUT3=OFF, OUT4=OFF,
OUT5=ON, OUT6=ON

Numeric Display 5
5. If Push Button Switch = ON (Push-5) Then Data Memory = 5 And Display
Seven Segment = 5.
PLC OUTPUT : OUT0=ON, OUT1=OFF, OUT2=ON, OUT3=ON, OUT4=OFF,
OUT5=ON, OUT6=ON

Numeric Display 6
6. If Push Button Switch = ON (Push-6) Then Data Memory = 6 And Display
Seven Segment = 6.
PLC OUTPUT : OUT0=ON, OUT1=OFF, OUT2=ON OUT3=ON, OUT4=ON,
OUT5=ON, OUT6=ON

Numeric Display 7
7. If Push Button Switch = ON (Push-7) Then Data Memory = 7 And Display
Seven Segment = 7.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON OUT3=OFF, OUT4=OFF,
OUT5=OFF, OUT6=OFF

Numeric Display 8
8. If Push Button Switch = ON (Push-8) Then Data Memory = 8 And Display
Seven Segment = 8.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON OUT3=ON, OUT4=ON,
OUT5=ON, OUT6=ON

Numeric Display 9
9. If Push Button Switch = ON (Push-9) Then Data Memory = 9 And Display
Seven Segment = 9.
PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON, OUT3=ON, OUT4=OFF,
OUT5=ON, OUT6=ON

Numeric Display 0
0. If Push Button Switch = ON (Push-10) Then Data Memory = 0 And Display
Seven Segment = 0. PLC OUTPUT : OUT0=ON, OUT1=ON, OUT2=ON,
OUT3=ON, OUT4=ON, OUT5=ON, OUT6=OFF

Table Numeric Seven Segment versus PLC Output


PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Push Button Switch ( without lock ).

OUTPUT PLC :
0005.00 ; OUT0 or Seven Segment A.
0005.01 ; OUT1 or Seven Segment B.
0005.02 ; OUT2 or Seven Segment C.
0005.03 ; OUT3 or Seven Segment D.
0005.04 ; OUT4 or Seven Segment E.
0005.05 ; OUT5 or Seven Segment F.
0005.06 ; OUT6 or Seven Segment G.

PLC Programming for Seven Segment Display With PLC Omron


Reading Ladder PLC Programming for Seven Segment Display with PLC
Omron :

Step 1 :
Increments the memory data specified by the operand by 1
a.If 0000.00 = ON Then Increment D00000 ( Diff Up INC / Differentiate Up
Increment).

Step 2 :
a.If D00000 = 0 Then 0010.00 = ON.
b.If D00000 = 1 Then 0010.01 = ON.
c.If D00000 = 2 Then 0010.02 = ON.
d.If D00000 = 3 Then 0010.03 = ON.
e.If D00000 = 4 Then 0010.04 = ON.
f.If D00000 = 5 Then 0010.05 = ON.
g.If D00000 = 6 Then 0010.06 = ON.
h.If D00000 = 7 Then 0010.07 = ON.
i.If D00000 = 8 Then 0010.08 = ON.
j.If D00000 = 9 Then 0010.09 = ON.

Step 3 :
a.If 0010.00 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON.
b.If 0010.01 = ON Then 0005.01 = ON And 0005.02 = ON.
c.If 0010.02 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.06 = ON.
d.If 0010.03 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.06 = ON.
e.If 0010.04 = ON Then 0005.01 = ON And 0005.02 = ON And 0005.05 = ON
And 0005.06 = ON.
f.If 0010.05 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.05 = ON And 0005.06 = ON.
g.If 0010.06 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
h.If 0010.07 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON.
i.If 0010.08 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
j.If 0010.09 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.05 = ON And 0005.06 = ON.

Common Anode Seven Segment to PLC


The physical appearance of the seven segments

Definition of common anode seven segment with Light Emitting Diode (LED)

Internal Circuit Diagram of common anode seven segment

Wiring Diagram of common anode seven segment with PLC Output

Common Cathode Seven Segment to PLC


The physical appearance of the seven segments

Definition of common Cathode seven segment with Light Emitting Diode (LED)

Internal Circuit Diagram of common Cathode seven segment


Wiring Diagram of common Cathode seven segment with PLC Output

PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Toggle Switch ( ON - OFF ).

OUTPUT PLC :
0005.00 ; OUT0 or Seven Segment A of Digit 1.
0005.01 ; OUT1 or Seven Segment B of Digit 1.
0005.02 ; OUT2 or Seven Segment C of Digit 1.
0005.03 ; OUT3 or Seven Segment D of Digit 1.
0005.04 ; OUT4 or Seven Segment E of Digit 1.
0005.05 ; OUT5 or Seven Segment F of Digit 1.
0005.06 ; OUT6 or Seven Segment G of Digit 1.
0005.07 ; OUT7 or Seven Segment A of Digit 2.
0005.08 ; OUT8 or Seven Segment B of Digit 2.
0005.09 ; OUT9 or Seven Segment C of Digit 2.
0005.10 ; OUT10 or Seven Segment D of Digit 2.
0005.11 ; OUT11 or Seven Segment E of Digit 2.
0005.12 ; OUT12 or Seven Segment F of Digit 2.
0005.13 ; OUT12 or Seven Segment G of Digit 2.
0005.14 ; Lamp to signal countdown completion.
Download PDF File:
timer countdown using PLC Omron(.pdf)

Reading Ladder PLC Programming for Timer Countdown with PLC Omron :

Step 1 :
Setting Timer T000 = 1 Second
Decrements the memory data specified by the operand by 1
a.If 0000.00 = ON And 0012.00 = OFF And T000 = ON Then Decrement D00000
( Diff.up DEC / Decrement diff.Up).

Step 2 :
a.If 0000.00 = OFF Then D00000 = 30 ( MOV #0030 D00000 ).
b.If D00000 = 0 Then 0012.00 = ON And 0005.14 = ON.

Step 3 : Determine digit1 and digit2


Digit1 : 0 -- 1 -- 2 -- 3 -- 4 -- 5 -- 6 -- 7 -- 8 -- 9
Digit2 : 00 -- 10 -- 20 -- 30 -- 40 -- 50 -- 60 -- 70 -- 80 -- 90

a.Binary to BCD ( BCD D00000 D00100 ) --> Logical AND with Decimal 15
( ANDW D00100 #0015 D00101 ) --> BCD to Binary (BIN D00101 D00001 )

b.Binary to BCD ( BCD D00000 D00103 ) --> Logical AND with Decimal 240 (
ANDW D00103 #240 D00104 ) --> BCD to Binary ( BIN D00104 D00002 )

Example : Value D00000 = 29


-->If D00000 = 29 Then D00001 = 9 And D00002 = 20.

Step 4 : digit1
a.If D00001 = 0 Then 0010.00 = ON.
b.If D00001 = 1 Then 0010.01 = ON.
c.If D00001 = 2 Then 0010.02 = ON.
d.If D00001 = 3 Then 0010.03 = ON.
e.If D00001 = 4 Then 0010.04 = ON.
f.If D00001 = 5 Then 0010.05 = ON.
g.If D00001 = 6 Then 0010.06 = ON.
h.If D00001 = 7 Then 0010.07 = ON.
i.If D00001 = 8 Then 0010.08 = ON.
j.If D00001 = 9 Then 0010.09 = ON.

Step 5 : digit2
a.If D00002 = 00 Then 0011.00 = ON.
b.If D00002 = 10 Then 0011.01 = ON.
c.If D00002 = 20 Then 0011.02 = ON.
d.If D00002 = 30 Then 0011.03 = ON.
e.If D00002 = 40 Then 0011.04 = ON.
f.If D00002 = 50 Then 0011.05 = ON.
g.If D00002 = 60 Then 0011.06 = ON.
h.If D00002 = 70 Then 0011.07 = ON.
i.If D00002 = 80 Then 0011.08 = ON.
j.If D00002 = 90 Then 0011.09 = ON.

Step 6 : Output digit1


a.If 0010.00 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON.
b.If 0010.01 = ON Then 0005.01 = ON And 0005.02 = ON.
c.If 0010.02 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.06 = ON.
d.If 0010.03 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.06 = ON.
e.If 0010.04 = ON Then 0005.01 = ON And 0005.02 = ON And 0005.05 = ON
And 0005.06 = ON.
f.If 0010.05 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.05 = ON And 0005.06 = ON.
g.If 0010.06 = ON Then 0005.00 = ON And 0005.02 = ON And 0005.03 = ON
And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
h.If 0010.07 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON.
i.If 0010.08 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.04 = ON And 0005.05 = ON And 0005.06 = ON.
j.If 0010.09 = ON Then 0005.00 = ON And 0005.01 = ON And 0005.02 = ON
And 0005.03 = ON And 0005.05 = ON And 0005.06 = ON.

Step 7 : Output digit2


a.If 0011.00 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.09 = ON
And 0005.10 = ON And 0005.11 = ON And 0005.12 = ON.
b.If 0011.01 = ON Then 0005.08 = ON And 0005.09 = ON.
c.If 0011.02 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.10 = ON
And 0005.11 = ON And 0005.13 = ON.
d.If 0011.03 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.09 = ON
And 0005.10 = ON And 0005.13 = ON.
e.If 0011.04 = ON Then 0005.08 = ON And 0005.09 = ON And 0005.12 = ON
And 0005.13 = ON.
f.If 0011.05 = ON Then 0005.07 = ON And 0005.09 = ON And 0005.10 = ON
And 0005.12 = ON And 0005.13 = ON.
g.If 0011.06 = ON Then 0005.07 = ON And 0005.09 = ON And 0005.10 = ON
And 0005.11 = ON And 0005.12 = ON And 0005.13 = ON.
h.If 0011.07 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.09 = ON.
i.If 0011.08 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.09 = ON
And 0005.10 = ON And 0005.11 = ON And 0005.12 = ON And 0005.13 = ON.
j.If 0011.09 = ON Then 0005.07 = ON And 0005.08 = ON And 0005.09 = ON
And 0005.10 = ON And 0005.12 = ON And 0005.13 = ON.

Information on Drawing Numbers for Automatic Gates using PLC :


1. Area Sensor (If there are objects, the sensor output OFF)
2. Area Sensor (If there are objects, the sensor output OFF)
3. Area Sensor (If there are objects, the sensor output OFF)
4. Area Sensor (If there are objects, the sensor output OFF)
5. Electric Motor And Gearbox
6. Limit Switch for Open gate condition
7. Limit Switch for Closed gate conditions
8. Gate

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 6 Input :
--- 4 Unit Input for Area Sensor 1,2,3,and 4.
--- 1 Unit Input for Limit Switch for Open gate.
--- 1 Unit Input for Limit Switch for Closed gate.
--- Total Number Of Inputs PLC is Minimum 6 Input Unit.

2. Number Of Output PLC is 2 Output :


--- 1 Unit Output to contactor for Electric Motor (Open Gate ).
--- 1 Unit Output to contactor for Electric Motor (Close Gate ).
--- Total Number Of Outputs PLC is Minimum 2 Output Unit.

Sequence PLC Programming for Automatic Gates :


1. Open Gate
a. If Area Sensor 1 = OFF Then Electric Motor for Open Gate = ON.
b. If Limit Switch for Open gate = ON Then Electric Motor for Open Gate = OFF.
c. Electric Motor for Close Gate = always OFF

2. Close Gate
a. If Area Sensor 4 = OFF AND Area Sensor 2 = ON AND Area Sensor 3 = ON
Then Electric Motor for Close Gate = ON.
b. If Electric Motor for Close Gate = ON AND Area Sensor 2 = OFF OR Area
Sensor 3 = OFF Then Electric Motor for Close Gate = OFF AND Electric Motor
for Open Gate = ON.
PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Area Sensor 1.
0000.01 ; Area Sensor 2.
0000.02 ; Area Sensor 3.
0000.03 ; Area Sensor 4.
0000.04 ; Limit Switch for Open gate.
0000.05 ; Limit Switch for Closed gate.

OUTPUT PLC :
0005.00 ; Contactor for Electric Motor ( Open Gate ).
0005.01 ; Contactor for Electric Motor ( Close Gate ).

Download PDF File:


Automatic Gates with PLC Omron(.pdf)

Reading Ladder PLC Programming for Automatic Gates using PLC Omron :

Step 1 :
Open Gate
a.If 0000.00 = OFF AND 0000.04 = OFF Then 0010.00 = ON (Hold ON).
b.If 0010.01 = ON AND 0000.01 = OFF OR 0000.02 = OFF Then 0010.03 = ON.
c.If 0010.00 = ON OR 0010.03 = OFF Then 0005.00 = ON.

Step 2 :
Close Gate
a.If 0000.04 = ON AND 0000.03 = OFF AND 0000.01 = ON AND 0000.02 = ON
AND 0010.04 = OFF AND 0000.00 = ON Then 0010.01 = ON (Hold ON).
b.If 0010.01 = ON AND 0000.01 = ON AND 0000.02 = ON Then 0010.02 = ON.
c.If 0010.01 = ON AND 0000.01 = ON AND 0000.02 = ON AND 0000.05 = ON
Then 0010.04 = ON AND 0010.01 = OFF.
d.If 0010.02 = ON Then 0005.01 = ON

PLC Type Series-CV Omron , Name Input / Output PLC :

INPUT PLC :
0000.00 ; Area Sensor 1.
0000.01 ; Area Sensor 2.
0000.02 ; Area Sensor 3.
0000.03 ; Area Sensor 4.
0000.04 ; Limit Switch for Open gate.
0000.05 ; Limit Switch for Closed gate.

OUTPUT PLC :
0005.00 ; Contactor for Electric Motor ( Open Gate ).
0005.01 ; Contactor for Electric Motor ( Close Gate ).

Download PDF File:


Automatic Gates with PLC Omron(.pdf)

Reading Ladder PLC Programming for Automatic Gates using PLC Omron :

Step 1 :
Open Gate
a.If 0000.00 = OFF AND 0000.04 = OFF Then 0010.00 = ON (Hold ON).
b.If 0010.01 = ON AND 0000.01 = OFF OR 0000.02 = OFF Then 0010.03 = ON.
c.If 0010.00 = ON OR 0010.03 = OFF Then 0005.00 = ON.

Step 2 :
Close Gate
a.If 0000.04 = ON AND 0000.03 = OFF AND 0000.01 = ON AND 0000.02 = ON
AND 0010.04 = OFF AND 0000.00 = ON Then 0010.01 = ON (Hold ON).
b.If 0010.01 = ON AND 0000.01 = ON AND 0000.02 = ON Then 0010.02 = ON.
c.If 0010.01 = ON AND 0000.01 = ON AND 0000.02 = ON AND 0000.05 = ON
Then 0010.04 = ON AND 0010.01 = OFF.
d.If 0010.02 = ON Then 0005.01 = ON.
-------------
Information on Numbers for Parking Information using PLC :
1. Parking Information
2. "FULL" display
3. "EMPTY" display
4. Ultrasonic sensor for OUT detection
5. Ultrasonic sensor for IN detection
6. Parking Area

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 2 Input :
--- 1 Unit Input from Ultrasonic sensor for IN detection.
--- 1 Unit Input from Ultrasonic sensor for OUT detection.
--- Total Number Of Inputs PLC is Minimum 2 Input Unit.

2. Number Of Output PLC is 2 Output :


--- 1 Unit Output to "FULL" display.
--- 1 Unit Output to "EMPTY" display.
--- Total Number Of Outputs PLC is Minimum 2 Output Unit.

Sequence PLC Programming for Parking Information :

1. "FULL" display => ON


a. If Ultrasonic sensor IN => ON Then Increments the Data by 1(one).
b. If Data equal or more 5 (five) Then "FULL" display => ON and "EMPTY"
display => OFF.

2. "EMPTY" display => ON


a. If Ultrasonic sensor OUT => ON Then Decrements the Data by 1(one).
b. If Data is less than 5(five) Then "FULL" display => OFF and "EMPTY" display
=> ON.

3. Setting Data
a. Setting data with the number 5(five) and data can be set in accordance with the
capacity of parking areas.
Download Simulation Parking Information using PLC :
Please Click : Parking Information using PLC
PLC Omron Type CP1L-L10, Name Input / Output PLC :

INPUT PLC :
0.00 ; Ultrasonic sensor for IN detection.
0.01 ; Ultrasonic sensor for OUT detection.

OUTPUT PLC :
100.00 ; Output for "FULL" display.
100.01 ; Output for "EMPTY" display.
Reading Ladder PLC Programming for Parking Information using PLC Omron
:

Step 1 :
Setting Data equal capacity of parking areas
a.If 10.00 = OFF Then D0 = 15, Instruction:MOV &15 D0
Remarks :
a.1. If capacity of parking areas = 0 Then D0 = 10, Instruction:MOV &10 D0.
a.2. If capacity of parking areas = 5 Then D0 = 10 + 5 = 15, Instruction:MOV &15
D0.
a.3. If capacity of parking areas = 1000 Then D0 = 10 + 1000 = 1010,
Instruction:MOV &1010 D0.

Step 2 :
"FULL" display => ON
a.If I: 0.00 = ON Then Increments Pulse the D1 by 1(one), Instruction:@++ D1
b.If D1 equal or more than 15 ( capacity of parking areas = 5, Instruction:>= D1
D0 ) Then 10.01 = ON.
c.If 10.01 = ON Then Q: 100.00 = ON.

Step 3 :
"EMPTY" display => ON
a.If I: 0.01 = ON Then Decrements Pulse the D1 by 1(one), Instruction:@-- D1
b.If D1 less than 15 ( capacity of parking areas = 5, Instruction:< D1 D0 ) Then
10.02 = ON.
c.If 10.02 = ON Then Q: 100.01 = ON.

Step 4 :
Minimum and Maximum Limits
Minimum Limits :
a.If D1 less than 10 ( Instruction:< D1 &10 ) Then D1=10 ( Instruction:MOV &10
D1 ).
Maximum Limits :
b.If D1 more than D0/capacity of parking areas ( Instruction:> D1 D0 ) Then
D0=D1 ( Instruction:MOV D0 D1 ).

Please Download Programming for CX-Programmer version 9.10 :


PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
0.00 ; Sensor Object
0.01 ; Sensor for empty containers
0.02 ; Sensor for detection position of the Rotary container
0.03 ; Weighing : GO/OK

OUTPUT PLC :
100.00 ; Output to Yellow Lights for the Empty
100.01 ; Output to Red Lights for Weighing Not OK
100.02 ; Output to Green Lights for Weighing OK
100.03 ; Output to Contactor for Electric Motor
100.04 ; Weighing : Digital Zero Reset

Download PDF File:


Weighing Machine Using PLC Omron(.pdf)

Reading Ladder PLC Programming for Weighing Machine using PLC Omron :

Step 1 :
ALL Process ON/OFF
a.If 0.00 = ON Then 10.00 = ON (DIFU)
b.If 10.00 = ON AND 0.00 = ON AND 10.09 = OFF Then 10.01 = ON (ALL
PROCESS ON)
c.If 0.00 = OFF (ALL PROCESS OFF)
d.If 0.01 = OFF AND 10.02 = ON Then 10.09 = ON ( ALL PROCESS OFF )

Step 2 :
Red Lights = OFF
Green Lights = OFF
a.If 10.00 = ON AND 10.01 = ON AND 10.03 = OFF Then 10.02 = ON
b.If 10.02 = ON Then 10.07 = OFF (RSET 10.07 = ON) AND 10.08 = OFF (
RSET 10.08 = ON )
c.If 10.07 = OFF Then 100.02 = OFF (Green Lights = OFF)
d.If 10.08 = OFF Then 100.01 = OFF (Red Lights = OFF)

Step 3 :
Digital Zero Reset = ON
a.If 10.02 = ON AND T0000 = ON AND 10.01 = ON AND 10.04 = OFF Then
10.03 = ON
b.If 10.03 = ON Then 100.04 = ON (Digital Zero = ON)

Step 4 :
Rotary container = ON / OFF
a.If 10.03 = ON AND T0001 = ON AND 10.01 = ON AND 10.05 = OFF Then
10.04 = ON (Hold ON)
b.If 10.04 = ON Then 100.03 = ON (Electric Motor = ON)
c.If 0.02 = OFF AND 10.04 = ON AND 10.01 = ON AND 10.05 = OFF Then
10.10 = ON (Check Sensor position = OFF)
d.If 10.04 = ON AND 100.03 = ON AND 10.10 = ON AND 0.02 = ON AND
10.01 = ON AND 10.06 = OFF Then 10.05 = ON ( Electric Motor = OFF )
e.If 10.05 = ON Then 10.04 = OFF
f.If 10.04 = OFF Then 100.03 = OFF ( Electric Motor = OFF )

Step 5 :
Weighing : GO/OK = ON/OFF
a.If 10.05 = ON AND T0002 = ON AND 10.07 = OFF AND 10.08 = OFF AND
10.01 = ON Then 10.06 = ON (Judgment OK/NOT OK)
b.If 10.01 = ON AND 10.06 = ON AND 0.03 = ON Then 10.07 = ON (SET 10.07
= ON) =>Weighing OK
c.If 10.01 = ON AND 10.06 = ON AND 0.03 = OFF Then 10.08 = ON (SET 10.08
= ON) =>Weighing NOT OK
d.If 10.07 = ON Then 100.02 = ON (OK)
e.If 10.08 = ON Then 100.01 = ON (NOT OK)

Step 6 :
Empty Containers
a.If 0.01 = OFF AND 10.02 = ON Then 10.09 = ON (ALL PROCESS OFF)
b.If 0.01 = ON Then 100.00 = ON (Yellow Lights = ON)

Information on Numbers for Detail the Mechanical Weighing Machine :


1. Weighing
2. Cup
3. Fixed Container
4. Rotary container
5. Indicator of the Operating Panel
6. Powder, Rice, Sand, etc.
7. Container
8. Rotary shaft between the fixed containers with Rotary container
9. Frame Machine

Detail Weighing Machine using PLC


Information on Numbers for Weighing Machine using PLC :
1. Weighing with input / output external
2. Sensor Object with an infrared receiver and transmitter
3. Indicator Lights for the Empty
4. Indicator Lights for Weighing Not OK
5. Indicator Lights for Weighing OK
6. Electric Motor
7. Sensor for empty containers
8. Sensor for detection position of the Rotary container
9. Input / Output external Weighing :
=>9a. Output Weighing : GO/OK
=>9b. Input Weighing : Digital Zero Reset

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 4 Input :
--- 1 Unit Input from Sensor Object (NO:2)
--- 1 Unit Input from Sensor for empty containers (NO:7)
--- 1 Unit Input from Sensor for detection position of the Rotary container (NO:8)
--- 1 Unit Input from Output Weighing : GO/OK (NO:9a)
--- Total Number Of Inputs PLC is Minimum 4 Input Unit.

2. Number Of Output PLC is 5 Output :


--- 1 Unit Output to Yellow Lights for the Empty (NO:3)
--- 1 Unit Output to Red Lights for Weighing Not OK (NO:4)
--- 1 Unit Output to Green Lights for Weighing OK (NO:5)
--- 1 Unit Output to Contactor for Electric Motor (NO:6)
--- 1 Unit Output to Input Weighing : Digital Zero Reset (NO:9b)
--- Total Number Of Outputs PLC is Minimum 5 Output Unit.

Sequence PLC Programming for Weighing Machine:

1. Weighing with value 7.0 => OK


2. Weighing with value not 7.0 => NOT OK
a. If Sensor Object (NO:2) = ON Then wait for 2 seconds AND Green Lights, Red
Lights = OFF
b. After 2 seconds Then Digital Zero Reset (NO:9b) = ON AND wait for 0.5
seconds
c. After 0.5 seconds Then Electric Motor (NO:6) = ON
d. If Sensor Rotary container (NO:8) = ON Then Electric Motor (NO:6) = OFF
e. Wait for 5 seconds
f. After 5 seconds :
==>If Weighing : GO/OK (NO:9a) = ON Then Green Lights (NO:5) = ON
==>If Weighing : GO/OK (NO:9a) = OFF Then Red Lights (NO:4) = ON

3. Empty Containers
a. If Sensor for empty containers (NO:7) = OFF Then Yellow Lights (NO:3) = ON
b. If Sensor for empty containers (NO:7) = OFF AND Sensor Object (NO:2) = ON
Then Green Lights, Red Lights = OFF AND All Process OFF
PLC Type KV-16, Name Input / Output PLC :

INPUT PLC :
0000 ; Sensor Object
0001 ; Sensor for empty containers
0002 ; Sensor for detection position of the Rotary container
0003 ; Weighing : GO/OK

OUTPUT PLC :
0500 ; Output to Yellow Lights for the Empty
0501 ; Output to Red Lights for Weighing Not OK
0502 ; Output to Green Lights for Weighing OK
0503 ; Output to Contactor for Electric Motor
0504 ; Weighing : Digital Zero Reset

Download PDF File:


Weighing Machine Using PLC Keyence(.pdf)

Reading Ladder PLC Programming for Weighing Machine using PLC Keyence :

Step 1 :
ALL Process ON/OFF
a.If 0000 = ON Then 1000 = ON (DIFU)
b.If 1000 = ON AND 0000 = ON AND 1009 = OFF Then 1001 = ON (ALL
PROCESS ON)
c.If 0000 = OFF (ALL PROCESS OFF)
d.If 0001 = OFF AND 1002 = ON Then 1009 = ON ( ALL PROCESS OFF )

Step 2 :
Red Lights = OFF
Green Lights = OFF
a.If 1000 = ON AND 1001 = ON AND 1003 = OFF Then 1002 = ON
b.If 1002 = ON Then 1007 = OFF (RES 1007 = ON) AND 1008 = OFF ( RES
1008 = ON )
c.If 1007 = OFF Then 0502 = OFF (Green Lights = OFF)
d.If 1008 = OFF Then 0501 = OFF (Red Lights = OFF)

Step 3 :
Digital Zero Reset = ON
a.If 1002 = ON AND T000 = ON AND 1001 = ON AND 1004 = OFF Then 1003
= ON
b.If 1003 = ON Then 0504 = ON (Digital Zero = ON)

Step 4 :
Rotary container = ON / OFF
a.If 1003 = ON AND T001 = ON AND 1001 = ON AND 1005 = OFF Then 1004
= ON (Hold ON)
b.If 1004 = ON Then 0503 = ON (Electric Motor = ON)
c.If 0002 = OFF AND 1004 = ON AND 1001 = ON AND 1005 = OFF Then 1010
= ON (Check Sensor position = OFF)
d.If 1004 = ON AND 0503 = ON AND 1010 = ON AND 0002 = ON AND 1001 =
ON AND 1006 = OFF Then 1005 = ON ( Electric Motor = OFF )
e.If 1005 = ON Then 1004 = OFF
f.If 1004 = OFF Then 0503 = OFF ( Electric Motor = OFF )

Step 5 :
Weighing : GO/OK = ON/OFF
a.If 1005 = ON AND T002 = ON AND 1007 = OFF AND 1008 = OFF AND 1001
= ON Then 1006 = ON (Judgment OK/NOT OK)
b.If 1001 = ON AND 1006 = ON AND 0003 = ON Then 1007 = ON (SET 1007 =
ON) =>Weighing OK
c.If 1001 = ON AND 1006 = ON AND 0003 = OFF Then 1008 = ON (SET 1008 =
ON) =>Weighing NOT OK
d.If 1007 = ON Then 0502 = ON (OK)
e.If 1008 = ON Then 0501 = ON (NOT OK)

Step 6 :
Empty Containers
a.If 0001 = OFF AND 1002 = ON Then 1009 = ON (ALL PROCESS OFF)
b.If 0001 = ON Then 0500 = ON (Yellow Lights = ON)

Password Using PLC

Simulation Password
Detail for Password Using PLC
Information on Numbers for Detail the Password Using PLC :
1. KeyPad with 10 Numeric and 1 Enter (Numeric KeyPad)
2. PLC (Programmable Logic Controller)
3. Red Light for Wrong Password
4. Green Light for Correct Password

Wiring from the Numeric KeyPad to PLC


Information on Wiring from the Numeric KeyPad to PLC :
1. Input 0 PLC for Numeric 0 from KeyPad
2. Input 1 PLC for Numeric 1 from KeyPad
3. Input 2 PLC for Numeric 2 from KeyPad
4. Input 3 PLC for Numeric 3 from KeyPad
5. Input 4 PLC for Numeric 4 from KeyPad
6. Input 5 PLC for Numeric 5 from KeyPad
7. Input 6 PLC for Numeric 6 from KeyPad
8. Input 7 PLC for Numeric 7 from KeyPad
9. Input 8 PLC for Numeric 8 from KeyPad
10. Input 9 PLC for Numeric 9 from KeyPad
11. Input 10 PLC for ENTER from KeyPad

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 11 Input :
--- 11 Unit Input from Numeric KeyPad
--- Total Number Of Inputs PLC is Minimum 11 Input Unit.

2. Number Of Output PLC is 2 Output :


--- 1 Unit Output to Red Light for Wrong Password
--- 1 Unit Output to Green Light for Correct Password
--- Total Number Of Outputs PLC is Minimum 2 Output Unit.

Sequence PLC Programming for Password PLC :

1. Correct Password
a. If typing "5500" from KeyPad AND "ENTER" from KeyPad then Green Light =
ON (Correct Password)

2. Wrong Password
a. If NOT typing "5500" from KeyPad AND "ENTER" from KeyPad then Red
Light = ON (Wrong Password)

3. Password Data
a. Password data using PLC memory (With Value 5500) and can be modified

4. Green Light = OFF OR Red Light = OFF


a. If Enter Released AND Typing again then Green Light = OFF OR Red Light =
OFF

PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
0.00 ; Numeric 0 from KeyPad
0.01 ; Numeric 1 from KeyPad
0.02 ; Numeric 2 from KeyPad
0.03 ; Numeric 3 from KeyPad
0.04 ; Numeric 4 from KeyPad
0.05 ; Numeric 5 from KeyPad
0.06 ; Numeric 6 from KeyPad
0.07 ; Numeric 7 from KeyPad
0.08 ; Numeric 8 from KeyPad
0.09 ; Numeric 9 from KeyPad
0.10 ; ENTER Key from KeyPad

OUTPUT PLC :
100.00 ; Output to Green Light for Correct Password
100.01 ; Output to RRed Light for Wrong Password
Download PDF File:
password using plc omron(.pdf)

Reading Ladder PLC Programming for Password using PLC Omron :

Step 1 :
Password Data using D20
a.If 11.00 = OFF (Always ON) Then D20 = 5500 (can be modified and 4 Digits
Decimal)

Step 2 :
Numeric 0 to 9 is pressed
Using D0 for temporary data storage
a.If 0.00 = ON (Numeric 0) Then DIFU 10.00 = ON AND D0 = 0
b.If 0.01 = ON (Numeric 1) Then DIFU 10.00 = ON AND D0 = 1
c.If 0.02 = ON (Numeric 2) Then DIFU 10.00 = ON AND D0 = 2
d.If 0.03 = ON (Numeric 3) Then DIFU 10.00 = ON AND D0 = 3
e.If 0.04 = ON (Numeric 4) Then DIFU 10.00 = ON AND D0 = 4
f.If 0.05 = ON (Numeric 5) Then DIFU 10.00 = ON AND D0 = 5
g.If 0.06 = ON (Numeric 6) Then DIFU 10.00 = ON AND D0 = 6
h.If 0.07 = ON (Numeric 7) Then DIFU 10.00 = ON AND D0 = 7
i.If 0.08 = ON (Numeric 8) Then DIFU 10.00 = ON AND D0 = 8
j.If 0.09 = ON (Numeric 9) Then DIFU 10.00 = ON AND D0 = 9
Note : DIFU = Single-scan of target relay ON at rising edge of previous state

Step 3 :
Count the number keypad is pressed
Using D30 for Count data storage
a.If 10.00 = ON Then ++(590) D30 (Binary Increment)

Step 4 :
Enter Released for Value D30 = 0 (Count data RESET)
a.If 0.10 = ON (ENTER key is pressed) Then DIFD 10.01 = ON (Single-scan of
target relay ON at falling edge of previous state)
b.If 10.01 = ON Then Value D30 = 0

Step 5 :
Password from the KeyPad
Using D12 for Password from the KeyPad
a.Keypad is pressed first, multiplied by 1000
(10.00 = ON) AND (= &1 D30) AND (*U &1000 D0 D1)
b.Keypad is pressed second, multiplied by 100
(10.00 = ON) AND (= &2 D30) AND (*U &100 D0 D2)
c.Keypad is pressed three, multiplied by 10
(10.00 = ON) AND (= &3 D30) AND (*U &10 D0 D3)
d.Keypad is pressed four, multiplied by 1
(10.00 = ON) AND (= &4 D30) AND (*U &1 D0 D4)
e.Sum all the data
(10.00 = ON) AND (+ D1 D2 D10)
(10.00 = ON) AND (+ D10 D3 D11)
(10.00 = ON) AND (+ D11 D4 D12)

Example :
Keypad is pressed :
first : Numeric 4 => 4 multiplied by 1000 = 4000
second : Numeric 4 => 4 multiplied by 100 = 400
three : Numeric 2 => 2 multiplied by 10 = 20
four : Numeric 2 => 2 multiplied by 1 = 2
Sum all the data = 4000 + 400 + 20 + 2 = 4422
So,Password from the keypad is 4422

Step 6 :
Check the number of digits
a.If D30 = 4 (4 times the keypad is pressed) Then 10.02 = ON

Step 7 :
Correct Password
a.If 0.10 = ON (ENTER key is pressed) AND 10.02 = ON AND Value(D12 =
D20) Then SET 10.03 = ON
b.If 10.03 = ON Then 100.00 = ON (Correct Lamp)

Step 8 :
Wrong Password and Not 4 digits
a.If 0.10 = ON (ENTER key is pressed) AND 10.02 = ON AND Value(D12 not
same D20) Then SET 10.04 = ON
b.If 0.10 = ON (ENTER key is pressed) AND 10.02 = OFF AND 10.03 = OFF
AND 10.04 = OFF Then SET 10.05 = ON (Not 4 digits)
c.If 10.04 = ON OR 10.05 = ON Then 100.01 = ON (Wrong Lamp)
Step 9 :
Green Light = OFF OR Red Light = OFF
a.If 10.00 = ON AND 10.03 = ON OR 10.04 = ON OR 10.05 = ON Then RSET
10.03 (10.03 = OFF) AND RSET 10.04 (10.04 = OFF) AND RSET 10.05 (10.05 =
OFF)
PLC Type KV, Name Input / Output PLC :

INPUT PLC :
0000 ; Numeric 0 from KeyPad
0001 ; Numeric 1 from KeyPad
0002 ; Numeric 2 from KeyPad
0003 ; Numeric 3 from KeyPad
0004 ; Numeric 4 from KeyPad
0005 ; Numeric 5 from KeyPad
0006 ; Numeric 6 from KeyPad
0007 ; Numeric 7 from KeyPad
0008 ; Numeric 8 from KeyPad
0009 ; Numeric 9 from KeyPad
0010 ; ENTER Key from KeyPad

OUTPUT PLC :
0500 ; Output to Green Light for Correct Password
0501 ; Output to RRed Light for Wrong Password

Download PDF File:


password using plc keyence(.pdf)

Reading Ladder PLC Programming for Password using PLC Keyence :

Step 1 :
Password Data using DM0020
a.If 2002 = ON (Always ON) Then DM0020 = 5500 (can be modified and 4 Digits
Decimal)

Step 2 :
Numeric 0 to 9 is pressed
Using DM0000 for temporary data storage
a.If 0000 = ON (Numeric 0) Then DIFU 1000 = ON AND DM0000 = 0
b.If 0001 = ON (Numeric 1) Then DIFU 1000 = ON AND DM0000 = 1
c.If 0002 = ON (Numeric 2) Then DIFU 1000 = ON AND DM0000 = 2
d.If 0003 = ON (Numeric 3) Then DIFU 1000 = ON AND DM0000 = 3
e.If 0004 = ON (Numeric 4) Then DIFU 1000 = ON AND DM0000 = 4
f.If 0005 = ON (Numeric 5) Then DIFU 1000 = ON AND DM0000 = 5
g.If 0006 = ON (Numeric 6) Then DIFU 1000 = ON AND DM0000 = 6
h.If 0007 = ON (Numeric 7) Then DIFU 1000 = ON AND DM0000 = 7
i.If 0008 = ON (Numeric 8) Then DIFU 1000 = ON AND DM0000 = 8
j.If 0009 = ON (Numeric 9) Then DIFU 1000 = ON AND DM0000 = 9
Note : DIFU = Single-scan of target relay ON at rising edge of previous state

Step 3 :
Count the number keypad is pressed
Using DM0030 for Count data storage
a.If 1000 = ON Then INC DM0030 (Increment target device value)

Step 4 :
Enter Released for Value DM0030 = 0 (Count data RESET)
a.If 0010 = ON (ENTER key is pressed) Then DIFD 1001 = ON (Single-scan of
target relay ON at falling edge of previous state)
b.If 1001 = ON Then Value DM0030 = 0

Step 5 :
Password from the KeyPad
Using DM0012 for Password from the KeyPad
a.Keypad is pressed first, multiplied by 1000
(1000 = ON) AND (LDA DM0030) AND (CMP#0001) AND (2010) AND (LDA
DM0000) AND (MUL #01000) AND (STA DM0001)
b.Keypad is pressed second, multiplied by 100
(1000 = ON) AND (LDA DM0030) AND (CMP#0002) AND (2010) AND (LDA
DM0000) AND (MUL #00100) AND (STA DM0002)
c.Keypad is pressed three, multiplied by 10
(1000 = ON) AND (LDA DM0030) AND (CMP#0003) AND (2010) AND (LDA
DM0000) AND (MUL #00010) AND (STA DM0003)
d.Keypad is pressed four, multiplied by 1
(1000 = ON) AND (LDA DM0030) AND (CMP#0004) AND (2010) AND (LDA
DM0000) AND (MUL #00001) AND (STA DM0004)
e.Sum all the data
(1000 = ON) AND (LDA DM0001) AND (ADD DM0002) AND (STA DM0010)
(1000 = ON) AND (LDA DM0010) AND (ADD DM0003) AND (STA DM0011)
(1000 = ON) AND (LDA DM0011) AND (ADD DM0004) AND (STA DM0012)

Example :
Keypad is pressed :
first : Numeric 9 => 9 multiplied by 1000 = 9000
second : Numeric 6 => 6 multiplied by 100 = 600
three : Numeric 5 => 5 multiplied by 10 = 50
four : Numeric 7 => 7 multiplied by 1 = 7
Sum all the data = 9000 + 600 + 50 + 7 = 9657
So,Password from the keypad is 9657

Step 6 :
Check the number of digits
a.If DM0030 = 4 (4 times the keypad is pressed) Then 1002 = ON

Step 7 :
Correct Password
a.If 0010 = ON (ENTER key is pressed) AND 1002 = ON AND Value(DM0012 =
DM0020) Then SET 1003 = ON
b.If 1003 = ON Then 0500 = ON (Correct Lamp)

Step 8 :
Wrong Password and Not 4 digits
a.If 0010 = ON (ENTER key is pressed) AND 1002 = ON AND Value(DM0012
not same DM0020) Then SET 1004 = ON
b.If 0010 = ON (ENTER key is pressed) AND 1002 = OFF AND 1003 = OFF
AND 1004 = OFF Then SET 1005 = ON (Not 4 digits)
c.If 1004 = ON OR 1005 = ON Then 0501 = ON (Wrong Lamp)

Step 9 :
Green Light = OFF OR Red Light = OFF
a.If 1000 = ON AND 1003 = ON OR 1004 = ON OR 1005 = ON Then RES 1003
(1003 = OFF) AND RES 1004 (1004 = OFF) AND RES 1005 (1005 = OFF)
Information on Numbers for Detail the Lock Unlock Door For Home Automation
:
1. KeyPad with 10 Numeric and 1 Enter (Numeric KeyPad)
2. Lock Indicator using Green LED (Light Emitting Diode)
3. Electromagetic Lock using DC Source
4. Door closure Sensor
5. Door Exit Button
6. PLC (Programmable Logic Controller)
7. Relay With Relay Coil using 240 Volt AC Source
8. Battrey
9. Automatic Battery Charger

For wiring Numeric KeyPad, click : Password PLC

Relay Diagram for Lock Unlock Door

Note: For PLC


Output using PLC Output Units Relay

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 13 Input :
--- 11 Unit Input from Numeric KeyPad
--- 1 Unit Input from Door closure Sensor
--- 1 Unit Input from Door Exit Button
--- Total Number Of Inputs PLC is Minimum 13 Input Unit.

2. Number Of Output PLC is 1 Output :


--- 1 Unit Output to Relay Coil (Used for Electromagetic Lock and Green LED)
--- Total Number Of Outputs PLC is Minimum 1 Output Unit.

Sequence PLC Programming for Lock Unlock Door :

1. Keypad and Password


For workings of keypad and password,
click : Password PLC

OUTDOOR
2. Correct Password (Password OK) and Wrong Password
Unlock Door
a. If Password OK then Relay Coil = ON ( Electromagetic Lock = OFF AND
Green LED = OFF ).
Lock Door
b. If Wrong Password then Relay Coil = OFF ( Electromagetic Lock = ON AND
Green LED = ON ).

3. Open Door
Unlock Door
a. If Relay Coil = ON Then Door can be opened.

4. Lock Door by Door position


a. If Door position from OPEN to CLOSED AND Door Closure Sensor = ON
Then Relay Coil = OFF ( Electromagetic Lock = ON ).
b. If Relay Coil = ON AND Door Closure Sensor = ON Then Activate the Timer
for 30 seconds.
c. If Timer = ON Then Relay Coil = OFF ( Electromagetic Lock = ON ).

INDOOR
5. Exit with Door Exit Button
a. If Door Exit Button = ON Then Relay Coil = ON ( Electromagetic Lock = OFF
AND Green LED = OFF ).
PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
I:0.00 ; Numeric 0 from KeyPad
I:0.01 ; Numeric 1 from KeyPad
I:0.02 ; Numeric 2 from KeyPad
I:0.03 ; Numeric 3 from KeyPad
I:0.04 ; Numeric 4 from KeyPad
I:0.05 ; Numeric 5 from KeyPad
I:0.06 ; Numeric 6 from KeyPad
I:0.07 ; Numeric 7 from KeyPad
I:0.08 ; Numeric 8 from KeyPad
I:0.09 ; Numeric 9 from KeyPad
I:0.10 ; ENTER Key from KeyPad
I:0.11 ; Door closure Sensor
I:0.12 ; Door Exit Button

OUTPUT PLC :
Q:100.00 ; Output to Relay Coil (Used for Electromagetic Lock and Green LED)

Download PDF File:


Lock Unlock Door Using Omron PLC(.pdf)

Reading Ladder PLC Programming for Lock Unlock Door using Omron PLC :

Step 1 :
Password Data using D20
a.If 11.00 = OFF (Always ON) Then D20 = 5214 (can be modified and 4 Digits
Decimal)

Step 2 :
Numeric 0 to 9 is pressed
Using D0 for temporary data storage
a.If I:0.00 = ON (Numeric 0) Then DIFU(013) 10.00 = ON AND D0 = 0
b.If I:0.01 = ON (Numeric 1) Then DIFU(013) 10.00 = ON AND D0 = 1
c.If I:0.02 = ON (Numeric 2) Then DIFU(013) 10.00 = ON AND D0 = 2
d.If I:0.03 = ON (Numeric 3) Then DIFU(013) 10.00 = ON AND D0 = 3
e.If I:0.04 = ON (Numeric 4) Then DIFU(013) 10.00 = ON AND D0 = 4
f.If I:0.05 = ON (Numeric 5) Then DIFU(013) 10.00 = ON AND D0 = 5
g.If I:0.06 = ON (Numeric 6) Then DIFU(013) 10.00 = ON AND D0 = 6
h.If I:0.07 = ON (Numeric 7) Then DIFU(013) 10.00 = ON AND D0 = 7
i.If I:0.08 = ON (Numeric 8) Then DIFU(013) 10.00 = ON AND D0 = 8
j.If I:0.09 = ON (Numeric 9) Then DIFU(013) 10.00 = ON AND D0 = 9
Note : DIFU(013) = Single-scan of target relay ON at rising edge of previous state
Step 3 :
Count the number keypad is pressed
Using D30 for Count data storage
a.If 10.00 = ON Then ++(590) D30 (Increment target device value)

Step 4 :
Enter Released for Value D30 = 0 (Count data RESET)
a.If I:0.10 = ON (ENTER key is pressed) Then DIFD(014) 10.01 = ON (Single-
scan of target relay ON at falling edge of previous state)
b.If 10.01 = ON Then Value D30 = 0

Step 5 :
Password from the KeyPad
Using D12 for Password from the KeyPad
a.Keypad is pressed first, multiplied by 1000
(10.00 = ON) -> (=(300) &1 D30) -> (*U(422) &1000 D0 D1)
b.Keypad is pressed second, multiplied by 100
(10.00 = ON) -> (=(300) &2 D30) -> (*U(422) &100 D0 D2)
c.Keypad is pressed three, multiplied by 10
(10.00 = ON) -> (=(300) &3 D30) -> (*U(422) &10 D0 D3)
d.Keypad is pressed four, multiplied by 1
(10.00 = ON) -> (=(300) &4 D30) -> (*U(422) &1 D0 D4)
e.Sum all the data
(10.00 = ON) -> (+(400) D1 D2 D10)
(10.00 = ON) -> (+(400) D10 D3 D11)
(10.00 = ON) -> (+(400) D11 D4 D12)

Example :
Keypad is pressed :
first : Numeric 5 pressed -> 5 multiplied by 1000 = 5000
second : Numeric 2 pressed -> 2 multiplied by 100 = 200
three : Numeric 1 pressed -> 1 multiplied by 10 = 10
four : Numeric 4 pressed -> 4 multiplied by 1 = 4
Sum all the data : 5000 + 200 + 10 + 4 = 5214
So,Password from the keypad is 5214

Step 6 :
Check the number of digits
a.If D30 = 4 (4 times the keypad is pressed) Then 10.02 = ON
Step 7 :
Correct Password And UnLock Door
7.1. Correct Password
a.If I:0.10 = ON (ENTER key is pressed) Then DIFU(013) 10.04 = ON (ENTER
Down)
b.If 10.04 = ON (ENTER Down) AND 10.02 = ON AND Value(D12 = D20) Then
SET 10.03 = ON
7.2. UnLock Door by Correct Password
c.If 10.03 = ON AND 10.07 = OFF AND T0000 = OFF Then 10.06 = ON (Hold
UnLock)
7.3. UnLock Door by Door Exit Button
d.If I:0.12 = ON (Door Exit Button) AND 10.07 = OFF AND T0000 = OFF Then
10.06 = ON (Hold UnLock)
7.3. UnLock Door
e.If 10.06 = ON Then Q:100.00 = ON (UnLock Door)

Step 8 :
Lock Door by Door position
a.If I:0.11 = ON (Door Closure Sensor) Then DIFU(013) 10.07 = ON
b.If 10.07 = ON Then 10.06 = OFF
c.If 10.06 = OFF Then Q:100.00 = OFF (Lock Door)

Step 9 :
Lock Door by Timer
a.If Q:100.00 = ON AND I:0.11 = ON (Door Closure Sensor) Then Activate the
Timer TIM0000
b.If T0000 = ON Then 10.06 = OFF
c.If 10.06 = OFF Then Q:100.00 = OFF (Lock Door)

Step 10 :
a.If 10.00 = ON AND 10.03 = ON (Correct Password) Then RSET 10.03 (10.03 =
OFF)
b.If 10.07 = ON AND 10.03 = ON (Correct Password) Then RSET 10.03 (10.03 =
OFF)
c.If T0000 = ON AND 10.03 = ON (Correct Password) Then RSET 10.03 (10.03 =
OFF)

PLC Type KV, Name Input / Output PLC :

INPUT PLC :
0000 ; Numeric 0 from KeyPad
0001 ; Numeric 1 from KeyPad
0002 ; Numeric 2 from KeyPad
0003 ; Numeric 3 from KeyPad
0004 ; Numeric 4 from KeyPad
0005 ; Numeric 5 from KeyPad
0006 ; Numeric 6 from KeyPad
0007 ; Numeric 7 from KeyPad
0008 ; Numeric 8 from KeyPad
0009 ; Numeric 9 from KeyPad
0010 ; ENTER Key from KeyPad
0011 ; Door closure Sensor
0012 ; Door Exit Button

OUTPUT PLC :
0500 ; Output to Relay Coil (Used for Electromagetic Lock and Green LED)

Download PDF File:


Lock Unlock Door Using Keyence PLC(.pdf)

Reading Ladder PLC Programming for Lock Unlock Door using Keyence PLC :

Step 1 :
Password Data using DM0020
a.If 2002 = ON (Always ON) Then DM0020 = 5214 (can be modified and 4 Digits
Decimal)

Step 2 :
Numeric 0 to 9 is pressed
Using DM0000 for temporary data storage
a.If 0000 = ON (Numeric 0) Then DIFU 1000 = ON AND DM0000 = 0
b.If 0001 = ON (Numeric 1) Then DIFU 1000 = ON AND DM0000 = 1
c.If 0002 = ON (Numeric 2) Then DIFU 1000 = ON AND DM0000 = 2
d.If 0003 = ON (Numeric 3) Then DIFU 1000 = ON AND DM0000 = 3
e.If 0004 = ON (Numeric 4) Then DIFU 1000 = ON AND DM0000 = 4
f.If 0005 = ON (Numeric 5) Then DIFU 1000 = ON AND DM0000 = 5
g.If 0006 = ON (Numeric 6) Then DIFU 1000 = ON AND DM0000 = 6
h.If 0007 = ON (Numeric 7) Then DIFU 1000 = ON AND DM0000 = 7
i.If 0008 = ON (Numeric 8) Then DIFU 1000 = ON AND DM0000 = 8
j.If 0009 = ON (Numeric 9) Then DIFU 1000 = ON AND DM0000 = 9
Note : DIFU = Single-scan of target relay ON at rising edge of previous state

Step 3 :
Count the number keypad is pressed
Using DM0030 for Count data storage
a.If 1000 = ON Then INC DM0030 (Increment target device value)

Step 4 :
Enter Released for Value DM0030 = 0 (Count data RESET)
a.If 0010 = ON (ENTER key is pressed) Then DIFD 1001 = ON (Single-scan of
target relay ON at falling edge of previous state)
b.If 1001 = ON Then Value DM0030 = 0

Step 5 :
Password from the KeyPad
Using DM0012 for Password from the KeyPad
a.Keypad is pressed first, multiplied by 1000
(1000 = ON) -> (LDA DM0030) -> (CMP#0001) -> (2010) -> (LDA DM0000) ->
(MUL #01000) -> (STA DM0001)
b.Keypad is pressed second, multiplied by 100
(1000 = ON) -> (LDA DM0030) -> (CMP#0002) -> (2010) -> (LDA DM0000) ->
(MUL #00100) -> (STA DM0002)
c.Keypad is pressed three, multiplied by 10
(1000 = ON) -> (LDA DM0030) -> (CMP#0003) -> (2010) -> (LDA DM0000) ->
(MUL #00010) -> (STA DM0003)
d.Keypad is pressed four, multiplied by 1
(1000 = ON) -> (LDA DM0030) -> (CMP#0004) -> (2010) -> (LDA DM0000) ->
(MUL #00001) -> (STA DM0004)
e.Sum all the data
(1000 = ON) -> (LDA DM0001) -> (ADD DM0002) -> (STA DM0010)
(1000 = ON) -> (LDA DM0010) -> (ADD DM0003) -> (STA DM0011)
(1000 = ON) -> (LDA DM0011) -> (ADD DM0004) -> (STA DM0012)

Example :
Keypad is pressed :
first : Numeric 5 pressed -> 5 multiplied by 1000 = 5000
second : Numeric 2 pressed -> 2 multiplied by 100 = 200
three : Numeric 1 pressed -> 1 multiplied by 10 = 10
four : Numeric 4 pressed -> 4 multiplied by 1 = 4
Sum all the data : 5000 + 200 + 10 + 4 = 5214
So,Password from the keypad is 5214

Step 6 :
Check the number of digits
a.If DM0030 = 4 (4 times the keypad is pressed) Then 1002 = ON

Step 7 :
Correct Password And UnLock Door
7.1. Correct Password
a.If 0010 = ON (ENTER key is pressed) Then DIFU 1004 = ON (ENTER Down)
b.If 1004 = ON (ENTER Down) AND 1002 = ON AND Value(DM0012 =
DM0020) Then SET 1003 = ON
7.2. UnLock Door by Correct Password
c.If 1003 = ON AND 1007 = OFF AND T000 = OFF Then 1006 = ON (Hold
UnLock)
7.3. UnLock Door by Door Exit Button
d.If 0012 = ON (Door Exit Button) AND 1007 = OFF AND T000 = OFF Then
1006 = ON (Hold UnLock)
7.3. UnLock Door
e.If 1006 = ON Then 0500 = ON (UnLock Door)

Step 8 :
Lock Door by Door position
a.If 0011 = ON (Door Closure Sensor) Then DIFU 1007 = ON
b.If 1007 = ON Then 1006 = OFF
c.If 1006 = OFF Then 0500 = OFF (Lock Door)

Step 9 :
Lock Door by Timer
a.If 0500 = ON AND 0011 = ON (Door Closure Sensor) Then Activate the Timer
T000
b.If T000 = ON Then 1006 = OFF
c.If 1006 = OFF Then 0500 = OFF (Lock Door)

Step 10 :
a.If 1000 = ON AND 1003 = ON (Correct Password) Then RES 1003 (1003 =
OFF)
b.If 1007 = ON AND 1003 = ON (Correct Password) Then RES 1003 (1003 =
OFF)
c.If T000 = ON AND 1003 = ON (Correct Password) Then RES 1003 (1003 =
OFF)

Detail for Conveyor Control Using PLC


Legend for Detail Conveyor Control Using PLC :
1. Conveyor Belt
2. Infrared Sensor
3. Push Button Start (Normally Open Contact)
4. Push Button Stop (Normally Closed Contact)
--- Link : normally open normally closed contact
5. Potentiometer Speed Controller
6. Empty Lightbox
7. PLC (Programmable Logic Controller)
8. Inverter for Speed Control of Motor
--- Link : motor inverter wiring diagram
9. Electric Motor
10. Belt and Pulley Systems

PLC Input and Output Devices :


1. PLC Input :
<-> 1 Input Unit for Infrared Sensor
<-> 1 Input Unit for Push Button Start
<-> 1 Input Unit for Push Button Stop
--> Total PLC Input, minimum of 3 Input.
2. PLC Output :
<-> 1 Output Unit for Empty Lightbox
<-> 1 Output Unit for Start-Stop on Inverter
--> Total PLC output, minimum of 2 Output.

Sequence PLC Programming for Conveyor Control :

1. Conveyor Start
a. If Push Button Start = ON Then Output Unit for Start-Stop on Inverter = ON
(Hold ON)

2. Conveyor Stop
a. If Push Button Stop = OFF Then Output Unit for Start-Stop on Inverter = OFF
b. If Infrared Sensor = ON Then Output Unit for Start-Stop on Inverter = OFF Else
Output Unit for Start-Stop on Inverter = ON

3. Empty Lightbox = ON
a. If Output Unit for Start-Stop on Inverter = ON AND Infrared Sensor = OFF
AND Wait For 10 Seconds Then Empty Lightbox = ON Else Empty Lightbox =
OFF
Normally Open and Normally Close from Input Equipments PLC

Picture for Normally Open (NO) and Normally Close (NC) Switch :

Picture for Normally Open (NO) and Normally Close (NC) Limit Switch :
Definition Contact Normally Open (NO) :
For Switch or Limit Switch Without Lamp :
If Switch In Depressed then signal into PLC is ON ( 1).
If Switch is Not In Depressed then signal into PLC is OFF ( 0).

For Limit Switch With Lamp :


If Lamp Light Then signal into PLC is ON ( 1).
If Lamp Not Light Then signal into PLC is OFF ( 0).

Definition Contact Normally Closed (NC) :


For Switch or Limit Switch Without Lamp :
If Switch In Depressed then signal into PLC is OFF ( 0).
If Switch is Not In Depressed then signal into PLC is ON ( 1).

For Limit Switch With Lamp :


If Lamp Light Then signal into PLC is OFF ( 0).
If Lamp Not Light Then signal into PLC is ON ( 1).
Read this: PLC and NFC Application : ACR12

PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
I: 0.00 ; Infrared Sensor
I: 0.01 ; Push Button Start (Normally Open Contact)
I: 0.02 ; Push Button Stop (Normally Closed Contact)
--- Link : normally open normally closed contact

OUTPUT PLC :
Q: 100.00 ; Empty Lightbox
Q: 100.01 ; Start-Stop on Inverter

PLC Programming for Conveyor Control using Omron PLC

Please Download Programming for CX-Programmer version 9.1 : Conveyor


Control

Reading Ladder PLC Programming for Conveyor Control using Omron PLC :

1. Conveyor Start
a.If I: 0.01 = ON AND I: 0.02 = ON Then 10.00 = ON (Hold ON)
b.If 10.00 = ON AND I: 0.00 = OFF Then 10.01 = ON
c.If 10.01 = ON Then Q: 100.01 = ON

2. Conveyor Stop
a.If I: 0.02 = OFF Then 10.00 = OFF
b.If 10.00 = OFF Then 10.01 = OFF
c.If 10.00 = ON AND I: 0.00 = ON Then 10.01 = OFF
d.If 10.01 = OFF Then Q: 100.01 = OFF

3. Empty Lightbox = ON
a.If 10.00 = ON AND I: 0.00 = OFF Then TIM0000 activated (active for 10
seconds)
b.If T0000 = ON Then Q: 100.00 = ON

PLC Type KV, Name Input / Output PLC :

INPUT PLC :
0000 ; Infrared Sensor
0001 ; Push Button Start (Normally Open Contact)
0002 ; Push Button Stop (Normally Closed Contact)
--- Link : normally open normally closed contact

OUTPUT PLC :
0500 ; Empty Lightbox
0501 ; Start-Stop on Inverter

PLC Programming for Conveyor Control using Keyence PLC

Please Download Programming for KV Builder :


Conveyor Control

Reading Ladder PLC Programming for Conveyor Control using Keyence PLC :

1. Conveyor Start
a.If 0001 = ON AND 0002 = ON Then 1000 = ON (Hold ON)
b.If 1000 = ON AND 0000 = OFF Then 1001 = ON
c.If 1001 = ON Then 0501 = ON

2. Conveyor Stop
a.If 0002 = OFF Then 1000 = OFF
b.If 1000 = OFF Then 1001 = OFF
c.If 1000 = ON AND 0000 = ON Then 1001 = OFF
d.If 1001 = OFF Then 0501 = OFF

3. Empty Lightbox = ON
a.If 1000 = ON AND 0000 = OFF Then T000 activated (active for 10 seconds)
b.If T000 = ON Then 0500 = ON

Remarks :
1. Movement 1 : Cylinder1 Forward
2. Movement 2 : Cylinder2 Forward
3. Movement 3 : Cylinder1 Reverse AND Cylinder2 Reverse

Detail PLC Control for 3 movement

PLC Input and Output Devices:


1.PLC Input:
<-> 1 Input Unit for Push Button Start
<-> 2 Input Unit for Sensor1 Reverse And Sensor1 Forward
<-> 2 Input Unit for Sensor2 Reverse And Sensor2 Forward
<-> 1 Input Unit for Emergency Stop (Push Button)
--> Total PLC Input, minimum of 6 Input.

2.PLC Output:
<-> 2 Output Unit for Cylinder1 Forward And Cylinder1 Reverse
<-> 2 Output Unit for Cylinder2 Forward And Cylinder2 Reverse
--> Total PLC output, minimum of 4 Output.

Sequence PLC Programming for 3 movement / process:

1. INPUT CONDITION :
a. Emergency Stop Condition
b. All Origin Condition
c. Start Condition

2. TRIGGER AND SENSOR CONDITION :


a. STEP0 or Output Controller1 : All Origin Condition AND Start Condition
b. STEP1 or Movement1 or Output Controller2 : Cylinder1 Forward
c. STEP2 or Movement2 or Output Controller3 : Cylinder2 Forward
d. STEP3 or Movement3 or Output Controller4 : Cylinder1 Reverse AND
Cylinder2 Reverse

3. OUTPUT CONDITION :
a. STEP 1 or Output Controller 2 for Cylinder1 Forward
b. STEP 2 or Output Controller 3 for Cylinder2 Forward
c. STEP 3 or Output Controller 4 for Cylinder1 Reverse
d. STEP 3 or Output Controller 4 for Cylinder2 Reverse

4. CONTROLLER :
Using 4 Output Controller
PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
I: 0.00 ; Push Button Start
I: 0.01 ; Sensor1 Reverse
I: 0.02 ; Sensor1 Forward
I: 0.03 ; Sensor2 Reverse
I: 0.04 ; Sensor2 Forward
I: 0.05 ; Emergency Stop (Push Button)
OUTPUT PLC :
Q: 100.00 ; Cylinder1 Forward
Q: 100.01 ; Cylinder1 Reverse
Q: 100.02 ; Cylinder2 Forward
Q: 100.03 ; Cylinder2 Reverse

Download PDF File:


Omron PLC For 3 Movement(.pdf)

Please Download Programming for CX-Programmer v9.1 :


Omron PLC Control for 3 movement

Reading Ladder PLC Programming for 3 movement with Standard Sequence


Programming :

1. INPUT CONDITION
a.If I: 0.05 = ON Then 10.00 = ON
b.If 10.00 = ON Then Reset Input C0 or C0 = 0 (Only STEP0 = ON)
c.If I: 0.01 = ON AND I: 0.03 = ON Then 10.01 = ON ( ALL ORIGIN = ON)
d.If I: 0.00 = ON Then 10.02 = ON (Start = ON)

2. TRIGGER AND SENSOR CONDITION


a.If 11.00 = ON AND 10.01 = ON AND 10.02 = ON Then 10.03 = ON AND
11.01 = ON (STEP1 = ON)
b.If 11.01 = ON AND I: 0.02 = OFF Then 10.03 = OFF AND Waiting STEP1
c.If 11.01 = ON AND I: 0.02 = ON Then 10.03 = ON AND 11.02 = ON (STEP2 =
ON)
d.If 11.02 = ON AND I: 0.04 = OFF Then 10.03 = OFF AND Waiting STEP2
e.If 11.02 = ON AND I: 0.04 = ON Then 10.03 = ON AND 11.03 = ON (STEP3 =
ON)
f.If 11.03 = ON AND I: 0.01 = ON AND I: 0.03 = ON Then 11.00 = ON (STEP0 =
ON) Else Waiting STEP3

3. OUTPUT CONDITION
a.If 11.01 = ON Then Q: 100.00 = ON
b.If 11.03 = ON Then Q: 100.01 = ON
c.If 11.02 = ON Then Q: 100.02 = ON
d.If 11.03 = ON Then Q: 100.03 = ON

4. CONTROLLER
a.If 11.01 = OFF AND 11.02 = OFF AND 11.03 = OFF Then 10.04 = ON (Only
STEP0 = ON)
b.If 10.03 = ON (Trigger) Then Count Input CNT0000 = ON
c.If 10.00 = ON (Emergency Stop) Then Reset Input CNT0000 or CNT0000 =
1000 (Only STEP0 = ON)
d.If 10.04 = ON AND C0 (CNT0000) Not Equal 1000 (#1000) Then Reset Input
CNT0000 or CNT0000 = 1000 (Only STEP0 = ON)
e.If C0 (CNT0000) = 1000 (#1000) Then 11.00 = ON (STEP0 = ON)
f.If C0 (CNT0000) = 999 (#999) Then 11.01 = ON (STEP1 = ON)
g.If C0 (CNT0000) = 998 (#998) Then 11.02 = ON (STEP2 = ON)
h.If C0 (CNT0000) = 997 (#997) Then 11.03 = ON (STEP3 = ON)

PLC Type KV, Name Input / Output PLC :

INPUT PLC :
0000 ; Push Button Start
0001 ; Sensor1 Reverse
0002 ; Sensor1 Forward
0003 ; Sensor2 Reverse
0004 ; Sensor2 Forward
0005 ; Emergency Stop (Push Button)

OUTPUT PLC :
0500 ; Cylinder1 Forward
0501 ; Cylinder1 Reverse
0502 ; Cylinder2 Forward
0503 ; Cylinder2 Reverse

Download PDF File:


Keyence PLC for 3 movement(.pdf)

Please Download Programming for KV Builder :


Keyence PLC Control for 3 movement

Reading Ladder PLC Programming for 3 movement with Standard Sequence


Programming :

1. INPUT CONDITION
a.If 0005 = ON Then 1000 = ON
b.If 1000 = ON Then RES C000 or C000 = 0 (Only STEP0 = ON)
c.If 0001 = ON AND 0003 = ON Then 1001 = ON ( ALL ORIGIN = ON)
d.If 0000 = ON Then 1002 = ON (Start = ON)

2. TRIGGER AND SENSOR CONDITION


a.If 1100 = ON AND 1001 = ON AND 1002 = ON Then 1003 = ON AND 1101 =
ON (STEP1 = ON)
b.If 1101 = ON AND 0002 = OFF Then 1003 = OFF AND Waiting STEP1
c.If 1101 = ON AND 0002 = ON Then 1003 = ON AND 1102 = ON (STEP2 =
ON)
d.If 1102 = ON AND 0004 = OFF Then 1003 = OFF AND Waiting STEP2
e.If 1102 = ON AND 0004 = ON Then 1003 = ON AND 1103 = ON (STEP3 =
ON)
f.If 1103 = ON AND 0001 = ON AND 0003 = ON Then 1100 = ON (STEP0 =
ON) Else Waiting STEP3

3. OUTPUT CONDITION
a.If 1101 = ON Then 0500 = ON
b.If 1103 = ON Then 0501 = ON
c.If 1102 = ON Then 0502 = ON
d.If 1103 = ON Then 0503 = ON

4. CONTROLLER
a.If 1101 = OFF AND 1102 = OFF AND 1103 = OFF Then 1004 = ON (Only
STEP0 = ON)
b.If 1004 = ON AND C000 Not Equal 0 (Null) Then RES C000 or C000 = 0 (Only
STEP0 = ON)
c.If 1003 = ON (Trigger) Then Count Up C000
d.If 1000 = ON (Emergency Stop) Then RES C000 or C000 = 0 (Only STEP0 =
ON)
e.If C000 = 0 Then 1100 = ON (STEP0 = ON)
f.If C000 = 1 Then 1101 = ON (STEP1 = ON)
g.If C000 = 2 Then 1102 = ON (STEP2 = ON)
h.If C000 = 3 Then 1103 = ON (STEP3 = ON)

Remarks :
1. Movement1 : Cylinder Clamp Left AND Right to Middle
2. Movement2 : Cylinder Ejector Down
3. Movement3 : Cylinder Clamp Left AND Right to Forward
4. Movement4 : Cylinder Nozzle to Middle
5. Movement5 : Cylinder Nozzle to Forward AND Welding Torch=ON
6. Movement6 : Cylinder Nozzle to Middle
7. Movement7 : Cylinder Nozzle to Reverse
8. Movement8 : Cylinder Clamp Left AND Right to Middle
9. Movement9 : Cylinder Clamp Left AND Right to Reverse
10. Movement10 : Cylinder Ejector Up

The results of welding product

Detail of Automatic Welding Machine

Legend for Detail of Automatic Welding Machine:


1. Raw Material for Welding
2a/2b. Push Button Start (Normally Open Contact)
2a. Start-1 (PB1)
2b. Start-2 (PB2)
NOTE: Push Button Start-1(PB1) And Push Button Start-2(PB2) Connected in
Series
3a/3b. Safety Sensor
3a. Safety Sensor Receiver
3b. Safety Sensor Transmitter
NOTE: If NO OBJECT Then Safety Sensor=ON Else Safety Sensor=OFF
4. Cylinder Clamp Left
5. Cylinder Clamp Right
6. Limit Switch (LS) Clamp Left Reverse
7. Limit Switch (LS) Clamp Left Middle
8. Limit Switch (LS) Clamp Left Forward
9. Limit Switch (LS) Clamp Right Reverse
10. Limit Switch (LS) Clamp Right Middle
11. Limit Switch (LS) Clamp Right Forward
12. Cylinder Ejector
13. Cylinder Nozzle (for welding nozzle)
14. Limit Switch (LS) Ejector Up
15. Limit Switch (LS) Ejector Down
16. Limit Switch (LS) Nozzle Reverse
17. Limit Switch (LS) Nozzle Middle
18. Limit Switch (LS) Nozzle Forward
19. Welding Machine, such as GMAW(Gas Metal Arc. Welding)
20. Panel Box
21. Welding Nozzle / Welding Gun / Welding Torch

Example GMAW Welding: use MIG Welding


Circuit diagram of MIG Welding to PLC Output with contactor
Contactor coil to PLC Output and Contactor contact (NO) to Torch Button of
MIG Welding
PLC Input and Output Devices :
1. PLC Input :
<-> 1 Input for Emergency Stop Button
<-> 1 Input for Push Button Start
<-> 1 Input for Safety Sensor
<-> 1 Input for Limit Switch Clamp Left Reverse
<-> 1 Input for Limit Switch Clamp Left Middle
<-> 1 Input for Limit Switch Clamp Left Forward
<-> 1 Input for Limit Switch Clamp Right Reverse
<-> 1 Input for Limit Switch Clamp Right Middle
<-> 1 Input for Limit Switch Clamp Right Forward
<-> 1 Input for Limit Switch Ejector Up
<-> 1 Input for Limit Switch Ejector Down
<-> 1 Input for Limit Switch Nozzle Reverse
<-> 1 Input for Limit Switch Nozzle Middle
<-> 1 Input for Limit Switch Nozzle Forward
--> Total PLC Input, minimum of 14 Input.

2. PLC Output :
<-> 1 Output for Contactor to Torch Button of MIG Welding
<-> 1 Output for Solenoid to Clamp Left Reverse
<-> 1 Output for Solenoid to Clamp Left Forward
<-> 1 Output for Solenoid to Clamp Right Reverse
<-> 1 Output for Solenoid to Clamp Right Forward
<-> 1 Output for Solenoid to Ejector Up
<-> 1 Output for Solenoid to Ejector Down
<-> 1 Output for Solenoid to Nozzle Reverse
<-> 1 Output for Solenoid to Nozzle Forward
--> Total PLC output, minimum of 9 Output.

NOTE: All Solenoid using Double Solenoid,3 Position ( 4/3 ways or 5/3 ways
),Closed Center

Sequence PLC Programming for Automatic Welding Machine :

1. INPUT CONDITION :
a. Waiting Start (Output Controller1) = ON, If:
a.1. Emergency Stop = ON
b.2. Waiting Start = OFF AND Safety Sensor = OFF

b. All Origin = ON, If:


b.1. Emergency Stop = OFF
b.2. Safety Sensor = ON
b.3. Limit Switch Clamp Left Reverse = ON
b.4. Limit Switch Clamp Right Reverse = ON
b.5. Limit Switch Ejector Up = ON
b.6. Limit Switch Nozzle Reverse = ON

c. Start = ON, If:


c.1. Emergency Stop = OFF
c.2. Safety Sensor = ON
c.3. Push Button Start = ON

2. TRIGGER AND SENSOR CONDITION :


a. Waiting Start / Output Controller1: All Origin AND Start
b. Movement1 / Output Controller2: Cylinder Clamp Left AND Right to Middle
c. Movement2 / Output Controller3: Cylinder Ejector Down
d. Movement3 / Output Controller4: Cylinder Clamp Left AND Right to Forward
e. Movement4 / Output Controller5: Cylinder Nozzle to Middle
f. Movement5 / Output Controller6: Cylinder Nozzle to Forward AND Welding
Torch=ON
g. Movement6 / Output Controller7: Cylinder Nozzle to Middle
h. Movement7 / Output Controller8: Cylinder Nozzle to Reverse
i. Movement8 / Output Controller9: Cylinder Clamp Left AND Right to Middle
j. Movement9 / Output Controller10: Cylinder Clamp Left AND Right to Reverse
k. Movement10 / Output Controller11: Cylinder Ejector Up
3. OUTPUT CONDITION :
a. Use Internal Relay for the output:
a.1. If Output Controller (2 or 9) = ON AND LS Clamp Middle (Left/Right) = ON
Then LS Clamp Middle (Left/Right) = HOLD ON
a.2 If Output Controller (3 or 10 or 1) = ON Then LS Clamp Middle (Left/Right) =
HOLD OFF
b. Output Controller 2 AND HOLD ON LS Middle for Solenoid Clamp Left
Forward
c. Output Controller 2 AND HOLD ON LS Middle for Solenoid Clamp Right
Forward
d. Output Controller 3 for Solenoid Ejector Down
e. Output Controller 4 for Solenoid Clamp Left Forward
f. Output Controller 4 for Solenoid Clamp Right Forward
g. Output Controller 5 for Solenoid Nozzle Forward
h. Output Controller 6 for Solenoid Nozzle Forward
i. Output Controller 6 for Contactor Welding Torch=ON
j. Output Controller 7 for Solenoid Nozzle Reverse
k. Output Controller 8 for Solenoid Nozzle Reverse
l. Output Controller 9 AND HOLD ON LS Middle for Solenoid Clamp Left
Reverse
m. Output Controller 9 AND HOLD ON LS Middle for Solenoid Clamp Right
Reverse
n. Output Controller 10 for Solenoid Clamp Left Reverse
o. Output Controller 10 for Solenoid Clamp Right Reverse
p. Output Controller 11 for Solenoid Ejector Up

4. CONTROLLER :
Using 11 Output Controller :
total movement = 10 movement
Waiting Start = 1
Total Output Controller = 10 + 1 = 11
PLC Type CP1L, Name of the Input / Output:

INPUT PLC:
I:0.00 ; Emergency Push Button
I:0.01 ; Push Button Start
I:0.02 ; Safety Sensor
I:0.03 ; Limit Switch Clamp Left Reverse
I:0.04 ; Limit Switch Clamp Left Middle
I:0.05 ; Limit Switch Clamp Left Forward
I:0.06 ; Limit Switch Clamp Right Reverse
I:0.07 ; Limit Switch Clamp Right Middle
I:0.08 ; Limit Switch Clamp Right Forward
I:0.09 ; Limit Switch Ejector Up
I:0.10 ; Limit Switch Ejector Down
I:0.11 ; Limit Switch Nozzle Reverse
I:1.00 ; Limit Switch Nozzle Middle
I:1.01 ; Limit Switch Nozzle Forward

OUTPUT PLC:
Q:100.00 ; Contactor to Torch Button of MIG Welding
Q:100.01 ; Solenoid to Clamp Left Reverse
Q:100.02 ; Solenoid to Clamp Left Forward
Q:100.03 ; Solenoid to Clamp Right Reverse
Q:100.04 ; Solenoid to Clamp Right Forward
Q:100.05 ; Solenoid to Ejector Up
Q:100.06 ; Solenoid to Ejector Down
Q:100.07 ; Solenoid to Nozzle Reverse
Q:101.00 ; Solenoid to Nozzle Forward

Download PDF File:


Omron PLC for Automatic Welding(.pdf)

Please Download Programming for CX-Programmer version 9.2 :


Omron PLC Control for Automatic Welding

Reading Ladder PLC Programming for Automatic Welding Using Standard


Sequence Programming:

1. INPUT CONDITION

1.1. Waiting Start=ON


1.1.a.If I:0.00=ON OR (11.00=OFF AND I:0.02=OFF) Then 10.00 = ON
1.1.b.If 10.00 = ON Then Reset Input CNT0000 or C0(CNT0000) = 1000 (Only
STEP0 = ON)

1.2. All Origin=ON


If I:0.00=OFF AND I:0.02=ON AND I:0.03=ON AND I:0.06=ON AND
I:0.09=ON AND I:0.11=ON Then 10.01=ON
1.3. Start=ON
If I:0.00=OFF AND I:0.02=ON AND I:0.01=ON Then 10.02=ON

2. TRIGGER AND SENSOR CONDITION

2.1. Waiting Start=ON


2.1.a. If C0 (CNT0000)=0 Then 11.00=ON
2.1.b. If 11.00=ON AND 10.01=OFF AND 10.02=OFF Then 11.00=ON

2.2. Waiting Start=OFF, And Movement1=ON


If 11.00=ON AND 10.01=ON AND 10.02=ON Then 10.03=ON, C0
(CNT0000)=1, 11.00=OFF, 11.01=ON

2.3. Movement1=ON
2.3.a. If C0 (CNT0000)=1 Then 11.01=ON
2.3.b. If 11.01=ON AND 10.06=OFF AND 10.07=OFF Then 11.01=ON

2.4. Movement1=OFF, And Movement2=ON


If 11.01=ON AND 10.06=ON AND 10.07=ON Then 10.03=ON, C0
(CNT0000)=2, 11.01=OFF, 11.02=ON

2.5. Movement2=ON
2.5.a. If C0 (CNT0000)=2 Then 11.02=ON
2.5.b. If 11.02=ON AND I:0.10=OFF Then 11.02=ON

2.6. Movement2=OFF, And Movement3=ON


If 11.02=ON AND I:0.10=ON Then 10.03=ON, C0 (CNT0000)=3, 11.02=OFF,
11.03=ON

2.7. Movement3=ON
2.7.a. If C0 (CNT0000)=3 Then 11.03=ON
2.7.b. If 11.03=ON AND I:0.05=OFF AND I:0.08=OFF Then 11.03=ON

2.8. Movement3=OFF, And Movement4=ON


If 11.03=ON AND I:0.05=ON AND I:0.08=ON Then 10.03=ON, C0
(CNT0000)=4, 11.03=OFF, 11.04=ON

2.9. Movement4=ON
2.9.a. If C0 (CNT0000)=4 Then 11.04=ON
2.9.b. If 11.04=ON AND I:1.00=OFF Then 11.04=ON

2.10. Movement4=OFF, And Movement5=ON


If 11.04=ON AND I:1.00=ON Then 10.03=ON, C0 (CNT0000)=5, 11.04=OFF,
11.05=ON

2.11. Movement5=ON
2.11.a. If C0 (CNT0000)=5 Then 11.05=ON
2.11.b. If 11.05=ON AND I:1.01=OFF Then 11.05=ON

2.12. Movement5=OFF, And Movement6=ON


If 11.05=ON AND I:1.01=ON Then 10.03=ON, C0 (CNT0000)=6, 11.05=OFF,
11.06=ON

2.13. Movement6=ON
2.13.a. If C0 (CNT0000)=6 Then 11.06=ON
2.13.b. If 11.06=ON AND I:1.00=OFF Then 11.06=ON

2.14. Movement6=OFF, And Movement7=ON


If 11.06=ON AND I:1.00=ON Then 10.03=ON, C0 (CNT0000)=7, 11.06=OFF,
11.07=ON

2.15. Movement7=ON
2.15.a. If C0 (CNT0000)=7 Then 11.07=ON
2.15.b. If 11.07=ON AND I:0.11=OFF Then 11.07=ON

2.16. Movement7=OFF, And Movement8=ON


If 11.07=ON AND I:0.11=ON Then 10.03=ON, C0 (CNT0000)=8, 11.07=OFF,
11.08=ON

2.17. Movement8=ON
2.17.a. If C0 (CNT0000)=8 Then 11.08=ON
2.17.b. If 11.08=ON AND 10.06=OFF AND 10.07=OFF Then 11.08=ON

2.18. Movement8=OFF, And Movement9=ON


If 11.08=ON AND 10.06=ON AND 10.07=ON Then 10.03=ON, C0
(CNT0000)=9, 11.08=OFF, 11.09=ON

2.19. Movement9=ON
2.19.a. If C0 (CNT0000)=9 Then 11.09=ON
2.19.b. If 11.09=ON AND I:0.03=OFF AND I:0.06=OFF Then 11.09=ON

2.20. Movement9=OFF, And Movement10=ON


If 11.09=ON AND I:0.03=ON AND I:0.06=ON Then 10.03=ON, C0
(CNT0000)=10, 11.09=OFF, 11.10=ON

2.20. Movement10=ON
2.20.a. If C0 (CNT0000)=10 Then 11.10=ON
2.20.b. If 11.10=ON AND I:0.09=OFF Then 11.10=ON

2.21. Movement10=OFF, And Waiting Start=ON


If 11.10=ON AND I:0.09=ON Then 10.03=ON, C0 (CNT0000)=0, 11.10=OFF,
11.00=ON

3. OUTPUT CONDITION

3.1. Hold ON for Limit Switch Clamp Left Middle


If (11.01=ON OR 11.08=ON) AND I:0.04=ON Then SET 10.06 (10.06=ON Hold)

3.2. Hold ON for Limit Switch Clamp Right Middle


If (11.01=ON OR 11.08=ON) AND I:0.07=ON Then SET 10.07 (10.07=ON Hold)

3.2. Hold OFF for Limit Switch Clamp Left/Right Middle


If 11.02=ON OR 11.09=ON OR 11.00=ON Then RSET 10.06 (10.06=OFF),
RSET 10.07 (10.07=OFF)

3.3. Torch Button of MIG Welding=ON


If 11.05=ON Then Q:100.00=ON

3.4. Solenoid to Clamp Left Reverse=ON


If (11.08=ON AND 10.06=OFF) OR 11.09=ON Then Q:100.01=ON

3.5. Solenoid to Clamp Left Forward=ON


If (11.01=ON AND 10.06=OFF) OR 11.03=ON Then Q:100.02=ON

3.6. Solenoid to Clamp Right Reverse=ON


If (11.08=ON AND 10.07=OFF) OR 11.09=ON Then Q:100.03=ON

3.7. Solenoid to Clamp Right Forward=ON


If (11.01=ON AND 10.07=OFF) OR 11.03=ON Then Q:100.04=ON
3.8. Solenoid to Ejector Up=ON
If 11.10=ON Then Q:100.05=ON

3.9. Solenoid to Ejector Down=ON


If 11.02=ON Then Q:100.06=ON

3.10. Solenoid to Nozzle Reverse=ON


If 11.06=ON OR 11.07=ON Then Q:100.07=ON

3.10. Solenoid to Nozzle Forward=ON


If 11.04=ON OR 11.05=ON Then Q:101.00=ON

4. CONTROLLER

2.1. Waiting Start=ON


2.1.a.If 11.01=OFF AND 11.02=OFF AND 11.03=OFF AND 11.04=OFF AND
11.05=OFF AND 11.06=OFF Then 10.04=ON
2.1.b.If 10.04=ON AND 11.07=OFF AND 11.08=OFF AND 11.09=OFF AND
11.10=OFF Then 10.05=ON
2.1.c.If 10.05=ON AND C0 (CNT0000) Not Equal 1000 (#1000) Then Reset Input
CNT0000 or CNT0000 = 1000 (Only STEP0 = ON)
2.1.b.If C0 (CNT0000)=0 Then 11.00=ON

2.2. Trigger to Count of C0 (CNT0000)


If 10.03 = ON Then Count Input CNT0000 = ON (Count Down C0(CNT0000))

2.3. Emergency Stop=ON


If 10.00 = ON Then Reset Input CNT0000 or CNT0000 = 1000 (Only STEP0 =
ON)

2.4. Waiting Start=ON, And Movement1=ON Up to Movement10=ON


2.4.a.If C0 (CNT0000)=0 Then 11.00=ON (Waiting Start=ON)
2.4.b.If C0 (CNT0000)=1 Then 11.01=ON (Movement1=ON)
2.4.c.If C0 (CNT0000)=2 Then 11.02=ON (Movement2=ON)
2.4.d.If C0 (CNT0000)=3 Then 11.03=ON (Movement3=ON)
2.4.e.If C0 (CNT0000)=4 Then 11.04=ON (Movement4=ON)
2.4.f.If C0 (CNT0000)=5 Then 11.05=ON (Movement5=ON)
2.4.g.If C0 (CNT0000)=6 Then 11.06=ON (Movement6=ON)
2.4.h.If C0 (CNT0000)=7 Then 11.07=ON (Movement7=ON)
2.4.i.If C0 (CNT0000)=8 Then 11.08=ON (Movement8=ON)
2.4.j.If C0 (CNT0000)=9 Then 11.09=ON (Movement9=ON)
2.4.k.If C0 (CNT0000)=10 Then 11.10=ON (Movement10=ON)

Description for the movement:


1. Movement1 : Cylinder Clamp Left AND Right to Middle (Forward)
2. Movement2 : Cylinder Ejector Down
3. Movement3 : Cylinder Clamp Left AND Right to Forward
4. Movement4 : Cylinder Nozzle to Middle (Forward)
5. Movement5 : Cylinder Nozzle to Forward AND Welding Torch=ON
6. Movement6 : Cylinder Nozzle to Middle (Reverse)
7. Movement7 : Cylinder Nozzle to Reverse
8. Movement8 : Cylinder Clamp Left AND Right to Middle (Reverse)
9. Movement9 : Cylinder Clamp Left AND Right to Reverse
10. Movement10 : Cylinder Ejector Up

PLC Type KV, Name of the Input / Output:

INPUT PLC:
0000 ; Emergency Push Button
0001 ; Push Button Start
0002 ; Safety Sensor
0003 ; Limit Switch Clamp Left Reverse
0004 ; Limit Switch Clamp Left Middle
0005 ; Limit Switch Clamp Left Forward
0006 ; Limit Switch Clamp Right Reverse
0007 ; Limit Switch Clamp Right Middle
0008 ; Limit Switch Clamp Right Forward
0009 ; Limit Switch Ejector Up
0010 ; Limit Switch Ejector Down
0011 ; Limit Switch Nozzle Reverse
0012 ; Limit Switch Nozzle Middle
0013 ; Limit Switch Nozzle Forward

OUTPUT PLC:
0500 ; Contactor to Torch Button of MIG Welding
0501 ; Solenoid to Clamp Left Reverse
0502 ; Solenoid to Clamp Left Forward
0503 ; Solenoid to Clamp Right Reverse
0504 ; Solenoid to Clamp Right Forward
0505 ; Solenoid to Ejector Up
0506 ; Solenoid to Ejector Down
0507 ; Solenoid to Nozzle Reverse
0508 ; Solenoid to Nozzle Forward

Download PDF File:


Keyence PLC for Automatic Welding(.pdf)

Please Download Programming for KV Builder :


Keyence PLC Control for Automatic Welding

Reading Ladder PLC Programming for Automatic Welding Using Standard


Sequence Programming:

1. INPUT CONDITION

1.1. Waiting Start=ON


1.1.a.If 0000=ON OR (1100=OFF AND 0002=OFF) Then 1000 = ON
1.1.b.If 1000 = ON Then RES C000 or C000 = 0

1.2. All Origin=ON


If 0000=OFF AND 0002=ON AND 0003=ON AND 0006=ON AND 0009=ON
AND 0011=ON Then 1001=ON

1.3. Start=ON
If 0000=OFF AND 0002=ON AND 0001=ON Then 1002=ON

2. TRIGGER AND SENSOR CONDITION

2.1. Waiting Start=ON


2.1.a. If C000=0 Then 1100=ON
2.1.b. If 1100=ON AND 1001=OFF AND 1002=OFF Then 1100=ON

2.2. Waiting Start=OFF, And Movement1=ON


If 1100=ON AND 1001=ON AND 1002=ON Then 1003=ON, C000=1,
1100=OFF, 1101=ON

2.3. Movement1=ON
2.3.a. If C000=1 Then 1101=ON
2.3.b. If 1101=ON AND 1006=OFF AND 1007=OFF Then 1101=ON

2.4. Movement1=OFF, And Movement2=ON


If 1101=ON AND 1006=ON AND 1007=ON Then 1003=ON, C000=2,
1101=OFF, 1102=ON

2.5. Movement2=ON
2.5.a. If C000=2 Then 1102=ON
2.5.b. If 1102=ON AND 0010=OFF Then 1102=ON

2.6. Movement2=OFF, And Movement3=ON


If 1102=ON AND 0010=ON Then 1003=ON, C000=3, 1102=OFF, 1103=ON

2.7. Movement3=ON
2.7.a. If C000=3 Then 1103=ON
2.7.b. If 1103=ON AND 0005=OFF AND 0008=OFF Then 1103=ON

2.8. Movement3=OFF, And Movement4=ON


If 1103=ON AND 0005=ON AND 0008=ON Then 1003=ON, C000=4,
1103=OFF, 1104=ON

2.9. Movement4=ON
2.9.a. If C000=4 Then 1104=ON
2.9.b. If 1104=ON AND 0012=OFF Then 1104=ON

2.10. Movement4=OFF, And Movement5=ON


If 1104=ON AND 0012=ON Then 1003=ON, C000=5, 1104=OFF, 1105=ON

2.11. Movement5=ON
2.11.a. If C000=5 Then 1105=ON
2.11.b. If 1105=ON AND 0013=OFF Then 1105=ON

2.12. Movement5=OFF, And Movement6=ON


If 1105=ON AND 0013=ON Then 1003=ON, C000=6, 1105=OFF, 1106=ON

2.13. Movement6=ON
2.13.a. If C000=6 Then 1106=ON
2.13.b. If 1106=ON AND 0012=OFF Then 1106=ON
2.14. Movement6=OFF, And Movement7=ON
If 1106=ON AND 0012=ON Then 1003=ON, C000=7, 1106=OFF, 1107=ON

2.15. Movement7=ON
2.15.a. If C000=7 Then 1107=ON
2.15.b. If 1107=ON AND 0011=OFF Then 1107=ON

2.16. Movement7=OFF, And Movement8=ON


If 1107=ON AND 0011=ON Then 1003=ON, C000=8, 1107=OFF, 1108=ON

2.17. Movement8=ON
2.17.a. If C000=8 Then 1108=ON
2.17.b. If 1108=ON AND 1006=OFF AND 1007=OFF Then 1108=ON

2.18. Movement8=OFF, And Movement9=ON


If 1108=ON AND 1006=ON AND 1007=ON Then 1003=ON, C000=9,
1108=OFF, 1109=ON

2.19. Movement9=ON
2.19.a. If C000=9 Then 1109=ON
2.19.b. If 1109=ON AND 0003=OFF AND 0006=OFF Then 1109=ON

2.20. Movement9=OFF, And Movement10=ON


If 1109=ON AND 0003=ON AND 0006=ON Then 1003=ON, C000=10,
1109=OFF, 1110=ON

2.20. Movement10=ON
2.20.a. If C000=10 Then 1110=ON
2.20.b. If 1110=ON AND 0009=OFF Then 1110=ON

2.21. Movement10=OFF, And Waiting Start=ON


If 1110=ON AND 0009=ON Then 1003=ON, C000=0, 1110=OFF, 1100=ON

3. OUTPUT CONDITION

3.1. Hold ON for Limit Switch Clamp Left Middle


If (1101=ON OR 1108=ON) AND 0004=ON Then SET 1006 (1006=ON Hold)

3.2. Hold ON for Limit Switch Clamp Right Middle


If (1101=ON OR 1108=ON) AND 0007=ON Then SET 1007 (1007=ON Hold)
3.2. Hold OFF for Limit Switch Clamp Left/Right Middle
If 1102=ON OR 1109=ON OR 1100=ON Then RES 1006 (1006=OFF), RES 1007
(1007=OFF)

3.3. Torch Button of MIG Welding=ON


If 1105=ON Then 0500=ON

3.4. Solenoid to Clamp Left Reverse=ON


If (1108=ON AND 1006=OFF) OR 1109=ON Then 0501=ON

3.5. Solenoid to Clamp Left Forward=ON


If (1101=ON AND 1006=OFF) OR 1103=ON Then 0502=ON

3.6. Solenoid to Clamp Right Reverse=ON


If (1108=ON AND 1007=OFF) OR 1109=ON Then 0503=ON

3.7. Solenoid to Clamp Right Forward=ON


If (1101=ON AND 1007=OFF) OR 1103=ON Then 0504=ON

3.8. Solenoid to Ejector Up=ON


If 1110=ON Then 0505=ON

3.9. Solenoid to Ejector Down=ON


If 1102=ON Then 0506=ON

3.10. Solenoid to Nozzle Reverse=ON


If 1106=ON OR 1107=ON Then 0507=ON

3.10. Solenoid to Nozzle Forward=ON


If 1104=ON OR 1105=ON Then 0508=ON

4. CONTROLLER

2.1. Waiting Start=ON


2.1.a.If 1101=OFF AND 1102=OFF AND 1103=OFF AND 1104=OFF AND
1105=OFF AND 1106=OFF AND 1107=OFF AND 1108=OFF AND 1109=OFF
Then 1004=ON
2.1.b.If 1004=ON AND 1110=OFF Then 1005=ON
2.1.c.If 1005=ON AND C000 Not Equal 0 (Null) Then RES C000 or C000 = 0
2.1.b.If C000=0 Then 1100=ON

2.2. Trigger to Count of C000


If 1003 = ON Then Count Up C000

2.3. Emergency Stop=ON


If 1000 = ON Then RES C000 or C000 = 0

2.4. Waiting Start=ON, And Movement1=ON Up to Movement10=ON


2.4.a.If C000=0 Then 1100=ON (Waiting Start=ON)
2.4.b.If C000=1 Then 1101=ON (Movement1=ON)
2.4.c.If C000=2 Then 1102=ON (Movement2=ON)
2.4.d.If C000=3 Then 1103=ON (Movement3=ON)
2.4.e.If C000=4 Then 1104=ON (Movement4=ON)
2.4.f.If C000=5 Then 1105=ON (Movement5=ON)
2.4.g.If C000=6 Then 1106=ON (Movement6=ON)
2.4.h.If C000=7 Then 1107=ON (Movement7=ON)
2.4.i.If C000=8 Then 1108=ON (Movement8=ON)
2.4.j.If C000=9 Then 1109=ON (Movement9=ON)
2.4.k.If C000=10 Then 1110=ON (Movement10=ON)

Description for the movement:


1. Movement1 : Cylinder Clamp Left AND Right to Middle (Forward)
2. Movement2 : Cylinder Ejector Down
3. Movement3 : Cylinder Clamp Left AND Right to Forward
4. Movement4 : Cylinder Nozzle to Middle (Forward)
5. Movement5 : Cylinder Nozzle to Forward AND Welding Torch=ON
6. Movement6 : Cylinder Nozzle to Middle (Reverse)
7. Movement7 : Cylinder Nozzle to Reverse
8. Movement8 : Cylinder Clamp Left AND Right to Middle (Reverse)
9. Movement9 : Cylinder Clamp Left AND Right to Reverse
10. Movement10 : Cylinder Ejector Up
---------------

PLC Control for Rotary Bottle Washing Machine


1 Cycle Process :
1. Process 1 :
-- RUN the turntable to the next point
2. Process 2 :
-- The turntable is Running, Proximity Sensor ON
3. Process 3 :
-- If Proximity Sensor OFF Then turntable STOP
4. Process 4 :
-- Delay for stability of the turntable
5. Process 5 :
-- IF Jet Pump Motor = ON THEN goto next process ELSE 1 cycle process STOP
6. Process 6 :
-- Solenoid Valve = ON
7. Process 7 :
-- Delay for the water spray ON
8. Process 8 :
-- Solenoid Valved = OFF, and Delay for the water spray OFF

Auto Cycle Process :


Repetitions of 1 Cycle Process, And Repetitions stop if STOP Auto Cycle = ON

Bottle Before and After Washing with Rotary Bottle Washing Machine

Remarks :
1. Dirty bottles before the washing process
2. One bottle is cleaned with water spray
3. Bottles have been cleaned
Detail of Rotary Bottle Washing Machine
Remarks of Rotary Bottle Washing Machine :
1. ControlPanel box
1a. Push Button (Normally Open Contact) for START Auto Cycle
1b. Push Button (Normally Open Contact) for START 1 Cycle
1c. Selector Switch (2 position) for Water Spray OFF/ON
1d. Push Button (Normally Open Contact) for STOP Auto Cycle

2. Turntable, consists of :
<> 10 rack holes in Turntable
<> Electric Motor with Reduction Gearbox
<> If necessary use electric motor with brake
<> Coupling for Motor Shaft and Turntable Shaft
<> Contactor with Contactor Thermal Overload Relay (TOR)

3. Proximity Sensor
4. Solenoid Valve Normally Closed
5. Inlet Water Gauge Pressure
6. Outlet Water Gauge Pressure
7. Water Jet Pump Motor with Safety CUT-OUT, and consists of : Contactor
with Contactor Thermal Overload Relay (TOR)
8. Water Reservoir
9. Drainage Pipe

PLC Input and Output Devices :


1. PLC Input :
<-> 1 Input for START Auto Cycle
<-> 1 Input for START 1 Cycle
<-> 1 Input for Water Spray OFF/ON
<-> 1 Input for STOP Auto Cycle
<-> 1 Input for Proximity Sensor
--> Total PLC Input, minimum of 5 Input.

2. PLC Output :
<-> 1 Output for Contactor to Electric Motor Turntable
<-> 1 Output for Contactor to Water Jet Pump Motor
<-> 1 Output for Solenoid Valve
--> Total PLC output, minimum of 3 Output.

Sequence PLC Programming for Rotary Bottle Washing Machine :

1. INPUT CONDITION :
a. Waiting Start (Output Controller1) = ON, If:
a.1. STOP Auto Cycle = ON
a.2. Process 5 and Jet Pump Motor = OFF

b. All Origin = ON, If:


b.1. STOP Auto Cycle = OFF
b.2. Solenoid Valve = OFF
b.3. Motor Turntable = OFF

1 CYCLE PROCESS
c. Start 1 cycle = ON, If:
c.1. Push Button for START 1 Cycle = ON

AUTO CYCLE PROCESS


d. Start auto cycle= ON, If:
d.1. Push Button for START Auto Cycle = ON, use internal relay for Hold ON
d.2. Push Button for STOP Auto Cycle = ON, START Auto Cycle = OFF and
Goto Waiting Start

2. TRIGGER AND SENSOR CONDITION :


a. Waiting Start / Output Controller 1: All Origin AND Start
b. Process 1 / Output Controller 2: Motor Turntable = ON
c. Process 2 / Output Controller 3: Proximity Sensor ON
d. Process 3 / Output Controller 4: Proximity Sensor OFF
e. Process 4 / Output Controller 5: Turntable = OFF, and Delay for stability
(Timer1)
f. Process 5 / Output Controller 6: IF Jet Pump Motor = ON THEN goto next
process ELSE goto Waiting Start
g. Process 6 / Output Controller 7: Solenoid Valve = ON
h. Process 7 / Output Controller 8: Delay for the water spray ON (Timer2)
i. Process 8 / Output Controller 9: Solenoid Valved = OFF, And Delay for the
water spray OFF (Timer3)

3. OUTPUT CONDITION :
a. Output Controller 5 AND Turntable = OFF for activate the Timer1
b. Output Controller 8 AND Solenoid Valve = ON for activate the Timer2
c. Output Controller 9 AND Solenoid Valve = OFF for activate the Timer3
d1. Output Controller 2 for Motor Turntable = ON (Hold ON)
d2. Output Controller 1 AND Output Controller 5 for Motor Turntable =
OFF (Hold OFF)
e. Water Spray Switch ON/OFF for Jet Pump Motor ON/OFF
f1. Output Controller 7 for Solenoid Valve = ON (Hold ON)
f2. Output Controller 1 AND Output Controller 9 for Solenoid Valve = OFF
(Hold OFF)

4. CONTROLLER :
Using 9 Output Controller :
total Process = 8 Process
Waiting Start = 1
Total Output Controller = 8 + 1 = 9
Monday, August 8, 2011
SECRET: Standard Sequence Programming for PLC

Standard Sequence Programming for PLC Programming is the original made in


program-plc.blogspot.com and FREE for You

Standard Sequence for PLC Programming consists of :


1. Input Condition
2. Trigger And Sensor Condition
3. Output Condition, And
4. Controller

The following is a diagram of the Input, Trigger, Output and Controller

The following example the use of


Standard Sequence Programming (Input, Trigger, Output and Controller) in ladder
diagram :
1. Example Input Condition

Legend:
I-1 : Input Condition 1
I-2 : Input Condition 2
I-3 : Input Condition 3
O-4 : Output Condition 4
S-3 : Sensor 3
C-1 : Output Controller 1
PLC Input : PLC Input from PLC Hardware

2. Example Trigger And Sensor Condition


Legend:
Tr : Trigger to Controller
C-1 : Output Controller 1
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
S-1 : Sensor 1
S-2 : Sensor 2
S-3 : Sensor 3
S-4 : Sensor 4
I-2 : Input Condition 2
I-3 : Input Condition 3
STEP0 : Waiting Start = ON, Waiting All Origin = ON, etc.
STEP1 : Sequence 1
STEP2 : Sequence 2
STEP3 : Sequence 3

3. Example Output Condition

Legend:
O-1 : Output Condition 1
O-2 : Output Condition 2
O-3 : Output Condition 3
O-4 : Output Condition 4
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
S-3 : Sensor 3
S-4 : Sensor 4
I-1 : Input Condition 1

4. Example Controller
Legend:
Tr : Trigger from "2. Trigger And Sensor Condition"
C-1 : Output Controller 1
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
I-1 : Input Condition 1

4.1. Controller for Siemens PLC


4.2. Controller for Allen Bradley PLC

4.3. Controller for Omron


PLC
4.4. Controller for Mitsubishi PLC

4.5. Controller for Keyence PLC


4.6. Controller for GE
Fanuc PLC
The PLC used in this application is PLC Keyence KV series.
Here is a list of PLC inputs which will be connected with other external devices
such as switch, sensors and so forth.
Here are the following names:

0000 : It will be connected with the push button with the name of START Auto
Cycle.

0001 : It will be connected with the push button with the name of START 1 Cycle.

0002 : It will be connected with selector switch with the name of Water Spray
OFF/ON which will be used to turn off and turn on the Jet Pump Motor.

0003 : It will be connected with the push button with the name of STOP Auto
Cycle. The push button will have some functions not only to turn off the process of
1 Cycle and Auto Cycle but also used Emergency Stop.

0004 : It will be connected to proximity sensor which will be used as a sensor to


detect the position from the glass bottle. The proximity sensor will read the
position as many as 10 positions in one round. For proximity sensor reading, when
the position of the glass bottle is outside from the water spray, the light will turn
off or give the OFF signal. When the position of the glass is no longer outside from
the water spray, the light will turn on or give the ON signal.

Here is a list of PLC outputs which will control some devices such as contactors,
solenoid and so forth.
Here are the following names:

0500 : It will be connected to the contactor used to turn off or turn on the electric
motor in TurnTable.

0501 : It will be connected to the contactor used to turn off or turn on the Jet Pump
Motor

0502 : It will be connected to the solenoid valve used to stop or spout the water
spray to the glass bottle.
After knowing both PLC inputs and PLC outputs connected or linked to other
external devices, here is the plc programming used in the rotary bottle washing
machine with the PLC Keyence as its main control. This PLC program will use
standard sequence programming.

This Video about How To Create Keyence PLC Ladder for Rotary Bottle Washing
Machine

Please click the link below to get the PDF file:


(in Google Docs: click File ---> click Download)

This program is created with KV builder from Keyence. For more information,
here is the master file for the program in the form of RAR file. Please click the link
below to download it:
(in Google Docs: click File ---> click Download)
Keyence-for-washing-machine(.rar)

After you have downloaded the file, I will help you learn how to read the ladder
plc programming for rotary bottle washing machine.

1. INPUT CONDITION
1.1.a.
If plc input 003 turn on then internal relay 1000 turn on else internal relay 1000
turn off.
1.1.b.
If internal relay 1105 turn on and plc output 0501 turn off then internal relay 1000
turn on else internal relay 1000 turn off.
1.2.
If plc input 003 turn off and plc output 0502 turn off and plc output 0500 turn off
then internal relay 1001 turn on else internal relay 1001 turn off.
1.3.
If plc input 0001 turn on then internal relay 1002 turn on else internal relay 1002
turn off.
1.4.
If plc input 0000 turn on then internal relay 1003 turn on and hold turn on.
1.5.
If plc input 0003 turn on then internal relay 1003 turn off.

2. TRIGGER AND SENSOR CONDITION

2.1.
If internal relay 1100 turn on and internal relay 1001 turn on and internal relay
1002 or 1003 turn on then internal relay 1004 turn on with one scan cycle time of
plc. And if internal relay 1004 turn on then automatically internal relay 1101 turn
on with controller.
2.2.
If internal relay 1101 turn on and plc output 0500 turn on then internal relay 1004
turn on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1102 turn on with controller.
2.3.
If internal relay 1102 turn on and plc input 0004 turn on then internal relay 1004
turn on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1103 turn on with controller.
2.4.
If internal relay 1103 turn on and plc input 0004 turn off then internal relay 1004
turn on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1104 turn on with controller.
2.5.
If internal relay 1104 turn on and plc output 0500 turn off and timer T001 turn on
then internal relay 1004 turn on with one scan cycle time of plc. And if internal
relay 1004 turn on then automatically internal relay 1105 turn on with controller.
2.6.
If internal relay 1105 turn on and plc output 0501 turn on then internal relay 1004
turn on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1106 turn on with controller.
2.7.
If internal relay 1106 turn on and plc output 0502 turn on then internal relay 1004
turn on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1107 turn on with controller.
2.8.
If internal relay 1107 turn on and timer T002 turn on then internal relay 1004 turn
on with one scan cycle time of plc. And if internal relay 1004 turn on then
automatically internal relay 1108 turn on with controller.
2.9.
If internal relay 1108 turn on and plc output 0502 turn off and timer T003 turn on
then internal relay 1004 turn on with one scan cycle time of plc. And if internal
relay 1004 turn on then automatically internal relay 1100 turn on with controller.

3. OUTPUT CONDITION

3.1.
If internal relay 1104 turn on and plc output 0500 turn off then Timer T001 active,
after 5 x100ms = 500ms(millisecond) timer T001 turn on. This timer for TurnTable
STOP stability and Time can be set according to need.
3.2.
If internal relay 1107 turn on and plc output 0502 turn on then Timer T002 active,
after 5 x100ms = 500ms(millisecond) timer T002 turn on. This timer for water
spray on delay and Time can be set according to need.
3.3.
If internal relay 1108 turn on and plc output 0502 turn off then Timer T003 active,
after 5 x100ms = 500ms(millisecond) timer T003 turn on. This timer for water
spray off delay and Time can be set according to need.
3.4.a.
If internal relay 1100 turn off and internal relay 1101 turn on and internal relay
1104 turn off then plc output 0500 turn on and hold turn on.
3.4.b.
If internal relay 1100 or 1104 turn on then plc output 0500 turn off.
3.5.
If plc input 0002 turn on then plc output 0501 turn on else plc output 0501 turn
off.
3.6.a.
If internal relay 1100 turn off and internal relay 1106 turn on and internal relay
1108 turn off then plc output 0502 turn on and hold turn on.
3.6.b.
If internal relay 1100 or 1108 turn on then plc output 0502 turn off.

4. CONTROLLER

4.1.
If internal relay 1100 to 1108 turn off then internal relay 1005 turn on else internal
relay 1005 turn off.
4.2.
If internal relay 1005 turn on and counter C000 not equal 0 then counter C000 reset
turn on or current value of counter C000 filled with 0.
4.3.
If special relay 2002 always on then counter C000 activated. Input counter use
internal relay 1004 and maximum 1000 counting.
4.4.
If internal relay 1000 turn on then counter C000 reset turn on or current value of
counter C000 filled with 0.
4.5.
If special relay 2002 always on and read data from counter C000 and compare with
value 0 to 8.Result compare used for turn on/off internal relay. The following are
the conditions of the comparison :
If counter C000 equal 0 then internal relay 1100 turn on else internal relay 1100
turn off.
If counter C000 equal 1 then internal relay 1101 turn on else internal relay 1101
turn off.
If counter C000 equal 2 then internal relay 1102 turn on else internal relay 1102
turn off.
If counter C000 equal 3 then internal relay 1103 turn on else internal relay 1103
turn off.
If counter C000 equal 4 then internal relay 1104 turn on else internal relay 1104
turn off.
If counter C000 equal 5 then internal relay 1105 turn on else internal relay 1105
turn off.
If counter C000 equal 6 then internal relay 1106 turn on else internal relay 1106
turn off.
If counter C000 equal 7 then internal relay 1107 turn on else internal relay 1107
turn off.
If counter C000 equal 8 then internal relay 1108 turn on else internal relay 1108
turn off.

Here is the description for rotary bottle washing machine:


1. Waiting All Origin and Waiting Start 1 Cycle or Auto Cycle.
2. TurnTable RUN to next point position.
3. Check proximity sensor: Check ON condition.
4. Check proximity sensor: Check OFF condition.
5. TurnTable STOP and waiting stability timer.
6. Check Jet Pump Motor (Water Spray) : If jet pump motor turn off then goto
waiting start 1 cycle or auto cycle (no.1) else goto solenoid valve turn on (no.7).
7. Solenoid Valve turn on.
8. Delay for Solenoid Valve turn on.
9. Solenoid Valve turn off and Delay.
Car Ticketing Machine using PLC

Car ticketing machine with game control for animation. Use keyboard for control
animation, such as for car move to forward use arrow up, for take ticket use arrow
down, for fiil car ticket use letter f, and others.

PLC Input output Indicator in car ticketing machine game for signal conditions of
PLC Input/Output. With green color for signal condition "ON" of PLC
Input/Output, and white color for signal condition "OFF" of PLC Input/Output.

For more details and play game, please download (only for windows), Login in
google accunt : click here and Ctrl + S. or click here

And for how to use car ticketing machine with game control, Please see the
youtube video and images below:
Name of the sensors that goes into the plc inputs:
Input 1. Car Entry Sensor for car entry detection.
Input 2. Take Ticket Sensor for detection of tickets have already been taken.
Input 3. LS Feeder Reverse for feeder reverse detection.
Input 4. LS Feeder Forward for feeder forward detection.
Input 5. Empty Ticket Sensor for minimum ticket detection.
Input 6. LS Gate Down for gate down detection.
Input 7. LS Gate Up for gate up detection.
Input 8. Car Out Sensor for detect the car out of the gate.

Name of the external devices connected to the plc outputs:


Output 1. Feeder Electric Motor to feeder forward.
Output 2. Feeder Electric Motor to feeder reverse.
Output 3. Gate Electric Motor to gate up.
Output 4. Gate Electric Motor to gate down.

The Origin condition of Car ticketing machine:


1. LS Feeder Reverse "ON".
2. Empty Ticket Sensor "ON".
3. LS Gate Down "ON".
4. IF NOT Origin Condition THEN Car ticketing Machine not working.
See the PLC Input Indicator in Car ticketing machine game.

The workings of Car ticketing machine:


1. IF Car Entry Sensor (Input 1) "ON" THEN feeder forward (Output 1) "ON".
2. IF feeder forward (Output 1) "ON" And LS feeder Forward (Input 4) "ON"
THEN feeder reverse (Output 2) "ON".
3. IF LS Feeder Reverse (Input 3) "ON" THEN feeder reverse (Output 2) "OFF".
4. Car Ticket Detection: IF Take Ticket Sensor (Input 2) "OFF" THEN feeder
forward (Output 1) "ON" And goto step 2 ELSE continue.
5. IF Take Ticket Sensor (Input 2) "ON" to "OFF" THEN Gate Up (Output 3)
"ON".
6. IF LS Gate Up (Input 7) "ON" THEN Gate UP (Output 3) "OFF".
7. IF Car Out Sensor (Input 8) "ON" to "OFF" THEN Gate down (Output 4) "ON".
8. IF LS Gate Down (Input 6) "ON" THEN Gate down (Output 4) "OFF".

Can you make a plc program ?

With the workings of the above are used in Car ticketing Machine.
For workings the Car ticketing Machine, can you play in the game.
Download Car ticketing Machine Game (only for windows) : click here or Mirror
download : click here
If no download, please contact me.

Good Luck.

I will give an example of a program with several brands plc, such as Keyence PLC,
Mitsubishi PLC, Omron PLC, Allen Bradley PLC, and Siemens PLC.
Please to share and follow us on facebook, twitter, google plus, pinterest, and
youtube.
Read this: Guidance how we can use Arduino as Programmable Logic Controller

Snack Vending Machine Simulation for One Type of Product using PLC
Control

Video about snack vending machine for one type of product. This use Game
Control for Simulation of Snack Vending Machine. See the video for How to work
of Snack Vending Machine Simulation.

Free Download for Snack Vending Machine Simulation for One type of product:
(This file on Google Docs, for download: click File and click Download)
1. Download for Windows x86(XP): click here
2. Download for Windowsx64 (WIN7): click here
3. Download for Mac: click here
4. Download for Linux: click here
Image about Insert Coin of Snack Vending Machine Simulation.

Image about take snack after snack vending machine finish process.

A. PLC Input and PLC Output


This application use PLC Controller for drive / controller of Snack Vending
Machine. And Input / Output needed by the PLC for Snack Vending Application:
A1. PLC Input :
[Input0] One Input for receiving signal from Coin Acceptor.
[Input1]One Input for receiving signal from the Rotation Sensor, example:
Proximity Sensor or etc.
A2. PLC Output :
[Output0] One Output to Drive an Electric Motor Run.
[Output1] One Output to Switch Position Rack 1.
[Output2] One Output to Switch Position Rack 2.
[Output3] One Output to Switch Position Rack 3.
[Output4] One Output to Switch Position Rack 4.
[Output5] One Output to Switch Position Rack 5.
Thus, the input and output requirements for Snack Vending Machine Application
are: 2 Input and 6 Output of PLC input / output modules.
See the image for PLC Input Indicator and PLC Output Indicator:

B. Electrical Wiring of Snack Vending Machine for One type of product


B1. Detail of Snack Vending Machine
Remarks of Detail Number:
1. Position Rack 1
2. Position Rack 2
3. Position Rack 3
4. Position Rack 4
5. Position Rack 5
6. Coin Acceptor
7. Coin Box
8. PLC Box or Panel Control Box
9. Electric Motor for Rack 1
10. Electric Motor for Rack 2
11. Electric Motor for Rack 3
12. Electric Motor for Rack 4
13. Electric Motor for Rack 5
14. Rotation Sensor / Proximity Sensor for Rack 1
15. Rotation Sensor / Proximity Sensor for Rack 2
16. Rotation Sensor / Proximity Sensor for Rack 3
17. Rotation Sensor / Proximity Sensor for Rack 4
18. Rotation Sensor / Proximity Sensor for Rack 5

B2. Electrical Wiring of Snack Vending Machine


1. PLC Wiring Diagram
2. Motor Control and Relay wiring diagram for each Rack without speed
control motor

3. Motor Control and Relay wiring diagram for each Rack with speed control
motor
Example Coin Acceptor :
http://www.adafruit.com/category/35_104
Example Rotation Sensor / Proximity Sensor :
http://program-plc.blogspot.com/2009/06/equipments-of-input-for-plc.html
http://program-plc.blogspot.com/2009/06/example-of-input-wiring-diagram-
plc.html
Example Relay or Contactor :
http://program-plc.blogspot.com/2009/06/equipments-output-plc-system.html
http://program-plc.blogspot.com/2009/06/training-wiring-diagram-output-plc.html
Example Speed Control Motor :
http://program-plc.blogspot.com/2009/10/speed-control-motor-to-plc.html

C. Sequences PLC Programming for Snack Vending Machine for One type of
product
1. Number of products per rack = 7 pieces snack
2. Number of Racks = 5 racks
3. Total of all products = 7 x 5 = 35 pieces snack
4. Use PLC Counter (Total Products) to enter the Total of all products.
5. Setting PLC Counter with 35 for start value (full snack).
6. Use PLC Counter to count the coins from the Coin Acceptor signal [Input0].
7. Switch Rack Position and Rotation Sensor:
7.1.Rack 1 (Relay R1 [Output1]) only ON, If PLC Counter (Coins) greater than
zeroand value PLC Counter (Total Products) between 29 and 35.
7.2. Rack 2 (Relay R2 [Output2]) only ON, If PLC Counter (Coins) greater than
zero and value PLC Counter (Total Products) between 22 and 28.
7.3. Rack 3 (Relay R3 [Output3]) only ON, If PLC Counter (Coins) greater than
zero and value PLC Counter (Total Products) between 15 and 21.
7.4. Rack 4 (Relay R4 [Output4]) only ON, If PLC Counter (Coins) greater than
zeroand value PLC Counter (Total Products) between 8 and 14.
7.5. Rack 5 (Relay R5 [Output5]) only ON, If PLC Counter (Coins) greater than
zeroand value PLC Counter (Total Products) between 1 and 7.
See the table below with PLC Counter (Coins) greater than zero:

8. Use PLC Counter to count the Rotation Sensor [Input1]


9. If PLC Counter (Coins) greater than zero (pulse up) then reset to zero of PLC
Counter (Rotation Sensor).
9.1. For one full rotation, then the value of PLC Counter (Rotation Sensor) equal to
two.
9.2. One Full Rotation equal to One Coin or One Piece Snack
9.3. If PLC Counter (Rotation Sensor) equal to two :
9.3.a. Decrease PLC Counter (Total Products) by one
9.3.b. Decrease PLC Counter (Coins) by one
9.3.c. Reset to zero of PLC Counter (Rotation Sensor)
10. If Relay R0 [Output0] is ON, then PLC Counter (Coins) greater than zero and
one of R1 [Output1] to R5 [Output5] is ON
11. If PLC Counter (Coins) is zero, then Relay R0 [Output0] is OFF and all R1
[Output1] to R5 [Output5] is OFF.

Note:
Application about Snack Vending Machine for One type of product use 3 PLC
Counter:
1. Total Products use Memory and use Increment/Decrease Operation
2. Count the Coins use Memory and use Increment/Decrease Operation
3. One PLC Counter for Count the Rotation Sensor

Equipments of input for PLC Part 2

Example Of Equipments giving Input Signal to PLC :


Limit Switch Mechanic

Limit Switch Electric

Proximity Switch
Safety Sensor or Sensor Area

Input from Contact Contactor, Relay, Temperatur Controller, Timer,


Thermal Over Load
PLC Programming for Snack Vending Machine

1. Keyence PLC Programming for Snack Vending Machine


Use PLC Type: KV
Use PLC Software: KV BUILDER
Comment of PLC Input:
0000 : to output of Coin Acceptor
0001 : Rotation Sensor / Proximity Sensor
Comment of PLC Output:
0500 : Electric Motor / Relay R0
0501 : Position Rack 1 / Relay R1
0502 : Position Rack 2 / Relay R2
0503 : Position Rack 3 / Relay R3
0504 : Position Rack 4 / Relay R4
0505 : Position Rack 5 / Relay R5
Download PLC Program Simulation:
(This file on Google Docs, for download: click File and click Download)
a. Download for Windows x86 (XP): click here
b. Download for Windows x64 (Win7): click here
c. Download for Mac: click here
d. Download for Linux: click here
e. Download for Flash (SWF): click here
How to Scroll PLC Program Simulation:

2. Mitsubishi PLC Programming for Snack Vending Machine


Use PLC Type: FX
Use PLC Software: GX Developer
Comment of PLC Input:
X000 : to output of Coin Acceptor
X001 : Rotation Sensor / Proximity Sensor
Comment of PLC Output:
Y000 : Electric Motor / Relay R0
Y001 : Position Rack 1 / Relay R1
Y002 : Position Rack 2 / Relay R2
Y003 : Position Rack 3 / Relay R3
Y004 : Position Rack 4 / Relay R4
Y005 : Position Rack 5 / Relay R5

DownloadMitsubishiPLC Program Simulation:


Download for Flash Player (SWF): click here
Play with Adobe Flash Player, GOM Player, etc.

How to Scroll of Mitsubishi PLC Program Simulation:

3. Omron PLC Programming for Snack Vending Machine


Use PLC Type: CP1L
Use PLC Software: CX-Programmer
Comment of PLC Input:
0.00 : to output of Coin Acceptor
0.01 : Rotation Sensor / Proximity Sensor
Comment of PLC Output:
100.00 : Electric Motor / Relay R0
100.01 : Position Rack 1 / Relay R1
100.02 : Position Rack 2 / Relay R2
100.03 : Position Rack 3 / Relay R3
100.04 : Position Rack 4 / Relay R4
100.05 : Position Rack 5 / Relay R5

Download Omron PLC Program Simulation:


1. Download for Windows: click here
2. Download for Flash Player (SWF): click here (Play with Adobe Flash Player,
GOM Player, etc.)

How to Scroll of Omron PLC Program Simulation:

4. Siemens PLC Programming for Snack Vending Machine


Use PLC Type: S7-200
Use PLC Software: STEP 7 MicroWIN SP7
Comment of PLC Input:
I0.0 : to output of Coin Acceptor
I0.1 : Rotation Sensor / Proximity Sensor
Comment of PLC Output:
Q0.0 : Electric Motor / Relay R0
Q0.1 : Position Rack 1 / Relay R1
Q0.2 : Position Rack 2 / Relay R2
Q0.3 : Position Rack 3 / Relay R3
Q0.4 : Position Rack 4 / Relay R4
Q0.5 : Position Rack 5 / Relay R5

Download Siemens PLC Program Simulation:


1. Download for Windows: click here
2. Download for Flash Player (SWF): click here

Video about How to Scroll of Siemens PLC Program Simulation:

5. Allen-Bradley PLC Programming for Snack Vending Machine


Use PLC Type: 1761 - MicroLogix 1000
Use PLC Software: RSLogix Micro Starter Lite
Comment of PLC Input:
I:0/0 = to output of Coin Acceptor
I:0/1= Rotation Sensor / Proximity Sensor
Comment of PLC Output:
O:0/0 = Electric Motor / Relay R0
O:0/1 = Position Rack 1 / Relay R1
O:0/2 = Position Rack 2 / Relay R2
O:0/3 = Position Rack 3 / Relay R3
O:0/4 = Position Rack 4 / Relay R4
O:0/5 = Position Rack 5 / Relay R5

Download Allen-Bradley PLC Program Simulation:


1. Download for Windows: click here

2. Download for Flash Player (SWF): click here

You might also like