Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
02 May 2025 21:28
Replied by Hakan on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

Maybe not ethercat as such but an lcec issue.
There are so many places this can go wrong, syntax mistakes.
Now I saw another thing. There is a name="D1" in the client line.
Then you should use lcec.0.D1 instead of lcec.0.0
  • PCW
  • PCW's Avatar
02 May 2025 21:24
Replied by PCW on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

Can you post your hal/ini files?

Might help with more eyes looking at them
 
  • xlordofpainx
  • xlordofpainx
02 May 2025 21:22
Replied by xlordofpainx on topic LinuxCNC terminated with an error

LinuxCNC terminated with an error

Category: General LinuxCNC Questions

I am trying to get my machine to run for the first time on a new PC here is my post: www.forum.linuxcnc.org/38-general-linuxc...inated-with-an-error

I can ping the mesa, I can run the motors during pnc conf, but I can't start the launch after that. Thanks in advance
  • rodw
  • rodw's Avatar
02 May 2025 21:20

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

Category: General LinuxCNC Questions

Ethercat needs a master. Your linuxcnc computer can act as that master. Refer the forum stickies under the Ethercat section. The software is free.
EK1100 is not a master and it is not required unless you want to use backhoff modules attached to it.
Intel NICs are preferred as typically that have better performance but not mandatory.

You should also look at the Mesa cards as an alternative to Ethercat. The exact card will depend on your hardware choice.
  • rodw
  • rodw's Avatar
02 May 2025 21:10
Replied by rodw on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

This is not an Ethercat issue. Its your syntax error in hal
Use standard debugging.
Run Linuxcnc from the command line so errors are reported in the console.
Read the error message, Comment out the offending line (line 50) with a #
Continue to comment out errors until the config loads.
Use Halshow to review pin names. Work out what the correct pin name is and correct your hal file.
easy!
 
  • xlordofpainx
  • xlordofpainx
02 May 2025 21:04
Replied by xlordofpainx on topic Linux cnc Terminated with an error

Linux cnc Terminated with an error

Category: General LinuxCNC Questions

good to know.i currently am not using internet and mesa at the same time. but I am stuck on this error still on my other computer everything is the same besides the linux cnc is from 3 years ago and it works. :}
  • tommylight
  • tommylight's Avatar
02 May 2025 20:47
Replied by tommylight on topic Need help with Linux 2.5 on a CNC lathe

Need help with Linux 2.5 on a CNC lathe

Category: General LinuxCNC Questions

We need more info, pictures, video, smoke signals... :)
  • tommylight
  • tommylight's Avatar
02 May 2025 20:41
Replied by tommylight on topic Linux cnc Terminated with an error

Linux cnc Terminated with an error

Category: General LinuxCNC Questions

You can NOT have internet and Mesa on the same ethernet port.
Mesa should be wired directly to the PC, no switches or hubs or routers.
Add a USB WiFi or network card if you need internet.
  • besriworld
  • besriworld
02 May 2025 20:39
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

X and Z operate in open loop .The encoder (X and Z ) is not connected to the PID controller.
I also have protection in the motor driver if it misses a step.
I also checked the spindle pid controller constants in the haw show .All constants entered.
  • PCW
  • PCW's Avatar
02 May 2025 20:32
Replied by PCW on topic LinuxCNC terminated with an error

LinuxCNC terminated with an error

Category: General LinuxCNC Questions

What are you trying to make?

The LinuxCNC ISO needs no compiling of executables.
  • 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
Displaying 5536 - 5550 out of 24146 results.
Time to create page: 0.447 seconds
Powered by Kunena Forum