Jump to content

How to know when a CAN bus command is really sent??


Recommended Posts

Hi

 

is there a way to know when a CAN bus command is sent?

 

I'm using the instruction "CANopen SDO download STR", the predefined functionblock to send a command.

 

Cause i want to send multiple commands as fast as possible i need to know when a previous sent command has finished in the servocontroller i am working with.

 

Now I start a timer after each command for  which I know the command is certainly processed before sending a next command (in my case in need to set it 40ms, what is to slow)

 

Someone has ideas how to handle this?

 

thanks

Link to comment
Share on other sites

  • 2 weeks later...

Hi CFBFP,

 

In general, CANopen has a success bit for NMT, Emergency, TPDO and RPDO commands.

However, SDO commands does not have this acknowledgment indication. 

If you cant use PDO commands in your application, you can try the following:

Use SB242 (CANopen SDO in Progress) and SB243 (CANopen SDO transfer failed) to create logic that will resend a command in case it failed to send.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.