Siemens SPS starter kit 6ED1057-3BA00-0AA8 12 Vdc, 24 Vdc 6ED1057-3BA00-0AA8 データシート

製品コード
6ED1057-3BA00-0AA8
ページ / 378
 
Reference material 
 
5.3 Special functions 
LOGO!Soft Comfort Online Help 
Operating Instructions, 06/2014 
291
 
5.3.4.4 
Example 
Prerequisites 
Sensor: temperature sensor, measuring range: -50 °C to 100 °C  
Temperature to be measured: 25 °C 
Order of events with LOGO!Soft Comfort 
1.  The sensor converts the temperature from 25 °C to a voltage value of 5.0 V. 
2.  LOGO!Soft Comfort converts the 5.0 V to the standardized value 500. 
3.  Using the sensor and measurement range data, LOGO!Soft Comfort calculates and 
ascertains the value 0.15 for the gain and the value -50 for the offset. 
According to the formula: 
Analog value = (standardized value × gain) + offset  
LOGO!Soft Comfort calculates as analog value: 
Analog value = (500 × 0.15) - 50 = 25 
Order of events with LOGO! 
1.  The sensor converts the temperature from 25 °C to a voltage value of 5.0 V. 
2.  LOGO! converts the 5.0 V to the standardized value 500. 
3.  From the sensor and measuring range data, you must establish the values for gain and 
offset. 
According to the formulas: 
Gain = (max
Sensor
 – min
Sensor
) / (max
norm
 – min
norm
and 
Offset = min
Sensor
 – (Gain × min
norm
it follows that 
Gain = (100 – (-50)) / (1000 – 0) = 0.15 
Offset = -50 – (0.15 × 0) = -50 
4.  According to the formula 
Analog value = (standardized value × gain) + offset  
LOGO! calculates as analog value: 
Analog value = (500 × 0.15) - 50 = 25