leggedrobotics / ethercat_device_configurator

Manages setup yaml files for the RSL ethercat infrastructure
BSD 3-Clause "New" or "Revised" License
13 stars 14 forks source link

Working counter too low (0) for writing SDO #8

Open gkgkgk1215 opened 2 years ago

gkgkgk1215 commented 2 years ago

Thanks for this useful APIs for the EtherCAT comm. I am trying to run the "standalone" example using Maxon EPOS4 and I got this error. Screenshot from 2022-02-23 18-17-47

I guess there is an error during SDO reading/writing. It would be really helpful if you could get me any clue/suggestions.

For your reference, I am using the following conf. files.

[setup.yaml] ethercat_master: time_step: 0.0025 update_rate_too_low_warn_threshold: 50

ethercat_devices:

[maxon.yaml] Maxon: config_run_sdo_verify_timeout: 50000 print_debug_messages: true use_raw_commands: false drive_state_change_min_timeout: 2000 drive_state_change_max_timeout: 1000000 min_number_of_successful_target_state_readings: 5

Reading: force_append_equal_error: true force_append_equal_fault: false error_storage_capacity: 100 fault_storage_capacity: 100

Hardware: mode_of_operation:

zoenglinghou commented 2 years ago

Hmm I checked my firmware manual (published on 2020-04, rel9415), your configuration values and memory address seem to be correct. It might be a firmware version mismatch. Maybe you could update your firmware, and/or modify the object dictionaries to the corresponding firmware version.

I am currently not working on the project (as it was really a school project). Apologies that I cannot actively help you debug it.