Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
02 May 2025 20:29
Replied by tommylight on topic popup entry keyboard, no minus and decimal ?

popup entry keyboard, no minus and decimal ?

Category: Plasmac


Notice the mouse pointer at the "set the subject for all replies", it has to be checked to change the topic tittle for the whole thread.
P.S.
Never mind the tabs... :)
And i will delete this post when Aciera gets to see it.
Thank you.
  • Groovecooper1
  • Groovecooper1's Avatar
02 May 2025 20:22
Need help with Linux 2.5 on a CNC lathe was created by Groovecooper1

Need help with Linux 2.5 on a CNC lathe

Category: General LinuxCNC Questions

Hello! I’m having some issues with my CNC lathe that is operating on Linux 2.5. It’s a wood lathe with 6 axis wheels. Right now it’s not allowing me to ‘Home’ it. If there is somebody in this group that I can speak with I would appreciate the assistance. Thank you! 
  • andypugh
  • andypugh's Avatar
02 May 2025 20:19
Replied by andypugh on topic Tool changer

Tool changer

Category: O Codes (subroutines) and NGCGUI

Sorry for the late reply.

To do it all with G-code you would remove the carousel.comp from the system. It's not really helping if you define the changer as an axis.
(Note that you _could_ define the changer as an "extrajoint" if you really wanted to not have a spurious A axis appear in the GUI, but that's a topic for another day).

Your remapped toolchange routine has access to a set of built-in variables:http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:predefined-named-parameters

Your routine could use #<_selected_pocket>

So, your toolchamge.ngc would be something like
G0 Z0 ; retract spindle
G1 F20 A#<_selected_pocket> ; Potentially mutiplied by a scaling factor
G1 F100 Z -65 ; Or whatever the tool change position is
M62  P0 ; clamp the tool
M66 P1 ; Wait for tool-clamped signal
G1 F100 Z0 ; retract spindle 
G1 F20 A0 ; retract tool changer

There is no tool unload in this routine, so it won't work as-is. But is illustrates the idea. It's a lot like the rack-toolchanger example in the sim configs.
  • Tntmold
  • Tntmold
02 May 2025 20:09
Replied by Tntmold on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

ethercat slaves indicates drives are in PREOP
halshow shows no pins

sudo dmesg output:
[3991690.001706] EtherCAT DEBUG 0: ec_master_send_datagrams(device_index = 0)
[3991690.001707] EtherCAT DEBUG 0: Adding datagram 0x0B
[3991690.001708] EtherCAT DEBUG 0: frame size: 46
[3991690.001709] EtherCAT DEBUG 0: Sending frame:
[3991690.001709] EtherCAT DEBUG: FF FF FF FF FF FF 2C 44 FD 25 D0 28 88 A4 0E 10
[3991690.001714] EtherCAT DEBUG: 04 0B 01 00 30 01 02 00 00 00 00 00 00 00 00 00
[3991690.001719] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[3991690.001723] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00
[3991690.009637] EtherCAT DEBUG 0: Received frame:
[3991690.009639] EtherCAT DEBUG: FF FF FF FF FF FF 2E 44 FD 25 D0 28 88 A4 0E 10
[3991690.009645] EtherCAT DEBUG: 04 0B 01 00 30 01 02 40 00 00 02 00 01 00 00 00
[3991690.009650] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[3991690.009655] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00
[3991690.009663] EtherCAT DEBUG 0: ec_master_send_datagrams(device_index = 0)
[3991690.009664] EtherCAT DEBUG 0: Adding datagram 0x0C
[3991690.009665] EtherCAT DEBUG 0: frame size: 46
[3991690.009666] EtherCAT DEBUG 0: Sending frame:
[3991690.009666] EtherCAT DEBUG: FF FF FF FF FF FF 2C 44 FD 25 D0 28 88 A4 0E 10
[3991690.009671] EtherCAT DEBUG: 04 0C 02 00 30 01 02 00 00 00 00 00 00 00 00 00
[3991690.009676] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[3991690.009681] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00

The ethercat-conf.xml file came from the output of the command lcec_configgen


I replaced ethercat-conf.xml with your suggestions, and still get the same error

phil@SodickA:~/linuxcnc/configs/sim.axis$ linuxcnc lathe.ini
LINUXCNC - 2.9.3
Machine configuration directory is '/home/phil/linuxcnc/configs/sim.axis'
Machine configuration file is 'lathe.ini'
Starting LinuxCNC...
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./ethercat.hal
./ethercat.hal:50: Pin 'lcec.0.0.statusword' does not exist
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/phil/linuxcnc_debug.txt
and
    /home/phil/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
 
  • xlordofpainx
  • xlordofpainx
02 May 2025 20:09
Replied by xlordofpainx on topic LinuxCNC terminated with an error

LinuxCNC terminated with an error

Category: General LinuxCNC Questions

i tried typing sudo make setuid but u got make:: *** No rule to make target setuid. Stop
  • xlordofpainx
  • xlordofpainx
02 May 2025 20:07
Replied by xlordofpainx on topic LinuxCNC terminated with an error

LinuxCNC terminated with an error

Category: General LinuxCNC Questions

Hey, i have no idea what this means. I can tell you that I downloaded the linux cnc from here linuxcnc.org/downloads/ 2025 version, I made a bootable flash drive and installed it like this, initially I was using only the USB but then I installed it properly and it's the only thing on this PC.

could you tell me what I should do from here?
  • andypugh
  • andypugh's Avatar
02 May 2025 20:06
Replied by andypugh on topic Spindle Gear changing

Spindle Gear changing

Category: General LinuxCNC Questions

Look at gearchange.comp (I think) on my repository above, I think that is close to what you want. (not exactly, but would be a reasonable starting point)
  • andypugh
  • andypugh's Avatar
02 May 2025 20:01
Replied by andypugh on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

A workaround if you are worried about phase error on reversal is to use a tension-comopression tap holder to absorb the axial mismatch.
  • andypugh
  • andypugh's Avatar
02 May 2025 19:57

I seemed to have borked my GTK/Glade installation

Category: GladeVCP

Anything HAL in GTK will have come with the LinuxCNC installation.

It _might_ help to install linuxcnc-uspace-dev (it won't hurt, at least)
  • andypugh
  • andypugh's Avatar
02 May 2025 19:39

Beginner Building a CNC - Questions About EtherCAT with Delta A2 and In

Category: General LinuxCNC Questions

LinuxCNC _is_ a motion controller, and can support a wide range of servo types. You are almost certainly going to need a better interface than the parallel port, but there are options to work with all sorts of (possibly second hand) servos and drivers using step/dir or analogue voltage control, and with encoder or resolver feedback.

There is definitely an advantage in a commercial setting of having drop-in replacement hardware readily available, though.
  • andypugh
  • andypugh's Avatar
02 May 2025 19:23
Replied by andypugh on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

The things that can be displayed are:
Using POSIX non-realtime (this is bad)
Using Posix reatlime (this is fine, it means that you are using a preempt-rt kernel)
Using LXRT realtime (this is fine too, but is pretty rare, it means you are using LinuxCNC-uspace with an RTAI or Xenomai kernel)
<Nothing> Probably means that you are using RTAI, which is also fine.
  • NT4Boy
  • NT4Boy
02 May 2025 19:20
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Aha, many thanks for your speedy response.
  • PCW
  • PCW's Avatar
02 May 2025 19:18
Replied by PCW on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

There is currently no "missing tooth index" support in hostmot2
(there is experimental firmware but no driver support currently)

 
  • xlordofpainx
  • xlordofpainx
02 May 2025 19:18
Linux cnc Terminated with an error was created by xlordofpainx

Linux cnc Terminated with an error

Category: General LinuxCNC Questions

Hey i installed the 2025 linux cnc distribution and i am getting new problems.

i am using mesa 7i96s, with ip 10 10 10 10. my pc  i set up the ip to 10 10 10 100 using the following commands:
sudo ip addr flush dev enp6s0
sudo ip adr add 10 10 10 100/64 dev enp6s0
sudo ip link set dev ensp6s0 up

(using this method was kinda buggy)
i tried setting up the static ip address another was as well with the interface file:
auto enp6s0
iface enp6s0 inet static
address 10.10.10.11
hardware-irq-coalesce-rx-usecs 0

but i cant connect to the internet like this

after this i can ping the card as well as set up the pnc conf. i am able to control motors.
when i save the configuration i try to open it from the desktop launcher and i get an error i am attatching the report

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/RUTER_2_5_25'
Machine configuration file is 'RUTER_2_5_25.ini'
INIFILE=/home/cnc/linuxcnc/configs/RUTER_2_5_25/RUTER_2_5_25.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./RUTER_2_5_25.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.10: Resource temporarily unavailable
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./RUTER_2_5_25.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./RUTER_2_5_25.hal:9: /usr/bin/rtapi_app exited without becoming ready
./RUTER_2_5_25.hal:9: insmod for hm2_eth failed, returned -1
1734
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



 
  • andypugh
  • andypugh's Avatar
02 May 2025 19:15
Displaying 1036 - 1050 out of 26478 results.
Time to create page: 0.411 seconds
Powered by Kunena Forum