christiansandberg / canopen

CANopen for Python
http://canopen.readthedocs.io/
MIT License
449 stars 196 forks source link

Error BUS HEAVY BUS LIGHT #549

Open SyedArif245 opened 2 days ago

SyedArif245 commented 2 days ago

We are using D 20 9 pressure Sensor, but sensor is not communicating(not sending power up message)

acolomb commented 2 days ago

What kind of error message do you get and where do you see it?

The "BUS HEAVY" and "BUS LIGHT" labels I recognize from Peak's PCAN-View software. Is that where you see them? In that case, it indicates a physical problem with your CAN bus.

SyedArif245 commented 1 day ago

yes BUSHEAVY and BUS LIGHT I have seen that in PCAN software before at one end we connected terminating resistor. now i connected on the other end as well but still sensor is not communicating

Baudrate was configured to 500kbps Same given in PCAN as well. ""Cabling (conductors swapped somewhere)"" the above point i am unable to understand

sveinse commented 4 hours ago

This doesn't sound like a canopen issue which is the topic for this project. It sounds like an issue with that module or the CAN bus as earlier stated. A tip could be to start with a CAN-bus configuration that's known to work and change one thing at a time. E.-g. so you have another CAN module you're able to connect to and communicate to using the PCAN adapter without connecting the D20 sensor? If this works without the sensor, but fails to work when the D20 sensor is connected, you know there is something related to the sensor that's not working.

Best of luck.