New Hardware (solved)
18 Feb 2020 11:25 #157706
by stefano
New Hardware was created by stefano
I would be grateful if someone could help me with the new hardware.
After 10 years of regular operation the old Dell optiplex GX620 has failed.
I replaced it with a Dell optiplex 7010 and added an LPT card "Syba SD-PEX10005" with Moschip 9900 as suggested in the post
"Please recommend PCI-E Parallel Port card" on this forum.
Using the Lspci command I found the two addresses of the card "0e000 - 0e010", configured the new Axis 2.7.14 and tried the
operation.
At startup the error "RTAPI: ERROR: Unexpected realtyme dalay on task 1" is displayed, the Latency test gives me a value
maximum of 18000 ns, I tried to set in the configuration values from 10000 up to 50000 but nothing changes, always the same error.
By testing the CNC manually, even at very low speeds, the motors lose steps continuously.
I attach the report of the Dmesg command (I'm not familiar with Linux).
Thanks in advance!
After 10 years of regular operation the old Dell optiplex GX620 has failed.
I replaced it with a Dell optiplex 7010 and added an LPT card "Syba SD-PEX10005" with Moschip 9900 as suggested in the post
"Please recommend PCI-E Parallel Port card" on this forum.
Using the Lspci command I found the two addresses of the card "0e000 - 0e010", configured the new Axis 2.7.14 and tried the
operation.
At startup the error "RTAPI: ERROR: Unexpected realtyme dalay on task 1" is displayed, the Latency test gives me a value
maximum of 18000 ns, I tried to set in the configuration values from 10000 up to 50000 but nothing changes, always the same error.
By testing the CNC manually, even at very low speeds, the motors lose steps continuously.
I attach the report of the Dmesg command (I'm not familiar with Linux).
Thanks in advance!
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
18 Feb 2020 12:16 #157713
by tommylight
Replied by tommylight on topic New Hardware
What version of Linuxcnc?
You would need RTAI for parallel port, although i did test a Dell 9020 (or similar) with Preempt-RT and it had very low latency.
You would need RTAI for parallel port, although i did test a Dell 9020 (or similar) with Preempt-RT and it had very low latency.
Please Log in or Create an account to join the conversation.
18 Feb 2020 16:27 #157727
by stefano
Replied by stefano on topic New Hardware
Thanks for your kind reply, the operating system is LinuxCNC 2.7.14.
RTAI I suppose it's a program, where I find it?
RTAI I suppose it's a program, where I find it?
Please Log in or Create an account to join the conversation.
18 Feb 2020 17:44 #157735
by bbsr_5a
Replied by bbsr_5a on topic New Hardware
rtai is the operation kernal
can you run a latency test so you know what is up to your ystem
and please post the output of
uname -a in a terminal
can you run a latency test so you know what is up to your ystem
and please post the output of
uname -a in a terminal
Please Log in or Create an account to join the conversation.
18 Feb 2020 20:14 #157745
by stefano
Replied by stefano on topic New Hardware
In the initial post, the latency test reports a maximum of 18000ns.
~$ uname -a
Linux stefano 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
~$ uname -a
Linux stefano 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
18 Feb 2020 20:35 #157749
by tommylight
Replied by tommylight on topic New Hardware
That should be OK.
Please Log in or Create an account to join the conversation.
18 Feb 2020 20:56 #157757
by stefano
Replied by stefano on topic New Hardware
Yes, but it doesn't work.
There is a way to test the correct functioning of the card?
There is a way to test the correct functioning of the card?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
18 Feb 2020 22:02 #157765
by tommylight
Replied by tommylight on topic New Hardware
In a terminal
sudo lspci -vv | grep par
post the result here, also attach the hal and ini files from your config.
Another thing, "it does not work" does not say much, so please give us more info, what have you already tested and what worked and what not, attach the error files/results, etc.
sudo lspci -vv | grep par
post the result here, also attach the hal and ini files from your config.
Another thing, "it does not work" does not say much, so please give us more info, what have you already tested and what worked and what not, attach the error files/results, etc.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
18 Feb 2020 22:18 #157768
by Todd Zuercher
Replied by Todd Zuercher on topic New Hardware
If you were able to get any steps/movement of the motors using the parallel port card, then it is working. (They either work or they don't, there is no half way.)
As to your realtime alarms? If you are getting them with basethread = 50000 and servothread=1000000, it sounds like you still need to find some setting or other bugaboo that is messing up your timing. What they might be I can not say. Make sure all power saveing features in the BIOS are off, C states set to 1, no hyperthreading... (usual stuff) Unplug any un needed USB stuff. Disable Wifi. not sure what else to try.
If it is just motors loosing steps, make sure step space timings are more than the minimums in the manuals (double those is a good place to start.) Also check for wiring issues, things like ground loops can also result in missed steps.
As to your realtime alarms? If you are getting them with basethread = 50000 and servothread=1000000, it sounds like you still need to find some setting or other bugaboo that is messing up your timing. What they might be I can not say. Make sure all power saveing features in the BIOS are off, C states set to 1, no hyperthreading... (usual stuff) Unplug any un needed USB stuff. Disable Wifi. not sure what else to try.
If it is just motors loosing steps, make sure step space timings are more than the minimums in the manuals (double those is a good place to start.) Also check for wiring issues, things like ground loops can also result in missed steps.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
19 Feb 2020 11:57 #157844
by stefano
Replied by stefano on topic New Hardware
to tommylight
"sudo lspci -vv | grep par" gives me no report, the result of sudo lspci -vv is in the attached file "lspci.log"
All three xyz axes move in the correct direction, at low speed they move in strokes and if I increase the speed the movement gets worse (I lose more steps) until the motors stall.
Before replacing the computer, the motors ran regularly without losing steps even at high speed.
I copied the old configuration to the new computer by changing only the LPT address.
to Todd Zuercher
>As to your realtime alarms?
Yes, at startup the error "RTAPI: ERROR: Unexpected realtyme dalay on task 1"
I have verified in the BIOS there are no power saving or hyperthreading related settings.
"sudo lspci -vv | grep par" gives me no report, the result of sudo lspci -vv is in the attached file "lspci.log"
All three xyz axes move in the correct direction, at low speed they move in strokes and if I increase the speed the movement gets worse (I lose more steps) until the motors stall.
Before replacing the computer, the motors ran regularly without losing steps even at high speed.
I copied the old configuration to the new computer by changing only the LPT address.
to Todd Zuercher
>As to your realtime alarms?
Yes, at startup the error "RTAPI: ERROR: Unexpected realtyme dalay on task 1"
I have verified in the BIOS there are no power saving or hyperthreading related settings.
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds