- Posts: 790
- Thank you received: 276
Ethercat HAL driver
- db1981
- Offline
- Platinum Member
-
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?
- jc2ktr
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 17
db1981 wrote: 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:
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.
- db1981
- Offline
- Platinum Member
-
- Posts: 790
- Thank you received: 276
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....
- jc2ktr
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 17
db1981 wrote: 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
- db1981
- Offline
- Platinum Member
-
- Posts: 790
- Thank you received: 276
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"
- jc2ktr
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 17
db1981 wrote: 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 :pinch: but this helped me a lot now.
Thank you very much