Advanced Search

Search Results (Searched for: )

  • Grotius
  • Grotius's Avatar
21 Feb 2025 09:58
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

Indeed. Good spot !!!

I was thinking about the 3d fitting between gcode segments.
Do we really need the transformation, and then do the fitting in a null plane?
This was needed for a 2d clothoid, when used in a 3d plane. But for this i think
we don't needed, unless there is something i forgot.

I thought maybe we can just fit the clothoids in 3d space.
  • Aciera
  • Aciera's Avatar
21 Feb 2025 09:56
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Here is my failed attempt:
Warning: Spoiler!


The idea was to calculate the elements of the Jacobian numerically but it fails miserably:

 


 
  • Aciera
  • Aciera's Avatar
21 Feb 2025 09:40
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Something like this:
        // Calculate the clothoid theta, kappa, sharpness at current s.
        double sharpness10_i;
        eq18_single_clothoid(0,sharpness10,gamma1,&sharpness10_i);
        double sharpness20_i;
        eq18_single_clothoid(0,sharpness20,gamma2,&sharpness20_i);
        double kappa10_i;
        eq19_single_clothoid(0,sharpness10_i,kappa10_i,gamma1,&kappa10_i);
        double kappa20_i;
        eq19_single_clothoid(0,sharpness20_i,kappa20_i,gamma2,&kappa20_i);
        double theta10_i;
        eq20_single_clothoid(0,sharpness10_i,kappa10_i,theta10,gamma1,&theta10_i);
        double theta20_i;
        eq20_single_clothoid(0,sharpness20_i,kappa20_i,theta20,gamma2,&theta20_i);
  • Aciera
  • Aciera's Avatar
21 Feb 2025 09:30 - 21 Feb 2025 09:44
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Not sure but this looks odd, wouldn't you want to calculate sharpness first to update kappa and then theta?:
 

 
  • Vector
  • Vector's Avatar
21 Feb 2025 09:00

Red Machine Outline is backwards in Y dimension

Category: Qtvcp

Oh, and also, the GEOMETRY = XYZBC, no need for that -Y.
  • Vector
  • Vector's Avatar
21 Feb 2025 08:55

Red Machine Outline is backwards in Y dimension

Category: Qtvcp

OK, alright, for anyone who finds this, and has the same cognitive block I did, here's my answer and hopefully it helps you.

Right hand rule: (as Rob has pointed out many times), um rules: so...
Top of Machine is low negative, and gets more negative as you go down.
Left of machine is zero, and gets more positive as you go right
Back of machine is High Positive, and gets more negative as you come forward (this was my Y axis and my first sticking point)

Depending on wiring and screw shafts and belts and whatever, you have to determine which way to move your axis so that it obeys that convention.
A test with writing will help, since it will be mirrored in some direction if you have your motors going the wrong way.
See: ~/linuxcnc/nc_files/examples/3dtest.ngc and /usr/share/axis/images/axis.ngc

To reverse a motor/axis (I needed to do this to get myself right: I was 'writing' the logo mirror-backwards in Y) the easiest thing is to go to your .ini file, to the [JOINT_n] for your axis, and reverse the sign on STEP_SCALE. (There are other ways, reversing wiring, etc, but this worked for me and is easy to undo and all my wiring was otherwise identical, so I preferred a software solution.)

Then you need to worry about homing. If you had it working before (as I did) then you'll need to reverse the signs on HOME_SEARCH_VEL and HOME_LATCH_VEL (Mine went from positive to negative).

Finally, and this is the one that bent me a bit. (And I see Aciera has jumped in to help me while I'm writing this, and I thank him very much, but I don't think the answer is quite right for me... I tried that and it wasn't very good.)

You have to make sure you're honoring the right-hand-rule, which means whereever your sensor is that trips to signal your axis has reached it during homeing, should be numbered accordingly.

The part I had to wrap my brain around was that in my case, this means it's:
HOME_OFFSET = 300
HOME = 290
MIN_LIMIT=0
MAX_LIMIT=300

I was trying all kinds of HOME_OFFSET settings waaay too close to zero.

Now my machine red lines are correct, and loaded files show inside the machine, and all the axes move the way they're supposed to.

It even 'air carves' LinuxCNC as pretty as can be.

Thank you thank you Aciera!

Cheers everyone!

 

File Attachment:

File Name: SaberCNC_10_fixed.ini
File Size:11 KB

 
  • tcbmetalworks
  • tcbmetalworks
21 Feb 2025 08:32
Replied by tcbmetalworks on topic Toyoda FHN80T

Toyoda FHN80T

Category: CNC Machines

Did you ever end up finishing this project?
  • Hakan
  • Hakan
21 Feb 2025 07:14
Replied by Hakan on topic EtherCAT plasma torch voltage reader

EtherCAT plasma torch voltage reader

Category: Show Your Stuff

It can be done pretty easily with external components.
Feed 24V using the unused leads in the CAT cable, and a step-down unit from 24V to 5V and there you have it.
At the prototype stage this simple cable will work. And  24V stepdown converter (board needs 5V) is dirt cheap.
 
 

BTW the photo-diode opens so good that I don't need a torch-on relay, but can be had if needed.
  • azim4411
  • azim4411
21 Feb 2025 07:08
Replied by azim4411 on topic Elumatec SBZ 130/01 retrofit

Elumatec SBZ 130/01 retrofit

Category: CNC Machines

Dear tommylight,
I sincerely apologize for taking your support for granted without doing my own due diligence, so I went back and read the entire thread from start to finish to enhance my understanding a bit better before asking anything else. Unfortunately, I am a student with little to no prior experience within this field (mesa, linuxcnc, machinery). While I understand everyone here is quite busy and their time is invaluable, I would wholeheartedly appreciate some guidance from experts like yourself. I also spent a lot of time reviewing the wiring diagram as well as physically cross-referencing things with the actual machine, which helped my insight quite a lot, however, I also have ended up with many many more questions.

1) I have confirmed how the ATC operates, it uses the same 4-switch grayscale sensor within the gearbox to check in position as well as indexing, however, the actual motion requires the spindle to be 'straight' so that the tool ends can slide into a locking area, at first I expected this to be done by the absolute encoder, since there's no sensors or anything for reference gtgrips in the spindle system, however after checking the wiring and the DARC manuals, they are listed as 'resolver' cables, specifically 2 pole resolvers which as far as I have seen, cannot perform this function, please let me know if otherwise.

2) the same is true for ALL the axis motors, except the long X axis, (no short X axis in this machine, 2001/2003 model sbz 130/01, but everything else looks the same as yours ), but only the X axis I have found some sort of spring based limit switch that can be seen for referencing trips, but I have also reason to believe these might just be for emergency and is it possible these resolvers can be used as absolute encoder functions (no homing).

3) after some research into Linuxcnc and mesa cards configuration, I have understood the choice of your mesa cards (input cards, output, analog control for the servos, FGPA card, connector, etc) however I would like to know how compatible your set of files/card combination would be in this case for me.

Once again I am deeply sorry for my earlier ignorance, it is simply my lack of experience, and I would really appreciate some guidance in these questions as well as my future doubts, and I will do my best to be vigilant in my own education on the matter. 
  • Aciera
  • Aciera's Avatar
21 Feb 2025 06:30

Red Machine Outline is backwards in Y dimension

Category: Qtvcp

when I set it without the -Y, movement in the display is mirrored in Y

This indicates a wrong machine setup. when you jog in the positive Y direction does the tool move toward the back of the table (on the real machine not the screen)?

My Y home sensor is in the back,

In this case your Y-axis and joint limits should be:
MIN_LIMIT = -300.0
MAX_LIMIT = 0.0
  • Vector
  • Vector's Avatar
21 Feb 2025 06:30

Red Machine Outline is backwards in Y dimension

Category: Qtvcp

Argh!

Before anyone looks at this, it seems I do still have myself backwards.

I'm sure once I put my pants on front-wise I'll be out of the Looking Glass on this one.

 
  • Vector
  • Vector's Avatar
21 Feb 2025 06:29

Red Machine Outline is backwards in Y dimension

Category: Qtvcp

Argh!

Before anyone looks at this, it seems I do still have myself backwards.

I'm sure once I put my pants on front-wise I'll be out of the Looking Glass on this one.
  • Aciera
  • Aciera's Avatar
21 Feb 2025 06:20
  • Traken
  • Traken
21 Feb 2025 06:16

Servo Oscillation Issue at ±6.6V 5i25 + 7i77, Analog Control

Category: Basic Configuration

No, I set it on one axis I was testing. Should I set it on all axes?
  • 109jb
  • 109jb
21 Feb 2025 06:03

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Thanks Rob. I'll get the 7C81 when it comes back in stock.

I thought that I saw somewhere that the 7C81 is now supported in the PNC config Wizard. I could easily be wrong though.

Thanks.
Displaying 18811 - 18825 out of 19022 results.
Time to create page: 0.722 seconds
Powered by Kunena Forum