Advanced Search

Search Results (Searched for: )

  • georgio
  • georgio
Today 21:39

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

Hi tommylight, thanks for helping me with that I very much appreciate it and all the knowledge you have. I am just a newbie who is flailing around knowing squat trying to learn linux and linuxcnc; and not killing my brain in the process (my head has a few bruises from bashing it against my keyboard.
Thanks,
George
  • georgio
  • georgio
Today 21:34

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

Thank you Rod for your help it makes it alot easier to see where the errors are using geany was very helpful and good learning!
  • Lcvette
  • Lcvette's Avatar
Today 21:22

Probe Basic offset direction not seeming to work

Category: QtPyVCP

yup yup,, its pulled from the tool table and activated or not in the touchoff parameters.

user params 1 and 2 are there for you to use in any custom macro capacity. you can simply click on the label names and type your new name and it will store prsistently and you can look at the parameter names in the docs as what to pass to the subroutines. so if you wanted to add something specific to your machine you can do that with those and have realtime updating parameter entries in the ui. was just a "here ya go all" thing i figured might be useful and i had some space to use up so win win!

:side:
  • currinh
  • currinh's Avatar
Today 21:06
Replied by currinh on topic Trouble with XFCE (trixie) timed logouts

Trouble with XFCE (trixie) timed logouts

Category: Installing LinuxCNC

Rod: Thank you for the quick response and the script. I can only imagine the effort involved in finding all the settings for that script.

However, I ran the script and it didn't solve the problem on my machine. I ran the script and re-booted. When the machine started up I logged in and started linuxcnc. To test I just let it idle, no keyboard or mouse input and no running program in linuxcnc. It idled for just about 30 minutes and then logged out. The result was a user/password screen to re-login. When I login using that new screen I find myself stuck in a loop. I login, the computer thinks awhile, then pops up a new login screen. Same as I had when I pushed the wrong Power Management button before. Again, since I don't know how to revert from here using a terminal, I needed to re-install to get out of this loop.

I took to heart your comment, "Its actually very difficult to stop this". If there's no "standard" solution and you've had problems, I have no hope of fixing it myself. Instead I installed linuxcnc 2.9.4 which uses the older Debian 12 (Bookworm). But it sounds like to main problem is with the XFCE desktop more than the underlying Debian. I don't know the differences in XFCE between 2.9.4 and 2.9.8 but the problems look to be there.

Is this somehow computer dependent? If not a lot of users must be having the same problems. Is there a solution being worked on? If XFCE has gone off the rails, maybe a different desktop for future releases?  I'll need to update linuxcnc eventually and sure hope this is addressed.

Thank you very much for the help. I've solved my immediate problem, version 2.9.4 is now working. Again, thank you.

Hugh
  • georgio
  • georgio
Today 21:04

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

Well I have made a little headway thanks to your help but now I am stuck again after a few hours of banging my head against my keyboard I am back. I have encountered an error at hal 67 with limit inputs. I have the inputs on TB6 04-9 being first 4 limits xyy2z 8&9 estops. I have commented out any thing to do with the estops and spindle on both ini and hal files to try and get linuxcnc running without errors and then I will work on them. The is pin 04 does not exist and I'm sure I am going to get the same errors for the joints. I have updated my ini and hal files and and added a screen copy of the run of Linuxcnd with the exact error shown and you can see what else is loading.
thanks again,
George
  • maruf1777
  • maruf1777
Today 19:57 - Today 20:01

Axis position shift during helical boring - Fusion 360 Personal + Mesa 7i96s + C

Category: General LinuxCNC Questions

Hi everyone,
 
I'm experiencing cumulative axis position shifts (mostly Y, some X) during helical boring operations generated by Fusion 360 Personal Use. The shift happens between passes, not during cutting. I've done extensive testing to isolate the cause and I'm stuck — hoping someone with trajectory planner experience can help.
HARDWARE:
- 3-axis mill, 1204 ballscrews
- Mesa 7i96s ethernet card
- Teknic ClearPath CPM-SDSK-2311S-RQN servos (step/dir mode)
- 75VDC PSU
- Raspberry Pi 5 running Debian Bookworm
- LinuxCNC Master (2.9)

THE PROBLEM:
When running a Fusion 360 helical bore operation (3 passes: rough, semi-finish, finish), the machine shifts position during the helical arc cutting itself. The first boring pass starts correctly, but position drifts during the operation. The shift is cumulative across passes — each subsequent pass is worse. I initially thought the shift was only happening between passes during repositioning, but after extensive testing I've confirmed it also occurs during the actual G3 helical arc execution.

WHAT I'VE RULED OUT:
1. NOT mechanical: Dial indicator shows <0.01mm backlash. Coupling and ballscrew are tight.
2. NOT motor faults: ClearPath LEDs stay green, no faults. (Note: HLFB is wired but not yet configured in HAL — this is on my to-do list.)
3. NOT lost steps during linear moves: I wrote a test program doing 20 cycles of G91 G1 Y50 F1000 / G1 Y-50 and Y returns perfectly. Zero shift.
4. NOT electrical noise / VFD: Shift occurs with VFD off, spindle off, no tool, air cutting only.
5. NOT step timing: Tested DIRSETUP/DIRHOLD at 2000, 5000, and 10000ns. 5000 was slightly better but didn't solve it.

WHAT I'VE FOUND:
The problem appears related to how the trajectory planner handles the G-code Fusion 360 Personal generates. Key factors:
A) Fusion 360 Personal Use converts ALL G0 rapids to G1 moves. This means repositioning between bore passes (retract, XY travel, approach) are G1 moves subject to G64 path blending. The machine blends through the repositioning corners instead of making exact stops.
B) The bore operation uses helical arcs (G3 in XY with simultaneous Z) — this is the exact pattern described in GitHub Issue #426 (Arc Blending Bug).
C) I tested ARC_BLEND tuning parameters:
ARC_BLEND_ENABLE = 1
ARC_BLEND_FALLBACK_ENABLE = 1
ARC_BLEND_OPTIMIZATION_DEPTH = 50
ARC_BLEND_GAP_CYCLES = 4
ARC_BLEND_RAMP_FREQ = 100
D) ARC_BLEND_ENABLE = 0 did NOT fix the second file either.

