Ethercat HAL driver

More
11 years 5 months ago #58345 by euerka
Replied by euerka on topic Ethercat HAL driver
I got the answer after I read the source code.
add
Code:
<masters> ...... </master>
in configure file to support multi-master.
More
11 years 5 months ago #58833 by pavel7890
Replied by pavel7890 on topic Ethercat HAL driver
Hi,

I finally started to work out my indradrive ethercat project. I acquired Wasino gang lathe and want to use 2 axis servo and main spindle, all controlled by ethercat.

I started with main spindle. So far so good :) Just a bit playing with correct soft start/stop spindle procedure.

I guess I found a bug in sittners lcec_conf.c for scale and offset. Since I do not have any experience with git contribution i put it here:

// parse scale
if (strcmp(name, "scale") == 0) {
floatReq = 1;
p->floatScale = atof(val);
continue;
}

// parse offset
if (strcmp(name, "offset") == 0) {
floatReq = 1;
p->floatOffset = atof(val);
continue;
}

There was not continue; so it just parsed scale parameter with error.
Hope it helps.
More
11 years 5 months ago #58889 by sascha
Replied by sascha on topic Ethercat HAL driver
You are right, thank you.

I've took it into master: github.com/sittner/linuxcnc-ethercat/com...7da79e3406d6d881dc8b
More
11 years 5 months ago #59059 by bkt
Replied by bkt on topic Ethercat HAL driver
sorry at all .... I have not experience with ethercat ..... and i read some specification on linuxcnc doc ethercat, I have a doubt: How many drives can be connected to LinuxCNC with EtherCAT with safe/robust operation ?
More
11 years 4 months ago #59516 by a60081
Replied by a60081 on topic Ethercat HAL driver
I want to create two domain for pdos because the motor i used is required one domain(1600) for transfer, and another one for receive(1A00).
If only one domain, it will be synchronize error.

How could i edit it in lcec.c?
More
11 years 4 months ago - 11 years 4 months ago #59628 by narogon
Replied by narogon on topic Ethercat HAL driver

a60081 wrote: I want to create two domain for pdos because the motor i used is required one domain(1600) for transfer, and another one for receive(1A00).
If only one domain, it will be synchronize error.

How could i edit it in lcec.c?


Check tutorial

step 9 parameter 4.

I think you mean sync managers when you say domains.
Last edit: 11 years 4 months ago by narogon.
The following user(s) said Thank You: a60081, Nico2017
Time to create page: 0.199 seconds
Powered by Kunena Forum