Parallel port stepper control and etherCAT I/O

More
4 years 1 month ago #252085 by O.R

O.R

Ok tonight I went back and looked at the EL1124's and they have a 2.2μs filter also.  BUT the EL1004 and 1008s have a 3ms filter.  So, there is no way the ms filter will work, but the μs filter may work at real low speed, but probably not at a moderate or decent speed.  I can see now why Dan was getting them to work compared to me with the 1008s, etc... there is a huge difference in ms and μs.

I never tried them, but now I am interested in setting up a test system with one to see.  I am extremely busy with work and will be out of town leaving next week until the end of the month, but when I get back, I will try it along with you (time willing, very busy).   I have a test system already setup with a 5101 that I test different things with.  I can adapt the 1124 pretty quick as would only need to change the XML and HAL very little and then move the encoder with pull-ups to the 1124. 

Don't forget, you may need a pull up resistor to get it working.  I had to do so on most all of my rotary encoder setups, but not sure on the linear setup you have.
Ok, my EL1124 is still on transit and my electrical cabinet is still on progress, so it takes some time when i can test it. I'm using about 10 year old version of LinuxCNC, maybe i also update it to latest version also before testing. I don't know why Beckhoff shows that EL1124 module has 0.05 us filter, or is it some better model of it? Model that i ordered have also 2.2 us filter.

Please Log in to join the conversation.

More
4 years 1 month ago #252208 by CORBETT
O.R

Ok, since you still have work to do in your cabinet, I should be able to get it checked in a few weeks.  Just super busy at the moment.

Thers is a chance Beckhoff changed the filter time from the old units to a different time for the new.  I have not even taken a look at the 1124's on Beckhoff's site in a long time.  Will take a look when I get a chance.
 

Please Log in to join the conversation.

More
4 years 3 weeks ago #253749 by O.R
My electrical cabinet is ready for Linuxcnc configuration. I tried the latest Linuxcnc 2.8.4 and my base thread max jitter is about 70 000, with older 2.6.4 version max jitter is about 24 000. Can i use this older version of Linuxcnc / linux distribution with EtherCAT control?

Please Log in to join the conversation.

More
4 years 2 weeks ago #253942 by rodw
Yeh that should be alright. I'm sure my PC is worse.

Please Log in to join the conversation.

More
4 years 2 weeks ago #253976 by O.R
Is this quide still relevant or can i install it like that in my case? forum.linuxcnc.org/ethercat/42048-notes-...at-on-raspberry-pi-4
I dont know much about linux, so i tried to install those linux headers, I'm not sure if i need, but i only get "command not found".
Code:
root@cnc-sorvi:/home/sorvi# uname -r 3.4-9-rtai-686-pae root@cnc-sorvi:/home/sorvi# ^C root@cnc-sorvi:/home/sorvi# apt-cache search 3.4-9 linux-headers-3.4-9-486 - Header files for Linux 3.4-9-486 linux-headers-3.4-9-686-pae - Header files for Linux 3.4-9-686-pae linux-headers-3.4-9-all-i386 - All header files for Linux 3.4 (meta-package) linux-headers-3.4-9-all - All header files for Linux 3.4 (meta-package) linux-headers-3.4-9-amd64 - Header files for Linux 3.4-9-amd64 linux-headers-3.4-9-common-rtai - Common header files for Linux 3.4-9-rtai linux-headers-3.4-9-common - Common header files for Linux 3.4-9 linux-headers-3.4-9-rtai-486 - Header files for Linux 3.4-9-rtai-486 linux-headers-3.4-9-rtai-686-pae - Header files for Linux 3.4-9-rtai-686-pae linux-image-3.4-9-486 - Linux 3.4 for older PCs linux-image-3.4-9-686-pae-dbg - Debugging infos for Linux 3.4-9-686-pae linux-image-3.4-9-686-pae - Linux 3.4 for modern PCs linux-image-3.4-9-amd64 - Linux 3.4 for 64-bit PCs linux-image-3.4-9-rtai-486 - Linux 3.4 for older PCs, RTAI linux-image-3.4-9-rtai-686-pae-dbg - Debugging infos for Linux 3.4-9-rtai-686-pae linux-image-3.4-9-rtai-686-pae - Linux 3.4 for modern PCs, RTAI linux-support-3.4-9 - Support files for Linux 3.4 rtai-modules-3.4-9-rtai-686-pae - RTAI Real Time modules for linux-image 3.4-9-rtai-686-pae xen-linux-system-3.4-9-686-pae - Xen system with Linux 3.4 on modern PCs (meta-package) xen-linux-system-3.4-9-amd64 - Xen system with Linux 3.4 on 64-bit PCs (meta-package)

Please Log in to join the conversation.

More
4 years 2 weeks ago #254234 by CORBETT
O.R.

Ok, in the past I was under the impression you had an older PC..  are you using a PC or RaspberryPI?  If you have a PC, then I would not use the PI version as it is different than the PC install.

Let us know and hopefully one of us can help.


Thanks,
Robert

Please Log in to join the conversation.

More
4 years 1 week ago #254336 by O.R

O.R.

Ok, in the past I was under the impression you had an older PC..  are you using a PC or RaspberryPI?  If you have a PC, then I would not use the PI version as it is different than the PC install.

Let us know and hopefully one of us can help.


Thanks,
Robert
 
I have PC, i thought the EtherCAT installation procedure is same for PC or PI

Please Log in to join the conversation.

More
4 years 1 week ago #254378 by CORBETT
O.R.

Yes, the installation is the same but if you follow a version for PI, it will have a few things different at the very beginning and I was thinking you may be trying to follow it from the start.

Ok you need to go follow Rod's instructions.  
Ethercat installation from repositories - how to step by step - LinuxCNC


Robert

Please Log in to join the conversation.

More
4 years 1 week ago #254437 by O.R
I tried Rod's instructions and i'm stuck at first step.
Code:
root@cnc-sorvi:/home/sorvi# sudo apt install geany curl sudo: apt: command not found root@cnc-sorvi:/home/sorvi# sudo apt-get install geany curl Reading package lists... Done Building dependency tree        Reading state information... Done Package curl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Unable to locate package geany E: Package 'curl' has no installation candidate root@cnc-sorvi:/home/sorvi#

Please Log in to join the conversation.

More
4 years 1 week ago #254492 by CORBETT
Ok instead of using geany, try using pico.  It most likely will already be installed depending on Debian version you are using.

Are you on Linux 10 Buster or using an older version like 7 Wheezy?  I saw you corrected with "sudo apt-get install"

I am super busy with work, it can be days before I get back, but there are much smarter people on here than me that hopefully can help.

Hope it gets you going
Robert

Please Log in to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum