Sunday, May 16, 2010

Display Seven Segment Using PLC





Detail Display Seven Segment with PLC




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 Seven 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 Display Seven Segment and PLC Output




Numeric Display 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
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 Display versus PLC Output:-

Tuesday, May 11, 2010

Process Automation For Water Treatment With PLC



Detail Process Automation For Water Treatment :-




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 Omron Programming for Process Automation For Water Treatment

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.