Advanced Search

Search Results (Searched for: )

  • zz912
  • zz912's Avatar
09 May 2025 19:46
Replied by zz912 on topic Help with git - SOLVED

Help with git - SOLVED

Category: Installing LinuxCNC

Yes, I did. But it did not help.
  • PCW
  • PCW's Avatar
09 May 2025 19:44
Replied by PCW on topic Help with git - SOLVED

Help with git - SOLVED

Category: Installing LinuxCNC

I have seen that with master and 2.9

Did you 

make clean

after changing branches?

 
  • zz912
  • zz912's Avatar
09 May 2025 19:29

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

You can easy change it.

Add this code to gmoccapy.py file to "def on_btn_apply_tool_changes_clicked"
        if "G43" in self.active_gcodes:
            self.command.wait_complete()
            self.command.mode(linuxcnc.MODE_MDI)
            self.command.wait_complete()
            self.command.mdi("G43")
            self.command.wait_complete()

like this:
 

1) G43 must be activated
2) after input new value in cell you MUST confirm it for example by key ENTER, then you can click on Apply
3) after click on Apply button you will see right correction value
 
  • DarkPhoinix
  • DarkPhoinix
09 May 2025 19:19
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

youtube.com/shorts/mWCeSrF2TUM
I did a new test 100 windows of glxgears and CPU stresstest active the PC is no longer responsive even the linuxcnc window but the servo continues to go and finishes the job. I don't understand why YouTube goes into error! I must say that today the drivers arrived and the new servos do not make a minimum of noise but I have to check them in the car better.
  • zz912
  • zz912's Avatar
09 May 2025 19:10 - 09 May 2025 20:03
Help with git - SOLVED was created by zz912

Help with git - SOLVED

Category: Installing LinuxCNC

Hello,

I am learning git. I cloned data from Github. I compiled it with branches copied from master branche.
I made my first Pull Request with git.
github.com/LinuxCNC/linuxcnc/pull/3434
I celebrated. Everything was fantastic.

Then I needed work with 2.9 branche.

I checked out it:
zdenek@cnc:~/linuxcnc/linuxcnc-zz912$ git checkout 2.9
branch '2.9' set up to track 'origin/2.9'.
Switched to a new branch '2.9'
zdenek@cnc:~/linuxcnc/linuxcnc-zz912$ git branch
* 2.9
  master
  pnc-aut-g43

Then I made:
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ ./autogen.sh
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ ./configure --with-realtime=uspace
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ make -B

.........

Making halcompile manpage constant.9
Making halcompile manpage conv_bit_float.9
Making halcompile manpage conv_bit_s32.9
Making halcompile manpage conv_bit_s64.9
hal/components/conv_bit_s64.comp:3:9: Trying to find one of TYPE
>  pin out s64 out;
>          ^
while parsing Declaration():
>  pin out s64 out;
>     ^
while parsing File():
>  pin out s64 out;
>     ^
make: *** [hal/components/Submakefile:35: ../docs/man/man9/conv_bit_s64.9] Chyba 1

I must do something wrong, because I tried compile branche 2.9 downloaded from Github in zip file and It worked.
I tried git clean and it did not help.

How should I work with different branches with git?
  • PCW
  • PCW's Avatar
09 May 2025 18:51
Replied by PCW on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

2. The control station must issue step commands at a speed of 1000 Hz, in other words - 1000 steps per second. (As I understand it, not faster than this speed.) This is called the servo thread rate.

No, LinuxCNCs trajectory planner provides waypoints(position vectors)  at the servo thread rate.
For simple parallel port type systems these waypoints are sent to a stepgen component that runs
at a higher thread rate (the base thread) and interpolates between the waypoints. That is, the
stepgen component does the high speed step generation so as to reach the next waypoint at the next
servo thread invocation.
  • amanker
  • amanker
09 May 2025 18:44
  • ogogon
  • ogogon's Avatar
09 May 2025 18:27 - 09 May 2025 18:35
Replied by ogogon on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

LinuxCNC works identically to most CNC systems in that it outputs
a stream of joint/axis position coordinates (waypoints) at a fixed rate.

In LinuxCNC this rate is called the servo thread rate. This is typically
1 KHz in LinuxCNC but can be higher. In addition, either LinuxCNC or
downstream hardware interpolates between the position waypoints
so smooth motion is generated.

Simple LinuxCNC systems using a parallel port or GPIO do the interpolation
and step/dir generation with a second, faster real time thread, called the base thread.

More complex systems do the interpolation in external hardware or processors
(Mesa cards, Remora, RIO etc) or in the motor drive itself (EtherCAT) and typically
do not use a base thread.

Thank you. It seems the fog is starting to clear. However, not completely yet.

Let me formulate how I understood you. And please correct me if I understood something incorrectly.

1. We are discussing devices with a two-bit discrete interface for controlling stepper drives. (For example, I have a ChinaCNCzone 3040Z 500W machine)
2. The control station must issue step commands at a speed of 1000 Hz, in other words - 1000 steps per second. (As I understand it, not faster than this speed.) This is called the servo thread rate.
3. Since the controllers do not have intelligence (only microstep functionality), the interpolation is done by the program.
4. To perform the interpolation, a certain second thread is used, faster than the first, and having strict requirements for real time. It is called the "base thread".

Then, the specifics end and the fog begins to thicken again. Inevitably, well-founded questions arise.

1. What interpolation algorithm does the program use?
2. How is the second thread, the so-called "base thread", used in it?
3. Why is it faster than the first?
4. What is the reason for the relatively strict requirements for the base thread's real time and relative to what?
5. Where can I read something about this algorithm?

(The goat is cool!)
  • DarkPhoinix
  • DarkPhoinix
09 May 2025 18:10
Replied by DarkPhoinix on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

Warning: Spoiler!

stepper sorry.... 
  • unknown
  • unknown
09 May 2025 17:54
Replied by unknown on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

Have the servos been properly tuned ? Steppers are basically wire up and forget, servos are a different beast and require tuning or you may hear grumbling noises.
  • PCW
  • PCW's Avatar
09 May 2025 17:50

Ethercat LinuxCNC board for a 4 axis router

Category: General LinuxCNC Questions

Depending on the drives, you might have enough I/O from the built in digital I/O on the drives themselves
  • unknown
  • unknown
09 May 2025 17:50
Replied by unknown on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Not quite true, disabling hyper threading is well worth it, as are a number of other generic options that have been discussed.

As for the kernel config, the most important settings are the preempt_rt ones, infact one of the easiest ways is to base the config for the new kernel on the running one.
If you really feel the issue is with the GPU I don't think a different kernel will fix much.
  • tiagounderground
  • tiagounderground
09 May 2025 17:23
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I instaled linuxcnc scurve compact with the install script from cmake folder
Is it different from the one in the root scurve compact folder?
  • SanzuiWorks
  • SanzuiWorks's Avatar
09 May 2025 17:01 - 13 May 2025 06:53
Replied by SanzuiWorks on topic Manual Toolchange + Abs Z Probe (QtDragon)

Manual Toolchange + Abs Z Probe (QtDragon)

Category: Qtvcp

In the conventional method, if the table bottom is always set to G54_Z0, there is no problem with setting [BLOCK HT], but if the work top is set to WCS, [BLOCK HT] must be changed frequently.
Changing is troublesome, and checking the current setting value is also cumbersome.
If the WCS or [BLOCK HT] changes, the tool table value also changes.
Also, I cannot read what the offset value in the tool table indicates.

After the change,
Z height can be set in WCS as well as XY,
so the situation can be checked from the main screen.
In particular, the Z height is consistent, and is reflected when the WCS is switched.

The tool is always consistent with positive compensation.
The Z_offset in the tool table is easy to read because it lists the tool length.

Since the tool offset is consistent, it can be approached at high speed in advance when probing. This is expected to reduce probe time, especially on slow-moving machines.
If the previous tool length could be displayed in the tool change dialog, human error would also be reduced.

So far we haven't had any major issues,
but we'd like other people to take an interest and find ways to improve it.
  • aeth
  • aeth
09 May 2025 16:41

Ethercat LinuxCNC board for a 4 axis router

Category: General LinuxCNC Questions

I just realized there are also EtherCAT IO interfaces, so if that's supported, I could indeed get away with basically "ethercatting" everything without any extra "controller board"? That'd be incredible :O does it actually work with stuff like this too? www.aliexpress.com/item/1005006811064267.html
Displaying 14071 - 14085 out of 18425 results.
Time to create page: 0.346 seconds
Powered by Kunena Forum