Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
If I connect a can tap I can see the outgoing message from the CANopen master and I also see the reply from the Slave device.
But for some reason Codesys keeps retrying and doesn't see the reply message from the slave.
What am I doing wrong?
Here is the output of the CAN tap:
Any help would be appreciated.
Thanks,
Sander
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
EL6731 has a new Firmware and we will adapt this to 3.5SP15 release.
The Workaround is:
Description:
Newer EL6751 firmware versions do not work (e.g. Rev.Nr. >= 0022).
Driver does not receive CAN messages.
New firmware version >= 17 need an additional CoE parameter with index 0x8001.
From Beckhoff documentation:
Index 8001 CAN Rx filter table
From firmware 17 of the EL6751, parameter 0x8001 must be written with valid values.
If all data are to be written into the CAN interface, the following must be entered:
For 11 bit and 29 bit identifiers:
0x8001: 01 00 00 00 00 00 00 FF FF FF 1F
For 11 bit identifiers
0x8001: 01 00 00 00 00 00 00 00 FF 07 00 00
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2019-05-15
Originally created by: sbrauns@moog.com
Hi Edwin,
Thank you for your reply. But I am relative new to codesys.
So I am not sure how to do this. I assume this can added to the EL6751 device startup parameters.
So I added a new SDO like in the picture:
But I think I am not doing this correctly:
From the log I am getting error during writing of the 8001:
Originally created by: sbrauns@moog.com
Hi All,
I have connected an an EL6751 CANopen Master to an CANopen slave device.
But I keep getting the error.
If I connect a can tap I can see the outgoing message from the CANopen master and I also see the reply from the Slave device.
But for some reason Codesys keeps retrying and doesn't see the reply message from the slave.
What am I doing wrong?
Here is the output of the CAN tap:
Any help would be appreciated.
Thanks,
Sander
Hi,
could you set CANOPEN_DEBUG as compiler define and send the plclogger then..?
BR
Edwin
Originally created by: sbrauns@moog.com
Hi Edwin,
Thank you for you reply.
I have attached the codesyscontrol.log with the compile switch set and the output of the can listing device.
Hope this helps.
Thanks,
Sander
Codesys Debug.zip [6.69 KiB]
Hi Sander,
the problem is:
EL6731 has a new Firmware and we will adapt this to 3.5SP15 release.
The Workaround is:
Description:
Newer EL6751 firmware versions do not work (e.g. Rev.Nr. >= 0022).
Driver does not receive CAN messages.
New firmware version >= 17 need an additional CoE parameter with index 0x8001.
From Beckhoff documentation:
Index 8001 CAN Rx filter table
From firmware 17 of the EL6751, parameter 0x8001 must be written with valid values.
If all data are to be written into the CAN interface, the following must be entered:
For 11 bit and 29 bit identifiers:
0x8001: 01 00 00 00 00 00 00 FF FF FF 1F
For 11 bit identifiers
0x8001: 01 00 00 00 00 00 00 00 FF 07 00 00
BR
Edwin
Originally created by: sbrauns@moog.com
Hi Edwin,
Thank you for your reply. But I am relative new to codesys.
So I am not sure how to do this. I assume this can added to the EL6751 device startup parameters.
So I added a new SDO like in the picture:
But I think I am not doing this correctly:
From the log I am getting error during writing of the 8001:
Any advise on how to do this.
Thanks,
Sander
Hi Sander,
sorry yes, here is an image needed to understand how this works.
BR
Edwin
Originally created by: sbrauns@moog.com
Hi Edwin,
So I am still getting a write error.
Do you have any idea?
Thanks,
Sander