- Posts: 43
- Thank you received: 14
Ethercat HAL driver
- narogon
- Offline
- Senior Member
-
Less
More
10 years 9 months ago - 10 years 9 months ago #69196
by narogon
Replied by narogon on topic Ethercat HAL driver
I've tried my fork with different hardware, so i don't know if my last modification to your EL7041 is 100% correct. I've made it so quickly so try it if you can.
You can check if it works using a terminal and executing:
The same way could be used to read the entire CoE by SDO. Those parameters can't be modified in many slaves while they are in OP state, so i don't see the need to write them in a different way.
You can check if it works using a terminal and executing:
Code:
ethercat -p(SLAVE INDEX) --type uint16 upload 0x8010 03
ethercat -p(SLAVE INDEX) --type uint16 upload 0x8010 01
The same way could be used to read the entire CoE by SDO. Those parameters can't be modified in many slaves while they are in OP state, so i don't see the need to write them in a different way.
Last edit: 10 years 9 months ago by narogon.
- Markux
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
10 years 9 months ago - 10 years 9 months ago #69202
by Markux
Replied by Markux on topic Ethercat HAL driver
I dled your fork and I tried doing make and install, both resulted in:.
"configure.mk:1: ***missing separator. Stop." and an empty config.mk file.
"configure.mk:1: ***missing separator. Stop." and an empty config.mk file.
Last edit: 10 years 9 months ago by Markux.
- narogon
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 14
10 years 9 months ago - 10 years 9 months ago #69203
by narogon
have you tried?
make clean
make install
I've not made any changes on configure.mk config ...
Only lcec_config.c, lcec_config.h, lcec.h and lcec_main.c
And lcec_el7041_1000.c
Replied by narogon on topic Ethercat HAL driver
Markux wrote: I dled your fork and I tried doing make and install, both resulted in:.
"configure.mk:1: ***missing separator. Stop." and an empty config.mk file.
have you tried?
make clean
make install
I've not made any changes on configure.mk config ...
Only lcec_config.c, lcec_config.h, lcec.h and lcec_main.c
And lcec_el7041_1000.c
Last edit: 10 years 9 months ago by narogon.
- Markux
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
10 years 9 months ago - 10 years 9 months ago #69204
by Markux
Replied by Markux on topic Ethercat HAL driver
didnt before but I did now.
the directory where the master from sittner and your fork are, is not the same.
Am I going to have problems to keep on using whatever I had before? seeing he removed a bunch of stuff
sry my linux machine is offline, this is why i posted the screenshot, i know it is more convenient posting the code, but...it wouldve taken a while
the directory where the master from sittner and your fork are, is not the same.
Am I going to have problems to keep on using whatever I had before? seeing he removed a bunch of stuff

sry my linux machine is offline, this is why i posted the screenshot, i know it is more convenient posting the code, but...it wouldve taken a while
Last edit: 10 years 9 months ago by Markux.
- narogon
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 14
10 years 9 months ago #69205
by narogon
Replied by narogon on topic Ethercat HAL driver
it only removes the compiled files from the directory you are. Let me check again the fork
- narogon
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 14
10 years 9 months ago - 10 years 9 months ago #69206
by narogon
Try to download it again. It has lot of mistakes
from my modifications this morning.
I've just checked it.
Sorry for that.
Replied by narogon on topic Ethercat HAL driver
narogon wrote: it only removes the compiled files from the directory you are. Let me check again the fork
Try to download it again. It has lot of mistakes
I've just checked it.
Sorry for that.
Last edit: 10 years 9 months ago by narogon.
Time to create page: 0.975 seconds