sittner/linuxcnc-ethercat

Is it support Linuxcnc 2.9 now?

ibXCM opened this issue · 11 comments

ibXCM commented

Dears
I‘ve tried many times on linuxcnc 2.9 with this driver。but it always has many problems。
Can it match Linuxcnc 2.9 now?
Thanks & Best Regards
Wade

sirop commented

Do you run LinuxCNC on linux-rt ?

Could you provide more details about the "problems" ?

ibXCM commented
ibXCM commented
sirop commented

Starting LinuxCNC... Found file(REL): ./cpd17_x.hal Note: Using POSIX realtime ./cpd17_x.hal:24: Pin 'lcec.0.2.dout-0' does not exist .......

This error means that you want to connect a signal a pin called "dout-0" located at the third slave which in its turn is governed by master instance 0. So check if all these conditions are true.

ibXCM commented
sirop commented

If you have only 1 master and only 1 slave, then try lcec.0.0.dout-0 and check if dout-0 really exists.

To check it, run smth. like:

loadusr -W lcec_conf ethercat-conf_X.xml
loadrt lcec
show pin lcec
ibXCM commented
ibXCM commented
sirop commented

You have to read more about HAL script language, for instance, how to load a thread.
http://linuxcnc.org/docs/html/hal/tutorial.html#_making_realtime_code_run
smth. means merely something.

ibXCM commented
ibXCM commented