I want to measure and see the processor temperature in Codesys code.
Tell me how to do it?
Command request comes to the mind in SSH -VcGencmd Measure_Temp
But I do not know whether you can call such commands from Codesys?
Maybe there is an alternative way measuring temperature?
"Read ProcessorTemperature of the Pi and Show cpuinfo in IEC -
add in /etc/CODESYSControl_Usr.cfg the [SysProcess] section
Output of the executed command will be filled into pszStdOut"
Thanks! After clicking on the link I did not find the instruction.
Can you describe in more detail?
click on the link and then scoll down -> more posts then scoll until you find the screenshot - and there you'll find the project I guss.
I went over the link. The project did not find. Links do not pass
As I understood the whole thing in the sysprocessexecutecommand2 function. Using it, you can call commands?
Thanks! Saw everything!
It is a pity in the project description there is no description that it is to write in codesyscontrol_usr.cfg
Log in to post a comment.