Advanced Search

Search Results (Searched for: )

  • stonebite
  • stonebite
06 Jun 2024 09:54
Replied by stonebite on topic PNCconf 7i92H and 7i76

PNCconf 7i92H and 7i76

Category: PnCConf Wizard

I would now like to ask specific questions.

Would anyone like to help me ...

to write the basic HAL/INI files for my Gantry CNC machine if I provide all information about the machine and its components like the 7i92 with 7i76?

or

would someone like to help me ...

to write me with the PncConf with the Excel file "7i76 Contact Assignment" listed above, which "selection criteria" from the pulldown menus of the PncConf I should/must select for the corresponding pins, so that I get at least all actuators on the 7i76 assigned for LinuxCNC?

I realise that I learn the most by testing and trying things out. At the moment I'm at a point where I realise that it's no use spending nights on end and not making any progress.
If I had at least the basic HAL/INI file, I could learn from it.
As already mentioned, I am willing to donate to the LinuxCNC community or to cover the costs of the HAL/INI files.

Thank you for your understanding
  • JetForMe
  • JetForMe's Avatar
06 Jun 2024 09:35
Replied by JetForMe on topic Sometimes my tool unload code just…stops

Sometimes my tool unload code just…stops

Category: O Codes (subroutines) and NGCGUI

This still happens to me, and it's happening with a new program I'm trying to write to vacuum the table (unload the tool, lower the spindle, move the dust collector shoe over the whole table).

I invoke it from a button in my Axis VCP, but it frequently stops mid-move. Is there some line I need to add to my subroutine to make it wait for the move to complete?

It will randomly stop on the G1 Z down move, or the G1 X move. Always seems to successfully raise the spindle and move to the start position.

My ngc is attached.
  • Aciera
  • Aciera's Avatar
06 Jun 2024 09:27
Replied by Aciera on topic Absolute homing

Absolute homing

Category: General LinuxCNC Questions

Unfortunately, with the standard homing module there is no way to tell the controller that an axis has been homed using a HAL pin.
Have you looked at using HOME_ABSOLUTE_ENCODER setting in the ini file?
forum.linuxcnc.org/49-basic-configuratio...oders?start=0#208504
Also it is possible to have a custom homing procedure:
www.linuxcnc.org/docs/html/man/man9/homecomp.9.html
  • TheRoslyak
  • TheRoslyak's Avatar
06 Jun 2024 09:14 - 06 Jun 2024 09:25
Replied by TheRoslyak on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

I may not completely understand how to solve my task. But as I understand, after the Ruckig library, I need to learn how to use a trajectory planner. Maybe you didn't quite get that it's not just linear movements, but also circular interpolation, splines, etc. Additionally, I plan to use this system with a ToF camera in the future, which will create a relief map, and the robot will need to navigate obstacles to grab the object. 
  • andypugh
  • andypugh's Avatar
06 Jun 2024 09:14
Replied by andypugh on topic Gearchange two gears, electronic clutch

Gearchange two gears, electronic clutch

Category: Advanced Configuration

The component in the previous message is very close to what you require. The only part missing is the check of the inductive sensors that ensure the gear is engaged.

For rigid tapping you can get away with fewer pulser per rev than you might think, but more is better (up to the point that you can't count them any more)
You definitely need an index pulse, and you definitely need full quadrature. Anything around 25 slots or higher will work fine.
  • Grotius
  • Grotius's Avatar
06 Jun 2024 08:36
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Rosalyk,

If you don't need gcode, you can just use ruckig or any other scurve lib.

Ruckig works excellent if you dont need velocity ends, acceleration ends, don't need waypoints.
Then if you need to get a to position xyz, then interpolate the scurve over a 3d line.

Where lies your problem?


 
  • Grotius
  • Grotius's Avatar
06 Jun 2024 08:21
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Hi hmnijp,

Thanks for your mayor contribution again.

comparing code execution time with the old planner and other cnc
Yes this we can add on the todo list.

it is obvious that S-curves are slower on a trajectory with sharp corners.
This is just for info, in theory the scurve should use at least the same time as a trapezium curve.
 

I can share a test G-code similar to the one used in real work, which I used to adjust the PQ parameters of the post processor.
I found the P value, but the Q value, i still not found.

We need to figure out how to solve the problem of mixing linear and rotary axes at the same time.
This entiry abc uvw external axis section has to be coded in a proper way it will work out the different solutions.
Like in a science paper we must have a function flow paper. That walks it's way to the solution and is
reviewed by multiple people.

3) The linuxcnc interpreter has support for interpolation G5 Cubic Spline, G5.1 Quadratic Spline, G5.2 G5.3 NURBS Block -
Yes, in the past i have tried this.
If the planner has good smoothing algo's, maybe just let the planner do the work.

@Arciera,
When using 5 axis machine gcode.
The trajectory planner does the path blending offline now.

This is really nice! You can see the blended path before program start.

So when runnig the program online it's just following the blended path.
In theory it's not blending anymore, just following a blended path.

** A new development would be to update the blended gcode in the gcode viewer.
Adding the tri_clothoids or other exotics within the gcode.
This would simplify the trajectory planners execution, restart, pause etc.

Then the tool position xyz and tool orientation abc are just following the exact blended
path coordinates. Then synchronized motion xyz abc uvw is done by a function derived from
a function flow science paper.

Or do you think something else is better?
  • charlieLedezma
  • charlieLedezma's Avatar
06 Jun 2024 08:20
Replied by charlieLedezma on topic Converting an old DMU 50, where to start?

Converting an old DMU 50, where to start?

Category: General LinuxCNC Questions

Hello, I would like to know if you managed to do this retrofit without changing the original drivers ? Could you update us ?
  • Aciera
  • Aciera's Avatar
06 Jun 2024 08:02 - 06 Jun 2024 08:09
Replied by Aciera on topic THC problem

THC problem

Category: General LinuxCNC Questions

Why not simply use

$ sudo nano /etc/default/grub

edit the file

then hit <ctrl>+X and Y then Enter to save.

[edit]

Are you referring to this grub modification?
forum.linuxcnc.org/38-general-linuxcnc-q...-irq-affinity#292969

Not sure if you want that but there is also a script at the end of that post that should do it all automatically.
  • Aciera
  • Aciera's Avatar
06 Jun 2024 07:55 - 06 Jun 2024 07:55
Replied by Aciera on topic gmoccapy verfahrgeschwinigkeit zu langsam

gmoccapy verfahrgeschwinigkeit zu langsam

Category: General LinuxCNC Questions

Mit 'HOME_SEARCH_VEL' und 'HOME_LATCH_VEL' = 0 kann das Referenzfahren auch nicht funktionieren.
Vielleicht hilf das hier weiter:
  • Aciera
  • Aciera's Avatar
06 Jun 2024 07:48
Replied by Aciera on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Seems to me that this motion comes to a full stop at the end of every segment. Wouldn't we want all these short segments to be blended into a single acceleration phase in the first few segments then a constant velocity over most of the following segments and a deceleration phase over the last few segments?
  • TheRoslyak
  • TheRoslyak's Avatar
06 Jun 2024 07:48
Replied by TheRoslyak on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions


Essentially, I need to implement Pick and Place movements with conveyor tracking. I spent all day yesterday trying to install MoveIt2, but ultimately without success. ROS2 also needs to be installed, and I haven't managed to install any version of it either. I don't know where the problem lies. GPT suggested installing it in a Docker container, but that's not an option for me. If anyone has experience installing ROS2+MoveIt2 on Debian 12, I would love to hear about it.

I then tried to install Tesseract Planning, but it was not very successful either. One repository is broken or something like that. Ultimately, OMLP installed without any issues. It installed and compiled without major problems. The test program with Task thread Hal doesn't give any errors or latency warnings. However, the functionality and applicability are still unknown. Perhaps other libraries would be more suitable, but installing them has proven to be difficult.
  • Grotius
  • Grotius's Avatar
06 Jun 2024 07:17
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Andrew,

Here is the scurve doing 100 segments:
// Example auto mode.
double dist=1*25.4;
maxvel=100*25.4;
maxacc=50*25.4;
maxjer=20*25.4;
double a=0, b=0;
int nr=0;

for(uint i=0; i<100; i++){
    sc_segment seg;
    seg.pnt_s={a,0,0};
    seg.pnt_e={a+dist,0,0};
    seg.vo=0;
    seg.ve=0;
    seg.primitive_id=sc_primitive_id::sc_line;
    seg.type=sc_motion_type::sc_linear;
    seg.gcode_line_nr=nr;
    seg.path_lenght=dist; //lenght(seg.pnt_s,seg.pnt_e);
    vector_add_segment_c(ptr,seg);
    vector_at_id_set_tarpositions_c(ptr);

    a+=dist;
    nr++;
}
  • karlhe
  • karlhe
06 Jun 2024 07:10 - 08 Jun 2024 13:52

gmoccapy verfahrgeschwinigkeit zu langsam

Category: General LinuxCNC Questions

 Hallo,

gmocappy: alle Achsen verfahren in die richtige Richtung. home z Endeschalter lößt nich aus.

Home Fahrt aller Achsen nicht möglich. Verfahrgeschwindigkeit läßt sich nicht erhöhrn.Ich habe folgendes auf null gesetzt. Nullpunkt ohne Endschalter...
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 1
Ich kann ein testprogramm laufen lassen, Verfahrgeschwindigkeit zu langsam, läßt sich nicht ändern..
Oder anders ausgedrückt, ich finde es nicht...

Bitte um hilfe 
  • Aciera
  • Aciera's Avatar
06 Jun 2024 06:56
Replied by Aciera on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

2) We need to figure out how to solve the problem of mixing linear and rotary axes at the same time - this is a big problem with the current planner - it does not do smoothing when connecting any rotary axis, and this problem does not allow working with rotary axes at sufficient speed. A solution to this problem has been requested by all A/BC axle users for many years...

I think that this would require blending tool position and tool orientation separately with deviation constraints defined for each.
 
Displaying 24961 - 24975 out of 26460 results.
Time to create page: 0.527 seconds
Powered by Kunena Forum