Advanced Search

Search Results (Searched for: )

  • MohammedSobh
  • MohammedSobh
20 Feb 2025 17:18
Replied by MohammedSobh on topic Creating pulses through parallel port

Creating pulses through parallel port

Category: General LinuxCNC Questions

thank you for your reply but this does not work for me as even if I removed the time.sleep the motor moving with the same speed
  • PCW
  • PCW's Avatar
20 Feb 2025 17:08 - 20 Feb 2025 22:34
Replied by PCW on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

The 7I76EU (and 7I76U) have 3 new parameters and the 7I84U has 2 new parameters

The main 2 added parameters are 7i76.[port].[chan].output_source and 7i76.[port].[chan].output_sink. or
7i84.[port].[chan].output_source and 7I84.[port].[chan].output_sink. These are 16 bit masks
that control the field output mode. Each xxxx.output_source  bit controls the source attribute
of the corresponding output bit and each xxxx.output_sink bit controls the sink attribute. The
default setting is for all source mode (xxxx.output_source = 65535 or 0xFFFF, xxxx.output_sink
= 0 or 0x0000) which means a 7I76EU, 7I76U or 7I84U behave like a 7I76E,7I76 or 7I84.

So for example:

xxxx.output_sink = 0 = 0x0000
xxxx.output_source = 65535 =0xFFFF
 = normal all sourcing mode (like 7I76E, 7I76,7I84, this is the default)

xxxx.output_sink = 65536 =0xFFFF
xxxx.output_source = 0 = 0x0000
 =  all sinking mode  (like 7I76ED,7I76D,7I84D)

xxxx.output_sink = 65280 =0xFF00
xxxx.output_source = 255 = 0x00FF
= outputs 0..7 are sourcing mode, outputs 8..15 are sinking mode

xxxx.output_sink = 65535 =0xFFFF
xxxx.output_source = 65535 = 0xFFFF
= all outputs are in push-pull mode

Note that each of the 16 output bits can be individually setup for
sourcing, sinking, or push-pull mode.

The 7I76EU and 7I76U also have a spinmode parameter to set the spindle output
bit mode when this is 0 (default) the isolated spindle output bits are ENA and DIR as before.
If the spindle mode bit is set to 1 , the isolated spindle output bits now function
as FWD and REV.


 
  • NT4Boy
  • NT4Boy
20 Feb 2025 16:54
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

I see what you mean.
I'll look at the numbers again, especially as I've only recently realised the INI stores velocities as mm/sec, and the GUI is in mm/min.
  • zinsade
  • zinsade
20 Feb 2025 16:46

Hal-Pin - Werte aus dem Programm heraus in eine Datei schreiben lassen

Category: Deutsch

