Advanced Search

Search Results (Searched for: )

  • timo
  • timo
22 Feb 2025 09:40

How to integrate manual spindle lock into Axis GUI?

Category: General LinuxCNC Questions

Hello,

Now with the Mesa 7i96 there are more inputs and outputs to play with, compared to the old controller.

The machine has a (diy) mechanical spindle lock. It just slides on the wrench flats of the spindle.
The limit swicht for lock was previously connected to the E-stop in series, which is not the best way.
Now I connected the switch for the spindle lock to an input. in the hal file I connected that input to a pin called drive inhibit.

I cannot start the spindle drive when the switch is actuated and the spindle is locked. So far so good.

Now I tired to find some info how to get the Axis GUI to "disable the spindle buttons", maybe even some indicator on the GUI "spindle is locked" would be nice. And in ideal conditions I would not be able to run an automatic program.

If the spindle brake checkbox would be used it would be O.K. as well, but then I need to disable the automatic unchecking of the spindle brake, because the lock is manually operated.



 
  • unknown
  • unknown
22 Feb 2025 09:33

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Actually it's my issue for not checking the boot logs, the scripts setup the zram.service. Whether Raspberry OS uses zram is not related to our images, as we use Debian.....as of course you know.
The zram.service is part of the image builder, I've modified the process so the service shouldn't be enabled and later on install systemd-zram-generator and create a config that will use 1GB on a 4GB system, this can be modified if required.
cnc@raspberrypi:~$ dpkg --list | grep "zram"
ii  systemd-zram-generator               1.1.2-2+b2                              arm64        Systemd unit generator for zram devices
ii  zram-tools                           0.3.3.1-1.1                             all          utilities for working with zram

As you can see zram tools are installed, this is whether or not systemd-zram-tools are installed.
The issue is because Bookworm uses systemd the package systemd-zram-generator is required, this is the missing piece of the puzzle. During the build the a different script is used to zram0 which fails.

As you can see from below zram0 is used for swap.
cnc@raspberrypi:~$ sudo swapon 
NAME       TYPE       SIZE USED PRIO
/dev/zram0 partition 1010M   0B  100

Without the mods I've describe above there is no swap. Whether it's need or not, but on a typical debian x86_64 install usually a 1GB swap partition is created.

As you can see it really doesn't affect the total free memory when it's not in use.
free -h
               total        used        free      shared  buff/cache   available
Mem:           3.9Gi       474Mi       2.5Gi        17Mi       1.1Gi       3.5Gi
Swap:          1.0Gi          0B       1.0Gi
And BTW it not caching memory nor mamory glands, but is creating a swap partition that is compressed in memory.

The simplest option is just to mark zram.service as masked and have no swap.

So at the moment I'm building an image with the mods.....and make sure I've done it right.

Rob
  • cmorley
  • cmorley
22 Feb 2025 09:15
Replied by cmorley on topic development of a qt version of ncam

development of a qt version of ncam

Category: Qtvcp

I have been stalled on this for quite some time. It's difficult work. Keep routing me on from time to time.
  • MTTI
  • MTTI's Avatar
22 Feb 2025 09:07
My Homemade plasma CNC was created by MTTI

My Homemade plasma CNC

Category: Show Your Stuff

 
For the needs of my workshop, I built this plasma table.
The usable cutting area is 2790x1200mm, and it is equipped with a Hypertherm Powermax 105 SYNC, allowing cuts up to 32mm of steel.
I initially used the control unit from my CNC milling machine along with Mach3, but I was very limited in terms of available options.
 recently upgraded it to fully utilize all the possibilities of LinuxCNC/QtPlasmaC.

This is the V2, I will start the V3 soon with a complete rebuild and complete new mecanical design

Here are some photos:

 
 
 

Yesterday's job, 15mm steel:

 
 



 
  • MTTI
  • MTTI's Avatar
22 Feb 2025 08:52 - 22 Feb 2025 08:53

Probe function not working after final adjustments

Category: Plasmac

I found the problem but "too late", it was this line into the .hal exemple file from QtPlasmaC that i'm using:

net plasmac:axis-position joint.2.pos-fb => plasmac.axis-z-position

Into this configuration file the Z axis is supposed to be on joint.2 but it was in my case on joint.3 (joint.2 was Y2).
  • azim4411
  • azim4411
22 Feb 2025 08:46
Replied by azim4411 on topic Elumatec SBZ 130/01 retrofit

Elumatec SBZ 130/01 retrofit

Category: CNC Machines

Forgot to include the picture of the Z-axis so here you go. Also noticed that the y and z axis uses the ball screw mechanism while the x-axis uses rack and pinion mechanism.
  • azim4411
  • azim4411
22 Feb 2025 08:42
Replied by azim4411 on topic Elumatec SBZ 130/01 retrofit

Elumatec SBZ 130/01 retrofit

Category: CNC Machines

