Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

COIfSend

Description

This function sends the given CAN frame on the interface without delay.

Prototype

CPU_INT16S COIfSend(CO_IF *cif, CO_IF_FRM *frm);

ParameterDescription
cif pointer to the interface structure
frm pointer to the transmit frame buffer

Returned Value

>0     the size of CO_IF.FRM on success

<0     the internal CanBus error code

Example

The send function may be used within the application to transmit additional messages on the CANopen interface. The following example show how to call the transmit function for the interface of the CANopen node AppNode:

Note: Be careful with transmitting additional messages on an active CANopen network. This might result in unpredictable behavior of the complete system.

  • No labels