Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Raspberry Pi Processor Temperature

tomas111
2021-09-21
2021-09-21
  • tomas111

    tomas111 - 2021-09-21

    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?
    Thanks.

     
  • tomas111

    tomas111 - 2021-09-21

    Thanks! After clicking on the link I did not find the instruction.
    Can you describe in more detail?

     
  • eschwellinger

    eschwellinger - 2021-09-21

    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.

     
  • tomas111

    tomas111 - 2021-09-21

    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?

     
  • tomas111

    tomas111 - 2021-09-21

    Thanks! Saw everything!
    Excellent example.
    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.