Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
09 Jul 2019 20:04 #138967 by JimPanski
Hello Grotius!

so this means you dont use the ena signal on the drivers and ony stp+dir for one axis?

Yes, in both tutorials you have to create the halfile called postgui.hal. thats a bit confusing because when you use the (already) existig postgui_call_list.hal to shorten things up (i thaught in that moment), you wont succeed ;)
What item do you mean?

Cheers,
Conny

Please Log in or Create an account to join the conversation.

More
10 Jul 2019 20:26 #139018 by Grotius
@Conny,

That is correct. I don't use enable signals, do you know why?

Yes, in both tutorials you have to create the halfile called postgui.hal.

You need the postgui.hal file. It's a very good program flow for the linuxcnc software. Some developper's had to think about
this file at that time.

What item do you mean?
Yes, in both tutorials
In my tutorial there is no file like :
postgui_call_list.hal

Please Log in or Create an account to join the conversation.

More
10 Jul 2019 22:18 #139029 by JimPanski
No, I really don't know why. Please tell me the reason why.

Please Log in or Create an account to join the conversation.

More
10 Jul 2019 23:20 - 10 Jul 2019 23:29 #139036 by Grotius
@Jim,

I will tell you why..

Once i was expert programmer related to Kuka robotic's.

Safety is number one in automotive industry. So enable the robot servo drives is not a option if a person is trapped by a robot.
It will only cause more (hours) of delay to free the person. To free the person first the drives have to be enabled. For lineair machines main power shut down is the best option.
Last edit: 10 Jul 2019 23:29 by Grotius.

Please Log in or Create an account to join the conversation.

More
11 Jul 2019 19:35 #139121 by JimPanski
Hi Grotius,

thanks, that makes sense.

There is one other thing:
Please tell me, that i have a chance to use Beckhoff KL modules with linuxcnc. (if not - i may have a problem..)

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 20:50 - 25 Jul 2019 20:51 #140567 by JimPanski
Hello Grotius,

Grotius wrote: 3. Modify the EL3255.c and EL3255.h to your EL3062.c and EL3062.h needs.
It's almost as simple as the find and replace function for whole document with text editor geany.


I didnt get this. So please can you say what in your example was really needed to change?

Thanks
Conny
Last edit: 25 Jul 2019 20:51 by JimPanski.

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 21:00 #140568 by Grotius
Hi Conny,

I didnt get this. So please can you say what in your example was really needed to change?

What i mentioned, if a driver not exist's it is possible to copy and edit a existing driver.

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 21:17 #140570 by JimPanski
What i meant was what exactly is needed to change in this files.
In the .h file i have seen its the PID VID and PDOS lines but what do i need to change in the .c file?
I am asking because today i get my K-Bus modules wich now i need to adopt drivers for :/

Thank you!
Conny

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 21:26 - 25 Jul 2019 21:28 #140571 by Grotius
@Conny,

but what do i need to change in the .c file?
It depend's of the difference. If you are only editing a driver name, it's quite easy.
If you want to edit a 2 channel analog input from 16 to 10 bit for example, it's more complicated.
You have to edit more related to the 16 and 10 bit input size.

But if you think logical it would be to do. And take your time. If you are stuck for 36 hour's we can help you with coding.

Header file's are not so important. But you have to look at it alway's if there are differences.
Last edit: 25 Jul 2019 21:28 by Grotius.
The following user(s) said Thank You: Nico2017, BICHLER

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.192 seconds
Powered by Kunena Forum