Electrical Engineering Asked by Aman Kejriwal on December 6, 2021
I have a CANBUS with 3 devices on it. A PLC (CAN IO 14+, HAWE), a HMI (Barth DMA-20) and a 6 button CAN enabled button panel (Greyhill).
The issue is, when I remove the display from the network (without disconnecting power) to simulate a case of cable break, the button panel stops working as well after 30 seconds or so. While debugging the issue I noticed that the state of the CANBUS changes to BUSHEAVY during this period and this can be resolved only by doing a full power reset.
In my code, both the PLC and the HMI continuously send out CAN messages to communicate with each other.
What am I doing wrong here and how may I avoid the BUSHEAVY state? Or, is it a system limitation that I have to live with?
The bus load is supposed to reduce when you take away a node. If it doesn't, you either have only one active node and the others are silent. Resulting in acknowledge error. Or the nodes misbehave protocol wise.
Look on the bus (silently) and see what happens to the messages. If they increase, the unit that sends them does not understand CAN bus and you should contact the manufacturer.
CAN bus frames are not supposed to be sent back-to-back, there is supposed to be a minimum interval of 10-100 ms or longer depending on bus speed. Maximum bus load should not exceed 50% in all conditions, typically you want less than 30% before serious jitter is inserted.
Answered by Jeroen3 on December 6, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP