Advanced Search

Search Results (Searched for: )

  • Jensner
  • Jensner
21 Oct 2024 12:06

Unexpected realtime delay on task 0 with period 1000000

Category: QtPyVCP

Hi there,
I`m actualy on optimizing my Probe Basic Installation.
One of an Error, which i had since the beginning was the following
Unexpected realtime delay on task0 with period 1000000This Messagewill only display once persession.Run the Latency Test andresolve before continuing.

After confirming this message i didn`t have any problems.
I run an Latency test and i think my system should be OK.
Further I`m using a MESA 7I96S, so it should be OK.

Is there something i can do?
Thanks a lot.
 
  • ccc774
  • ccc774
21 Oct 2024 12:01 - 21 Oct 2024 12:02
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

With the latest deb's from the Test directory it did not boot.

I downloaded the image you put "Armbian-unofficial_24.11.0-trunk_Orangepi5_bookworm_vendor_6.1.75_cinnamon_desktop-002.img" and big surprise, it stuck when booting.

I used the image "Armbian_24.8.1_Orangepi5_bookworm_vendor_6.1.75_cinnamon-backported-mesa_desktop.img" (the one in your link on page 35), and it boots and I can apply rt kernel to it.

The answer lies in the differences between the two non real time images. One boots and the other doesn't.

Do you think that if you applied configuration for rt-kernel on the image "Armbian_24.8.1_Orangepi5_bookworm_vendor_6.1.75_cinnamon-backported-mesa_desktop.img" it would result in deb's that would work?
  • smc.collins
  • smc.collins
21 Oct 2024 11:54

Time to revisit coolant mapping of M-codes in Linuxcnc

Category: General LinuxCNC Questions

I cannot test this right now but looking at this makes me wonder if it could actually be this easy to add 'M7' and 'M8' to the list of remap-able Mcodes (considering that according to the documentation 'M9' should not be a remap-able Mcode somebody already seems to have done or at least tried to do something like this)  :

 

remapping is certainly a valid option for sure. 
  • Jensner
  • Jensner
21 Oct 2024 11:49
Replied by Jensner on topic Tool Anzeige

Tool Anzeige

Category: QtPyVCP

Yesterday, i did some further testing and at least i could solve the issue with my tootlable.

Thanks to all.


 
  • programador
  • programador's Avatar
21 Oct 2024 11:39

Example of HAL configuration for plasma torch height control with THCAD2 7i96s

Category: HAL Examples

Good morning, friends

Does anyone have an example of how the Z axis is connected and controlled in the axis movement for controlling the height of a plasma torch using the THCAD2 board on the ENCA+ input of the 7i96s? I am developing it for other purposes, but I think the example can help. It needs to be in LinuxCNC 2.8.4, if anyone has an example, even a simple one, it will help.

 

 
  • vmihalca
  • vmihalca
21 Oct 2024 10:40

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

I was able to start the spindle, direction works fine, but I have a problem with the speed.
My lathe max speed is 3000 rpm, when I set this speed, the pwm value is 0.999 so almost 1, which I think is correct.
When I set 700rpm, I get 0.23 on the pwm.value, which is also correct, however, the voltage measured between SP- and SPV is 5.8V so it spins way faster than it should.
How can I scale the value of the potentiometer so that between SP- and SPV I get the correct voltage.
Between SP- and SP+ I have 10.75V so this would mean 3000 rpm, so for 1500rpm, between SP- and SPV, I should have 5.37volts or smth like this.
  • The Egyptian
  • The Egyptian
21 Oct 2024 10:05
About lathe spindle encoder was created by The Egyptian

About lathe spindle encoder

Category: General LinuxCNC Questions

Hi , is there any way to connect encoder to arduino to count encoder pulses and send the count to linuxcnc 
i want to use 2000ppr encoder so i want to use arduino insted of pc to count pulses
any help will be appreciated
  • dm17ry
  • dm17ry's Avatar
21 Oct 2024 09:38
Replied by dm17ry on topic MECHATROLINK-II interface

MECHATROLINK-II interface

Category: Driver Boards

hello!
your email service is broken:
The recipient server did not accept our requests to connect. For more information, go to support.google.com/mail/answer/7720
[surfdyne.com 104.24.15.55: timed out]
[surfdyne.com 198.41.201.51: timed out]
[surfdyne.com 104.19.52.50: timed out]
a text message to the phone number and telegram did not work either. so.. :) get a working email please...

if your drives are M-II (SGD7S-xxxx10A with a couple of USB-A type connectors) then yes, YMTL2P will work
  • Grotius
  • Grotius's Avatar
21 Oct 2024 09:38
Replied by Grotius on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Hi Arciera,

Nice you can start lcnc now.

So how would I now make it load the gcode file through the optimizer? Everything looks just like it always does.
Start lcnc with open terminal, so you can verify the optimized gcode file is written trough the terminal output.
The gcode is optimized when you press the program run button.
This then starts the optimizer and saves a file in the ~/linuxcnc_trajectory_planner/cmake directory, named validate_xx.ngc. xx=random integer value.

Best worked for me is use a gcode file included a G64 P5 Q0. Then in next line a G61.

Then load the new produced file, and verify content.

I guess this is what made you comment that the install does not work?
Yes that is wrong filepath. The relative attached path"../../rtlib/motmod.so" is ok.


I think I may have found the underlying issue, something in the installation process of your repo seems to point motion.so to the 'lib' directory in the root folder (ie where a deb install would put them).
Maybe, the system would find them always in root lib dirs. I can remember me doing a "export" terminal command adding a
search dir to the system. Something like "sudo ldconfig".

In the link you can set your settings for the G64 P & Q values. With some more settings.
This is now compiled as fixed. To avoid confusion for me in earlyer stages of writing and testing the code.
Link

Good luck. I hope you can get something out.





 
  • Jensner
  • Jensner
21 Oct 2024 09:26 - 21 Oct 2024 11:52

Add setting to toggle display of one or two file managers in Probe Basic

Category: QtPyVCP

I think this topic revolves around “comfortability” and is not something that is urgent right now. For this reason, I don't think anything needs to be moved here.

But while we're on the subject of the window layout. Is there a possibility, via the Custom_config.yml or custom_probebasic.py, to make the code window a little narrower and the preview window wider, e.g. in the main mask?

Something like this:
 
  • programador
  • programador's Avatar
21 Oct 2024 09:06 - 21 Oct 2024 11:29

How to configure THCAD2 encoder on Z axis on 7i96s board?

Category: HAL Examples

Good morning Master PCW

I made the suggested change and it was not successful, an error appears, can you please help me?

The image below is before changing the line 214

 

The image below is after changing line 214

 

The image below is the error reported after the change

 

Attached are the error and hal configuration files


 

File Attachment:

File Name: Plasma_202...21-2.hal
File Size:13 KB


 

File Attachment:

File Name: linuxcnc-report.txt
File Size:9 KB


Please, can you help me?
 
  • Jensner
  • Jensner
21 Oct 2024 08:50 - 21 Oct 2024 08:56

Version aktualisieren + diverse Fehlermeldungen

Category: QtPyVCP

I try it:
- Debian Version 6.1.0-26-rt-amd64
Rest as a screenshot.
Is there an easy command finding out all the versions? (for debian, i found "uname -r")
The rest as screenshots.
Hope this is the right info..
Debian (Xfce):

LinuxCNC

Probe Basic


sudo apt update sayes everything is up todate

Thanks a lot
Jens
  • Aciera
  • Aciera's Avatar
21 Oct 2024 08:39
Replied by Aciera on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Just noticed this looks a bit odd:
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/user/linuxcnc_trajectory_planner/cmake/motion/../../rtlib/motmod.so
-- Up-to-date: /home/user/linuxcnc_trajectory_planner/cmake/planner/../../rtlib/tpmod.so
I guess this is what made you comment that the install does not work?
  • ErwinCNC
  • ErwinCNC
21 Oct 2024 08:09

Newbie question regarding a Gantry system using a 7i96s

Category: General LinuxCNC Questions

Hello everyone,Could you help me set up the control for my milling machine? The following setup is available:PC Lenovo ThinkCentre M91p i5 2400 8GB RAM
Mesa 7i96S Power supply 24V 10A or 2x 48V 7A
4 JMC closed loop stepper 3Nm / servos 180WThe milling machine is a self-built gantry designNow my questions:
0. Is there a well-documented example of setting up a control? There is a lot of information on the subject, but as a beginner it is very difficult to filter out the good explanations.
 
  1. Are the axis designations fixed/relevant for LinuxCNC? On professional machines, manufacturers differ in X / Y
In the axis gantry.ini example, the Y-axis is doubled.
  1. In the Axis example there is a special version gantry_jjog Do I understand correctly that with this version I can drive the double axis separately to a certain extent in order to align the portal?
  2. End switch type Can someone recommend a good small end switch? I bought some but they are very large, about 8cm long. This is rather unfavorable for the construction. Alternatively, I have these small microswitches. Inductive limit switches are also an option. However, these are significantly more expensive and only come into question if there are real advantages. I don't see the accuracy as being so critical. With a 1K temperature change, I expect a difference of about 0.02mm over a length of 1500mm. So a sensor of 0.01mm is not really necessary.
  3. End switch mounting/control If I attach an end switch to the moving part, I only need one switch for min and max, one cable and one input on the Mesa card. However, it cannot be distinguished whether min or max was triggered. Does this limit the function or is there anything else against this solution? Does anyone have an example of the wiring?

    That's it for now, but I'm sure I'll have more questions as we go along.
Thank you for your support.Best regards Erwin
  • Aciera
  • Aciera's Avatar
21 Oct 2024 08:04 - 21 Oct 2024 08:27
Replied by Aciera on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

I think I may have found the underlying issue, something in the installation process of your repo seems to point motion.so to the 'lib' directory in the root folder (ie where a deb install would put them). Since I only have rip installs on this machine the 'lib' directory in my rootfolder (ie /lib) contains nothing related to linuxcnc (eg there is no ' liblinuxcnchal.so.0' in root/lib/)

As a test I copied it into the root/lib folder:
user@user-iMac:~/linuxcnc_trajectory_planner/lib$ sudo cp liblinuxcnchal.so.0 /lib

and ran 'build.sh'. There is no longer an error about 'liblinuxcnchal.so.0' but about another one:
motmod: dlopen: libClothoids.so.3: cannot open shared object file: No such file or directory

If I now also copy that one to the root/lib directory and run ./build.sh I can start the config.

So how would I now make it load the gcode file through the optimizer? Everything looks just like it always does.
Displaying 22306 - 22320 out of 22850 results.
Time to create page: 0.566 seconds
Powered by Kunena Forum