Advanced Search

Search Results (Searched for: )

  • mariusl
  • mariusl's Avatar
14 Apr 2025 08:16
Replied by mariusl on topic Problem with THC

Problem with THC

Category: Plasmac

It is a new machine. The divider is set to 1/32. I am not sure what voltage is given by the source as this is also a new configuration Hypertherm that does stuff automatically. It reads the consumable and does it's own adjustments. Although I disabled that feature on the plasma source. It might still be doing something that I am not aware off.
The voltage seems very stable . The thing that bothers me is that the torch starts moving up as soon as it starts cutting. It does not delay the 5 seconds that I set the THC_delay to.
  • Soccer Kid
  • Soccer Kid's Avatar
14 Apr 2025 08:04 - 14 Apr 2025 09:39
Replied by Soccer Kid on topic very basic mdi call

very basic mdi call

Category: O Codes (subroutines) and NGCGUI

The method mentioned by Aciera is very correct and at the same time <XXX> cannot be a number, I have been troubled by this question for a long time today!
  • H-S-W
  • H-S-W
14 Apr 2025 08:02

Script to update 2.9.x ISO to use Linuxcnc Version 2.10 (master branch)

Category: Installing LinuxCNC

I still can't get it to work! changed the arch=amd64 to arch=arm64?
cnc@raspberrypi:~$ #! /bin/bash
cnc@raspberrypi:~$ mkdir ~/apt
mkdir: cannot create directory ‘/home/cnc/apt’: File exists
cnc@raspberrypi:~$ sudo cp -r /etc/apt/*.* ~/apt
cnc@raspberrypi:~$ sudo wget http://buildbot2.highlab.com/buildbot-archive-key.gpg -P /etc/apt/trusted.gpg.d
--2025-04-14 09:58:49--  http://buildbot2.highlab.com/buildbot-archive-key.gpg
Resolving buildbot2.highlab.com (buildbot2.highlab.com)... 184.96.146.47
Connecting to buildbot2.highlab.com (buildbot2.highlab.com)|184.96.146.47|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1190 (1.2K)
Saving to: ‘/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg.3’

buildbot-archive-ke 100%[===================>]   1.16K  --.-KB/s    in 0s      

2025-04-14 09:58:49 (146 MB/s) - ‘/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg.3’ saved [1190/1190]

cnc@raspberrypi:~$ sudo rm -f /etc/apt/preferences.d/99linuxcnc-uspace.pref
cnc@raspberrypi:~$ sudo rm -f /etc/apt/sources.list.d/linuxcnc-uspace.list
cnc@raspberrypi:~$ sudo tee /etc/apt/sources.list.d/linuxcnc-uspace.list > /dev/null <<EOT
deb [arch=amd64, signed-by=/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg] http://buildbot2.highlab.com/debian/ bookworm master-uspace 2.9-uspace
EOT
cnc@raspberrypi:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease                  
Hit:3 http://deb.debian.org/debian bookworm-proposed-updates InRelease         
Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease        
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease                
Hit:6 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
Hit:7 http://buildbot2.highlab.com/debian bookworm InRelease                   
Hit:8 https://www.linuxcnc.org bookworm InRelease                              
Get:9 https://gnipsel.com/mesact/apt-repo stable InRelease [2608 B]
Err:9 https://gnipsel.com/mesact/apt-repo stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6F8DFB65A82CD322
Reading package lists... Done
W: Target Packages (master-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Translations (master-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Packages (2.9-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Translations (2.9-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Skipping acquire of configured file 'master-uspace/binary-arm64/Packages' as repository 'http://buildbot2.highlab.com/debian bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)
W: Skipping acquire of configured file '2.9-uspace/binary-arm64/Packages' as repository 'http://buildbot2.highlab.com/debian bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)
W: GPG error: https://gnipsel.com/mesact/apt-repo stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6F8DFB65A82CD322
E: The repository 'https://gnipsel.com/mesact/apt-repo stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (master-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Translations (master-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Packages (2.9-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
W: Target Translations (2.9-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1
cnc@raspberrypi:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • jochen91
  • jochen91
14 Apr 2025 07:47

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

This is the Error Message i got from my config:

LINUXCNC - 2.9.4
Machine configuration directory is '/home/mazak/linuxcnc/configs/sim.axis.vismach.5axis.table-rotary-tilting'
Machine configuration file is 'xyzbc-trt.ini'
check_config: Unchecked: [KINS]KINEMATICS=xyzcb_tdr_kins
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ././xyzbc-trt_cmds.hal
motmod: dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch
././xyzbc-trt_cmds.hal:38: waitpid failed /usr/bin/rtapi_app motmod
././xyzbc-trt_cmds.hal:38: /usr/bin/rtapi_app exited without becoming ready
././xyzbc-trt_cmds.hal:38: insmod for motmod failed, returned -1
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/mazak/linuxcnc_debug.txt
and
/home/mazak/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal


Additionally i created another bare bone config with step conf and just replaced the KINEMATICS Name in the .ini file with my kinematic file. (It starts up with a 5 axis demo kinematics file, just not with mine) I assume there is something wrong in my kinematics ?

LINUXCNC - 2.9.4
Machine configuration directory is '/home/mazak/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
check_config: Unchecked: [KINS]KINEMATICS=xyzbc_MAZAK_kins
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./my-mill.hal
*** xyzbc_MAZAK_kins.comp setup ok
Found file(REL): ./custom.hal
rtapi_app: caught signal 11 - dumping core
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
note: MAXV max: 25.000 units/sec 1500.000 units/min
note: LJOG max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 2.500 units/sec 150.000 units/min
note: AJOG max: 360.000 units/sec 21600.000 units/min
note: AJOG default: 36.000 units/sec 2160.000 units/min
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Waiting for component 'inihal' to become ready....waiting for s.joints<0>, s.kinematics_type<0>
.......USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
......waiting for s.joints<0>, s.kinematics_type<0>
..............USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
...........A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
.Shutting down and cleaning up LinuxCNC...
........USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
..................
<commandline>:0: milltask exited without becoming ready
Waited 3 seconds for master. giving up.
Note: Using POSIX realtime
sim_axis_hardware: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
sim_parport: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
xyzbc_MAZAK_kins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
homemod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/mazak/linuxcnc_debug.txt
and
/home/mazak/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
  • tommylight
  • tommylight's Avatar
14 Apr 2025 07:43
Replied by tommylight on topic Problem with THC

Problem with THC

Category: Plasmac

Use halscope to do a plot of encoder.0.velocity pin during a pierce, might be interference, although as you are getting 55 and 75V readings it also seems not right, and this might be due to scaling and/or due to interference.
What divider ratio is Mesa THCAD set to? Usually 1/32.
If this is a new machine, disable auto volts, disable void lock and velocity lock, well disable everything automated until you get the machine working correctly, only then enable the automation.
  • tommylight
  • tommylight's Avatar
14 Apr 2025 07:38
Replied by tommylight on topic Retrofitting my Fadal VMC15 to LinuxCNC w/MESA

Retrofitting my Fadal VMC15 to LinuxCNC w/MESA

Category: Milling Machines

What type of control do the drives/VFD take?
What encoders/resolvers are on the motors?
If they do turn out to be analog +-10V ones, a Mesa 7i97T should do just fine, and if you do need more I/O you can add a 7i84 with 32 inputs and 16 outputs.
Here are some topic to give you an idea of what is involved:
forum.linuxcnc.org/30-cnc-machines/31792...-sbz-130-01-retrofit
forum.linuxcnc.org/30-cnc-machines/33529-hurco-bmc-20p-retrofit
forum.linuxcnc.org/show-your-stuff/34986...nd-proma-thc?start=0
And detailed info on wiring and tuning
forum.linuxcnc.org/10-advanced-configura...to-example-mesa-7i77
  • tommylight
  • tommylight's Avatar
14 Apr 2025 07:29
Replied by tommylight on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Those motors do not seem to have encoders at all, so will not do for CNC control as you found out and i am late to point out. :)
You can try adding encoders as the lid is easy to open, but i fear it might be way to much work to attach them due to short shaft and limited space.
Might be possible using those magnetic encoders as they are simply glued to the shaft, so only drilling a hole for it and for the electronic on the lid, but i never used them so i have no idea how good and reliable they are.
  • Soccer Kid
  • Soccer Kid's Avatar
14 Apr 2025 07:09
Replied by Soccer Kid on topic Switching HAL pin in subroutine (macro)

Switching HAL pin in subroutine (macro)

Category: O Codes (subroutines) and NGCGUI

You should use the M100 to call python programs to do this, see the following example.......linuxcnc.org/docs/stable/html/gcode/m-code.html#mcode:m100-m199.
  • mariusl
  • mariusl's Avatar
14 Apr 2025 06:53 - 14 Apr 2025 06:55
Problem with THC was created by mariusl

Problem with THC

Category: Plasmac

Hi,
I have a machine that has a Hypertherm 105 Sync source on and I am having issues getting the THC to work correctly.
I had to adjust the THC_delay to 5 seconds before I could get a stable voltage reading for Autovolts. The torch will go down to the cut height but starts moving upwards before the THC_delay has timed out. The cut voltage seems to settle at 55V but the torch moves up until it reaches 75V and stays there.
The strange thing is it will cut the first cut correct and then misbehaves after that.
Any ideas where to fiddle?
  • Aciera
  • Aciera's Avatar
14 Apr 2025 06:48
Replied by Aciera on topic CNC doesn't work with new update

CNC doesn't work with new update

Category: General LinuxCNC Questions

As the debug message indicates, line 6 in your 'Slabber.hal' expects a value for the keyword 'AXES' in the [TRAJ] section of your ini file.
  • Aciera
  • Aciera's Avatar
14 Apr 2025 06:45

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Not sure, halcompile output looks ok. Starting your config from a terminal may give more debug information.
$ linuxcnc
  • sameedansar
  • sameedansar
14 Apr 2025 06:33

Steppers motor start moving without any commads being given

Category: General LinuxCNC Questions

Thank you, everyone, for your responses. Really appreciate it!
We had already connected the negative direction and step pins of the TB6600 driver to ground using a pull-down resistor. After taking PCW's advice and supplying 5V to our breakout board via the USB cable, all our problems with erroneous movements and strange noises disappeared.

Points to note, though:

We had already made the ground common across the whole system.

Optocouplers are pre-installed on this breakout board.
  • theslawek
  • theslawek
14 Apr 2025 06:16

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Easiest way would be to make another config.
leave the old one for when you need position.

In the new config change the A to be a spindle.

Lookup step and direction spindle for examples. If you dont want to mess with it I could do it for you.

Then it should work as you intend with me s1000 $1
 

Yes, I would plan to have an alternative config for this use case.

I've already searched around and tried tweaking things, but wasn't getting any success. I think I may be getting stuck up on the motion related HAL entries but I'm not sure. I would be very grateful if you could sort it out for me.

Does this help at all?
wiki.linuxcnc.org/uploads/orient.svg
It's one potential way to do it.


Andy, I wouldn't know where to start with this.
  • tcbmetalworks
  • tcbmetalworks
14 Apr 2025 05:43
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Upon further investigation I think these motors do not have the ability to speed control at the precision required. They are more for like a conveyor system pre set the speed and let er rip or control it with a potentiometer. I think they could still be very useful for projects around the shop maybe to power a few bridge Cranes that don't roll as nicely as they should anymore. 
  • unknown
  • unknown
14 Apr 2025 04:41
Replied by unknown on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

I think it might be a comms issue relating to the filtering issue around the internal voltage regs. All the ref designs I've seen use 4.7uf cap with the 2 100nf with the inductor. I'll have to wait for some caps to come in.

Using openFGPALoader with the flash over SPI works fine (load a config directly to the FPGA then communicates with the FPGA ), so I can reliably write to the flash.

Looking at a session with wireshark, the board stops comms first. And the time it takes to happen can be kind of random. I'm prepared to accept that the design may not just work due to "Reasons" (bad layout, signal trace lengths, lack of knowledge of my behalf). I may have to read the mesaflash code and work out the programming protocol to get a better understanding.
Displaying 2701 - 2715 out of 26384 results.
Time to create page: 0.262 seconds
Powered by Kunena Forum