Advanced Search

Search Results (Searched for: )

  • JuFu
  • JuFu
21 Feb 2025 10:50
  • rodw
  • rodw's Avatar
21 Feb 2025 10:48

Building a 3-axis plasma table with mesa 7i96s, THCad-2 and nema23 steppers

Category: Show Your Stuff

I've not used it in earnest but QTplasmac installs fine with 4 axes with 2 motors on the gantry, XYYZA
I have installed it with 5 stepper drives though
Probably pair it up with Sheetcam rotary for CAM
  • Daan96
  • Daan96
21 Feb 2025 10:31

Building a 3-axis plasma table with mesa 7i96s, THCad-2 and nema23 steppers

Category: Show Your Stuff

Then the choice seems quickly made; I'll have to get my hands on an old PC and start exploring Linux, which is completely new to me. Do you have it running on an old PC mounted near the table, or is it also possible to run Linux on a NUC?

In any case, I'll dive into the various posts on this forum while continuing with the mechanical design.

I see that QTPlasm doesn't work so easily for the rotation axis—perhaps I should leave it out for the first project and later build it as a standalone machine, just like Tommy did.

Thanks for the input! It's greatly appreciated!
  • JuFu
  • JuFu
21 Feb 2025 10:16

Switching HAL pin in subroutine (macro)

Category: O Codes (subroutines) and NGCGUI

I want to set / reset a HAL pin by using G-codes (switching a pneumatic valve on/off).
In the documentation G-code Overview | 4. HAL pins and INI values is written: " ... the only way to set HAL pins from G-code remains M62-M65, M67, M68 and custom M100-M199 codes."
I wrote the below subroutine (macro):

   o<test> sub
   (MSG, Spannzange öffnen)
   M62 #<_hal[hm2_7i76e.0.7i76.0.0.output-00]
   o<test> endsub
   M2

When I run the macro, the response is: "Benannter Parameter nicht beendet"
(Using gmoccapy Ver 3.4.9 in German language)

Is there a better way to control HAL pins?
If not, what do I need to do?

Juergen
 
  • Grotius
  • Grotius's Avatar
21 Feb 2025 10:10 - 21 Feb 2025 13:04
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

That's what i think we don't need. If the dogleg solver is able to find the endpoint in 3d space. Why do the tranformations
as used in the abstract?

We have already a case where the helix tail or start from a G2, G3 is used as end vector.

I see you have splitted up the gaus interpolation into x, y, z.

Edit:
Did a mayor update on the infrastructure.
- Use struct for clothoid data.
- Use seperate plot function.
- Use enum to choose a solver from the list.
- Use a central residual function used by all solvers. Where the objective function can cast types.
  • Aciera
  • Aciera's Avatar
21 Feb 2025 10:06
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

As i understand it there should be no need for another transformation besides the one described in the paper.
  • JB-Motoring
  • JB-Motoring
21 Feb 2025 10:00
Replied by JB-Motoring on topic Mesa 7i97T + 7i84 + 7i78 configuration

Mesa 7i97T + 7i84 + 7i78 configuration

Category: General LinuxCNC Questions

Hey guys,

so I got Linuxcnc running- And I would like to test all i o 's on the bench before moving to the machine.

As soon as I hit enable (F1/F2) all assigned Analog Outputs show -10V.

There is no encoder or drive connected, just the naked Mesa on the desk.

How can I handle this to see, if the output is working? 

Thanks guys!
  • 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?
Displaying 18856 - 18869 out of 18869 results.
Time to create page: 0.525 seconds
Powered by Kunena Forum