CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Wed Oct 18, 2017 8:44 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CANOpen Slave
PostPosted: Tue Jan 10, 2017 9:18 am 
Offline

Joined: Fri Dec 23, 2016 9:04 am
Posts: 5
Hi,

I was trying to set up BBB as a CANOpen device. I added one TPDO and one RPDO. But I couldn't seem to get the device running("Not Running" is shown in status). I have started CAN0 using the command "ip link set up can0 type can bitrate 250000". What am I missing?

Thanks!

Ricky


You do not have the required permissions to view the files attached to this post.


Top
   
 Post subject: Re: CANOpen Slave
PostPosted: Tue Jan 10, 2017 10:04 am 
Offline

Joined: Fri Dec 23, 2016 9:04 am
Posts: 5
Hi,

I restarted the board and I got a bus failure. The diag message read "EMCY: Error Passive".

After that I brought CAN0 down and up, and made some minor changes to the program(just to make sure it recompiled), downloaded it again. And when the program started I got the same "Not Running" message on the device(the CANBUS says "Running") as before.

I hope this would help with the problem solving.

Ricky


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited