I am recently started using raspberry pi & new to this field. i need to integrated ADC Pi Plus board with raspberry pi 3 for my project to measure analogue input from the board. i have a python file which works perfectly, anyone have any idea about how to use it in structured text in codesys? i understand i need to make a device description file and a new library for that. here is the link of the ADC Pi Plus device and the python script.
I also do the same project but with ladder instead of structured text and I also have the same problem, so Can you please help me if you succeeded in that!?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am recently started using raspberry pi & new to this field. i need to integrated ADC Pi Plus board with raspberry pi 3 for my project to measure analogue input from the board. i have a python file which works perfectly, anyone have any idea about how to use it in structured text in codesys? i understand i need to make a device description file and a new library for that. here is the link of the ADC Pi Plus device and the python script.
https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter
ABE_ADCPi.py [10.86 KiB]
ABE_helpers.py [1.44 KiB]
demo readvoltage.py [1.26 KiB]
Hello,
Did you succeed in doing it!?
I also do the same project but with ladder instead of structured text and I also have the same problem, so Can you please help me if you succeeded in that!?
Thanks.