Advanced Search

Search Results (Searched for: )

  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
19 Jul 2026 10:11 - 19 Jul 2026 10:15
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

Hi
I have seen recent topic of @tommylight about filter for pts files. This help me to start writing the postprocessor for apt files.

I can manage simple words and convert to gcode.
Next to steps :
1- process circular interpolations
2- make it working in LinuxCNC as program filter, actually only works stand alone.

I am sure that’s python code is not as beautiful as it should be but that’s working.
  • rodw
  • rodw's Avatar
19 Jul 2026 09:56
Replied by rodw on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Hmm, this might work
parport.<p>.pin-<n>-out-invert 
  • rodw
  • rodw's Avatar
19 Jul 2026 09:15

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

 
I decided to build a parallel port LinuxCNC config cos I'd never done one before. All went very easily after firing up stepconf which got motors moving straight out of the box.

But now I got problems with the PWM to control the spindle because the volts were running the wrong way eg 24000 rpm = 0 volts and 0 rpm = 10 volts. I thought it would be easy to invert the signal but to  no avail.

I tried to adjust with a sum2 component so -24000 + Commanded RPM = - desired RPM. This turned out to be a dry gully too.
I figured if I had to  convert it to an absolute number I could do that but halshow promptly showed me that -24000 + 12000 = 0
I got rid of the negative and used a gain of -1 and I still got the same wrong answer...

So what is the trick to invert the PWM value?
  • rodw
  • rodw's Avatar
19 Jul 2026 08:21
Replied by rodw on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions

Most people on this forum in your position have ditched CommandCNC and moved to QTplasmac with a Mesa THCAD to measure torch voltage and let Linuxcnc manage the THC function internally.
  • Aciera
  • Aciera's Avatar
19 Jul 2026 07:52 - 19 Jul 2026 07:54

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

Indeed, tracked this to Python deprecating 'locale.format()' and replacing it with 'locale.format_string()':

github.com/LinuxCNC/linuxcnc/pull/4250/changes

Note that this issue is also present in some other places (eg the offsetpage)

Since this affects python code you could patch the files locally.
I think you would find them in:
'/usr/lib/python3/dist-packages/gladevcp/'

You will need sudo rights to change those files.
  • besriworld
  • besriworld
19 Jul 2026 05:47 - 19 Jul 2026 05:53
Replied by besriworld on topic Mori Seiki MV-Junior Retrofit

Mori Seiki MV-Junior Retrofit

Category: Milling Machines

Time to dust off this thread with a small update.

I finally had some free time, so I decided to make some progress on the electrical cabinet. We created a dedicated section for the two braking resistors (2 × 1.5 kW) and the transformer for the axis servo motors. We also installed a steel mounting panel where all of the electrical components will be neatly arranged and secured.


You do not have permissions to access this page.


You do not have permissions to access this page.


You do not have permissions to access this page.




And here's the donor machine that I'll be salvaging some of the smaller parts from. ?

You do not have permissions to access this page.

You do not have permissions to access this page.


This is probably a good time to mention that if anyone is looking for Fanuc servo motors or drives, feel free to get in touch. ?

 
  • abbasezzi
  • abbasezzi
19 Jul 2026 05:46
jerking on zero position was created by abbasezzi

jerking on zero position

Category: Forum Questions

my servo motor starts to hover on zero position, it runs smoothly on the given rpm, but when it comes to halt and wanted to stop on zero position, it starts jerking and sometimes it gives er100 error or it just hovers on zeero position. my motor model is ELM2H-1800LD130E-HD. and drives is EL7-RS2000. my arm is connected radially.
  • NWE
  • NWE's Avatar
19 Jul 2026 04:47 - 19 Jul 2026 04:50
Replied by NWE on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions

Running CommandCNC on Linux.

 

I believe you might want to contact CandCNC tech support.
  • tommylight
  • tommylight's Avatar
19 Jul 2026 02:53
Replied by tommylight on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions


Was setting up a run, zero'd my XYZ, loaded my file, and pressed Run. The torch made the first pierce but sat there without any XY motion. Air flow shut off a few seconds later. Recreated the .tap file a couple times with same result when running. When I rebooted and restarted CommandCNC, I got an error message for LinuxCNC. No matter what I do, I can't get out of this loop.

LinuxCNC does not use .tap files, so what gives?
  • DMoneyAllstar
  • DMoneyAllstar
19 Jul 2026 02:44
LinuxCNC started in error mode was created by DMoneyAllstar

LinuxCNC started in error mode

Category: General LinuxCNC Questions

Running CommandCNC on Linux. I've had this system since 2017, but the mini PC is 3-4yr newer. Everything worked fine 3wk ago. Machine is in an air-conditioned shop.

Was setting up a run, zero'd my XYZ, loaded my file, and pressed Run. The torch made the first pierce but sat there without any XY motion. Air flow shut off a few seconds later. Recreated the .tap file a couple times with same result when running. When I rebooted and restarted CommandCNC, I got an error message for LinuxCNC. No matter what I do, I can't get out of this loop.

I saved the error message ZIP file. What do I do with it?

I pasted the error message in AI and it told me there's a idle-wait setting that I need to delete. Does this sound normal?

