Advanced Search

Search Results (Searched for: )

  • grandixximo
  • grandixximo's Avatar
Today 13:13
Replied by grandixximo on topic New rotary modulo axis feedback and testers wanted

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

M27 is wrapped_rotary but allow values ​​>360 , on which modulo 360 is done.

M26 is just shortest path, have to split any rotation >=180

My reasoning to have M26 is default, was because gcode with short segments you can run them with less post processing tricks, I thought. Also other controllers seem to have this as the default.

I did not want to change wrapped_rotary because it's already an option that is in use, rotary_modulo was more descriptive of the functionality, and maybe in future this option could replace/supersede wrapped_rotary, wrapped_rotary=2 could work, but for a first draft and testing purposes I went for rotary_modulo.

I could have M27 as the default behavior, don't think it matters much, it's more about preference.

I understand that for who already has figured out wrapped_rotary then rotary_modulo doesn't add much, and for who does not want to touch the post, neither are viable, but I think if you were to start from scratch, and you were willing to tweak the post, you'd reach for rotary_modulo rather than wrapped_rotary, or I might just have wasted a bit of time, making an option no one wants, it happens...
  • Todd Zuercher
  • Todd Zuercher's Avatar
Today 13:11
Replied by Todd Zuercher on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I'm not really in a position to do any testing on hardware right now (I no longer work in a router shop.) but I can offer links to some G-code that I used in the past to help with testing the circular arcs tool planner when it was being developed. They are some 2.5-D V-groove engraving tool paths. They are in inches and need to have approximately +/- 0.003 of precision in the movements to look good. The first file is only XYZ moves, the 2nd file has XYZW to run a 2nd engraving spindle on a 2 headed router.

 

File Attachment:

File Name: SER-40.ngc
File Size:540 KB


​​​​​​​ 

File Attachment:

File Name: 130207LZW.NGC
File Size:127 KB
  • hmnijp
  • hmnijp
Today 09:43 - Today 09:46

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

As the originator of this request, I've left my feedback in detail elsewhere, but let me summarize my request for this thread: After an hour or more of spiral carving with Fusion's linuxcnc postprocessor, I end up around A556200 (for example), then Fusion does G0 A0 to "reset" the rotary for the next op.  That takes many minutes of high speed spinning, and is totally unneeded.  I would like to skip this massive unwind.  This is a common complaint online, and the usual response is to use G10 to change the WCS offset before the G0 A0 but that has its own drawbacks.  Doing something similar in the G0 itself would be much more consistent across the machine's operation.  Yes, WRAPPED_ROTARY, but there are times when you don't want to use that.
 
 

Don't expect the standard LinuxCNC postprocessor in Fusion360 to be 100% compatible. It was created by people unfamiliar with LinuxCNC and who don't respond to error reports—this is a common problem with some basic HSM posts. This is especially true for the LinuxCNC post for turning—it's completely unusable without modification. 

To work with the WRAPPED_ROTARY function, the post needs to be modified so that the A-axis output is in the range 0-360 and the sign indicates the direction of rotation.
If you can't do this yourself, I can help with instructions later.

grandixximo post=346054 userid=3182
What I want to hear: does this behavior fit how your CAM emits G-code, would M26 default plus plain absolute output Just Work for you or would you need M27 sections, are there kinematic configs (coupled 5-axis TCP, gantry rotary, weird mappings) where you think this would behave badly, and do you have test G-code you would like me to run through it before merge.


Most CAM systems support any logic, but this needs to be configured in the post. This isn't done by default.
In any CAM, the postprocessor requires settings specific to the specific system. The fact that some users experienced problems with the rotary axis returning to 0 only means they didn't configure this setting and were using the wrong postprocessor. Having done this, there are no problems working with the current logic.

Regarding changes, I think the ideal change would be to simply add the ability for the WRAPPED_ROTARY function to automatically handle values ​​>360 in absolute mode.
However, giving users the option to toggle is also a good option.

But I don't understand the difference between m27 and the current wrapped rotary mode; as far as I understand, they are identical. Perhaps in this case, adding another INI line isn't necessary; adding wrapped_rotary=2 (type=2) will suffice, which will set the default mode for the rotary axis (m26 or m27).

I also believe that M27 is the primary mode for operation.
Reducing all transitions (in m26) is difficult to debug and lacks the ability to strictly define the direction of transitions >180.
Most 5-axis mechanisms don't have infinite rotation capability, and this is critical for them. Otherwise, additional functions have to be added to the post to separate movements >180 into two separate lines - that's an additional overhead.

Also, incremental mode is not recommended for use in CAM—it's prone to error accumulation during multiple short movements, which is what most programs consist of.
  • Surmetall
  • Surmetall's Avatar
Today 09:28

NativeCAM 2.0b — Python 3 & GTK3 port for LinuxCNC 2.9 / Debian 13 Trixie

Category: NativeCAM

Hi Axemas,

really appreciate the steady progress you’ve been sharing, great demo video! It’s clear a lot of careful work is going into this, and it doesn’t go unnoticed.

The lathe features especially the polyline workflow alongside G71/G72/G73 look genuinely promising. That earlier preview video sparked a lot of anticipation on my side, and I’m still very excited.

Have you had any time to push this further since your last update, or did testing surface any tricky blockers? No rush at all just curious where things stand.

Thanks again for keeping NativeCAM moving forward. I’m really looking forward to the next steps.

greetings

Tom
  • grandixximo
  • grandixximo's Avatar
Today 09:21
Replied by grandixximo on topic New rotary modulo axis feedback and testers wanted

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

Drafted a new PR, this basically does the G10 for you automatically instead of spinning too many times, maybe this is better for real use cases without actually having to change gcode/post, rotary modulo is orthogonal to the need I'm seeing here, don't worry about the failures the building bot is temporarily broken cause of Ubuntu snap store is down.

