PLC Introduction
PLC Introduction
PLC Introduction
1- Introduction.
2- Wiring
Switch-on behavior
3- Integrated functions
Connectors
Basic functions
Special functions
First program
# Name
# Company
# Job title
Po
su
pl
er
w
y
p
1 n.c
switch
Input Cpu Output
0 n.o module module
switch
# Power supply
# Inputs Modules
# Outputs Modules
240V ac
110V ac
24V dc
Provides all the voltage level needed to operate the PLC. Converts 110V ac or 240V ac into
the dc voltage required by the CPU, memory, I/O interface
Consist of:
# Processor
# Memory
Receives information from input interface, process according to the program stored,
update the output information.
The term PLC inputs refers to the devices and transducers which are entrusted with taking
in information about the physical world to the PLC. Keep in mind that it also refers to the
PLC hardware that connects to those devices, sensors and transducers. The PLC uses this
input information to make decisions based upon its program whether to energize and de-
energize the outputs controlled by the PLC.
Binary signals can assume only 2 signal states: signal state 1 (voltage present) and
signal state 0 (no voltage present). In control engineering, it is frequently necessary to
read, process and output analog signals in addition to binary signals. In contrast to
binary signals, analog signals take on any number of values within a specific range.
Possible analog variables include:
● Current transducers
– 2-wire transducers
– 4-wire transducers
● Resistance transducers
– 4-wire connection
– 3-wire connection
– 2-wire connection
● Thermocouples
Speed measurement
A CPU processes information exclusively in digital format. The analog value is therefore converted into a
bit pattern. Conversion is done using an integrated ADC (analog-to-digital converter) in the analog input
module. For the CPU, this conversion always returns a 16-bit word for SIMATIC products. The ADC used
digitalizes the analog signal and approximates its value with a stepped curve. Resolution and conversion
speed are the most important ADC parameters.
Once the CPU has processed the digital signal, an integrated DAC (digital-
to-analog converter) in the analog output module converts the output
signal to an analog current or voltage value. The resulting value of the
output signal corresponds to the output value used to control the analog
actuators. Such actuators include, for example, small servo drives or
proportional valves
If the resolution increases from 13 bits to 16 bits, the number of increments increases
eightfold from 4096 to 32768. With a resolution of 13 bits, the smallest value that can
be displayed is therefore 2.4 mV. By contrast, this value is approximately 0.3 mV at a
resolution of 16 bits.
- Smart relay .
- Compact type.
- Module type.
A PLC is a Programmable Logic Controller and was first used to replace relay circuits.
IEC 61131-3 is the electrical standard for PLC programming methods,
This is the most common of the PLC Methods. The diagram looks like a wiring schematic for a relay circuit
with the power line on the left and the outputs on the right. This is the main programming method for PLCs
in industrial controls. It is referred to as a ladder diagram because when you look at it, it looks like a ladder
with the inputs and outputs of the program contained on each rung. As an example, you have a proximity
sensor that when triggered, sends 24VDC to the PLC. In the program, you want that trigger to power on a
motor. The rung for that sequence will look like this: --||-----( )--, where --||-- represents the input from the
proximity sensor and –( )--represents the motor output.
The function block diagram method is also a pictorial method of programming. It consists
of blocks for each function that show the inputs and outputs for more complex sequences
and lines drawn between each block illustrating what each output will do and what will
affect each input.
The individual elements of the circuit diagram are subsequently inserted. To do this, the
catalog with the elements of the switching program is opened in the left margin of the screen
(Fig.1.16, d). It could be the case that this window is so narrow that it is not even visible. The
width must then be increased by dragging with the mouse (Fig. 1.16, f). The catalog contains
all elements available in LOGO! Soft which can be used to generate the program.
To insert the elements, select the desired objects in the catalog. The output terminals Q are
marked in Fig. 1.17 g. There are two methods for inserting the elements h:
– by dragging & dropping into the circuit
diagram
or
– by inserting by mouse click into the circuit
diagram.
32
Grain store (sequential circuit)
Task description
Eng.Ahmad Yousef 33
Hardware configuration
# Selection of LOGO!
Various parameters must be discussed in order
to define the LOGO! modules
During the system analysis (Fig. 4.8), the total system is divided into objects. If possible, these
are spit into further objects The smallest possible units are then programmed and simulated.
The objects are subsequently combined into a total system, and tested using simulation.
# "Properties" window
38
# Simulation
When clicking the "Simulation" button,
an input bar is displayed at the bottom
margin of the screen.
# Transfer of program
1- Connection of PC/notebook to the LOGO!
43
My friends please don’t forget to save
the program on your own PC
Project # 3 Filling / Draining Control Operation
44
Project # 4 Part Sorting