Vielen Dank
funktioniert wunderbar.
Wieder was gelernt
Auch vielen Dank für den Link:
linuxcnc.org/docs/html/gcode/overview.ht...:overview-parameters
Da sollte ich doch öfters mal reinschauen.
Wofür brauch ich das?
Ich möchte eine Pitch-Error-Datei bzw. Leadscrew-comp-Datei halbautomatisch erstellen lassen.
Das Programm funktioniert schon.
#100 = 0
G1 B-1 F1000
(LOGOPEN, ausgabe.txt)
(LOG, >>> ausgabe.txt <<<)
(LOG, ---)               
o100 repeat [181]
G1 B#100 F100                                      
G4 P1
M66 E0 L0
(LOG, #<_hal[axis.b.pos-cmd]> = PosB)
M66 E0 L0
(LOG, #<_hal[hm2_5i25.0.encoder.01.position]> = EncB-)
#100 = [#100-1]
G1 B#100 F100
G4 P1
#100 = [#100+1]
G1 B#100 F100
G4 P1
M66 E0 L0
(LOG, #<_hal[hm2_5i25.0.encoder.01.position]> = EncB+)
(LOG, ---)
#100 = [#100-0.5]
o100 endrepeat
(LOGCLOSE)
M30

Gruß Peter
  • PCW
  • PCW's Avatar
20 Feb 2025 16:46
Replied by PCW on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

In the  top plot, it looks to me like you have the maximum velocity faster the the drive can go
(so the following error rapidly increases when you reach the limit)

Normally you will need to set LinuxCNCs velocity limit to 80-90% of the machine velocity at 10V
  • denhen89
  • denhen89's Avatar
20 Feb 2025 16:39 - 20 Feb 2025 17:14

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Not working, one problem after another. I can imagine that you might think i am a complete idiot.
Machine freezes still, but now, after the 4. fresh install and installing debian-12.9.0-amd64-netinst and installing the debs, of course with some missing things messages while installing them, after boot the machine does not even want to move past the motherboard screen. (press del to... press tab to... screen)
Its the 3 full day i am trying to solve the latency problem, but instead i am only getting more problems.
If i would knew i can get samba to work without spending a couple of days "trying" to get it to work, then i would give up with debian 12 and linuxcnc 2.9.x. Unfortunately i know that when i install again wheezy, i will encounter 1000 things that dont work, starting with the clock, then the internet browser that is not anymore supported and of course samba that also needs some special attention by a Linux specialist, that i am not unfortunately.EDIT: after doing 1-2 changes in bios i can enter linux and also do the latency test, but the latency is about 31000 and also freezes sometimes.
  • NT4Boy
  • NT4Boy
20 Feb 2025 16:31 - 20 Feb 2025 16:41
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

In fact there is nothing much wrong with the hal and ini entries,
HOME_OFFSET = 25.4
HOME = 0
I understand these better now, and to have the machine Home position at 0.0 25.4mm away from the limit switch after the encoder index has registered was my intention.
But even after I have tuned the axis I cannot get a successful home.
It has however stopped parking on the limit switch, but but can generate a big joint following error. The Rapid Halscope image, is at 6350mm/min and to me from what I've learned from the tutorial is pretty good.
I've set the HAlscope f-error at 5/DIV to match the tutorials, but wonder if that's correct for a metric setup
The Home image is the follower error up to the shutdown, which shows a massive figure that I cannot reproduced with the jog buttons even at max table speed. 
Not quite making sense to me yet.
I'd appreciate some comments.
  • feelindizzy
  • feelindizzy
20 Feb 2025 16:27

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

tried this numerous times.
i get so far and then mouse won't work after a reboot. curser won't move and no light on bottom of mouse.
tried a powered usb hub.
any other suggestions?
hugh
  • JuFu
  • JuFu
  • jmelson
  • jmelson
20 Feb 2025 15:48

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

My other option would be to output TTL incremental encoder pulses from LinuxCNC (is this conversion from absolute serial encoder data to TTL incremental possible?)
 

Yes, Pico Systems makes a board that converts most Fanuc serial pulse coders to quadrature with index and commutation signals.  One detail to note is that with high-resolution encoders, the quadrature count rate can become very high.  Another detail is that these encoders can't be interrogated faster than 8 KHz.  See : picosystems.store/product/fanuc-serial-e...nverter-pulse-coder/  for more details.
Jon
  • Daan96
  • Daan96
20 Feb 2025 15:43
Replied by Daan96 on topic Black Friday Deal got me :)

Black Friday Deal got me :)

Category: Plasma & Laser

This is the one I’m going to follow, I haven’t seen it before, but I started a similar idea in "show your stuff."
  • Daan96
  • Daan96
20 Feb 2025 15:39 - 25 Jun 2025 12:53

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

Category: Show Your Stuff

Hello, my name is Daan Bent, 28 years old, and I’m from the Netherlands.
At the moment, I’ve started working on the mechanical design of a DIY plasma cutting table, with an option for a 4th axis to also cut tubes. For now, I want to focus on cutting plates, but I’d like to have the hardware prepared for a 4th axis later on.This brings me to the first problem I’m facing: I’m hesitating between Mach3, myplasmac, and LinuxCNC software/hardware. Given the forum, most of you will probably suggest going for Linux. My programming experience is very minimal, but I’m willing to learn and find it quite interesting. Do you think it’s doable? The advantage of myplasmac and Mach3 is that they seem easier to use in my opinion, but the options with Linux seem endless.Here’s the start of the design for my table, tips are of course very welcome! Over the next period, I’ll be focusing on the design of the mechanical part and diving deeper into the hardware and software.

 
  • Nathan40
  • Nathan40
20 Feb 2025 15:31

Probe getting triggered for non probic moves

Category: G&M Codes

Probe getting triggered in non probic moves. As a result the gcode programs are subsequently failing in linuxcnc 2.9.2 version. This never happened in previous versions. Please help!
  • Aciera
  • Aciera's Avatar
20 Feb 2025 15:21 - 20 Feb 2025 15:23
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

This is what I'm working with (compiles and runs without the 'fdf.fvv' function which I don't know anything about while I could probably figure out the fdf.df Jacobian ):

Warning: Spoiler!


Kinda nice to start out with a working example.
  • Aciera
  • Aciera's Avatar
20 Feb 2025 15:17
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Why not try the dogleg solver in the GSL library?
Playing around with one of the examples linked above, it looks like we could possibly run 'levenberg-marquard', 'dogleg' and 'double dogleg' and '2D subspace' methods with our function and the Jacobian:
  /* define function to be minimized */
  fdf.f = func_f;
  fdf.df = func_df;
  //fdf.fvv = func_fvv;
  fdf.n = n;
  fdf.p = p;
  fdf.params = &params;

  /* starting point */
  gsl_vector_set(x, 0, 6.0);
  gsl_vector_set(x, 1, 14.5);

  fprintf(stderr, "%-25s %-6s %-5s %-5s %-13s %-12s %-13s %-15s\n",
          "Method", "NITER", "NFEV", "NJEV", "Initial Cost",
          "Final cost", "Final cond(J)", "Final x");

  fdf_params.trs = gsl_multifit_nlinear_trs_lm;
  solve_system(x, &fdf, &fdf_params);

  //fdf_params.trs = gsl_multifit_nlinear_trs_lmaccel;
  //solve_system(x, &fdf, &fdf_params);

  fdf_params.trs = gsl_multifit_nlinear_trs_dogleg;
  solve_system(x, &fdf, &fdf_params);

  fdf_params.trs = gsl_multifit_nlinear_trs_ddogleg;
  solve_system(x, &fdf, &fdf_params);

  fdf_params.trs = gsl_multifit_nlinear_trs_subspace2D;
  solve_system(x, &fdf, &fdf_params);

  gsl_vector_free(f);
  gsl_vector_free(x);

  return 0;
Displaying 18661 - 18675 out of 19178 results.
Time to create page: 0.458 seconds
Powered by Kunena Forum