CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Dec 19, 2018 5:20 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Apr 23, 2018 12:40 pm 
Offline

Joined: Tue Jul 25, 2017 1:30 am
Posts: 8
I using CodeSys 3.5.12.10 with PFC200 3.5.12.20 (Wago 8206). I'm trying to create a standalone application that will communicate with a Wipotec scale using CANopen.

The first thing I do to the CANOpen interface is to check if the Manager is ready using the CIA405.GET_CANOPEN_KERNEL_STATE. When I perform this call in the debugger, it works fine and returns that the manager is ready. If I run the same application without the debugger, the method returns that the manager is in CANOPEN_KERNEL_DATA_OVERFLOW state. I have not found a good explanation for this state or how to get the manager to the ready state.

Is there a place for good documentation on the CIA405 library or does someone know how to get out of this state?

Thanks


Top
   
PostPosted: Tue Apr 24, 2018 6:34 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3025
Hi,
I would recommend to the the CANopen example from CODESYS Store.
(use the Shopping cart to install these examples and all addon's)

-> to check what happens on the bus add CANOPEN_DEBUG as Compiler define under the application properties
(this lead to log Messages in the plc logger to figure out whats going out on the canbus)

BR
Edwin


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


Top
   
PostPosted: Mon Apr 30, 2018 3:36 pm 
Offline

Joined: Tue Jul 25, 2017 1:30 am
Posts: 8
I was able to add the CANOPEN_DEBUG option to my applications. It shows that the manager believes that all the slaves are booted, only one Wipotec scale. After which it attempts to send configuration SDOs to the scale. This results in controller issuing a Reset Communication and the loop starting over. I attached a screenshot of the log.


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


Top
   
PostPosted: Wed May 02, 2018 1:45 pm 
Offline

Joined: Tue Jul 25, 2017 1:30 am
Posts: 8
Who is the vendor for the CANOpen support in the PFC200 runtime?


Top
   
PostPosted: Wed May 02, 2018 7:43 pm 
Offline

Joined: Tue Jul 25, 2017 1:30 am
Posts: 8
Where can I find other compiler options for the CANOPen implementation in the PFC200?

Thanks


Top
   
PostPosted: Thu May 03, 2018 4:41 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3025
H,
could you please use 'my question' (logged in to the CODESYS store) to rise a bugreport ?

BR
Edwin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 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