github.com/LinuxCNC/linuxcnc/pull/3990

I think rotary module is an improvement over wrapped rotary, but if post changes are a no no, then interpretation has to change, although a smaller change, the interpretation inconsistency might get caught in some edge case. I try to catch all I could think of in the PR.
  • grandixximo
  • grandixximo's Avatar
Today 09:04
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

It's been reworked by YangYang, 9D branch will probably be abandoned, in favor of whatever YangYang comes up with, it's loosely based on my work form 9D branch. What we are working on now internally, which I was going to talk in the next meeting, is a pre-processing library, as we are testing Yangyang's TP2 internally before release, we found that the last few jerk spikes were caused by segments that are shorter than a cycle time, there is just no time to do proper calculations on them, the pre-processing will be a toggle in the INI file, the library will be called Liscio, also renaming Ruckig to Scatti cause that's what we talked about with smoe in the mailing-list, and YangYang can't pronounce Ruckig 
Anyway Liscio will create a smooth path with NURBS, still early stages, would love some test gcodes from the community, so we can kink out most issue internally before release.
There is precedence commercially with Fanuc I believe, they are doing similar work, probably others as well.
  • xenon-alien
  • xenon-alien's Avatar
Today 04:55
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

You could, but you risk more damage if you accidentally connect the 5V  to a 3.3V signal.

Most likely the inputs of the 26LS32 has been damaged so the chip needs to be replaced.

This takes care and protection of the nearby plastic connectors with some kind of
insulation from the hot air gun heat (I typically use some paper sticky labels on
the green connectors)

OK. I won't risk.

I'm watching videos with notebook repairs, so i saw there how they protect the plastic parts from melting.
I hope i wont fail.
  • spumco
  • spumco
Yesterday 02:19

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

What I want to hear: does this behavior fit how your CAM emits G-code

Fusion's LCNC standard post doesn't have a section for rotary-related M-codes, other than undefined clamp/unclamp.  Nor does it output incremental moves - appears everything is in G90.  So any rotary axis motion which requires switching between G90/91 won't be able to take advantage of ROTARY_MODULO = 1 without post modifications.

I looked at a few other Fanuc-based Fusion posts and none of them (including integrator specific posts) appear to have any M-codes or switch between type_1 and type_2 on the fly.  If newer controls are like my old Fanuc 21, you set the Type in the control and can't do anything on-the-fly.

I see you're still working on this in GH... I'll wait to comment more until the OP does some testing.
  • tommylight
  • tommylight's Avatar
Yesterday 02:06

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

Spumco, thank your for explaining that, i did not think about more than one OP at all as most of what i do (99.9%) is one-off on plasma and engravers, lathe is still waiting patiently for the hydraulic chuck.
Sorry for the jump in.
  • spumco
  • spumco
Yesterday 00:46

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

Did you try unhoming and then homing the A axis?

 

Tommy - 

Re-homing a 4th axis means losing the work offset for that axis, even if its really close.  Unless you've got an accurate high-resolution encoder directly on the rotary axis (not just the driving motor), there's always a bit of 'ish' until you indicate the rotary axis in.

I've got a moderate resolution encoder on my servo, the 4th homes to index, and it's using a name-brand zero-backlash harmonic reducer... but it's rarely perfect. The only way to get (mostly) perfect is to home then indicate the axis and set the A-axis work offset... and not shut the machine off or re-home the axis.

None of that matters if all you're doing is OP1 parts, but if you're doing OP2 (or later) parts and previous features have to line up with new ones, a dead-nuts A0 matters.
  • rodw
  • rodw's Avatar
Yesterday 23:36
Replied by rodw on topic Error after running the PnCConf Wizard

Error after running the PnCConf Wizard

Category: PnCConf Wizard

I have abandoned the idea of setting up the Linux Cnc in the nuc.

Thank you,
Antony.

Probably a good idea. I had an expensive i7 NUC die before my very eyes and Intel made ridiculous offers under warranty that required me to invoke the Australian Trade Practices Act provisions to get a refund. 
  • PCW
  • PCW's Avatar
Yesterday 21:04
Replied by PCW on topic 7i76e - Input pin erratic behaviour

7i76e - Input pin erratic behaviour

Category: Driver Boards

Yes, coupling of inputs often means a missing ground.

Note the the field I/O is completely isolated from the
logic (5V side)
  • summat
  • summat
Yesterday 21:03
Replied by summat on topic 7i76e - Input pin erratic behaviour

7i76e - Input pin erratic behaviour

Category: Driver Boards

Kind of where my thoughts where - to the periphery of the board the wiring is correct - I've strapped field-V to the inputs (input KEFG connector). What you've described I can believe with a broken track/open circuit component on the board.
  • tommylight
  • tommylight's Avatar
Yesterday 20:53
Replied by tommylight on topic 7i76e - Input pin erratic behaviour

7i76e - Input pin erratic behaviour

Category: Driver Boards

Seems like interference from missing/wrong wiring/not connected grounding, or disconnect of the negative field power.
  • tommylight
  • tommylight's Avatar
Yesterday 20:50

New rotary modulo axis feedback and testers wanted

Category: General LinuxCNC Questions

Did you try unhoming and then homing the A axis?
In case there is no home switch for A axis, that should just work and set the A0 wherever it is when you click HOME, and if there is a home switch it should just move up to the switch and home as usual.
In Axis GUI, unhome from the machine menu, or there is also the possibility of adding a VCP button to do both steps at once.
Displaying 1 - 15 out of 285660 results.
Time to create page: 1.981 seconds
Powered by Kunena Forum