Can I boot with my factory files on the original USB and get around it?

Thanks,
Dan


PS: here is what AI is telling me to do based on the error message:

Your log output reveals a specific configuration issue right at the start of your boot line.
text
[ 0.000000] Malformed early option 'idle'
Use code with caution.

The Cause
Your Linux kernel parameters are fighting with each other. Look closely at your GRUB command line options from the log:
... isolcpus=1 idle=mwait intel_idle.max_cstate=1 ...
The argument idle=mwait is invalid (malformed) for this kernel architecture. Furthermore, explicitly forcing idle=mwait overrides and conflicts with intel_idle.max_cstate=1, which is the crucial setting LinuxCNC needs to stop the Intel CPU from falling into deep power-saving sleep states (which ruin real-time latency).

How to Fix It
You need to edit your GRUB boot configuration to remove the bad option and fix the kernel parameters.
Step 1: Temporarily edit GRUB to test the fix
Reboot your PC.
As it turns on, hold or tap the Shift key (or Esc) to bring up the GRUB boot menu.
Use the arrow keys to highlight your normal PREEMPT-RT kernel option and press e to edit it.
Locate the line starting with linux /boot/vmlinuz...
Move your cursor and completely delete idle=mwait from that line.
Press Ctrl+X or F10 to boot.
  • PCW
  • PCW's Avatar
19 Jul 2026 02:03

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

The 7I84U needs its own power supply.

You must supply VFIELDA and VFIELDB (Usually the same)
These set the output voltage and the input thresholds.
Normally VIN comes from VFIELDB (W1 LEFT=default)

 VFIELDA and VFIELDB are supplied via the ORANGE connector (TB1)
on the 7I84U.

There is a small 5V supply needed for the 7I84Us isolated serial interface
This comes from the RJ-45 connector, and in turn from either the 7I74 or
7I97TA.

 
  • Teklectic
  • Teklectic's Avatar
19 Jul 2026 00:53
Replied by Teklectic on topic STMBL Driver DC Bus Options

STMBL Driver DC Bus Options

Category: Milling Machines

That's a very detailed answer, thank you! I'll read through that a few times in detail, much appreciated!
  • Japoo_Ness
  • Japoo_Ness
18 Jul 2026 23:53

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

I flash the 7i97t with the 7i97t_7i74d2.bin.
now i have a bit of a trouble cause i looking to connect the 7i84u, but the trouble is i can´t understand correctly if i need to supply 5v to the 7i84u or is it supply by the 7i74 or its switched by VIN (and its need to be 8 to 32V) right now im working with all the parts in the desktop and dont have a 24V line here. i need to supply the voltage to VIN or im passing somenthing by.
Thanks
  • fsabbatini
  • fsabbatini
18 Jul 2026 20:46 - 18 Jul 2026 20:49
Finally! Codesys PLC Interface done was created by fsabbatini

Finally! Codesys PLC Interface done

Category: Show Your Stuff

Good afternoon eveyone!
First the video of what i have been working on and dealing with, smashing my head against the wall, too much coffee and a lot of thinking but the results are spectacular!

youtube.com/shorts/jgv-_DtneDw?si=rTl5A_pSrwuul9d2


Time for the photos:
 
 
 

Now the description:
We were presented with a blown $iemen$ controller and our customer wanted drivers + cnc fully replaced. Machine is a huge vertical lathe, 1200mm chuck with automatic chuck changer, real C axis (with cartesian mapping and cylindrical mapping functiones needed), X and Z axis with tool changing system for lathe or mill tools. 16 tool magazine and tool probe system. To all off this add low pressure and high pressure coolant, hydraulics, tool clamp/release system, gearbox for main spindle and tool spindle, c axis brake, gearsbox oil chillers, lube system for guides and a bunch of other systems. Also dont forget the alarms and conditions for all this systems!!!
So, in summary, he complexity was not on cnc side as most of the functions we have already solved BUT the plc logic was a no go with the actual classicladder we have been using, we needed a more robust and scalable solution. What you can see on the video is what we got!

Now to the internal workings!
First needed to solve the communication with the cnc<->plc, i wanted something similar to $inumerik where a DB exist for the NC, then DBs for each channel, each axis, each BAG (mode group) and so on...Thats exactly what was done.
After that a way to send this 1500 bytes and receive 1000 bytes from the CNC, the way i found is using Codesys NVL (network variable) system. A udp based way of sending/receiving data amongs codesys plcs, nothing that a little reverse engineer cannot solve and make it communicate with PC<->PLC. 
Next problem: linux network stack, to slow for handling upd message burst so solution was given by Xenomai and RTNet! Not much info about it on the net but after some nights, coffee and wall-head-hitting, eveything went smooth.

So now i got this arquitecture:
 


Best regards,
Franco
  • RotarySMP
  • RotarySMP's Avatar
18 Jul 2026 19:39 - 18 Jul 2026 21:17

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

G'day,

Since I updated from 2.7 to 2.9 on the lathe, with the latest GMOCCAPY, I can't enter lathe tool angles anymore. 


Any suggestions appreciated.
Cheers,
Mark
Displaying 91 - 105 out of 14298 results.
Time to create page: 0.340 seconds
Powered by Kunena Forum