Thanks for the advice, Tommy.
After reviewing all the information exchanged so far, do you think it's a good idea to start a new thread about retrofitting our Sbz 130 model?
Basic differences include:
1) all 4 motors are AC 3 Phase, with integrated 2-pole resolvers
2)no short X-axis
3) newer DARC system (drives motors) (manual attached)
4) possibly different mesa configuration (6i24 7i49 for resolves feedback and - 10V of analog control signals for motors?)
5) 2001 model
6) No pneumatic brakes are used for the x and y axis but we did notice some sort of pneumatic counterweight or brake for the z-axis (picture included)
7) In the picture you can see the 'DARC system' comprises of from right to left: supply module, that receives AC 380-415 3ph, then distributes through dc links (metal bars under the grey boxes)  L+ L- PE to the other drives (spindle, x, y,z), diagram attached as well.

Attached is a picture I got online of the control panel with all the connections intact of the same machine 2001 model. The next picture shows the internal connection on the top side of the spindle motor. The next picture shows the cables for the resolvers found in the DARC manual. A picture of the whole machine in its current condition is also attached. A table containing info about the motors used is also attached. A diagram of the DC linkage is also attached that distributes power to all drives sharing and originating from the supply module, all drives also have inbuilt inverters to send 3 ph AC to their respective motors.
This is a link containing the DARC manual and the electrical schematics for the SBZ 130 - we.tl/t-zhbMsN1qWM
 
  • rodw
  • rodw's Avatar
22 Feb 2025 08:01

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Sorry, my research says zram is not installed by default on Raspberry OS. I don't see this is a Linuxcnc issue.
We've always said to use a 4 GB system and with that much ram, mamory caching is not required.
  • Hakan
  • Hakan
22 Feb 2025 07:57
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

Maybe it is time to do some improvements and clean up. Like making PDOs of the scale and max-acceleration.
I wonder how much you have done to the code?
I can bring in those changes in the code, and push an update to github.
  • Hakan
  • Hakan
22 Feb 2025 07:46
Replied by Hakan on topic EtherCAT plasma torch voltage reader

EtherCAT plasma torch voltage reader

Category: Show Your Stuff

I see, a bit like EasyCAT kind but for the voltage reader.
 

I am more into putting the torch voltage reader components onto the EaserCAT board.
Now when I have looked at it I am not so worried about the voltage levels and that.
One just need to take some precautions.
And if I understand right, most new plasma cutters gives out scaled down voltage
so it is more to handle the floating voltage, and this circuitry does that.
  • Str8jacket
  • Str8jacket
22 Feb 2025 06:22
Replied by Str8jacket on topic Deckel-Maho DMU 50T

Deckel-Maho DMU 50T

Category: Milling Machines

Gday, unfortunately I have been snowed under with work and life stuff, all the parts are here now but no time to do anything in the shed. I still need to wire up the shed!
  • Sziggy_NC
  • Sziggy_NC
22 Feb 2025 04:58
Replied by Sziggy_NC on topic +-10v setup 7i97 & .ini

+-10v setup 7i97 & .ini

Category: General LinuxCNC Questions

Sure, I'll set a reminder on my phone to post them when I'm at the pc. My files might be a little odd though. I started by using JT's config tool. Then compared the result to a 7i97t sample config to get the spindle working. Some of my "net" pin stuff is in io.hal and others are in the main config.hal

I have received a lot of help from everyone on the forum.
  • unknown
  • unknown
22 Feb 2025 04:54

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

zram issue Sat Feb 22, 2025

Big thanks to forum user spina for finding this.
Tho not a game stopper, doesn't seem to affect the operation. Just entries into /var/log/boot.log
Is related to swap.
So far no reports of adverse behavior has been reported.
Feb 20 14:49:54 raspberrypi systemd[1]: Failed to start zramswap.service - Linux zramswap setup.
░░ Subject: A start job for unit zramswap.service has failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit zramswap.service has finished with a failure.
░░
░░ The job identifier is 119 and the job result is failed.
[/boot]

Issue is related to systemd-zram-generator not being installed.

So what is need is to install the missing package, disable the service that comes with the image, installation of the package installs a new service, finally the log files are rotated. Please only execute the instructions listed below.
[code]
sudo apt update
sudo apt install systemd-zram-generator
sudo systemctl mask zramswap.service
sudo logrotate --force /etc/logrotate.conf


A reboot can be done now or you can edit the file mentioned below to prior to rebooting.

By default up to 4GB of ram or half the ram is used, depending on how much ram one has.

On my 4GB system I have the following entry, which allocates 1GB to zram swap......the file to edit is after the # symbol.
# /etc/systemd/zram-generator.conf
[zram0]
zram-size = ram / 4

Apologies for missing this prior to releasing the images.
  • PCW
  • PCW's Avatar
22 Feb 2025 03:56 - 22 Feb 2025 04:13
Replied by PCW on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

No motion or PWM is possible because LinuxCNC is not in a machine-on state:

30 bit IN FALSE hm2_7i97.0.pwmgen.00.enable <== joint-0-enable

Also the ferror limit is still 0.001:

23 float OUT 0.001 joint.0.f-error-lim

You cannot start tuning without increasing the min-ferror and
ferror limits(for all joints) or you will get an immediate ferror and
not know the cause.

 
  • epineh
  • epineh
22 Feb 2025 01:16

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

  I have managed to get one of my mill servos running on the bench, running closed loop to Linuxcnc via a Tang Nano, works very well, now waiting for PCB's to properly retrofit the mill. Thanks Olli for your awesome work.
 
Displaying 16111 - 16125 out of 20845 results.
Time to create page: 0.500 seconds
Powered by Kunena Forum