How to use LinuxCNC to control slave
02 Jul 2019 02:26 #138366
by cheng
How to use LinuxCNC to control slave was created by cheng
Attachments:
Please Log in or Create an account to join the conversation.
02 Jul 2019 07:04 #138381
by pl7i92
Replied by pl7i92 on topic How to use LinuxCNC to control slave
hi
you may go with the new MASTER relese
at www.linuxcnc.org/testing-stretch-rtpreempt/
use the ((( 1.3 GB ))) DVD file
linuxcnc-stretch-uspace-amd64-r13.iso
IF YOU ALREDY GOT STRETCH Debian 9 Running use the BUILDBOT to update to master
buildbot.linuxcnc.org/
then follow tutorial
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
you may go with the new MASTER relese
at www.linuxcnc.org/testing-stretch-rtpreempt/
use the ((( 1.3 GB ))) DVD file
linuxcnc-stretch-uspace-amd64-r13.iso
IF YOU ALREDY GOT STRETCH Debian 9 Running use the BUILDBOT to update to master
buildbot.linuxcnc.org/
then follow tutorial
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19217
- Thank you received: 6440
02 Jul 2019 17:06 #138417
by tommylight
Replied by tommylight on topic How to use LinuxCNC to control slave
He already has everything installed and running properly.
Now he needs actual commands to test the motors, but i can not help there, maybe Grotius or some other forum member can help.
Now he needs actual commands to test the motors, but i can not help there, maybe Grotius or some other forum member can help.
Please Log in or Create an account to join the conversation.
02 Jul 2019 22:03 - 02 Jul 2019 22:18 #138444
by Grotius
Replied by Grotius on topic How to use LinuxCNC to control slave
Cheng,
First off all welcome to the LinuxCNC forum !
I see you are a new member, living in Hongkong?
I have successfully installed igh-ethercat and detected slaves but I don't know how to make the slave station motor turn.
You did not use and try any C code example i see wich is provided by Etherlab.
I wish
Do you want to use Linuxcnc to turn your motor?
Or do you want to turn your motor with C or C++ code?
What needs your application?
He already has everything installed and running properly.
Haha. So far so good.
pl7i92
?
He can use .so or .ko kernel insmod's. He don't need a update.
Ethercat works for 32 and 64 bit, just for info.
First off all welcome to the LinuxCNC forum !
I see you are a new member, living in Hongkong?
I have successfully installed igh-ethercat and detected slaves but I don't know how to make the slave station motor turn.
You did not use and try any C code example i see wich is provided by Etherlab.
I wish
Do you want to use Linuxcnc to turn your motor?
Or do you want to turn your motor with C or C++ code?
What needs your application?
He already has everything installed and running properly.
Haha. So far so good.
pl7i92
?
He can use .so or .ko kernel insmod's. He don't need a update.
Ethercat works for 32 and 64 bit, just for info.
Last edit: 02 Jul 2019 22:18 by Grotius.
The following user(s) said Thank You: cheng
Please Log in or Create an account to join the conversation.
03 Jul 2019 00:45 #138478
by cheng
Replied by cheng on topic How to use LinuxCNC to control slave
Thank you very much
Please Log in or Create an account to join the conversation.
03 Jul 2019 00:46 #138479
by cheng
Replied by cheng on topic How to use LinuxCNC to control slave
You are right, I have successfully run, but do not know how to control the motor
Please Log in or Create an account to join the conversation.
03 Jul 2019 00:58 #138480
by cheng
Replied by cheng on topic How to use LinuxCNC to control slave
thanks Grotius .I live in Guangzhou now. Do you know Guangzhou? It is next to Hong Kong. I want to learn how to use LinuxCNC to control the motor. I don't know what to do. Maybe I need to write .hal .xml .ini file.
I am going to find an example of C code in Etherlab.
I am going to find an example of C code in Etherlab.
Please Log in or Create an account to join the conversation.
04 Jul 2019 01:08 #138581
by Grotius
Replied by Grotius on topic How to use LinuxCNC to control slave
I live in Guangzhou now.
Nice Cheng.
I want to learn how to use LinuxCNC to control the motor.
Oke that's fine !
I am going to find an example of C code in Etherlab.
It's important you play a bit in the Etherlab source code. There is one example provided (included) that is basic enough to investegate.
I have a question. Is your system 32 or 64 bit? You can read a bit about .ko and .so kernel modules.
32 bit uses .ko modules. 64 bit uses .so modules.
The installation of 32 bit is quite easy to do. The 64 bit installation is more difficult.
What kind of ethercat slave do you have? Is it a Beckhoff?
Nice Cheng.
I want to learn how to use LinuxCNC to control the motor.
Oke that's fine !
I am going to find an example of C code in Etherlab.
It's important you play a bit in the Etherlab source code. There is one example provided (included) that is basic enough to investegate.
I have a question. Is your system 32 or 64 bit? You can read a bit about .ko and .so kernel modules.
32 bit uses .ko modules. 64 bit uses .so modules.
The installation of 32 bit is quite easy to do. The 64 bit installation is more difficult.
What kind of ethercat slave do you have? Is it a Beckhoff?
The following user(s) said Thank You: cheng
Please Log in or Create an account to join the conversation.
04 Jul 2019 01:20 #138582
by cheng
Replied by cheng on topic How to use LinuxCNC to control slave
Please Log in or Create an account to join the conversation.
04 Jul 2019 01:22 #138583
by cheng
Replied by cheng on topic How to use LinuxCNC to control slave
sorry I made a mistake.
Please Log in or Create an account to join the conversation.
Time to create page: 0.142 seconds