- Posts: 1111
- Thank you received: 114
Ethercat HAL driver
- bkt
- Offline
- Platinum Member
-
Less
More
6 years 2 months ago - 6 years 2 months ago #177262
by bkt
Replied by bkt on topic Ethercat HAL driver
@ thang -> Just try on ubunto 64bit ... not work for me ... [strike]to morrow i try on debian install.[/strike] i remember I have a pc with debian linuxcnc strch ready ... so I try just now ... not work ... and reading some my old post I remember that these suggestion is not working for me 3/4 days ago.
regards
bkt
regards
bkt
Last edit: 6 years 2 months ago by bkt. Reason: no write .hgrc file so I gave an error that is report erroneusment
- bkt
- Offline
- Platinum Member
-
Less
More
- Posts: 1111
- Thank you received: 114
6 years 2 months ago - 6 years 2 months ago #177487
by bkt
Replied by bkt on topic Ethercat HAL driver
@thang ... i undesrtand I revert a wrong file .... [strike]but I didn't understand how the realtime.mk file should be written ..[/strike]
the file to revert is realtime.mk .... so
very thanks @thang
regards
bkt
the file to revert is realtime.mk .... so
- cd linuxcnc-ethercat/src
- gedit realtime.mk (clear all world in file and add these file .... after save and close ... copy the code I pasted below it comes from version 0.9.1 linuxcnc-ethercat)
- after these meke and make install for linuxcnc-ethercat
Code:
include ../config.mk
include Kbuild
include $(MODINC)
ifeq ($(BUILDSYS),kbuild)
# dirty workaround to get the RTAI directory
RTAIINCDIR = $(subst /rtai.h,,$(firstword $(wildcard $(foreach i,$(subst -I,,$(filter -I%,$(RTFLAGS))), $(i)/rtai.h))))
ifneq ($(RTAIINCDIR),)
RTAIDIR = $(realpath $(RTAIINCDIR)/..)
endif
all:
$(MAKE) EXTRA_CFLAGS="$(EXTRA_CFLAGS)" KBUILD_EXTRA_SYMBOLS="$(RTLIBDIR)/Module.symvers $(RTAIDIR)/modules/ethercat/Module.symvers" -C $(KERNELDIR) SUBDIRS=`pwd` CC=$(CC) V=0 modules
else
LDFLAGS += -Wl,-rpath,$(LIBDIR) -L$(LIBDIR) -llinuxcnchal -lethercat
all: modules
endif
very thanks @thang
regards
bkt
Last edit: 6 years 2 months ago by bkt.
- JKAVS
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
6 years 2 months ago #178352
by JKAVS
Replied by JKAVS on topic Ethercat HAL driver
I’m building a CNC mill and would like to have a fieldbus based control system. Ethercat with Linuxcnc seems to be one way to do it.
It looks like ASDA series servo drives from Delta are supported by this driver. Does the support include all models? I’m planning to use ASDA-B3. If they are not yet supported, how hard is it to add support for them?
Can the spindle speed be controlled with Ethercat? I’m guessing at least analog control with 0-10 volt signal is possible.
Are there any caveats in using this approach to build the control system? My goal is to make the control system simpler with Ethercat. If this would lead to overly complicated system then I’m looking somewhere else.
It looks like ASDA series servo drives from Delta are supported by this driver. Does the support include all models? I’m planning to use ASDA-B3. If they are not yet supported, how hard is it to add support for them?
Can the spindle speed be controlled with Ethercat? I’m guessing at least analog control with 0-10 volt signal is possible.
Are there any caveats in using this approach to build the control system? My goal is to make the control system simpler with Ethercat. If this would lead to overly complicated system then I’m looking somewhere else.
- pippin88
- Offline
- Elite Member
-
Less
More
- Posts: 263
- Thank you received: 51
6 years 2 months ago #178357
by pippin88
Replied by pippin88 on topic Ethercat HAL driver
I'm also interested in Ethercat for Delta ASDA-B3 servos.
My understanding is I would only need:
LinuxCNC computer
Delta servos
(no other specialty cards unless I want more IO than the delta servos have)
I'm coming from using Mesa 7i76 for steppers.
My understanding is I would only need:
LinuxCNC computer
Delta servos
(no other specialty cards unless I want more IO than the delta servos have)
I'm coming from using Mesa 7i76 for steppers.
- JKAVS
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
6 years 2 months ago #178361
by JKAVS
Replied by JKAVS on topic Ethercat HAL driver
That’s why I’m so interested in this. Just computer and drives would be so much easier than motion controller, breakout board, drives, multiple power supplies and so on.
- pippin88
- Offline
- Elite Member
-
Less
More
- Posts: 263
- Thank you received: 51
6 years 2 months ago #178374
by pippin88
Replied by pippin88 on topic Ethercat HAL driver
Also, is there any issues with using Ethercat driver and Mesa boards in the same setup (I think not but just checking)?
Time to create page: 0.358 seconds