CAN_ComFault

Top  Next

CAN_ComFault


get CAN bus communication fault state according to its RxWatchdog

Since R2019b

 

Library: CAN Bus Controller ( Dafulai Electronics) /CAN_ComFault

 

 

CAN_ComFault

 

 


 

Description


 

This block will indicate whether CAN Bus communication fault occurs according to its RxWatchdog. You must enable RxWatchdog in CAN_setup block in order to get correct communication state. Otherwise, we will get "always communication normal" (Output port= false)

 

Notes: This block has nothing to do with refresh. It will output fault state even though you didn't run any refresh (Auto-refresh or manually refresh block)

 

Parameters


 

Please double click this block to open parameters dialog below:

 

CAN_ComFault_parameter

 

 

Let us explain parameters.

 

 

Object ID for multiple CAN Bus controllers — In one PC, we may use multiple CAN bus controllers, this is for identifying each one we use. It must match the same parameter in CAN_setup block.

 

 

Ports


 

Input

 

None

 

Outport


 

Fault — "logical" scalar. True means CAN bus communication fault.

 

Examples