PLUS+1 User Forum
PLUS+1 Hardware => Controllers => Topic started by: lijun0 on August 02, 2015, 11:24:04 AM
-
Gentleman,
I have a questyion. When one micro. is receiving message using the CAN_Rx mudular in the basic FB librey how can I identify that the sending micro. is off bus. Since I tested to see the received data remains unchanged even the sender stopps or off bus. This is a safety concern. I had tried to use the Rx (updated) but found this dioesn't tell anything (alwase in off status). Any other means to identify this status?
-
Sorry, after further test I found it can use the updated(Rx) to identify the status.
Thanks!
-
If your data is really sensitive, I would prefer to add a simple counter in data. That way you can easily detect a timeout or missing data packages.
-
Hey,
I always use the Rx output of the block and connect this to an off delay.
Then you can define the "error detecting time.
Connect all delay outputs with an OR . Goes the output of the OR Block TRUE, you know that there is an CAN Error.
Best regards
FStelzer
-
Hey,
I always use the Rx output of the block and connect this to an off delay.
Then you can define the "error detecting time.
Connect all delay outputs with an OR . Goes the output of the OR Block TRUE, you know that there is an CAN Error.
Best regards
FStelzer
This is a great idea, thank you for the input