Ethercat HAL driver
07 Mar 2021 11:39 - 07 Mar 2021 11:40 #201279
by jc2ktr
no ethercat eoe still shouts out this:
lcnc@LinuxCNC-M75q:~/ethercat_debianize$ ethercat eoe
Unknown command eoe!
and ./get_source.sh this:
lcnc@LinuxCNC-M75q:~/ethercat_debianize$ sudo ./get_source.sh
Cloning HG commit 33b922...
Füge Änderungssätze hinzu
Füge Manifeste hinzu
Füge Dateiänderungen hinzu
Fügte 2112 Änderungssätze mit 8177 Änderungen an 1502 Dateien hinzu
new changesets 05c992bf5847:33b922ec1871
Aktualisiere auf Zweig default
1116 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
Cloning patchset commit 8ea394...
Füge Änderungssätze hinzu
Füge Manifeste hinzu
Füge Dateiänderungen hinzu
Fügte 13 Änderungssätze mit 528 Änderungen an 310 Dateien hinzu
new changesets 93020352c612:8ea39404a2e8
Aktualisiere auf Zweig default
145 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
Apply patchset...
Wende stable/0001-update_ccat_driver_to_v0_13.patch an
Wende stable/0002-fix_ccat_startup_stall_in_case_the_dma_memory_was_allocated_above_4_gb_limi.patch an
Wende stable/0003-update_ccat_driver_to_v0_14.patch an
Wende stable/0004-prevent_ccat_auto_loading.patch an
Wende stable/0005-fixed_fragmented_soe_write_request.patch an
Wende stable/0006-adapted_vm_operations_struct_for_kernels_4_11.patch an
Wende stable/0007-fixed_vm_fault.patch an
Wende stable/0008-forgot_makefile_orig.patch an
Wende stable/0009-do_not_build_gpio_part_of_ccat_if_gpio_is_not_configured_in_kernel.patch an
Wende stable/0010-added_clean_igb_driver_from_kernel_3_18_no_ethercat_yet.patch an
Wende stable/0011-ethercat_functionality_of_igb_driver.patch an
Wende stable/0012-doc.patch an
Wende stable/0013-fixed_statistics_filter_initialisation.patch an
Wende stable/0014-respect_bashisms.patch an
Wende stable/0015-mention_igb_driver_in_config_files.patch an
Wende stable/0016-added_missing_configure_options_to_documentation.patch an
Wende stable/0017-support_scheduler_parameters_in_kernels_4_11.patch an
Wende stable/0018-improved_buffer_overflow_messages.patch an
Wende stable/0019-ignore_missing_sdo_entries_in_output.patch an
Wende stable/0020-applied_ccat_patch_0001_fix_ccat_netdev_for_v4_11_patch_from_beckhoff.patch an
Wende stable/0021-applied_0002_use_setup_timer_for_v4_15_patch_from_beckhoff.patch an
Wende stable/0022-use_sched_setscheduler_to_set_priority_in_user_example.patch an
Wende stable/0023-fixed_scheduler_settings_in_dc_user_example_use_clock_monotonic.patch an
Wende stable/0024-do_not_call_watchdog_function_while_frames_are_received.patch an
Wende stable/0025-set_enable_sii_assign_by_default.patch an
Wende stable/0026-fixed_typo.patch an
Wende stable/0027-todo.patch an
Wende stable/0028-added_8139too_for_kernel_4_4.patch an
Wende stable/0029-added_native_igb_driver_for_kernel_4_4.patch an
Wende stable/0030-checked_usage_of_last_rx_timestamp_for_stats_fixed_indentation.patch an
Wende stable/0031-added_e100_driver_for_kernel_4_4.patch an
Wende stable/0032-added_r8169_driver_for_kernel_4_4.patch an
Wende stable/0033-minor_fix.patch an
Wende stable/0034-added_e1000_driver_for_kernel_4_4.patch an
Wende stable/0035-renamed_app_start_time_to_dc_ref_time_output_via_command_line_tool.patch an
Wende stable/0036-added_ecrt_master_sync_reference_clock_to_method.patch an
Wende stable/0037-minor_dc_diagnosis_layout.patch an
Wende stable/0038-bumped_library_version.patch an
Wende stable/0039-use_ecrt_master_sync_reference_clock_to_in_dc_examples.patch an
Wende stable/0040-changed_default_prefix_to_usr_local.patch an
Wende stable/0041-added_e1000e_driver_for_kernel_4_4.patch an
Wende stable/0042-added_floating_point_access_functions_and_macros_for_user_space.patch an
Wende stable/0043-added_missing_const_specifier_to_ecrt_read_real_ecrt_read_lreal.patch an
Wende stable/0044-added_extern_c_for_floating_point_functions.patch an
Wende stable/0045-fixed_memory_leak_concerning_library_ecrt_master_deactivate.patch an
Wende linux/0001-debugif-3.17.patch an
Wende linux/0002-kern_cont.patch an
Wende linux/0003-vm_fault-4.10.patch an
Wende linux/0004-signal-4.11.patch an
Wende linux/0005-tty-4.15.patch an
Wende devices/0001-update.patch an
Wende devices/0002-update.patch an
Wende devices/0003-e1000e-link-detection.patch an
Wende devices/0004-linux-3.18.patch an
Wende devices/0005-linux-4.1.patch an
Wende devices/0006-linux-4.4.patch an
Wende devices/0007-linux-4.9.patch an
Wende devices/0008-linux-4.14.patch an
Wende devices/0009-linux-4.19.patch an
Wende devices/0010-cx2100-2.6.patch an
Wende devices/0011-cx2100-4.9.patch an
Wende devices/0012-e1000-unused-variable.patch an
Wende devices/0013-r8152-4.9.patch an
Wende devices/0014-r8152-3.18.patch an
Wende devices/0015-r8152-4.4.patch an
Wende base/0000-version-magic.patch an
Wende base/0001-Distributed-Clock-fixes-and-helpers.patch an
Wende base/0002-Distributed-Clock-fixes-from-Jun-Yuan.patch an
Wende base/0003-print-sync-signed.patch an
Wende base/0004-fix-eoe-clear.patch an
Wende base/0005-disable-eoe.patch an
Wende base/0006-avoid-ssize_t.patch an
Wende base/0007-replace-fprintf-calls-with-EC_PRINT_ERR.patch an
Wende base/0008-read-reference-slave-clock-64bit-time.patch an
Wende base/0009-Avoid-changing-running-slaves-DC-offset.patch an
Wende base/0010-Make-busy-logging-a-little-less-irritating.patch an
Wende base/0011-Reduced-printing-to-avoid-syslog-spam.patch an
Wende base/0012-Added-newline-to-syslog-message-MAC-address-derived.patch an
Wende base/0013-Do-not-reuse-the-index-of-a-pending-datagram.patch an
Wende base/0014-Fix-NOHZ-local_softirq_pending-08-warning.patch an
Wende base/0015-Clear-configuration-on-deactivate-even-if-not-activa.patch an
Wende base/0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch an
Wende base/0017-Master-locks-to-avoid-corrupted-datagram-queue.patch an
Wende base/0018-Use-call-back-functions.patch an
Wende base/0019-Support-for-multiple-mailbox-protocols.patch an
Wende base/0020-eoe-ip.patch an
Wende base/0021-Await-SDO-dictionary-to-be-fetched.patch an
Wende base/0022-Clear-slave-mailboxes-after-a-re-scan.patch an
Wende base/0023-Skip-output-statistics-during-re-scan.patch an
Wende base/0024-Sdo-directory-now-only-fetched-on-request.patch an
Wende base/0025-Ignore-mailbox-settings-if-corrupted-sii-file.patch an
Wende base/0026-EoE-processing-is-now-only-allowed-in-state-PREOP.patch an
Wende base/0027-Prevent-abandoning-the-mailbox-state-machines-early-.patch an
Wende base/0028-ec_master_exec_slave_fsms-external-datagram-fix.patch an
Wende base/0029-Tool-Withdraw-EEPROM-control-for-SII-read-write.patch an
Wende base/0030-Print-redundancy-device-name-with-ring-positions-as-.patch an
Wende base/0031-ext-timeout.patch an
Wende base/0032-dc-sync1-offset.patch an
Wende features/xenomai3/0001-Support-Xenomai-version-3.patch an
Wende features/net-up/0001-Add-support-for-bringup-up-network-interface-when-st.patch an
Wende features/sii-cache/0001-Improved-EtherCAT-rescan-performance.patch an
Wende features/sii-cache/0002-Redundancy-name.patch an
Wende features/sii-cache/0003-rescan-check-revision.patch an
Wende features/reboot/0001-Add-command-to-request-hardware-reboot-for-slaves-th.patch an
Wende features/quick-op/0001-After-a-comms-interruption-allow-SAFEOP-OP-directly-.patch an
Wende features/status/0001-Adding-some-more-state-to-avoid-calling-the-more-exp.patch an
Wende features/status/0002-Detect-bypassed-ports-timestamp-not-updated.patch an
Wende features/status/0003-Calculate-most-likely-upstream-port-for-each-slave.patch an
Wende features/status/0004-slave-config-position.patch an
Wende features/rdwr/0001-Add-register-read-write-support.patch an
Wende features/rdwr/0002-Display-more-info-about-the-register-requests-in-pro.patch an
Wende features/complete/0001-Support-SDO-upload-via-complete-access.patch an
Wende features/complete/0002-add-sdo-write-with-size.patch an
Wende features/complete/0003-sdo-requests-complete.patch an
Wende features/master-redundancy/0001-e1000e-fix-watchdog-redundancy.patch an
Wende features/sii-file/0001-load-sii-from-file.patch an
Wende features/diag/0001-ethercat-diag.patch an
Wende features/diag/0002-diag-readwrite.patch an
Wende features/foe/0001-fsm_foe-simplify.patch an
Wende features/foe/0002-foe-password.patch an
Wende features/foe/0003-foe-requests.patch an
Wende features/foe/0004-foe-request-progress.patch an
Wende features/parallel-slave/0001-fsm_sii_external-datagram.patch an
Wende features/parallel-slave/0002-fsm_change-external-datagram.patch an
Wende features/parallel-slave/0003-fsm_slave_config-external-datagram.patch an
Wende features/parallel-slave/0004-fsm_slave_scan-external-datagram.patch an
Wende features/parallel-slave/0005-fsm_slave-handles-all-sdos.patch an
Wende features/parallel-slave/0006-fsm_slave_config_scan-to-fsm_slave.patch an
Wende features/parallel-slave/0007-fsm-exec-simplify.patch an
Wende features/sii-wait-load/0001-slave-scan-retry.patch an
Wende features/sii-wait-load/0002-fsm_sii-loading-check.patch an
Wende features/rt-slave/0001-allow-app-to-process-slave-requests-from-realtime.patch an
Wende features/eoe-rtdm/0001-eoe-addif-delif-tools.patch an
Wende features/eoe-rtdm/0002-eoe-via-rtdm.patch an
Wende features/pcap/0001-pcap-logging.patch an
Wende features/pcap/0002-runtime-size.patch an
Wende features/pcap/0003-report-size.patch an
Wende features/pcap/0004-high-precision.patch an
Wende features/mbg/0001-mailbox-gateway.patch an
jetzt bei: features/mbg/0001-mailbox-gateway.patch
Create source archive...
Extracting source...
DONE.
Replied by jc2ktr on topic Ethercat HAL driver
hello jc2ktr,
the terminal command "ethercat eoe" still doesn't work ?
please go to your ec-debianize folder an do a test run of the get source scripts
"./get_source.sh". it clones the repository and then a full screen of patches have to be applied... or is the patching skipped?
no ethercat eoe still shouts out this:
lcnc@LinuxCNC-M75q:~/ethercat_debianize$ ethercat eoe
Unknown command eoe!
and ./get_source.sh this:
Warning: Spoiler!
lcnc@LinuxCNC-M75q:~/ethercat_debianize$ sudo ./get_source.sh
Cloning HG commit 33b922...
Füge Änderungssätze hinzu
Füge Manifeste hinzu
Füge Dateiänderungen hinzu
Fügte 2112 Änderungssätze mit 8177 Änderungen an 1502 Dateien hinzu
new changesets 05c992bf5847:33b922ec1871
Aktualisiere auf Zweig default
1116 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
Cloning patchset commit 8ea394...
Füge Änderungssätze hinzu
Füge Manifeste hinzu
Füge Dateiänderungen hinzu
Fügte 13 Änderungssätze mit 528 Änderungen an 310 Dateien hinzu
new changesets 93020352c612:8ea39404a2e8
Aktualisiere auf Zweig default
145 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
Apply patchset...
Wende stable/0001-update_ccat_driver_to_v0_13.patch an
Wende stable/0002-fix_ccat_startup_stall_in_case_the_dma_memory_was_allocated_above_4_gb_limi.patch an
Wende stable/0003-update_ccat_driver_to_v0_14.patch an
Wende stable/0004-prevent_ccat_auto_loading.patch an
Wende stable/0005-fixed_fragmented_soe_write_request.patch an
Wende stable/0006-adapted_vm_operations_struct_for_kernels_4_11.patch an
Wende stable/0007-fixed_vm_fault.patch an
Wende stable/0008-forgot_makefile_orig.patch an
Wende stable/0009-do_not_build_gpio_part_of_ccat_if_gpio_is_not_configured_in_kernel.patch an
Wende stable/0010-added_clean_igb_driver_from_kernel_3_18_no_ethercat_yet.patch an
Wende stable/0011-ethercat_functionality_of_igb_driver.patch an
Wende stable/0012-doc.patch an
Wende stable/0013-fixed_statistics_filter_initialisation.patch an
Wende stable/0014-respect_bashisms.patch an
Wende stable/0015-mention_igb_driver_in_config_files.patch an
Wende stable/0016-added_missing_configure_options_to_documentation.patch an
Wende stable/0017-support_scheduler_parameters_in_kernels_4_11.patch an
Wende stable/0018-improved_buffer_overflow_messages.patch an
Wende stable/0019-ignore_missing_sdo_entries_in_output.patch an
Wende stable/0020-applied_ccat_patch_0001_fix_ccat_netdev_for_v4_11_patch_from_beckhoff.patch an
Wende stable/0021-applied_0002_use_setup_timer_for_v4_15_patch_from_beckhoff.patch an
Wende stable/0022-use_sched_setscheduler_to_set_priority_in_user_example.patch an
Wende stable/0023-fixed_scheduler_settings_in_dc_user_example_use_clock_monotonic.patch an
Wende stable/0024-do_not_call_watchdog_function_while_frames_are_received.patch an
Wende stable/0025-set_enable_sii_assign_by_default.patch an
Wende stable/0026-fixed_typo.patch an
Wende stable/0027-todo.patch an
Wende stable/0028-added_8139too_for_kernel_4_4.patch an
Wende stable/0029-added_native_igb_driver_for_kernel_4_4.patch an
Wende stable/0030-checked_usage_of_last_rx_timestamp_for_stats_fixed_indentation.patch an
Wende stable/0031-added_e100_driver_for_kernel_4_4.patch an
Wende stable/0032-added_r8169_driver_for_kernel_4_4.patch an
Wende stable/0033-minor_fix.patch an
Wende stable/0034-added_e1000_driver_for_kernel_4_4.patch an
Wende stable/0035-renamed_app_start_time_to_dc_ref_time_output_via_command_line_tool.patch an
Wende stable/0036-added_ecrt_master_sync_reference_clock_to_method.patch an
Wende stable/0037-minor_dc_diagnosis_layout.patch an
Wende stable/0038-bumped_library_version.patch an
Wende stable/0039-use_ecrt_master_sync_reference_clock_to_in_dc_examples.patch an
Wende stable/0040-changed_default_prefix_to_usr_local.patch an
Wende stable/0041-added_e1000e_driver_for_kernel_4_4.patch an
Wende stable/0042-added_floating_point_access_functions_and_macros_for_user_space.patch an
Wende stable/0043-added_missing_const_specifier_to_ecrt_read_real_ecrt_read_lreal.patch an
Wende stable/0044-added_extern_c_for_floating_point_functions.patch an
Wende stable/0045-fixed_memory_leak_concerning_library_ecrt_master_deactivate.patch an
Wende linux/0001-debugif-3.17.patch an
Wende linux/0002-kern_cont.patch an
Wende linux/0003-vm_fault-4.10.patch an
Wende linux/0004-signal-4.11.patch an
Wende linux/0005-tty-4.15.patch an
Wende devices/0001-update.patch an
Wende devices/0002-update.patch an
Wende devices/0003-e1000e-link-detection.patch an
Wende devices/0004-linux-3.18.patch an
Wende devices/0005-linux-4.1.patch an
Wende devices/0006-linux-4.4.patch an
Wende devices/0007-linux-4.9.patch an
Wende devices/0008-linux-4.14.patch an
Wende devices/0009-linux-4.19.patch an
Wende devices/0010-cx2100-2.6.patch an
Wende devices/0011-cx2100-4.9.patch an
Wende devices/0012-e1000-unused-variable.patch an
Wende devices/0013-r8152-4.9.patch an
Wende devices/0014-r8152-3.18.patch an
Wende devices/0015-r8152-4.4.patch an
Wende base/0000-version-magic.patch an
Wende base/0001-Distributed-Clock-fixes-and-helpers.patch an
Wende base/0002-Distributed-Clock-fixes-from-Jun-Yuan.patch an
Wende base/0003-print-sync-signed.patch an
Wende base/0004-fix-eoe-clear.patch an
Wende base/0005-disable-eoe.patch an
Wende base/0006-avoid-ssize_t.patch an
Wende base/0007-replace-fprintf-calls-with-EC_PRINT_ERR.patch an
Wende base/0008-read-reference-slave-clock-64bit-time.patch an
Wende base/0009-Avoid-changing-running-slaves-DC-offset.patch an
Wende base/0010-Make-busy-logging-a-little-less-irritating.patch an
Wende base/0011-Reduced-printing-to-avoid-syslog-spam.patch an
Wende base/0012-Added-newline-to-syslog-message-MAC-address-derived.patch an
Wende base/0013-Do-not-reuse-the-index-of-a-pending-datagram.patch an
Wende base/0014-Fix-NOHZ-local_softirq_pending-08-warning.patch an
Wende base/0015-Clear-configuration-on-deactivate-even-if-not-activa.patch an
Wende base/0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch an
Wende base/0017-Master-locks-to-avoid-corrupted-datagram-queue.patch an
Wende base/0018-Use-call-back-functions.patch an
Wende base/0019-Support-for-multiple-mailbox-protocols.patch an
Wende base/0020-eoe-ip.patch an
Wende base/0021-Await-SDO-dictionary-to-be-fetched.patch an
Wende base/0022-Clear-slave-mailboxes-after-a-re-scan.patch an
Wende base/0023-Skip-output-statistics-during-re-scan.patch an
Wende base/0024-Sdo-directory-now-only-fetched-on-request.patch an
Wende base/0025-Ignore-mailbox-settings-if-corrupted-sii-file.patch an
Wende base/0026-EoE-processing-is-now-only-allowed-in-state-PREOP.patch an
Wende base/0027-Prevent-abandoning-the-mailbox-state-machines-early-.patch an
Wende base/0028-ec_master_exec_slave_fsms-external-datagram-fix.patch an
Wende base/0029-Tool-Withdraw-EEPROM-control-for-SII-read-write.patch an
Wende base/0030-Print-redundancy-device-name-with-ring-positions-as-.patch an
Wende base/0031-ext-timeout.patch an
Wende base/0032-dc-sync1-offset.patch an
Wende features/xenomai3/0001-Support-Xenomai-version-3.patch an
Wende features/net-up/0001-Add-support-for-bringup-up-network-interface-when-st.patch an
Wende features/sii-cache/0001-Improved-EtherCAT-rescan-performance.patch an
Wende features/sii-cache/0002-Redundancy-name.patch an
Wende features/sii-cache/0003-rescan-check-revision.patch an
Wende features/reboot/0001-Add-command-to-request-hardware-reboot-for-slaves-th.patch an
Wende features/quick-op/0001-After-a-comms-interruption-allow-SAFEOP-OP-directly-.patch an
Wende features/status/0001-Adding-some-more-state-to-avoid-calling-the-more-exp.patch an
Wende features/status/0002-Detect-bypassed-ports-timestamp-not-updated.patch an
Wende features/status/0003-Calculate-most-likely-upstream-port-for-each-slave.patch an
Wende features/status/0004-slave-config-position.patch an
Wende features/rdwr/0001-Add-register-read-write-support.patch an
Wende features/rdwr/0002-Display-more-info-about-the-register-requests-in-pro.patch an
Wende features/complete/0001-Support-SDO-upload-via-complete-access.patch an
Wende features/complete/0002-add-sdo-write-with-size.patch an
Wende features/complete/0003-sdo-requests-complete.patch an
Wende features/master-redundancy/0001-e1000e-fix-watchdog-redundancy.patch an
Wende features/sii-file/0001-load-sii-from-file.patch an
Wende features/diag/0001-ethercat-diag.patch an
Wende features/diag/0002-diag-readwrite.patch an
Wende features/foe/0001-fsm_foe-simplify.patch an
Wende features/foe/0002-foe-password.patch an
Wende features/foe/0003-foe-requests.patch an
Wende features/foe/0004-foe-request-progress.patch an
Wende features/parallel-slave/0001-fsm_sii_external-datagram.patch an
Wende features/parallel-slave/0002-fsm_change-external-datagram.patch an
Wende features/parallel-slave/0003-fsm_slave_config-external-datagram.patch an
Wende features/parallel-slave/0004-fsm_slave_scan-external-datagram.patch an
Wende features/parallel-slave/0005-fsm_slave-handles-all-sdos.patch an
Wende features/parallel-slave/0006-fsm_slave_config_scan-to-fsm_slave.patch an
Wende features/parallel-slave/0007-fsm-exec-simplify.patch an
Wende features/sii-wait-load/0001-slave-scan-retry.patch an
Wende features/sii-wait-load/0002-fsm_sii-loading-check.patch an
Wende features/rt-slave/0001-allow-app-to-process-slave-requests-from-realtime.patch an
Wende features/eoe-rtdm/0001-eoe-addif-delif-tools.patch an
Wende features/eoe-rtdm/0002-eoe-via-rtdm.patch an
Wende features/pcap/0001-pcap-logging.patch an
Wende features/pcap/0002-runtime-size.patch an
Wende features/pcap/0003-report-size.patch an
Wende features/pcap/0004-high-precision.patch an
Wende features/mbg/0001-mailbox-gateway.patch an
jetzt bei: features/mbg/0001-mailbox-gateway.patch
Create source archive...
Extracting source...
DONE.
Last edit: 07 Mar 2021 11:40 by jc2ktr. Reason: Edit
Please Log in or Create an account to join the conversation.
07 Mar 2021 11:58 #201280
by db1981
Replied by db1981 on topic Ethercat HAL driver
upppps, don't know why ....
edit the file rules in ec-debianize/etherlabmaster/debian , remove "--disable-eoe" in line 5.
then build and install the ec master packackes again. maybe you need to set the mac adress and drivers in etc/ethercat again, after this.
then test if the master works "ethercat slaves", test if linuxcnc with ethercat behaves normal, and check if "ethercat eoe" exist then we can go further.
i think saschi dropped eoe support, for simplifying it, because with a lot of eoe slaves you would be confused by an flood of eth interfaces....
edit the file rules in ec-debianize/etherlabmaster/debian , remove "--disable-eoe" in line 5.
then build and install the ec master packackes again. maybe you need to set the mac adress and drivers in etc/ethercat again, after this.
then test if the master works "ethercat slaves", test if linuxcnc with ethercat behaves normal, and check if "ethercat eoe" exist then we can go further.
i think saschi dropped eoe support, for simplifying it, because with a lot of eoe slaves you would be confused by an flood of eth interfaces....
Please Log in or Create an account to join the conversation.
07 Mar 2021 12:04 - 07 Mar 2021 12:16 #201283
by jc2ktr
Well i try it at the moment,
and let you know if it is succesfull.
Thanks
so now i was succesfull to get eoe working
lcnc@LinuxCNC-M75q:~$ ethercat slaves
0 8:0 PREOP + 0x00000024:0x00242c04
1 8:1 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)
2 8:2 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
3 8:3 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
4 8:4 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
5 8:5 PREOP + EL2004 4Ch. Dig. Output 24V, 0.5A
6 8:6 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
7 8:7 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
8 8:8 PREOP + ECT60V202(COE)
lcnc@LinuxCNC-M75q:~$ ethercat eoe
Master0
Interface Slave State RxBytes RxRate TxBytes TxRate TxQueue
eoe0a8 0 up 0 0 2624 1656 0/100
lcnc@LinuxCNC-M75q:~$
but how do i get the IndraworksDS to connect to my drive, when i plug in a patch cable to my Network the ethercat bus seems to be terminated
Replied by jc2ktr on topic Ethercat HAL driver
upppps, don't know why ....
edit the file rules in ec-debianize/etherlabmaster/debian , remove "--disable-eoe" in line 5.
then build and install the ec master packackes again. maybe you need to set the mac adress and drivers in etc/ethercat again, after this.
then test if the master works "ethercat slaves", test if linuxcnc with ethercat behaves normal, and check if "ethercat eoe" exist then we can go further.
i think saschi dropped eoe support, for simplifying it, because with a lot of eoe slaves you would be confused by an flood of eth interfaces....
Well i try it at the moment,
and let you know if it is succesfull.
Thanks
so now i was succesfull to get eoe working
lcnc@LinuxCNC-M75q:~$ ethercat slaves
0 8:0 PREOP + 0x00000024:0x00242c04
1 8:1 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)
2 8:2 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
3 8:3 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
4 8:4 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
5 8:5 PREOP + EL2004 4Ch. Dig. Output 24V, 0.5A
6 8:6 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
7 8:7 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
8 8:8 PREOP + ECT60V202(COE)
lcnc@LinuxCNC-M75q:~$ ethercat eoe
Master0
Interface Slave State RxBytes RxRate TxBytes TxRate TxQueue
eoe0a8 0 up 0 0 2624 1656 0/100
lcnc@LinuxCNC-M75q:~$
but how do i get the IndraworksDS to connect to my drive, when i plug in a patch cable to my Network the ethercat bus seems to be terminated
Last edit: 07 Mar 2021 12:16 by jc2ktr. Reason: status update
Please Log in or Create an account to join the conversation.
07 Mar 2021 12:29 #201285
by db1981
Replied by db1981 on topic Ethercat HAL driver
strike......
did you pluged the patch cable in the ethercat network? this will not work...
You would need an second network port on your pc. The ec master now has created an virtual network interface for your eoe device : eoe0a8. (if you type ip addr it shoud be listed...)
What you now need is (virtual)bridge between your second hardware ethernet interface and the eoe network interfaces. Then you can connect from your indradrive pc to the virtual eoe interface over your wifi or second lan port...
I'm not an network administrator, but i reads simple. google "debian bridge interfaces"
did you pluged the patch cable in the ethercat network? this will not work...
You would need an second network port on your pc. The ec master now has created an virtual network interface for your eoe device : eoe0a8. (if you type ip addr it shoud be listed...)
What you now need is (virtual)bridge between your second hardware ethernet interface and the eoe network interfaces. Then you can connect from your indradrive pc to the virtual eoe interface over your wifi or second lan port...
I'm not an network administrator, but i reads simple. google "debian bridge interfaces"
The following user(s) said Thank You: jc2ktr
Please Log in or Create an account to join the conversation.
07 Mar 2021 12:38 #201286
by jc2ktr
Well then this was step one, now i need to buy another network card to use it, because my built in wireless adapter don't work under linux but this helped me a lot now.
Thank you very much
Replied by jc2ktr on topic Ethercat HAL driver
strike......
did you pluged the patch cable in the ethercat network? this will not work...
You would need an second network port on your pc. The ec master now has created an virtual network interface for your eoe device : eoe0a8. (if you type ip addr it shoud be listed...)
What you now need is (virtual)bridge between your second hardware ethernet interface and the eoe network interfaces. Then you can connect from your indradrive pc to the virtual eoe interface over your wifi or second lan port...
I'm not an network administrator, but i reads simple. google "debian bridge interfaces"
Well then this was step one, now i need to buy another network card to use it, because my built in wireless adapter don't work under linux but this helped me a lot now.
Thank you very much
Please Log in or Create an account to join the conversation.
08 Mar 2021 14:39 - 08 Mar 2021 14:44 #201430
by bkt
Replied by bkt on topic Ethercat HAL driver
@dc1981 .... after last week just now an error as I mentioned to you ... do checking dmesg I see these warning:
EtherCAT WARNING: Datagram 0000000026ab63a1 (master-fsm) was SKIPPED 1 time
and error ....
[ 7773.445798] EtherCAT 0: Bus scanning completed in 268 ms.
[ 7773.445803] EtherCAT 0: Using slave main-0 as DC reference clock.
[ 7773.466036] EtherCAT 0: Slave states on main device: INIT.
[ 7773.490397] EtherCAT 0: Slave states on main device: PREOP.
[ 7774.374797] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Down
[ 7774.376414] EtherCAT 0: Link state of ecm0 changed to DOWN.
[ 7774.376418] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[ 7774.380472] EtherCAT ERROR 0-main-0: Failed to receive AL state datagram: Datagram error.
[ 7774.384540] EtherCAT 0: 0 slave(s) responding on main device.
Precisely this happened: I turned off linuxcnc and error60 came out in the drives which means: data receiving abnormal in Op status.
Without thinking I turned off the power and started again without turning off the pc .... so I had the inconvenience of not being able to have the drives in OP anymore but only in PREOP.
I am attaching the dmesg.txt to see if you can help me understand the origin of the problem
thanks
EtherCAT WARNING: Datagram 0000000026ab63a1 (master-fsm) was SKIPPED 1 time
and error ....
[ 7773.445798] EtherCAT 0: Bus scanning completed in 268 ms.
[ 7773.445803] EtherCAT 0: Using slave main-0 as DC reference clock.
[ 7773.466036] EtherCAT 0: Slave states on main device: INIT.
[ 7773.490397] EtherCAT 0: Slave states on main device: PREOP.
[ 7774.374797] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Down
[ 7774.376414] EtherCAT 0: Link state of ecm0 changed to DOWN.
[ 7774.376418] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[ 7774.380472] EtherCAT ERROR 0-main-0: Failed to receive AL state datagram: Datagram error.
[ 7774.384540] EtherCAT 0: 0 slave(s) responding on main device.
Precisely this happened: I turned off linuxcnc and error60 came out in the drives which means: data receiving abnormal in Op status.
Without thinking I turned off the power and started again without turning off the pc .... so I had the inconvenience of not being able to have the drives in OP anymore but only in PREOP.
I am attaching the dmesg.txt to see if you can help me understand the origin of the problem
thanks
Last edit: 08 Mar 2021 14:44 by bkt.
Please Log in or Create an account to join the conversation.
08 Mar 2021 16:59 #201445
by bkt
Replied by bkt on topic Ethercat HAL driver
@db1981 after these accident I turn off all system. After some second I power on again the system .... when open axis gui I can see "not ready" messages on screen of drive ID=0 ... all other slaves is ok .... so I operate a dmesg | grep -i EtherCAT command and I find these:
so with command ethercat slaves -p0:
but is not really on OP state (if try to moove joint 0 I obtain following error) so seems etherlab glue poit to different device .....
regards
bkt
Warning: Spoiler!
bkt@bkt:~$ dmesg | grep -i EtherCAT
[ 22.353071] EtherCAT: Master driver 1.5.2 unknown
[ 22.353228] EtherCAT: 1 master waiting for devices.
[ 22.354293] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 unknown
[ 22.354304] EtherCAT: Accepting 68:ED:A6:00:12:45 as main device for master 0.
[ 22.382337] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 26.732446] EtherCAT 0: Link state of ecm0 changed to UP.
[ 26.736475] EtherCAT 0: 7 slave(s) responding on main device.
[ 26.736477] EtherCAT 0: Slave states on main device: INIT.
[ 26.738721] EtherCAT 0: Scanning bus.
[ 27.128486] EtherCAT 0: Bus scanning completed in 392 ms.
[ 27.128489] EtherCAT 0: Using slave main-0 as DC reference clock.
[ 27.132510] EtherCAT 0: Slave states on main device: INIT, PREOP.
[ 27.198329] EtherCAT 0: Slave states on main device: PREOP.
[ 153.926114] EtherCAT: Requesting master 0...
[ 153.926116] EtherCAT: Successfully requested master 0.
[ 153.926917] EtherCAT 0: Domain0: Logical address 0x00000000, 70 byte, expected working counter 15.
[ 153.926920] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 70 byte, type LRW at 00000000d4106b06.
[ 153.930237] EtherCAT 0: Master thread exited.
[ 153.930242] EtherCAT 0: Starting EtherCAT-OP thread.
[ 154.227023] EtherCAT 0: Domain 0: Working counter changed to 3/15.
[ 154.252818] EtherCAT 0: Slave states on main device: PREOP, OP.
[ 154.260869] EtherCAT WARNING 0-main-6: Slave does not support changing the PDO mapping!
[ 154.260871] EtherCAT WARNING 0-main-6: Currently mapped PDO entries: 0x6000:01/1 0x6000:02/1 0x6000:03/1 0x0000:00/4 0x6000:08/1 0x6000:09/1 0x6000:0A/1 0x6000:0B/1 0x0000:00/1 0x6000:0D/1 0x6000:0E/1 0x0000:00/1 0x6000:10/1 0x6000:11/32 0x6000:12/32. Entries to map: 0x6000:01/1 0x6000:02/1 0x6000:03/1 0x0000:00/4 0x6000:08/1 0x6000:09/1 0x6000:0A/1 0x6000:0B/1 0x0000:00/1 0x6000:0D/1 0x1C32:20/1 0x0000:00/1 0x1800:09/1 0x6000:11/32 0x6000:12/32
[ 154.510059] EtherCAT 0: Slave states on main device: PREOP, SAFEOP, OP.
[ 154.831308] EtherCAT 0: Slave states on main device: PREOP, OP.
[ 155.231514] EtherCAT 0: Domain 0: 3 working counter changes - now 12/15.
[ 159.476561] EtherCAT WARNING 0-main-0: Slave did not sync after 5000 ms.
[ 159.487502] EtherCAT 0: Domain 0: Working counter changed to 15/15.
[ 159.520721] EtherCAT 0: Slave states on main device: SAFEOP, OP.
[ 159.809682] EtherCAT 0: Slave states on main device: OP.
so with command ethercat slaves -p0:
bkt@bkt:~$ ethercat slaves -p0
0 0:0 OP + EP3E-EC
but is not really on OP state (if try to moove joint 0 I obtain following error) so seems etherlab glue poit to different device .....
regards
bkt
Please Log in or Create an account to join the conversation.
08 Mar 2021 17:02 #201447
by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt
this concerns the problem discussed last week? Or you not able to get your system running anymore?
What dmesg tells us:
-you have 8 ??? network interfaces ????
-interface enp5s0 is used for ethercat and is tryed to get configured by the network manager. Try to remove this interface from the network configuration, it should be exclusive for ethercat.
-you have restarted linuxcnc many times ??
-physical link on interface enp5s0 (ethercat) is many times lost. check for grounding /shielding , qualitiy of patchcables (stp)
this concerns the problem discussed last week? Or you not able to get your system running anymore?
What dmesg tells us:
-you have 8 ??? network interfaces ????
-interface enp5s0 is used for ethercat and is tryed to get configured by the network manager. Try to remove this interface from the network configuration, it should be exclusive for ethercat.
-you have restarted linuxcnc many times ??
-physical link on interface enp5s0 (ethercat) is many times lost. check for grounding /shielding , qualitiy of patchcables (stp)
Please Log in or Create an account to join the conversation.
08 Mar 2021 17:16 #201449
by db1981
Replied by db1981 on topic Ethercat HAL driver
there are clocking problems and lost frames at slave 0, but this seems to be a physical problem. strange for me is, that its the first slave in the row.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
08 Mar 2021 17:59 #201453
by bkt
Replied by bkt on topic Ethercat HAL driver
@1981 ... yes I have 6 eth plus a custom card which is seen as a series of eth. Patch cable is cat7a .... plus if change it is the same .... I try to work on network interfaces ... is strange for me too .... because other slaves in the row work perfect ....
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds