Retrofitting Realmeca need help

  • Arnaud
  • Arnaud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
08 Feb 2023 14:15 #264048 by Arnaud
Retrofitting Realmeca need help was created by Arnaud
Hello everyone,This is my first message on this forum, I am currently retrofitting a CNC milling machine (see photo).With the help of a friend who advises me on the technical choices, I chose a Mesa 6i25 card and a 7i77 mounted on a Dell tower recovered at work.

The milling machine suffered damage the NUM was out of order

It took me a while to get my hands on all the gear.

I am asking you because some problems arise.-I changed the kernel from PREEMPT to RTAI, under PREEMPT I had an average latency around 20-25K, going under RTAI this figure should drop, it was not the case on the contrary, today I'm at 180-200K.

What do you think?

-I want to know if it is possible that the computer does not go to sleep, I can not find the command so that it never goes to sleep and asks me again for the password.

thanks you
Attachments:

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

More
08 Feb 2023 15:27 #264058 by PCW
Replied by PCW on topic Retrofitting Realmeca need help
I would not worry about the latency numbers. As long as you do not get real-time errors
they are not really important.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
08 Feb 2023 16:57 #264064 by tommylight
Replied by tommylight on topic Retrofitting Realmeca need help
You cam hold the shift button at boot, that brings up the GRUB menu so you can select the RT or RTAI kernel.
GRUB can also be edited, but any mistake will end up not booting at all, so might want to use grub-customizer to set the default kernel and save.
That is not a typo.

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

  • Arnaud
  • Arnaud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
09 Feb 2023 08:59 - 09 Feb 2023 09:01 #264117 by Arnaud
Replied by Arnaud on topic Retrofitting Realmeca need help
hello,

yet from what I read a latency of 200,000 is very high for RTAI....

I want to know if it is possible that the computer does not go to sleep, I can not find the command so that it never goes to sleep and asks me again for the password.
Last edit: 09 Feb 2023 09:01 by Arnaud.

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

  • Arnaud
  • Arnaud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
09 Feb 2023 09:01 #264118 by Arnaud
Replied by Arnaud on topic Retrofitting Realmeca need help
I'll try but I'm not strong on linux, would there be a tutorial?

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
09 Feb 2023 09:19 #264120 by rodw
Replied by rodw on topic Retrofitting Realmeca need help
I find it annoying that people choose a mesa card and still think they have to get the smallest latency number possible. I ran a machine with a 7i76e for years with latency of around 130k and the OP is worried that the latency is 25k ?
As PCW says, we need acceptible latency, not minimal latency! Revert to PREEMPT_RT and the problem is solved unles syou actually get errors

as for your other questions, look under power settings and security settings for screen saver and lock.

The auto logon needs editing a text file and this varies with your gui. If it is xfce which is what the linuxcnc ISO runs, try just googling "linux xfce auto logon"
Here is an example link
forums.debian.net/viewtopic.php?p=736982

Google can solve most linux config questions.

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

  • Arnaud
  • Arnaud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 Feb 2023 08:25 - 14 Feb 2023 08:30 #264488 by Arnaud
Replied by Arnaud on topic Retrofitting Realmeca need help
Hello, finally the latency is stabilized between 15 and 20K after several tests. I will therefore remain in RTAI. I don't understand what could have happened.

I tried to see my cards are well recognized by linuxcnc but I have the error message attached

I opened all the ports with the line in the .hal : 
loadrt hm2_pci config=" num_encoders=-1 num_pwmgens=-1 num_stepgens=-1 sserial_port_0=100xxx"

Looks like the 7i77 is not recognized?
it may be necessary to supply it with 24 V also so that the inputs / outputs are taken into account?
what color should the LEDs be, currently I have 2 in orange
Attachments:
Last edit: 14 Feb 2023 08:30 by Arnaud.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Feb 2023 12:22 #264501 by tommylight
Replied by tommylight on topic Retrofitting Realmeca need help
Yes, it does require 24V/ field power for inputs and outputs to work.

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

  • Arnaud
  • Arnaud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 Feb 2023 14:18 #264508 by Arnaud
Replied by Arnaud on topic Retrofitting Realmeca need help
thanks,
how to hook up the part field voltage monitor mesa 7i77?
I can't find it on the doc

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

More
14 Feb 2023 15:41 #264512 by PCW
Replied by PCW on topic Retrofitting Realmeca need help
If you mean enable 7I77 field voltage monitoring, you would need to set
sserial channel 0 to mode 2 or 3:

sserial_port_0=300xxx

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

Time to create page: 0.178 seconds
Powered by Kunena Forum