Advanced PLC 4
Advanced PLC 4
ADVANCED PLC
Dr. Tamer Fetouh
Analog Inputs
• An analog PLC input is a continuous signal from a field input device to
the PLC control system.
• Analog inputs are characterized by signals with a range of values.
• The analog input module measures current or voltage signals from an
input device.
• These signals are usually measured in the range of
0-20 mA, 4-20 mA, 1-5 VDC, 0-10 VDC, etc.
• This means that the connected input device provides signals with any
intermittent value between the initial to the final range to the PLC’s
analog input module.
1
11/09/1444
Analog Inputs
Examples of Analog Input Devices in PLCs
1. Position/Displacement Sensors
Position sensors measure the distance between the location of the
target object and a specified reference point.
A. Linear and Rotary Potentiometers:
• These potentiometers operate on the principle of Ohm’s Law.
• Whereby, changes in their output voltages are used to represent
distance variations of the target objects.
Rotary
Potentiometers
Linear
Potentiometers
2
11/09/1444
Analog Inputs
B. Linear Variable Differential Transformer:
• This type of transformer is controlled by the displacement of a ferrous
magnetic core between a primary winding and two secondary
windings.
V1 – V2
Analog Inputs
2. Thermocouple Input Devices
• A thermocouple is a temperature sensor, that is used to measure
temperature variations.
• It is made up of two different types of metal wires connected together
to form a junction.
• Whenever the junction is cooled or heated, a small voltage signal is
produced in the electrical circuit of the thermocouple sensor.
• The generated voltage signals are usually small analog signals measured
in (mV) range.
• A thermocouple sensor can be used to measure very high operating
temperatures of up to 1600 °C.
6
3
11/09/1444
Analog Inputs
Analog Inputs
3. Resistance Temperature Detector (RTD) Inputs
• The RTDs are a class of sensors that change their resistance whenever
the temperature of the medium in which they are inserted changes.
• RTD sensors are similar in functionality to thermocouple sensors, but
they are generally more robust and accurate compared to the
thermocouple.
• They are used in many industrial processes which require accurate and
repeatable temperature measurements such as in chemical reactions,
heating, and cooling, pasteurization processes, etc.
4
11/09/1444
Analog Inputs
4. Pressure Transmitter
• Pressure transmitter is a mechanical device that
converts the expansion force of a liquid or gas sample
into an electrical output.
• The device converts the pressure into an electrical signal
by means of a transducer.
Measuring Ranges
• For the display of the measuring range, SIMATIC S7 distinguishes between the
rated range, the overrange and underrange, and the overflow or underflow.
• This distinction allows you to recognize whether the measured value is
actually in the measuring range determined in the technical specifications.
• The overflow and underflow ranges are reserved for error detection.
• At a resolution of 16 bits the theoretically possible 32768 increments are
distributed across a voltage range of 11.852 V, which means that only 27648
increments are actually available for the resolution of a measuring range of
10 V.
• The minimum value which can be represented is therefore 0.3617 mV.
10
5
11/09/1444
Measuring Ranges
• Example of resolution for the 0 to 10 V measuring range of a SIMATIC S7
module:
11
0 ~ 10 V
ADC 0 ~ 27648
IW10 : INT data Type
12
6
11/09/1444
PLC
Temperature Voltage Digital MW20 Temperature
Signal Scale to
Sensor Conditioning ADC Real
0 ~ 100 oC
0 ~ 100 oC 0 ~ 10 V 0 ~ 27648
MD30
13
as given below:
27648 ➔ 100 𝟏𝟎𝟎 ∗ 𝑴𝑾𝟐𝟎
𝑴𝑫𝟑𝟎 = 0
MW20 ➔ MD30 27648
0 MW20 27648
14
7
11/09/1444
15