Professional Documents
Culture Documents
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
Value1 Value2
Min1 Min2
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys
7V ??? °C
0V 10 °C
Analog Signals Scaling PLC Programming – Learn the basics with CoDeSys
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
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
𝑉1 − 𝑀𝑖𝑛1
𝑉2 = ∙ 𝑀𝑎𝑥2 − 𝑀𝑖𝑛2 + 𝑀𝑖𝑛2
𝑀𝑎𝑥1 − 𝑀𝑖𝑛1