Sunteți pe pagina 1din 26

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : K . Sambaiah
Designation : H.A.E.I.E.S
Branch : Applied Elect.&Instru. Engg.
Institute : GMRP, KARIMNAGAR.
Year/semester : VI Semester
Subject : Industrial Electronics, PLC and SCADA
Subject code : AEI-602
Topic : PLC Programming
Duration : 100 min.
Sub topic :PLC Applications To Simple Process Control
Teaching aids : ppts, Diagrams
AEI602.64 to 65 1
Objectives

On Completion of this topic you will be able to


know

• PLC Applications to simple process control

AEI602.64 to 65 2
Traffic Light Controlling

• Traffic light controlling a four way intersection is used

below to demonstrate how the sequencer output

command is used in a program.

• Shown below is the ladder logic used for the control and

how the SQO command is setup

AEI602.64 to 65 3
Traffic Light Controlling…

• In this example the control of the traffic light will be done

using the SQO command.

• The Sequencer files will have the four states that the

traffic light will go through.

AEI602.64 to 65 4
Traffic Light Controlling…

• TON timers will be used to initiate the stepping of the


sequencer file. The two timers will be set for 10 seconds
and 3 seconds.

• Once the light goes through an entire cycle the process


will be reset and the SQO command will start back at
step 1.

AEI602.64 to 65 5
Traffic Light Controlling…

AEI602.64 to 65 6
Traffic Light Controlling…
Ladder Logic

AEI602.64 to 65 7
Traffic Light Controlling…

• The sequencer files were then set for the four steps of

the light cycle as shown above.

• The first sequencer file contains the outputs for the red

light on the north south street and green light on the east

west street.

AEI602.64 to 65 8
Traffic Light Controlling…

• The second file has the outputs set the north south street
to red and the east west to yellow.

• The third file sets the north south street to green and the
east west to red.

• And the fourth file sets the north south street to yellow
and the east west street to red.

AEI602.64 to 65 9
Traffic Light Controlling…

AEI602.64 to 65 10
Traffic Light Controlling…

• Shown above is the mask in the Binary file B10:5. This

will allow the proper data to pass and block the

unnecessary data.

AEI602.64 to 65 11
Traffic Light Controlling…

• The output diagram above shows an example of what


would be happening in step one of the sequencer output
command when true.

• The sequencer transfers the file B10:1 to the output


register O:2.0.

• The red light for the North South direction is connected


to O:2/0 and the green light for the East West direction is
connected to O:2/6.
AEI602.64 to 65 12
The example of a palletized conveyor
system

AEI602.64 to 65 13
Palletized Conveyor System…

• A schematic of the conveyor system is shown above.

• The conveyor system is set up so that there are sixteen


different pallets being transported on the conveyor.

• Each pallet is identified by a two bit code set by magnets


on the pallets.

AEI602.64 to 65 14
Palletized Conveyor System…

• The conveyor transports the pallets to the process

stations.

• The 0010 and 0011 pallets do not need to go through

the first process so they can be directed around the first

process station.

AEI602.64 to 65 15
Palletized Conveyor System…

• This will be accomplished using the sequencer compare

command.

• When the magnetic code reader identifies one of the

two pallets, the pallet is sent across the transfer

conveyor.
AEI602.64 to 65 16
Ladder Logic

AEI602.64 to 65 17
Palletized Conveyor System…

• The JMP command along with the LBL commands keep


the program cycling through the SQC command until one
of the two pallets are found.

• The IIM command places the number of the pallet


approaching the crossover point into the I:1.0 file or input
word.

AEI602.64 to 65 18
Palletized Conveyor System…

• When one the pallets code matches the number in the

sequencer file (B10:1)

• Then the output O:2/1 is enabled which sends the pallet

across the transfer conveyor.

AEI602.64 to 65 19
Palletized Conveyor System…

• Each time one of the two pallets are read the FD bit is

activated for one scan of the program.

• The jump command keeps the program cycling through

the SQC command until the one of the pallets is found.

AEI602.64 to 65 20
Palletized Conveyor System…

• When the FD bit is false jump command continues this

cycle.

• When the FD bit is true the program is allowed to pass

out the cycle for one program scan.

AEI602.64 to 65 21
Palletized Conveyor System…

• On the next scan the FD bit is reset and program cycles

through the SQC command until the other pallet is found.

• When both of the pallets have been found the DN bit is

made true and allows the program to pass out of the

jump cycle and continue on through the program.

AEI602.64 to 65 22
Palletized Conveyor System…

• The program then resets on the next scan and both


pallets are again checked for.

AEI602.64 to 65 23
Summary

We have discussed

• Applications to simple process control

AEI602.64 to 65 24
QUIZ

1. In traffic control system, TON timers will be


used to initiate the stepping of the

• sequencer file

• Timer file

• Counter file

• None
Ans: a
AEI602.64 to 65 25
Frequently Asked Questions

1. Write Ladder Logic for a simple Traffic control system?

AEI602.64 to 65 26

S-ar putea să vă placă și