rxCANBusRTR

Top  Next

rxCANBusRTR


receive CAN Bus Data frame

Since R2019b

 

Library: CAN Bus Controller ( Dafulai Electronics) /rxCANBusRTR

 

 

rxCANBusRTR

 

 


 

Description


 

This block receives one CAN RTR frame.. This is non-block function. It will return immediately no matter whether it receives your interesting CAN ID.  The output port "Rx" (logical value) will tell you whether received RTR frame.

 

 

Parameters


 

Please double click this block to open parameters dialog below:

 

rxCANBusRTR_parameter1

 

 

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.

 

Received CAN ID — Received CAN bus frame's CAN ID. It is scalar.

 

Extended — true means "Received CAN ID" is 29 bits of extended. Otherwise, it is 11 bits of standard.

 

 

 

Ports


 

Input

 

None

 

Outport


 

Rx — "logical" scalar. True means we received RTR frame in this sample time.

 

Examples