Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error BUS HEAVY BUS LIGHT #549

Open
SyedArif245 opened this issue Nov 21, 2024 · 11 comments
Open

Error BUS HEAVY BUS LIGHT #549

SyedArif245 opened this issue Nov 21, 2024 · 11 comments

Comments

@SyedArif245
Copy link

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

@acolomb
Copy link
Collaborator

acolomb commented Nov 22, 2024

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.

  • Cabling (conductors swapped somewhere)
  • Terminating resistors (need 120 Ohm on each end)
  • Mismatched bit rate

@SyedArif245
Copy link
Author

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
Copy link
Collaborator

sveinse commented Nov 24, 2024

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.

@SyedArif245
Copy link
Author

Basically it is a CANopen pressure sensor
it is an external pressure sensor.
I am facing issue with this,
Can you clarify that pressure can be send with out giving the power supply to sensor??

@sveinse
Copy link
Collaborator

sveinse commented Nov 26, 2024

I'm sorry, but I don't understand what you mean and I need to speculate what you are trying to say. Please describe more accurately what your questions are.

Can you clarify that pressure can be send with out giving the power supply to sensor??

Yes, a proper CANopen device will. But CANopen devices won't start sending data just by applying power. It must be configured by setting the NMT state to 'OPERATIONAL'. If these concepts are unknown to you, I suggest you acquire some CANopen knowledge and learn its concepts.

@SyedArif245
Copy link
Author

If sensor is not connected to power supply but the still air pressure sent to sensor
the i this case is there any chance of damaging internal Components?

@acolomb
Copy link
Collaborator

acolomb commented Nov 26, 2024

Can you clarify that pressure can be send with out giving the power supply to sensor??

I think @sveinse misread the question. WithOUT supplying power to the sensor, it can never function as a CANopen device. CANopen is an active communication protocol and it needs electrical power on each device.

@SyedArif245
Copy link
Author

Can you clarify that pressure can be send with out giving the power supply to sensor??

I think @sveinse misread the question. WithOUT supplying power to the sensor, it can never function as a CANopen device. CANopen is an active communication protocol and it needs electrical power on each device.

yes i understood your point
my question was if i pressurised the sensor with out giving power supply,
the is there any chance of internal damage pf sensor

@acolomb
Copy link
Collaborator

acolomb commented Nov 26, 2024

the i this case is there any chance of damaging internal Components?

That's a question you will need to ask your sensor supplier. I don't know of any pressure sensors that need electrical power to protect themselves from damage through applied gas pressure.

But really, this all has nothing to do with CANopen or with this Python library. You should learn the basics about your sensing business and some electronics / CAN basics before trying to use this library.

@SyedArif245
Copy link
Author

the i this case is there any chance of damaging internal Components?

That's a question you will need to ask your sensor supplier. I don't know of any pressure sensors that need electrical power to protect themselves from damage through applied gas pressure.

But really, this all has nothing to do with CANopen or with this Python library. You should learn the basics about your sensing business and some electronics / CAN basics before trying to use this library.

Thank you i wil check

@sveinse
Copy link
Collaborator

sveinse commented Nov 26, 2024

Can you clarify that pressure can be send with out giving the power supply to sensor??

I think @sveinse misread the question. WithOUT supplying power to the sensor, it can never function as a CANopen device. CANopen is an active communication protocol and it needs electrical power on each device.

Oh, indeed. Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants