sittner / linuxcnc-ethercat

LinuxCNC EtherCAT HAL driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it support Linuxcnc 2.9 now?

ibXCM opened this issue · comments

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

Do you run LinuxCNC on linux-rt ?

Could you provide more details about the "problems" ?

commented
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.

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
commented
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.

commented
commented