Ethercat, EL6751 and CANOpen

More
11 Jan 2024 22:57 #290464 by mic
Hi,
i am a little bit lost with the configuration of CANOpen Devices via EtherCAT.
All other EtherCAT Components are working fine with LinuxCNC but since a few days i am trying to configure Nanotec SMCI-47-S stepperdrivers but i am stuck in the first step - configuring the device with TwinCAT.
What i have done so far:
- Adding EtherCAT coupler and IOs to TwinCAT -> working properly
- Adding the EL6751 and add an CANOpen Network
- Add generic CANOpen Slave and load the corresponding eds File to make the data and diagnosis readable
- I can communicate with the slave and everything goes "OP"
- I need to define the content of PDOs by setting the RX/TPDO Mapping Parameter
- Trying to change the TPDO1 Mapping Parameter results in an Error called: "SDO data mismatch at StartUp" ... "SDO Upload Error 0x1a00 SI2 received value != expected value"

The manual describes PDO mapping as following:
  1. Change to the “Pre-Operational” mode.
  2. Deactivate the PDO to be changed and reset.
  3. Write changed mapping and activate PDO again.
  4. Bring the controller into “Operational” mode again in order to use the PDO
The Startup SDO config is attached.
0x1a00 subid 1 does not throw an error because it´s equal to the current config on the motor driver.
I am not sure about the step number 1 - Do i have to put the device into PreOp by Startup SDOs? I think that the device is in Preop while configured by twincat.

Has anyone experience configuring CANOpen devices with CiA402 profile and can give some hints configuring the PDOs correctly?
Thanks in advance
 
Attachments:
The following user(s) said Thank You: zmrdko

Please Log in or Create an account to join the conversation.

More
15 Jan 2024 20:55 #290798 by bkt
Replied by bkt on topic Ethercat, EL6751 and CANOpen
and your xml file is?

Please Log in or Create an account to join the conversation.

Time to create page: 0.142 seconds
Powered by Kunena Forum