4 Temperature Measurement Module DVP04PT-E2
D40 ~ D43: present Celsius temperature at CH1 ~ CH4
D50 ~ D53: present Fahrenheit temperature at CH1 ~ CH4
3. Program explanation
M0=Off, set the average times of input signals at CH1 ~ CH4 as 10; M0=On set the average times of input
signals at CH1 as 1.
M1=Off, temperature unit = °C; M1=On temperature unit = °F.
M0=Off, M1=Off, store the average Celsius temperature at CH1 ~ CH4 into D20 ~ D23.
M0=Off, M1=On, store the average Fahrenheit temperature at CH1 ~ CH4 into D30 ~ D33.
M0=On, M1=Off, store the present Celsius temperature at CH1 ~ CH4 into D40 ~ D43.
M0=On, M1=On, store the present Fahrenheit temperature at CH1 ~ CH4 into D50 ~ D53.
DVP04PT-E2 stores the obtained temperature value to special registers. Therefore, you only need to read
the content in the special registers to obtain the measured temperature. Unit of temperature: 0.1°C or
0.1°F.
4. Program example
Ladder diagram: Explanation:
Set the average times at CH1 ~ CH4 as
10
Set the average times at CH1 ~ CH4 as
1
Display Celsius degrees (
°C)
Display Fahrenheit degrees (
°F)
Read average Celsius degrees at CH1 ~
CH4
Read average Fahrenheit degrees at
CH1 ~ CH4
Read present Celsius temperature at
CH1 ~ CH4
Read present Fahrenheit temperature at
CH1 ~ CH4
END
K0
K4TOP K2
K1
K0 K1
TOP K7
H1
M1
K0
K1TOP K7
H0
M1
K0 K4TOP K2 K10
M0
M0
M0 M1
M1
M0 M1
M1
D9900
D40
D9900
D50
D9900
D20
D9900
D30
K4
K4
K4
K4
BMOV
BMOV
BMOV
BMOV
4.8.2 How to Set the Module Wizard in WPLSoft
1. Open WPLSoft and click on .
2. You will see the “Auxiliary Design of Extension Module” window. Click on NO. “0” and select “DVP04PT
Tem p er at ur e Mea su re men t Mo du le ”.
DVP-ES2 Module Manual
-14