Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it support Linuxcnc 2.9 now? #92

Open
ibXCM opened this issue Sep 10, 2020 · 11 comments
Open

Is it support Linuxcnc 2.9 now? #92

ibXCM opened this issue Sep 10, 2020 · 11 comments

Comments

@ibXCM
Copy link

ibXCM commented Sep 10, 2020

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
Copy link

sirop commented Sep 10, 2020

Do you run LinuxCNC on linux-rt ?

Could you provide more details about the "problems" ?

@ibXCM
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@ibXCM
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@sirop
Copy link

sirop commented Sep 11, 2020

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
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@sirop
Copy link

sirop commented Sep 11, 2020

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
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@ibXCM
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@sirop
Copy link

sirop commented Sep 11, 2020

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
Copy link
Author

ibXCM commented Sep 11, 2020 via email

@ibXCM
Copy link
Author

ibXCM commented Sep 14, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants