0% found this document useful (0 votes)
84 views8 pages

5 - Analog Scaling - (FreeCourseWeb - Com)

The document discusses analog signals scaling in PLC programming. It explains that analog inputs and outputs can assume values within a range, like 0-10V. It then shows a formula for scaling analog signals between different ranges: V2 = (V1 - Min1) / (Max1 - Min1) * (Max2 - Min2) + Min2. This scales an input value V1 from range Min1 to Max1 to an output value V2 in the range Min2 to Max2. An example scales a voltage of 7V on a 0-10V range to 38°C on a 10-50°C range.

Uploaded by

Subha Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views8 pages

5 - Analog Scaling - (FreeCourseWeb - Com)

The document discusses analog signals scaling in PLC programming. It explains that analog inputs and outputs can assume values within a range, like 0-10V. It then shows a formula for scaling analog signals between different ranges: V2 = (V1 - Min1) / (Max1 - Min1) * (Max2 - Min2) + Min2. This scales an input value V1 from range Min1 to Max1 to an output value V2 in the range Min2 to Max2. An example scales a voltage of 7V on a 0-10V range to 38°C on a 10-50°C range.

Uploaded by

Subha Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling


Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Inputs
Input signals for that PLC that may assume any value within a
certain range (e.g: 0-10 V)

Analog
CPU
NUMBER
V Input
Boards
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Outputs
Output signals for that PLC that may assume any value within
a certain range (e.g: 0-10 V)

Analog
CPU
NUMBER

Output V
Boards
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling


Max1 Max2

Value1 Value2

Min1 Min2
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling


10 V 50 °C

7V ??? °C

0V 10 °C
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling


Max1 Max2

Value1 Value2

𝑉1 − 𝑀𝑖𝑛1
𝑉2 = ∙ 𝑀𝑎𝑥2 − 𝑀𝑖𝑛2 + 𝑀𝑖𝑛2
𝑀𝑎𝑥1 − 𝑀𝑖𝑛1

Min1 Min2

10 V 50 ° C

7V ???

7−0
𝑉2 = ∙ 50 − 10 + 10 = 38 °𝐶
10 − 0

0V 10 °C
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling


Max1 Max2

Value1 Value2

𝑉1 − 𝑀𝑖𝑛1
𝑉2 = ∙ 𝑀𝑎𝑥2 − 𝑀𝑖𝑛2 + 𝑀𝑖𝑛2
𝑀𝑎𝑥1 − 𝑀𝑖𝑛1

Min1 Min2

10 V 50 ° C

??? 38 °C

38 − 10
𝑉2 = ∙ 10 − 0 + 0 = 7 𝑉
50 − 10

0V 10 °C
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys

Analog Signals Scaling

𝑉1 − 𝑀𝑖𝑛1
𝑉2 = ∙ 𝑀𝑎𝑥2 − 𝑀𝑖𝑛2 + 𝑀𝑖𝑛2
𝑀𝑎𝑥1 − 𝑀𝑖𝑛1

You might also like