Problem Description



Yüklə 2,74 Mb.
Pdf görüntüsü
səhifə11/98
tarix23.07.2023
ölçüsü2,74 Mb.
#137216
1   ...   7   8   9   10   11   12   13   14   ...   98
PLC-4

Ladder
 
Diagram
 
to
 
operate
 
Spray-Paining
Program Description

When Start PB is pressed, Oven with address O:2/0 is started.

RUNG002 and RUNG003 are used to operate bit shift register and Spray with address O:2/1.

I:1/0 and I:1/1 are mounted such that they are detected together. When Part is present, I:1/0 and I:1/1 both
goes high setting bit B3:0/0. Shifting of this itself is operated by I:1/0 Hanger switch. So every time a hanger is
detected, bit is shifted left.

From proximity to capping machine, station distance is 3 steps. Hence bit B3:0/2 of B3:0 register operates
spray solenoid.

R6:0 is a control register where all the operations are handled.


Runtime Test Cases
Inputs
Output
Physical Elements
I:1/14 = 1
O:2/0 = 1
Turn ON oven
I:1/0 = 1
BSL = 1
Shift bit to left
I:1/0 = I:1/1 = 1 B3:0/0 = 1
Set bit to operate Spray
B3:0/2 = 1 O:2/1 = 1
Activate spray
PLC Program to Display Level of Three or More Tanks
This is a PLC Program to Display Level of Three or More Tanks.
Problem Description
There are total 3 tanks of which level is being controlled. Display level of these tanks for 5secs of one by
one. Implement this in PLC using Ladder Diagram programming language.
Problem Solution

Continuous measurement is necessary in this case.

Continuous level measuring devices such as Ultrasonic, Radar, Capacitive or Pressure gauge level sensor
can be used.

Output of these sensors are in analog form, so to deal with such analog data, analog modules are used in
PLC.

Analog modules convert analog signal into equivalent hex form.

Convert this into level height in Meter or in any other parameter to display on the screen.

Generate time base to MOV output storing register value to display address after converting into BCD
equivalent.

Use either number of timers or Sequential Output instruction to solve this problem.
PLC Program
Here is PLC program to Display Level of Three or More Tanks, along with program explanation and run
time test cases.
List of Inputs and Outputs
I:1
= Input from Tank 1
(Input)
I:2
= Input from Tank 2
(Input)
I:3
= Input from Tank 3
(Input)
N7:0 and N7:1
= Store and process data of tank 1
(Register)
N7:2 and N7:3
= Store and process data of tank 2
(Register)
N7:4 and N7:5
= Store and process data of tank 3
(Register)
T4:0,T4:1,T4:2 = Timers to switch display data every 5secs
(Timers)



Yüklə 2,74 Mb.

Dostları ilə paylaş:
1   ...   7   8   9   10   11   12   13   14   ...   98




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin