Helwan University at Helwan Engineering Faculty German Msc Program System Automation & Project Management
Page 1
List of contents
1- Motor On-Off. 2- Motor with heater sensor. 3- Motor right-left directly. 4- Motor right-left indirectly. 5- Motor right-left using Set-Reset. 6- Tank-Pump-2level sensors. 7- Two motors with timer (1st. method). 8- Two motors with timer (2nd method). 9- Three motors with Timers. 10111213141516Tank-3pumps-2level sensors-Mixers. OFF delay timer. Pump-Mixer-3Valves-2Sensors. Counter-Comparator. Markers. Garage Application-Only inlets. Garage Application-in-out.
Page 2
1. Motor On-Off
I. Inputs/Outputs:
A motor with 2-inputs & 1-Outputs: Inputs I0.0 Start I0.1 Stop Outputs Q0.0 Motor
III. Description:
We need to have On/Off motor using two pushbuttons.
Page 3
III. Description:
We need to have On/Off motor using two pushbuttons; a heater sensor is inserted to stop the motor at certain temperature.
Page 4
III. Description:
We need to rotate the motor to right and left in a condition that: We stop the motor rotation in certain direction when its rotating in the other direction directly.
Page 5
Page 6
III. Description:
We need to rotate the motor to right and left in a condition that: We stop the motor rotation in certain direction when its rotating in the other direction indirectly.
Page 7
Page 8
III. Description:
We need to rotate the motor to right and left in a condition that: We stop the motor rotation in certain direction when its rotating in the other direction using Set/Reset.
Page 9
Page 10
6. Tank-Pump-2level sensors
I. Inputs/Outputs:
A fluid tank with 2-inputs & 1-Output: Inputs I0.0 I0.1 Outputs Q0.0 Pump
III. Description:
We have a tank with a pump at the top, drain at the bottom & two level sensors. When water level goes below sensor B2; pump is working. When water level is above sensor B1; pump stops.
Page 11
Page 12
III. Description:
1st method: When we press start; motor 1 starts, 10 seconds later motor 2 starts rotation. When we press stop motor 1 & motor 2 are off.
Page 13
Page 14
III. Description:
2nd method: When we press start; motor 1 starts, 10 seconds later motor 2 starts rotation & motor 1 is off. When we press stop motor 1 & motor 2 are off.
Page 15
Page 16
III. Description:
Three motors with Timers such that when we press start Motor 1 is on for 10 seconds then off, then motor 2 is on for 20 seconds then off, then motor 3 is on for 30 seconds then off, then motor 1 is on and loop is repeated.
IV. Flowchart:
Start
M1 10 sec M2 20 sec M3 30 sec
Page 17
V. Ladder Diagram:
Page 18
Page 19
III. Description:
when we press the start push button, pump 2 works for 5 seconds then stops, pump 1 works, pump 1 is stopped by high level sensor, at the same time mixer works for 10 seconds, when mixer is off pump 3 works, pump 3 is stopped by low level sensor, steps repeated.
Page 20
Start
P2 5 sec
P1
Stopped by
H.L.
Then
Mixer
Stoppe 10 sec dd later
P3 L.L.
Stopped by L.
Page 21
V. Ladder Diagram:
Page 22
Page 23
III. Description:
When we press start Pb.; motor 1 starts & OFF delay timer is ON so lamp is ON. When we press stop Pb.; motor 1 is off & OFF delay timer waits for 5 more seconds then turns OFF and so do the Lamp.
Page 24
Page 25
12. Pump-Mixer-3Valves-2Sensors
I. Inputs/Outputs:
A motor with 4-inputs, 5-Outputs & 2-Timer: Inputs I0.0 Start I0.1 Stop I0.2 I0.3 T0 Timer 0 Timers T1 Timer 1
Outputs Q0.0 Motor 2 Pump Q0.1 Motor 1 Mixer Q0.2 Y1 Valve 1 Q0.3 Y2 Valve 2 Q0.4 Y3 Valve 3
Page 26
III. Description:
1. When we press start Pb. ; Pump & (Y1) starts, When fluid reaches (B1) (Y1) is OFF & (Y2) is ON. 2. When fluid reaches (B2) (Y2) & Pump are OFF & Mixer is ON for 10 sec then OFF. 3. When Mixer is OFF (Y3) is ON till Fluid is below (B1) then turns OFF then cycle is repeated.
Page 27
Page 28
Page 29
13. Counter-Comparator
I. Inputs/Outputs:
A motor with 2-inputs, 2-Outputs & 1 counter & 1 comparator: Inputs I0.0 Sensor I0.1 Reset Q0.0 Lamp Outputs C0 Counter 0 Counter Q0.1 Motor Comparator Eq-I equal
III. Description:
A counter is used to count the input to the sensor; output motor is ON only after 5 counts.
Page 30
Page 31
14. Markers
I. Inputs/Outputs:
A motor with 1-Input, 1-Output & 1 Marker: Input I0.0 Start Output Q0.0 Motor Marker M0.0 marker
II. Description:
When we press start; Marker is ON Output ON
Page 32
Page 33
III. Description:
When the car enters the garage there are 2 sensors, when the 1st sensor (s1) is ON
Motor up for 10 sec. then motor down for 10 sec.
Page 35
Page 36
Page 37
III. Description:
When the car enters the garage there are 2 sensors, when the 1st sensor (s1) is ON
Motor up for 10 sec. then motor down for 10 sec.
When both (S1) & (S2) are ON (C0) counts up. When (S3) at garage exit is ON it counts down (CO). When 5 cars are in the garage Alarm is ON & Motor Up-Down is deactivated.
Page 38
Page 39
Page 40