Hello, I am trying to create an Ethernet/IP device that can read analog signals, do some basic logic on it and then hand communicate the results to an Ethernet/IP master. I am using the Raspberry Pi to experiment with this as I would ultimately like to drive a display as well.
I have loaded up the runtime on the Pi and got the digital I/O working. I have an ADS1115 ADC to I2C board and I can't get it to work, I get a message telling me the i2c master is not running and I am not sure where to start with this. Is there a manual for running CODESYS on the Pi or something like that I am missing?
I have added in the library and device manually and copied the structured text program but lost at what to do if the core functionality of the master is not running.
Hello, I am trying to create an Ethernet/IP device that can read analog signals, do some basic logic on it and then hand communicate the results to an Ethernet/IP master. I am using the Raspberry Pi to experiment with this as I would ultimately like to drive a display as well.
I have loaded up the runtime on the Pi and got the digital I/O working. I have an ADS1115 ADC to I2C board and I can't get it to work, I get a message telling me the i2c master is not running and I am not sure where to start with this. Is there a manual for running CODESYS on the Pi or something like that I am missing?
I found this post and opening the project in CODESYS V3.5 SP21 it seems like tons of this wouldn't convert properly
https://forge.codesys.com/forge/talk/Runtime/thread/f1400b71b6/
I have added in the library and device manually and copied the structured text program but lost at what to do if the core functionality of the master is not running.
I appreciate any help, thanks.
for i2c you need to enable it by:
sudo raspi-config
interfaces.... then it will work
Thank you. I didn't realize it wasn't enabled for the Pi as a whole. I enabled i2c in the terminal and things are working now.