Advanced Search

Search Results (Searched for: )

  • jazzkramer
  • jazzkramer
Today 02:31 - Today 02:40

PM-940TV 7i96s spindle virtual potentiometer config help

Category: Basic Configuration

Hi guys,
I searched/read about this topic but I did not get it to work (I did not understand the matter), so I'm asking here.

I have almost converted my first "big" mill (PM-940TV) to cnc, and I have now to configure to control the spindle speed.
I'm using a 7i96s that has three pins called spind+ cursor spind-
I've replaced the analog potentiometer in the mill head with wires going to these three 7i96s pins.
The mill board has 12V cursor and 0V on that potentiometer, So I've connected the 12V to spind+ the cursor to the cursor and the spind- to the 0V.
The spindle direction is working by two relays connected to two output from the mesa and they work ok.

BUT the speed is not working.

I'm using linuxcnc 2.9.8 adn QTDragon-hd.

Reading the linuxcnc docs I see there are different ways to control the spindle speed... but I did not understand which I should use with this virtual potentiometer...

Could some of you point me in the correct direction please?

At the moment when I switch the spindle on it stays at 50rpm (the minumum speed of my milling machine) even if I send a S1000M3 (see the 1000rpm on the display of qtdragon_hd but the actual spindle speed remains 50rpm).
Max speed of my mill should be 4000rpm

Thanks guys,
have a nice day,
Alberto.
 
  • grandixximo
  • grandixximo's Avatar
Today 02:29 - Today 02:50

Ethercat installation from repositories - how to step by step

Category: EtherCAT

try the commands below

sudo apt install autoconf automake libtool pkg-config linux-headers-$(uname -r)
sudo apt --fix-broken install      # clears half-configured linux-image/headers
sudo dkms autoinstall
dkms status | grep ethercat        # want "installed", not "added"
sudo modprobe ec_master
sudo systemctl start ethercat.service

This is mostly due to missing dependencies, I will add the additional dependencies to the package, should not happen next time.
  • RNJFAB
  • RNJFAB
Today 23:46

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Thanks Tommy,

Never had the machine grounded. Mostly because all my machines previously have been moveable due to my small shed.
I have installed an earth rod now and connected it to the machine. No change. we did also have rain yesterday so the ground is very moist.

I'll go through and try and check for voltage shortly. Digital Voltage Meter set to 0-20V to see if i can get any readings.

Cheers
  • spumco
  • spumco
Today 22:09

Gcode from Postprocessor "LinuxCNC Turning" does not run with linuxcnc ...

Category: Fusion 360

This is rather annoying as G28 U0 is very much not a LinuxCNC style thing.
It's valid G-code but I don't imagine very many LinuxCNC lathes are using the U and W axes.
 

G28 U0 W0 is a carry-over from Fanuc dialect.  The U and W are not referring to U/W axes, they refer to incremental moves in X & Z.

If the control is in G90 (absolute) mode you can make an incremental move without switching to G91 by programming a "Gn Un Wn" line.

The G0 G28 U0 W0 the F360 post puts out is Fanuc for 'Go to home position, with no intermediate stops.'


Regarding G43... yes, it omits this.  I've modified my post - still in progress TBH - to include a number of changes, including stealing a few ideas from the Tormach lathe post:

- INCLUDE G43 ON SAME LINE AS M6
- ADD M210/M211 AIR THROUGH TOOL
- CHANGE DEFAULT FROM G28 TO G53
- CHANGE DEFAULT RETRACT TO ONLY-Z
- ADD APPROACH SCHEME COPIED FROM TORMACH: X THEN Z

I've attached it in case anyone wants to use it.  I'm not sure how successful the LCNC community will be approaching Autodesk in the hopes of getting the standard post fixed.
  • tommylight
  • tommylight's Avatar
Today 21:30

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Yes triggers on pierce. 

95% interference/shielding/grounding issue
5% brownout due to inadequate wiring in the shop and the subsequent voltage drop when plasma goes from pilot to cut
Since it was OK and lately developed this, first thing to check is shop grounding, earth dries up and does not conduct properly or at all.
-
Had the same issue a few years back at a client, i kept telling him the above, but he did reject that as reasonable so i asked him to wire machine ground to the water line as i recalled he has metal water pipes in the ground, never ever complained again.
The grounding rods are way to close to the surface if this happens to be the issue.
For the 5%, use a DVM with memory and check where does the voltage fall to when plasma triggers.
Might also be the power supply caps are drying up.
For interference, a scope would be nice, but you can use a DVM set to manual AC voltage range and measure between GND points and metal case and/or metal machine parts. If you get any reading above 5-10V, that is not OK so grounding and shielding must be corrected. Although i have seen machines with 60V still working properly, but i would not risk it, ever.
  • RNJFAB
  • RNJFAB
