Skip to content

Kollmorgen AKD CoE does not switch out of "Switch On Disabled" #159

@mcdp-ppa

Description

@mcdp-ppa

Setup:

I have a and I am trying to get it to work in CSP with a single drive. I want to be able to set set points through the ROS2 driver and move a motor. Here is my basic setup:

  • Kollmorgen AKD-P01207 motor drive
  • Ubuntu 22.04
  • ROS2 Humble
  • Various branches of the ethercat_driver_ros2 repository

I can get the drive moving through the Kollmorgen workbench so I know it is setup correctly on the electrical side.

Here is the yaml config for the drive: kollmorgen_akd_1207.txt
Here is the xacro for the controllers: akd_single_drive.txt

I am using the 1.5.3 IGH ethercat master. To get error logs I have enabled ethercat debug 1 and I use the command sudo dmesg -T | grep EtherCAT to get the logs.

Issues:

When using the humble branch of the ethercat_driver_ros2 start up the ethercat_driver_ros2 I get the following:

  • The drive does not come up it goes into Safe Op + Error
  • The drive indicates a fault 706 which is defined by Kollmorgen as "Fieldbus Cyclic Setpoints Missing"

Here is a log from that: single_akd_test_with_706_enabled.txt
And here is the output of the system in the terminal: single_akd_test_with_706_enabled_terminal.txt

When using the humble branch of the ethercat_driver_ros2 and disabling the F706 on the AKD-P01207 we get the system into Op without error. Though this is in Op, unfortunately it I cannot actually get it into any sort of usable condition. I notice that the status word is always 592.

Here is a log from that: single_akd_test_with_706_disabled.txt
Here is the terminal output: single_akd_test_with_706_disabled_terminal.txt

I have attempted to fix by manually setting the next state in on the terminal via ethercat -p0 --type uint16 download 0x6040 0 6 which briefly gets the system from 592 to 561 before going back to 592.

[ros2_control_node-1] STATE: Ready to Switch On with status word :561 [ros2_control_node-1] STATE: Switch on Disabled with status word :592

This was under the impression that I could get it running potentially by not running that specific error. Unfortunately did not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions