eddykl - 2021-05-30


I plan to implement a weight scale with a HX711 ADC, using load cells with a Raspberry Pi.

I got a working python script, which is printing me the weight result in gramm (in INT).

I heared about the function: SysProcessExecuteCommand2 (FUN), which should allow me to read the process values comming from the python script in CODESYS.

Can anyone explain me this function/method, how I can make it work?

The Function:

Thanks in advance


Last edit: eddykl 2021-06-04