Today 20:45

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Thanks guys,
Triggers most when the following criteria are met. move to location-touch off-pierce =ERROR.
Then I can often tell it to start again and it will pierce and continue on its way. However it will ERROR after it cuts a little.
Yes triggers on pierce. 
I'm cutting in the middle of the table. The joint 1 sensor is a proximity sensor that is below the left side of the table. 
  • MaHa
  • MaHa
Today 19:13
Replied by MaHa on topic largest NC file

largest NC file

Category: General LinuxCNC Questions

I used the 3D job i was working on today, set xy and z-steps to very low values, in the cam. The resulting file has 1601179 lines / 38.1 MB  It took about 2 minutes to load. Then i doubled the file to 3202358 lines. 16 GB Ram and 1 GB swapfile was insufficient,  Linuxcnc crashed. It seems, if there is enough memory, very large files can be loaded. 


 
  • spumco
  • spumco
Today 18:14

Ethercat installation from repositories - how to step by step

Category: EtherCAT

And the contents of make.log referenced in the "Error!" line in last post:
DKMS (dkms-3.2.2) make.log for ethercat/1.6.9 for kernel 6.12.86+deb13-amd64 (x86_64)
Sun Jun 21 13:46:11 EDT 2026

Building module(s)
# command: ./bootstrap && ./configure --with-linux-dir=/lib/modules/6.12.86+deb13-amd64/build --enable-generic --enable-8139too --enable-e100 --enable-e1000 --enable-e1000e --enable-r8169 --enable-igb --enable-igc --enable-genet --disable-stmmac-pci --disable-dwmac-intel --disable-ccat --disable-eoe --enable-cycles --enable-hrtimer --disable-rtdm --disable-debug-if --disable-debug-ring --disable-regalias --disable-tty --disable-wildcards --enable-sii-assign --enable-rt-syslog && make modules
+ touch ChangeLog
+ mkdir -p m4
+ autoreconf -i
./bootstrap: line 32: autoreconf: command not found

# exit code: 127
# elapsed time: 00:00:00
  • spumco
  • spumco
Today 17:48

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Further terminal output after trying to re-install ethercat-master below:

Warning: Spoiler!


 
  • spumco
  • spumco
Today 17:44

Ethercat installation from repositories - how to step by step

Category: EtherCAT

[Forum/internet is being really unresponsive, bear with me]

Thanks gents for having a look.  Here's the terminal outputs:

You need to use sudo for systemctl and journalctl. Can you redo and share?
Warning: Spoiler!


Is your /etc/ethercat.conf properly set?
Yes.  Added MAC addr for enp2s0 and "generic"

check the output of these command
mill@debian:~$ sudo dkms status | grep -i ethercat
[sudo] password for mill: 
ethercat/1.6.9: added

mill@debian:~$ uname -r
6.12.86+deb13-rt-amd64

mill@debian:~$ lsmod | grep ec_
typec_ucsi             69632  1 ucsi_acpi
typec                 114688  1 typec_ucsi
roles                  16384  1 typec_ucsi
usb_common             16384  3 xhci_hcd,usbcore,typec_ucsi

mill@debian:~$ sudo modprobe ec_master
modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64

So it looks like something didn't get installed properly despite just pasting the linuxcnc-ethercat apt stuff from GH instructions.
  • tommylight
  • tommylight's Avatar
  • tommylight
  • tommylight's Avatar
Today 12:50
Replied by tommylight on topic largest NC file

largest NC file

Category: General LinuxCNC Questions

I am pretty sure i have used bigger than 20MB files, probably 55MB, but a bit fuzzy on that.
dmap2gcode that i use for engraving/scratching and laser, makes huge files.
  • lgrfbs
  • lgrfbs's Avatar
Today 12:39
Replied by lgrfbs on topic largest NC file

largest NC file

Category: General LinuxCNC Questions

Sorry for the rambling post.Since I ended up with a huge NC file when I was CAM-processing a project, I got curious—how big do NC files have to be to be considered “big” for you guys?
  • muddiver
  • muddiver
Today 12:35

Wechsel Mach3 auf Linux CNC bestehendes Handrad weiterverwendbar

Category: Deutsch

Das klingt doch für den ersten Schuss schonmal gut!

Das Handrad ist über den LPT-Port für den Drehencoder, und über USB als "Tastatur" verbunden.
Hat mir da vielleicht jemand einen Link auf die Doku?
Ich würde gerne QT-Dragon ( also nicht axis ) als Oberfläche verwenden, aber das sollte da ja auch klappen.

Gruß, Thomas
  • grandixximo
  • grandixximo's Avatar
Today 12:15

Ethercat installation from repositories - how to step by step

Category: EtherCAT

check the output of these command

systemctl status ethercat.service
sudo journalctl -xeu ethercat.service --no-pager
dkms status | grep -i ethercat        # module built for running kernel?
uname -r                              # running kernel matches?
lsmod | grep ec_                     # loaded?
sudo modprobe ec_master              # manual load - shows real error


Is your /etc/ethercat.conf properly set?
Displaying 1 - 15 out of 286705 results.
Time to create page: 2.258 seconds
Powered by Kunena Forum