G-CODE STRUCTURE:
The problematic repositioning sequence between bore passes (02.ngc):
N635 G1 X-77.844 Y12.6 (exit move)
N645 Z5. (retract - G1, should be G0)
N650 Z15. (retract more - G1, should be G0)
N655 Z4. (approach - G1, should be G0)
N660 Z2. (approach to cut depth - G1)
N665 X-80.544 Y13.2 (XY reposition AT cut depth - G1, gets blended!)
N670 G3 X-81.144 Y12.6 ... (arc cutting begins)
My INI Snippet:
[EMCMOT]
EMCMOT = motmod
SERVO_PERIOD = 1000000
ARC_BLEND_ENABLE = 1
ARC_BLEND_FALLBACK_ENABLE = 1
ARC_BLEND_OPTIMIZATION_DEPTH = 50
ARC_BLEND_GAP_CYCLES = 4
ARC_BLEND_RAMP_FREQ = 100
 
[JOINT_0] (X)
MAX_VELOCITY = 50
MAX_ACCELERATION = 150
STEPGEN_MAXVEL = 62.5
STEPGEN_MAXACCEL = 250.0
DIRSETUP = 5000
DIRHOLD = 5000
STEP_SCALE = 200.100
 
[JOINT_1] (Y)
MAX_VELOCITY = 50
MAX_ACCELERATION = 150
STEPGEN_MAXVEL = 62.5
STEPGEN_MAXACCEL = 250.00
DIRSETUP = 5000
DIRHOLD = 5000
STEP_SCALE = 200.460
 
G-code preamble: G64 P0.005 Q0.005

QUESTIONS:
1. Is there a known interaction between Fusion 360 Personal's G1-only rapids and the trajectory planner's arc blending that could cause multi-millimeter position shifts?
2. Is there a recommended set of ARC_BLEND parameters for helical boring operations where G1 repositioning is mixed with G3 arcs?
3. Would modifying the linuxcnc.cps post processor to insert G61 before repositioning moves and G64 before cutting moves be the correct approach?
4. Should I be looking at something else entirely?
I can attach the G-code files if helpful. Any guidance appreciated — I've been chasing this for a while.
 
Thanks!
  • phino
  • phino
Today 19:37

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

Is there stock available for purchase of the height sensor?

A couple of days ago, I saw 1 in stock, but when attempting to purchase, it said out of stock.
Send me private message plese.
or beter contact by WhatsApp +48 604 247 648 
 

I don't think this forum has private messaging, but I have sent you an email (today and on 2025-10-09) at both This email address is being protected from spambots. You need JavaScript enabled to view it. and This email address is being protected from spambots. You need JavaScript enabled to view it. . Are those addresses correct?
I can also have a colleague of mine reach out to you on WhatsApp.
  • andrax
  • andrax's Avatar
Today 17:50
Replied by andrax on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Hi,

Please provide your .xml, .ini, and .hal files.
An output of dmesg and EtherCAT slaves
  • kello711
  • kello711's Avatar
Today 16:12 - Today 16:12

