You are on page 1of 21

5.

Analog Signal Processing

www.hcmute.edu.vn
Analog Introduction

An analog value is continuous,


not discrete

Typical analog inputs and outputs for PLCs  Module Analog Input: digital-to-
Inputs signal Output signal analog (D/A) conversion
• Oven temperature • Fluid valve position  Module Analog Output: analog-
• Fluid pressure • Motor position to-digital (A/D) conversion
• Fluid flow rate • Motor velocity
www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Input Module

The continuous voltage value must


be sampled and then converted to a
numerical value by an A/D converter

www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Input

Analog input physical wiring in field

www.hcmute.edu.vn
www.hcmute.edu.vn
Module Analog S7-1200

www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Value Representation
Analog Value Representation

Resolutions of the
Analog Values

www.hcmute.edu.vn
www.hcmute.edu.vn
Module 2AI - CPU 1214C

www.hcmute.edu.vn
www.hcmute.edu.vn
AI Digitized Measured Value

www.hcmute.edu.vn
www.hcmute.edu.vn
AI Digitized Measured Value

www.hcmute.edu.vn
www.hcmute.edu.vn
S7-1200 AI Configuration

www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Output
To set an analog output an integer is converted to a voltage

www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Output
To set an analog output an integer is converted to a voltage

www.hcmute.edu.vn
www.hcmute.edu.vn
Analog Output
Analog output physical wiring in field

www.hcmute.edu.vn
www.hcmute.edu.vn
Module 2AO - CPU 1214C

www.hcmute.edu.vn
www.hcmute.edu.vn
AO Digitized Value

www.hcmute.edu.vn
www.hcmute.edu.vn
AO Digitized Value

www.hcmute.edu.vn
www.hcmute.edu.vn
S7-1200 AO Configuration

www.hcmute.edu.vn
www.hcmute.edu.vn
Scale_X Function
Scales the normalized real parameter VALUE
where ( 0.0 <= VALUE <= 1.0 ) in the data type
and value range specified by the MIN and MAX
parameters:

OUT = VALUE (MAX - MIN) + MIN

SCALE_X parameter VALUE should be restricted to (0.0 <= VALUE <= 1.0)
www.hcmute.edu.vn
www.hcmute.edu.vn
Norm_X Function
Normalizes the parameter VALUE inside the
value range specified by the MIN and MAX
parameters:

OUT = (VALUE - MIN) / (MAX - MIN),

where ( 0.0 <= OUT <= 1.0 )

NORM_X parameter VALUE should be restricted to (MIN <= VALUE <= MAX)
www.hcmute.edu.vn
www.hcmute.edu.vn
AI Application
An analog input from an analog signal module or signal board using input in current is in the range 0 to
27648 for valid values. Suppose an analog input represents a temperature where the 0 value of the
analog input represents -30.0 degrees C and 27648 represents 70.0 degrees C
The resulting value is the temperature represented by the analog input in degrees C:

www.hcmute.edu.vn
www.hcmute.edu.vn
AO Application
An analog output to be set in an analog signal module or signal board using output in current must
be in the range 0 to 27648 for valid values. Suppose an analog output represents a temperature
setting where the 0 value of the analog input represents -30.0 degrees C and 27648 represents
70.0 degrees C.

www.hcmute.edu.vn
www.hcmute.edu.vn

You might also like