Parallel port stepper control and etherCAT I/O

More
16 Sep 2022 16:24 #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 or Create an account to join the conversation.

More
17 Sep 2022 23:42 #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 or Create an account to join the conversation.

More
08 Oct 2022 12:13 - 08 Oct 2022 12:14 #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?
Last edit: 08 Oct 2022 12:14 by O.R.

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

More
11 Oct 2022 09:44 #253942 by rodw
Yeh that should be alright. I'm sure my PC is worse.

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

More
11 Oct 2022 18:23 #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".
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 or Create an account to join the conversation.

More
16 Oct 2022 15:12 #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 or Create an account to join the conversation.

More
17 Oct 2022 16:17 - 17 Oct 2022 16:19 #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
Last edit: 17 Oct 2022 16:19 by O.R.

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

More
18 Oct 2022 04:24 - 18 Oct 2022 04:31 #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
Last edit: 18 Oct 2022 04:31 by CORBETT.

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

More
18 Oct 2022 17:04 #254437 by O.R
I tried Rod's instructions and i'm stuck at first step.
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 or Create an account to join the conversation.

More
19 Oct 2022 04:17 #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 or Create an account to join the conversation.

Time to create page: 0.186 seconds
Powered by Kunena Forum