Вы находитесь на странице: 1из 8

Summer Training on:

INDUSTRIAL AUTOMATUION AND


PLC PROGRAMMING

TERM: JUNE-JULY 2019(6 WEEKS)

SUBMITTED TO: - SUBMITTED BY: -


DR. HITESH PAHUJA KIRAT SINGH
PROJECT ENGINEER (169110028)
CDAC, MOHALI
INDEX
SR.NO CONTENT PAGE REMARKS
NO.
1 PLC program to implement Logic Gates 5-8
2 PLC program to implement various Boolean functions 9-10
3 PLC program to implement Boolean function with don’t care. 11
4 PLC program to implement combinational logic circuit Y1=1 12-13
is the input binary number is 5 or less then 5 Y2=1 if input
binary number is 9 or more then 9.
5 A circuit has 4 inputs (A, B, C, and D) and 2 outputs (Y1, 14-15
Y2). One of the outputs is high when majority of inputs are
high. The second output is high when all inputs are of same
type. Design the combinational circuit and implement it in
PLC.
6 PLC Program to Implement Binary to BCD Converter. 16-18
7 PLC Program to Implement BCD to Excess-3 Code 19-20
Conversion.
8 PLC Program to Implement Half Adder and Full Adder 21-23
9 PLC Program to Implement Binary to Gray Code Conversion 24-25
10 PLC Program to Implement 2-bit Magnitude Comparator 26-27
11 PLC Program to Implement 4x1 Multiplexer 28
12 PLC Program to Implement 8x1 Multiplexer 29-30
13 PLC Program to Implement 3x8 Decoder 31-33
14 PLC Program to Implement Gray code to Binary Code 34-35
Conversion
15 PLC Program to Implement 1x8 Demultiplexer 36
16 PLC Program to Implement seven segment display decoder. 37-40
17 PLC Program to turn on Motor and Lamp with ON button and 41
to turn it off with OFF button

18 PLC Program to Implement the following logic: 42


1,1,2 - > Motor 1 ON
3,3,4 - > Motor 2 ON
5 - > Motor 1, Motor 2 OFF

19 PLC Program to Implement the following logic: 43


Input Switch 1 -> Motor 1, Motor 2 ON
Input Switch 2 - > Motor 3, Motor 4 ON
Input Switch 3 - > Motor 5, Motor 6 ON
Input Switch 4 - >All Motors OFF

20 PLC Program to Implement the following logic: 44


Input Switch 1 -> Motor 1, Motor 2 ON
Input Switch 2 - > Motor 3, Motor 4 ON
Input Switch 3 - > Motor 1, Motor 3 OFF
Input Switch 4 - > Motor 2, Motor 4 OFF

21 PLC Program to Implement the following logic: 45-46


0,1,2 - > Motor ON
3,4,5 - > Motor OFF

22 PLC Program to Implement Toggle switch. 47


23 A selection committee comprises 4 members including the 48
chairman in order for coordination to the selected she/he has
to support at least two members. The chairman however can
post any candidate through. If each member is provided with
switch. Design a logic that will ring a bell when candidate is
selected.

24 Design a 1:4 De Mux using a Ladder Logic . Assume the input 49


are connected to input control signal and the output terminal
25 1.....1 on 2,3,4 OFF 50
2.....2on 1,3,4 OFF
3.....3on 1,2,4 OFF
4.....4on 1,2,3 OFF
5.................RESET ALL

26 PRESS 1 (1,2,3) ON `51


PRESS 2 1 OFF
PRESS 3 2 OFF
PRESS 4 3 OFF

27 Implementation of basic TON Timer circuit. 52


28 Implementation of basic TOFF Timer circuit. 53
29 To Implement TOFF using TON 54
30 PLC Program to Implement the following logic: 55-56
LED 1 ON after 2 second
LED 2 ON after 4 second
LED 3 ON after 6 second
All OFF after 8 second
31 PLC Program to Implement the following logic: 57-59
After 2 second L1,L2 ON
After 2 second L3,L4 ON
After 2 second L5,L6 ON
After 2 second L1,L3,L5 OFF
After 2 second L2,L4,L6 OFF
After 2 second All ON
After 2 second All OFF

32 PLC Program to Implement the following logic: 60-61


LED 1 ON after 2 second
LED 2 ON after 2 second
LED 3 ON after 2 second
LED 4 ON after 2 second
Without Loop
33 PLC Program to Implement the following logic: 61
LED 1 ON after 2 second
LED 2 ON after 2 second
LED 3 ON after 2 second
LED 4 ON after 2 second
With Loop
34 3 Motor System 62-64
M1 Will start as soon as switch is pressed
After 10 sec M1 off M2 start
After 5 sec M2 off M3 start
After 10 sec M3 off M1 start
And repeat
35 Implementation of timer circuit 65-66
36 Implementation of 2 Pole Traffic Light using Timer circuit. 67-70
37 Implementation of 4 Pole Traffic Light using Timer circuit. 70-71
38 To implement Counter Program 1 72-73
49 To implement Car Parking System 74
40 To generate 10 pulses after S1 is pressed 75
41 To implement Classroom and Staffroom Logic Light System 76-77
42 Write a program to implement a process illustrated in figure. 78-79
An up counter must be programmed as a part of batch
counting operation to sort parts automatically for quality
control. A counter is installed to divert one part out of every
1000 for quality control or inspection purposes. The circuit
operate as follows
 A start/stop push button station is used to run the
conveyor ON and OFF.
 A proximity sensor county the parts as they pass by
on the conveyor
 When a count of 1000 is reached the counter output
activates the gate of solenoid ,diverting the part
inspection line.
 The gate solenoid is energized for 2 sec , which
allows enough time for part to continue to the quality
control line
 The gate returns to its normal position when 2s time
period ends.
 The counter resets to 0 and continues to accumulate
counts.
 A reset push button is provide to reset the counter
manually.

43 L1-6 80-81
Input:- L1,L6 ON (After 2 Second)
L2,L5 ON (After 2 Second)
L3,L4 ON (After 2 Second)
All OFF (After 2 Second)
Loop Only 3 times.

44 5 LED (After 2 Sec) 82-84


Input After 2 Sec- L1 ON
After 2 Sec- L2 ON
After 2 Sec- L3 ON
After 2 Sec- L4 ON
After 2 Sec- L5 ON
3 times repeat
(for 10 sec) 4th –All OFF
5TH –repeat.

45 2 Sec – Water Inlet 85-87


2 Sec – Surf Inlet
20 Sec (10 TIMES)
Forward and Backward
5 Sec – Drain
10 sec – Spin

46 Write a program to implement the box-stacking process as 88-89


follows: This application requires the control of a conveyor
belt that feeds a mechanical stacker. The stacker can stack
various numbers of cartons of ceiling tile onto each pallet
(depending on the pallet size and the preset value of the
counter). When the required number of cartons has been
stacked, the conveyor is stooped until the loaded pallet is
removed and an empty pallet is placed onto the loading area.
A photoelectric sensor will be used to provide count pulses to
the counter after each carton passes by. In addition to a
conveyor motor start/stop station, a remote reset button is
provided to allow the operator to reset the system from the
forklift after an empty pallet is placed onto the loading area.
The operation of the system is summarized as follows:
The conveyor is started by passing the start button.
As each hour passes, the photoelectric sensor, account is
registered.
When the preset value is reached (in the case 12), the
conveyor belt turns off.
The forklift operator removes the loaded pallet.
After the empty pallet is at position, the forklift operator
presses the remote reset button, which then starts the whole
cycle over again.

47 Write a program to implement the process as follows: A 90-91


company that makes electronic assembly kits needs a counter
to count and control the number of resistors placed into each
kit. The controller must stop the fake-up spool at a
predetermined amount of resistors (10). A worker on the floor
will then cut the resistor strip and place it in the kit.
The circuit operates as follows:
 A start/stop push button station is used to turn the
spool motor drive on and off manually.
 A through-beam sensor counts the resistors as they
pass by,
 A counter preset for 10 (the amount of resistors in
each kit) will automatically stop the take up spool
when the accumulated count reaches 10.
 A second counter is provided to count the grand total
used.
 Manual reset buttons are provided for each counter.

48 92-93
With compare instructions.
Press L1- 1, 6 on (after 2 sec)
2, 5 on (after 2 sec)
3, 4 on (after 2 sec)
All off (after 2 sec)
Loop only 3 times

49 3 conveyor belt 94-95


When sum of count of two conveyor belt =20
The third conveyer belt will start for 2 sec.

50 Initially all off 96-98


1 > 2,3 then L1 ON
2 > 1,3 L2 ON
3 > 1,2 L3

51 Write a program to implement the process.The sequence of 99-101


operation is to be as follows
Two conveyer belts are turned on and items are
moving on belt. When the total of items through conveyer belt
reaches 20, belt stops. After 10 seconds, system is restarted
52 Write a program to implement the process.The sequence of 102-103
operation is to be as follows
 Normally open start and normally closed
stop.Push buttons are used to start and
Stop the process.
 When the start button is pressed solenoid
A energizes to start feeling the tank.
 As the tank feels the empty level sensor
switch closes.
 When the tank is full, the full level sensors
switch closes.
 Solenoid A is de-energized.
 The agitate motor starts automatically and
runs for three minute to mix the liquid.
 When the agitate motor stops, Solenoid B
is energized to empty the tank
 When the tank is completely empty, the
empty sensor switch opens to de-energized
solenoid B
 The Start button is pressed to repeat the
sequence.

Вам также может понравиться