# How To: Read LM Sensors (CPU Temp) on 752-9800 i7 Edge Computer

**URL:** <https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221>\
**Category:** Hardware and Linux\
**Tags:** edge-computer, how-to, linux\
**Created:** [August 19, 2022, 6:56pm UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221 "2022-08-19T18:56:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [August 19, 2022, 6:56pm UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221/1 "2022-08-19T18:56:37Z")

</div>

These steps will allow the CPU tempurature sensor to be displayed via a command line tool.

1. SSH into the controller (root/wago)
2. type:

> apt-get update  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/aa03884f2fd811642c8a02acf4f9490dde3c8930.png)

3.type:

> apt-get install lm-sensors  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/bbe72560b563e2b4eb0865e05c46dc640bc72a94.png)

1. type:

> sensors-detect  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/dfa417b70bddb6806e888485f618a7e01b0f7a09.png)

Then type YES to add the Intel thermal sensor. Click no on the other questions until the end where it asks to add to the /etc/modules file, then type YES.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/9585cebb536d85c15695a667b790b1f4d66eadf0.png)

1. To see the current temperature, simply type:

> sensors  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/1c7a323da30c2a60bbcf1f55dcba2ca55bbe7084.png)

or to monitor continuously type:

> watch sensors  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/b8b276a13fc6fd46a0cdf59e795cd1fd0d15f212.png)

---

<div class="post-metadata">

**Author:** ![WagoChris](https://avatars.discourse-cdn.com/v4/letter/w/fbc32d/32.png) [@WagoChris](https://www.wago.community/u/WagoChris)\
**Post date:** [February 8, 2023, 4:39pm UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221/2 "2023-02-08T16:39:42Z")

</div>

Is there a way to install the lm-sensors package on a PFC200 Controller?  
Or to be more specific: How can we get the CPU temperature and system supply voltage from a PFC200?

---

<div class="post-metadata">

**Author:** ![WagoDamRud](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagodamrud/32/258_2.png) [@WagoDamRud](https://www.wago.community/u/WagoDamRud)\
**Post date:** [February 10, 2023, 8:56am UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221/3 "2023-02-10T08:56:02Z")

</div>

It’s not available in PFC, only TP & EDGE Ctrl:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/a7c4640cd7f2d9295219423eca15ed04af350c5c.png)  
**thermal\_zone** directories direct us to thermometers placed on the board.

You can read them easy without any external program:  
`cat /sys/class/thermal/thermal_zone0/temp`  
EDGE Computer:  
`cat /sys/class/thermal/thermal_zone0/temp`  
`cat /sys/class/thermal/thermal_zone1/temp`

---

<div class="post-metadata">

**Author:** ![gjiorg](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/gjiorg/32/1575_2.png) [@gjiorg](https://www.wago.community/u/gjiorg)\
**Post date:** [June 23, 2025, 10:02am UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221/4 "2025-06-23T10:02:24Z")

</div>

Hello, I am searching for the same thing as Chris,  
a Wago library to get the CPU temperature directly in Codesys  
I am also interested in getting working environment properties like  
PLC Cycle time  
Memory size  
the status of the PLC in general  
(I am working with CC100, PFC200 and PFC300)  
Should we handle this only on Linux?

---

<div class="post-metadata">

**Author:** ![gjiorg](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/gjiorg/32/1575_2.png) [@gjiorg](https://www.wago.community/u/gjiorg)\
**Post date:** [July 7, 2025, 1:15pm UTC](https://www.wago.community/t/how-to-read-lm-sensors-cpu-temp-on-752-9800-i7-edge-computer/221/5 "2025-07-07T13:15:46Z")

</div>

hello there,

I “found” the same working way with PFC300 to get the temperatures:  
With the linux command:  
grep -h . /sys/class/thermal/thermal\_zone\*/temp | xargs | tr -d ‘\n’ (edited)  
you have the right output!  
Then, you create a bash script (750 rights) inside /etc/config-tools (ShowTemps.sh)  
and then, you use the WagoAppConfigTool.FbConfigTool function in Codesys,  
with these call  
xExecute:= xGetCPUsTemp,  
sCallString:= ‘ShowTemps.sh’,  
sResultString=\> sResultTemps

You get something like ‘48146 47246’ (I am guesing these are temp CPU0 and CPU1)  
then you need one SPLIT (I used Codesys standard) and 2 converts STRING\_TO\_REAL and divide by 1000,  
and you are ok!  
Thank you Eckhard for the recording [https://www.wago.com/global/lp-thank-you-onlineseminar-pfc-console](https://www.wago.com/global/lp-thank-you-onlineseminar-pfc-console)

I hope this would be useful for someone else!  
George
