Author |
Message |
tbambrough
|
PostPosted: Mon Apr 23, 2018 12:40 pm |
|
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 |
|
 |
Edwin Schwellinger
|
PostPosted: Tue Apr 24, 2018 6:34 am |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3143
|
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 |
|
 |
tbambrough
|
PostPosted: Mon Apr 30, 2018 3:36 pm |
|
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 |
|
 |
tbambrough
|
PostPosted: Wed May 02, 2018 1:45 pm |
|
Joined: Tue Jul 25, 2017 1:30 am Posts: 8
|
Who is the vendor for the CANOpen support in the PFC200 runtime?
|
|
Top |
|
 |
tbambrough
|
PostPosted: Wed May 02, 2018 7:43 pm |
|
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 |
|
 |
Edwin Schwellinger
|
PostPosted: Thu May 03, 2018 4:41 am |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3143
|
H, could you please use 'my question' (logged in to the CODESYS store) to rise a bugreport ?
BR Edwin
|
|
Top |
|
 |