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?
Hi,
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:
https://help.codesys.com/webapp/SysProcessExecuteCommand2;product=SysProcess%20Implementation;version=3.5.17.0
Thanks in advance
Last edit: eddykl 2021-06-04