Probe Basic offset direction not seeming to work

Category: QtPyVCP

Ok, I'll admit that I overlooked the functionality of the button. I tried inputing an offset but it wouldn't let me. "TOOL DIAM OFFSET" is a button that turns it on and changes the offset distance.

Thanks for setting me straight.
  • DerKlotz
  • DerKlotz
Today 14:59

Wiring Leadshine DM856 Ena+ and ENA- -> Mesa 7i76e

Category: Milling Machines

Here is my working  wiring diagram
  • georgio
  • georgio
Today 14:59

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

Thanks again Peter for you help! It is soo nice that the Linuxcnc community helps newbies like myself. This help is hopefully getting me to learn more about Linuxcnc so I can figure out how to fix things. I started of trying to use pncconfig and did't understand alot of the terms and settings info so I went to AI for some help and I can see now that it was not really helpful.
Thanks again,
George
  • georgio
  • georgio
Today 14:55

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

Thank you Rod for that information! I am as I said just an newbie and really don't know squat about Linuxcnc, but with your and Peter's assistance I am learning these errors were at the early stages of the configuration so hopefully I will learn more to get me through. Thannks again
George
  • DerKlotz
  • DerKlotz
Today 14:51
Replied by DerKlotz on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

You were a great help! I was already pretty far with the handwheel solution.
  • grandixximo
  • grandixximo's Avatar
Today 14:43
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I'll wait and see what Sascha has to say, and wait a bit more to see if Scott will be able to dedicate sometime to the project.

Should I reach out to Bjarne? Or can you let him check the conversation in my PR in Scott's repo?
  • automata
  • automata
Today 14:32 - Today 14:58
Replied by automata on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Thanks for the comp file kinematics update.

I am trying that out.In the meantime, I have been experimenting with current update.
I find that the planner type 2 also cannot accelerate across multiple segments. For a file with very small lines, it is not taking up adequate speed and the file execution is very slow. I am going to try to increase the jerk and try it on a real machine too...  
 

The ngc/tap file is also attached.  

File Attachment:

File Name: flower.ngc
File Size:716 KB


I was thinking this could be solved with defining zones for acceleration. Where segments with similar kinematic parameters and some tolerance of direction can be accelerated over simultaneously. 
I have tried to capture my "Zones" based acceleration idea (using Claude.ai to elaborate on the details).A zone is a group of consecutive path segments that are treated as a single kinematic unit for acceleration planning. Segments are grouped into a zone when they are nearly collinear — i.e., the direction change between them is below a threshold (angle_threshold, default ~0.57°). A zone boundary is created when:
  • The direction change exceeds the threshold  or 
  • The kinematic limits (v_max, a_max, j_max) differ between adjacent segments 
This collapses thousands of micro-segments (e.g. from a linearized arc) into just a handful of zones

Corner Velocity Constraint: At each zone boundary (a "corner"), the maximum speed the machine can carry through the junction is computed geometricallyradius = path_tolerance / (1 - cos(θ/2))  
v_corner = sqrt(a_max × radius)
  • path_tolerance = max allowable deviation from the sharp corner (e.g. 0.01 mm)  
  • θ = junction angle between the two direction vectors
  • A 90° corner at 0.01 mm tolerance and a_max=500 gives v_corner ≈ 4.1 mm/s — forces a near-stop
  • A collinear junction (θ→0) gives v_corner → ∞ — no speed reduction needed

Zone-Level Bidirectional Velocity Planning: This is where acceleration is actually resolved:
Forward pass — starting from v_start, for each zone compute how fast the machine can exit given the distance and limits:          
           v_fwd[k 1] = min(max_reachable_from(v_fwd[k]), zone_Vmax, v_corner[k 1])
Backward pass — starting from v_end, do the same in reverse:          
           v_bwd[k] = min(max_reachable_from(v_bwd[k 1]), zone_Vmax, v_corner[k])
Merge pass — take the minimum at every zone boundary:          
           v_zone[k] = min(v_fwd[k], v_bwd[k], v_corner[k])

VelocityPlanner.max_reachable_velocity computes how fast you can reach the end of a segment given jerk/accel limits. Zones are then classified as accel, cruise, or decel based on whether the entry/exit velocities rise, stay flat, or fall. Consecutive same-type zones are merged into runs, and one S-curve (7-phase jerk-limited profile from SCurveSolver) is planned per run.This means for a linearized arc with 1000 micro-segments, only ~3–4 S-curve phases are generated (ramp-up, cruise, ramp-down), instead of 1000 independent profiles.

Regards,

-automata
Displaying 1 - 15 out of 18168 results.
Time to create page: 0.226 seconds
Powered by Kunena Forum