0% found this document useful (0 votes)
11 views39 pages

14 - PLC-Programming-Using-LogixPro

Uploaded by

Medroua
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
11 views39 pages

14 - PLC-Programming-Using-LogixPro

Uploaded by

Medroua
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 39

PLC Programming Using

LogixPro
By Engineer Ahmed Mahdy
Thank You For Joining our LogixPro Course

Make Sure to Check Our Khadija Academy Membership


with the Highest Secret Discount for You
Click Here
What is LogixPro?

• LogixPro is the ideal tool for learning the fundamentals of ladder logic
programming.
• LogixPro contains a lot of simulations.
• It help you to understand ladder diagram by seeing how it goes.
Example For Simulation
Other Simulation Examples Which Will Be Discussed
Important Symbols
Example Of Ladder Diagram
Scan Cycle
• The scan cycle is the cycle of which the PLC gathers the inputs, runs your PLC
program and then updates the outputs.
• This will take some amount of time often measured in milliseconds or ms.
• The amount of time it takes for the PLC to make one scan cycle is called
the scan time of the PLC.
Scan Cycle And Markers

• Marker is an imaginary output


used to indicate the occurrence
of certain event and used to do
certain function inside the
program.
• It is written inside the program as
B3/0 up to B3/1600.
Timers In PLC

• There are 3 timers in PLC: ON delay, OFF delay and retentive ON delay
timers.
• ON delay timer
Counters In PLC

• There are 3 counters in PLC: count up, count down and count up-down.
• Count up
Overview On PLC Hardware
• Programmable controllers can only understand a signal that is On or Off (present or not present).
• The binary system is a system in which there are only two numbers 1 and 0.
• Binary 1 indicates that a signal is present, or the switch is On.
• Binary 0indicates that the signal is not present, or the switch is Off.
Inputs And Outputs PLC
Inputs
• A sensor is a device that converts a physical condition into an electrical signal for use by the PLC.
• A pushbutton is one example of a sensor that is connected to the PLC input.

Outputs

• Actuators convert an electrical signal from the PLC into a physical condition.
• A motor starter is one example of an actuator that is connected
to the PLC output.
Inputs And Outputs PLC
Analog Inputs
An analog input is a continuous, variable signal.
Typical analog inputs may vary from 0 to 20 milliamps, 4 to 20 milliamps, or 0 to 10 volts.

Discrete Outputs
• A discrete output is an output that is either in an ON or
OFF condition.
• Solenoids, contactor coils, and lamps are examples.
• In the following example, a lamp can be turned on or off
by the PLC output it is connected to.
Inputs And Outputs PLC
Analog Outputs

• An analog output is a continuous, variable signal.


• The output may be as simple as a 0-10 VDC level that drives an analog
meter.
Examples of analog meter outputs are speed, weight, and temperature.
Overview On PLC Hardware
Overview On PLC Hardware
PLC Programming Languages
Ladder Diagram

• The left vertical line of a ladder logic diagram represents the


power or energized conductor.
• The right vertical line, which represents the return path on a
hard-wired.
Ladder logic diagrams are read from left-to-right, top-to-bottom.

Statement List

A statement list (STL) provides another view of a set of


instructions.
The operation, what is to be done, is shown on the
left.
The operand, the item to be operated on by the operation,
is shown on the right.
PLC Programming Languages
Function Block Diagrams

• Function Block Diagrams (FBD) provide another view of a set of instructions.


• Each function has a name to designate its specific task.
• Functions are indicated by a rectangle.
• Inputs are shown on the left-hand side of the rectangle and outputs are shown on
the right-hand side.
Advantages Of PLC

• The same, as well as more complex tasks, can be done with a PLC.
• Wiring between devices and relay contacts is done in the PLC program.
• Hard-wiring, though still required to connect field devices, is less intensive.
• Modifying the application and correcting errors are easier to handle.
• It is easier to create and change a program in a PLC than it is to wire and re-
wire a circuit.
• PLCs have integrated diagnostics and override functions.
• Diagnostics are centrally available.
• Applications can be duplicated faster and less expensively.
Task 1 In I/O Simulator
• Turn on a lamp by using latched output by clicking once on switch zero .
• Turn it off by using unlatched output by clicking once on switch 1.
Task 2 In I/O Simulator
• Turn on a lamp by start button for 5 seconds.
Task 3 In I/O Simulator
• Turn on motor 1 for 5 secs.
• Turn off motor 1 and turn on motor 2 for 4 sec.
• Turn off motor 2 and turn on motor 3 for 3 sec.
• Repeat cycle.
Task 4 In I/O Simulator

• Turn on motor 1 for 5 seconds.


• Then turn off motor for 2 seconds.
Task 5 In I/O Simulator

• Click on start to turn on and off a lamp for 5 times using counter.
Task 6 In I/O Simulator
• Turn on a lamp by click on start once.
• Turn off lamp by clicking again on start button.
Task 7 In I/O Simulator
• By clicking on start button motor 1 operates for 5 seconds.
• Motor 2 operates for 5 seconds.
• Motor 3 operates for 5 seconds.
• Motor 4 operates for 5 seconds.
• Motor 5 operates for 5 seconds.
Task 1 In Silo Simulator
• By clicking on start button, the motor drives the belt until proximity sensor
detects the box.
• Box is filled by liquid until level sensor gives signal.
• Box is driven to the end of the belt.
• 6 boxes are required then process stops.
Task 1 In Batch Simulator
• We would like to fill Tank to the full level by Pump 1 and Pump 2.
• After this we will operate the mixer to mix the two fluids together.
Task 2 In Batch Simulator
• First we will fill the tank by using pump 1.
• After that P3 will start emptying the tank.
Task 3 In Batch Simulator
• Marker which is an imaginary input Example: B3/0 , from 0 to 1600.
• If tank is empty, fill it by pump 1.
• If tank is full, empty using pump 3.
Task 4 In Batch Simulator
• Fill the tank by pump number 1 until high level.
• After reaching high level, mixer and heater start to work together.
• After reaching 40 Celsius degree, stop the heater and mixer.
• Empty the tank by pump number 3.
Task 5 In Batch Simulator
• Fill the tank by pump number 1 until high level.
• After reaching high level, mixer and heater start to work together.
• After reaching 40 Celsius degree, stop the heater and mixer.
• Empty the tank by pump number 3.
• All of these done using latched and unlatched outputs only.
Task 6 In Batch Simulator
• Fill the tank by pump 1.
• Empty tank by pump 3.
• Fill the tank by pump 2.
• Empty tank by pump 3.
• Continue from last step after clicking on stop.
Task 7 In Batch Simulator
• Fill the tank by pump 1 for 2 seconds.
• Fill the tank by pump 2 until high level.
• Operate mixer for 5 seconds.
• Operate heater until 35 Celsius degree.
• Empty tank by pump 3.
• Cycle is repeated.
• If liquid exists when I click on start button, use pump 3 to empty tank first.
Task 8 In Batch Simulator

• Fill the tank with 100 liters by pump 1.


• Fill the tank with 150 liters by pump 2.
• Operate mixer for 3 seconds.
• Operate heater till 30 Celsius degree.
• Empty the tank by pump 3 but wait for 2 seconds for each 50 liters.
Task 1 In Door Simulator
• Click open to open the door but close button is not activated during this
period.
• Click close to close the door but open button is not activated during this
period.
• This can be done by interlock between 2 motors.
Task 2 In Door Simulator
• Click open to open the door.
• Click close to close the door.
• AJAR activated when door is neither opened nor closed.
• Shut is activated when door is closed.
• Open is activated when door is opened.

You might also like