Ethercat HAL driver

More
5 years 8 months ago #199820 by db1981
Replied by db1981 on topic Ethercat HAL driver
ok, then i will prepare this ...

-which linuxcnc version ?
-debian?
-RIP version oder installed linuxcnc?
More
5 years 8 months ago #199825 by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt

sorry i am on the "woodway".....

Now i also got an newer EL5151, and both of them old and new run in the test setup without problems. May be there is wrong information in the SII eeprom. writing the coded pdo config is without errors.

So there must be an wrong thing in your config.

please post the ethercat_conf.xml
More
5 years 8 months ago - 5 years 8 months ago #199833 by bkt
Replied by bkt on topic Ethercat HAL driver
@db1981 ... sorry for these questions ... but I can compile only my lcec_el5151_f25.c, lcec_el5151_f25.h, lcec_conf.c and lcec_conf.h ... or is necessary to compile all ?

ok, i read your messages just now. Thank you. But I would like to learn how to compile my ethercat component .... so my request is valid but do not prepare anything I would like to do by myself.

And if the problem is in my bad xml better .... I am attaching everything .... et voilĂ :

Warning: Spoiler!


these my .hal

Warning: Spoiler!


tanks a lot.

bkt
Last edit: 5 years 8 months ago by bkt.
More
5 years 8 months ago - 5 years 8 months ago #199836 by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt

about compiling: you have to compile the complete project, the modules have to be linked. After compiling you only got an lcec_conf and an lcec module.

about you config, nothing seems to be wrong.

please do an "ethercat debug 1" , start linuxcnc, then dmesg and look for all ethercat messages for slave 6.
Last edit: 5 years 8 months ago by db1981. Reason: post overlab
The following user(s) said Thank You: bkt
More
5 years 8 months ago #199854 by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt in addition

you should also better change your addf lcec.write_all line to the last line of addfs in your hal file.

read the post #199443 on page 115 of this thread.
The following user(s) said Thank You: bkt
More
5 years 8 months ago - 5 years 8 months ago #199870 by bkt
Replied by bkt on topic Ethercat HAL driver
My ini have debug = 1 ... but noting appears about -p6 slaves on terminal ...

Changing position lcec.write_all command on .hal file give me stability on power on of sistem (previosly sometime one drive not go on OP mode .... now every time ... so thanks).

But no other .... Have you some other ideas? Because linuxcnc axis Gui not detect -p6 slaves at all. On terminal I can see everytime -p6 slaves on PREOP mode.
Last edit: 5 years 8 months ago by bkt.
Time to create page: 2.553 seconds
Powered by Kunena Forum