RevPi and CanOpen Magnetic Line Sensor
RevPi and CanOpen Magnetic Line Sensor
I have a Revolution Pi Connect and a Con Can Module which is connected to a Magnetic Line Sensor, I am trying to get the data from it however "candump can0" shows nothing, and I have also created a python program to receive data. Is there something I'm missing?
Re: RevPi and CanOpen Magnetic Line Sensor
Hi, just have a look at the ConCAN Tutorial. Maybe you have to use an oscilloscope to see what or if something comes over the wires. Is the device in the run mode? etc.
Re: RevPi and CanOpen Magnetic Line Sensor
I've looked at the ConCan tutorial however it doesn't show any data coming from the sensor, even with loopback ondirk wrote: ↑26 Jun 2019, 11:48 Hi, just have a look at the ConCAN Tutorial. Maybe you have to use an oscilloscope to see what or if something comes over the wires. Is the device in the run mode? etc.
Edit: I have also tried using CodeSYS however I can't see any output of data anywhere. Perhaps this is because it is setup as a DIO module in the tutorial instead of a CONCAN module?
Edit 2: I have data coming from the device, however at a very slow rate when it should be much faster, is there a way to clear the buffer and recieve the data continously
Re: RevPi and CanOpen Magnetic Line Sensor
After trying a different MLS sensor the data was being posted every 0.01 seconds which is at the ideal speed. So there must be an unknown error with the original sensor however, this did work with a CANET-2 (CAN to Ethernet) device
Last edited by fzeta on 05 Aug 2019, 10:18, edited 1 time in total.
Re: RevPi and CanOpen Magnetic Line Sensor
Thank you for your positive reply that you have solved the problems. This happens. I wish you a good, happy and successful work with the RevPi.