Advanced Search

Search Results (Searched for: )

  • kn612
  • kn612
04 Jul 2025 14:15
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

Thank you, the wiring is making much more sense and less challenging now.  

Im using linuxcnc_2.9.4-amd64.hybrid.iso that I downloaded here.  It installed qtplasmac 2.9.  Is it recommended to install 2.10?

What is the easiest way to configure a 7i97t and a couple thcad2 for plasma?  I dont see 7i97t as an option in pncconf and in mesact there isnt an option for qtplasmac.

I asked chatgpt to create a quick ini for qtplasmac and a 7i97t and it came up with this pretty quick:
 

File Attachment:

File Name: mesa_7_i_9...smac.txt
File Size:1 KB
  • dunnitagain
  • dunnitagain
04 Jul 2025 13:37

Recommended New Install of LinuxCNC coming from EMC2 and Ubuntu 10.4

Category: Installing LinuxCNC

Created the Boot USB STick . both machines recognize the stick on the desk top. But dont recognize it in Bios settings . All the bios settings are set to boot from the stick , but it doesnt show up in the boot drive order.
  • Tim Bee
  • Tim Bee
04 Jul 2025 13:37

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

Category: Computers and Hardware

Dear meister:

Thanks for your repay and fix it,thanks again.


Tim
  • besriworld
  • besriworld
04 Jul 2025 13:25
Replied by besriworld on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

I start the program with an external button.
  • Aciera
  • Aciera's Avatar
04 Jul 2025 13:23 - 04 Jul 2025 13:24
Replied by Aciera on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

When you're in the G-code editor, it's possible to start the program execution, but if you exit the editor, the program stops .


How do you do that? Using halui?

 
  • scsmith1451
  • scsmith1451
04 Jul 2025 13:10 - 04 Jul 2025 13:14
HY_VFD RS-485 HAL config was created by scsmith1451

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Re-configuring my DIY Router Mill to use LinuxCNC after MACH3 began glitching on me. At this point I'm trying to get my HY_VFD to respond via RS-485.  Under Mach3 this RS-485 adapter worked great, but not getting any response now.

I found this HAL file on line for the HY-VFD RS-485 config:

# Include your custom HAL commands here
# This file will not be overwritten when you run PNCconf again
# RS-485 Spindle Control
loadusr -Wn vfd hy_vfd -n vfd -d /dev/bus/usb/004/002 -p none -r 19200
                                
net spindle-vel-cmd-rpm-abs    vfd.speed-command
net spindle-enable              vfd.spindle-on
net spindle-cw vfd.spindle-forward
net spindle-ccw vfd.spindle-reverse
net spindle-at-speed vfd.spindle-at-speed
                                
setp vfd.enable 1

having replaced the device reference with the output of lsusb for my machine.

When I issue a M3 S6000 command via MDI, nothing happens. Would someone please help me resolve this issue?

The above HAL config is in custom.hal. I'm running LCNC 2.9.4 on Debian 12.

Also, on a fairly regular basis I get the following error on startup of LCNC:

Debug file information:
Note: Using POSIX realtime
tcsetattr
: Inappropriate ioctl for device
./custom.hal:4: waitpid failed hy_vfd vfd
./custom.hal:4: hy_vfd exited without becoming ready
5241
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f1e95251000
Note: Using POSIX realtime
  • Happppppppy
  • Happppppppy
04 Jul 2025 13:02 - 04 Jul 2025 13:14

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

Category: Computers and Hardware

Hi,

I don't have any devices configured with 192.168.10.xxx on the linuxcnc computer.

Here is the config:
{
"name": "BushmasterFPGA",
"description": "Terasic DECA Max10",
"boardcfg": "TerasicDECAMax10",
"protocol": "UDP",
"plugins": [
{
"type": "w5500",
"mac": "AA:AF:FA:CC:E3:1C",
"ip": "192.168.10.194",
"port": 2390,
"pins": {
"mosi": {
"pin": "Header Right:GPIO1_D0"
},
"miso": {
"pin": "Header Right:GPIO1_D1",
"pull": "down"
},
"sclk": {
"pin": "Header Right:GPIO1_D2"
},
"sel": {
"pin": "Header Right:GPIO1_D3"
},
"rst": {
"modifier": [
{
"type": "invert"
}
],
"pin": "Header Left:GPIO0_D4"
}
},
"uid": "w55000"
}
],
"linuxcnc": {
"ini": {
"EMC": {
"MACHINE": "BUSHMASTERFPGA"
},
"KINS": {
"JOINTS": 4,
"KINEMATICS": "trivkins coordinates=XYYZ kinstype=both"
},
"TRAJ": {
"COORDINATES": "X Y Y Z"
}
},
"machinetype": "mill"
}
}

Here are the outputs from the terminal:
cnc@BUSHMASTER-CNC:~$ ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether f8:0f:41:80:f0:e7 brd ff:ff:ff:ff:ff:ff
altname enp0s25
inet6 fe80::696b:7c3c:f7c9:4de2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
cnc@BUSHMASTER-CNC:~$ ip r s
cnc@BUSHMASTER-CNC:~$
  • besriworld
  • besriworld
04 Jul 2025 12:48
Replied by besriworld on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

I use Match 3 on another machine and it has this functionality and I thought it was something standard. :)"You mean when the machine is already homed? "
 YES .

"But the spindle should resume at the same speed. Can you give an exmple to reproduce that?"
I will make a video.

"A bit unusual use case though, but I agree that should not abort the program."
Yes, I accidentally started the program from this menu and at one point I decided to go to the main page and the machine stopped. The program should simply not be started from this menu or it should not stop. I already know and I will not start the program in the editor. But maybe I will not be the first to find this bug. :)
  • meister
  • meister
04 Jul 2025 12:17

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

Category: Computers and Hardware

do have configure one of your network-interface to the 192.168.10.xxx range ?

please add you config and the output of:
ip a s
and
ip r s
 
  • scsmith1451
  • scsmith1451
04 Jul 2025 12:02

MESA 7i76U inputs changing state without changes to config

Category: Basic Configuration

Thank you to everyone. I've finally got the EStop to work correctly, though I don't understand why. Apparently, it works opposite of the limit switches in that there must be a high signal on the pin at startup and EStop is triggered when the switch is opened. Regardless, I can now home and run as expected.
  • dubstar_04
  • dubstar_04's Avatar
04 Jul 2025 12:01 - Today 09:35
[Solved] Mesa 7i96 Spindle PWM was created by dubstar_04

[Solved] Mesa 7i96 Spindle PWM

Category: Driver Boards

I'm converting a lathe to run LinuxCNC, everything is working but the spindle.

I have flashed firmware: 7i96d_1pwm

Mesa flash output:
mesaflash --device 7i96 --addr 10.10.10.10 --readhmid

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 3
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: StepGen
  There are 4 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 1 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for TB3 -> 7I96_0
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB3-1                   0   IOPort       None           
TB3-2                   1   IOPort       None           
TB3-3                   2   IOPort       None           
TB3-4                   3   IOPort       None           
TB3-5                   4   IOPort       None           
TB3-6                   5   IOPort       None           
TB3-7                   6   IOPort       None           
TB3-8                   7   IOPort       None           
TB3-9                   8   IOPort       None           
TB3-10                  9   IOPort       None           
TB3-11                 10   IOPort       None           
TB3-13,14              11   IOPort       SSR              0        Out-00          (Out)
TB3-15,16              12   IOPort       SSR              0        Out-01          (Out)
TB3-17,18              13   IOPort       SSR              0        Out-02          (Out)
TB3-19,20              14   IOPort       SSR              0        Out-03          (Out)
TB3-21,22              15   IOPort       SSR              0        Out-04          (Out)
TB3-23,24              16   IOPort       SSR              0        Out-05          (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB1-2,3                17   IOPort       StepGen          0        Step/Table1     (Out)
TB1-4,5                18   IOPort       StepGen          0        Dir/Table2      (Out)
TB1-8,9                19   IOPort       StepGen          1        Step/Table1     (Out)
TB1-10,11              20   IOPort       StepGen          1        Dir/Table2      (Out)
TB1-14,15              21   IOPort       StepGen          2        Step/Table1     (Out)
TB1-16,17              22   IOPort       StepGen          2        Dir/Table2      (Out)
TB1-20,21              23   IOPort       StepGen          3        Step/Table1     (Out)
TB1-22,23              24   IOPort       StepGen          3        Dir/Table2      (Out)
TB2-2,3                25   IOPort       PWM              0        PWM             (Out)
TB2-4,5                26   IOPort       PWM              0        Dir             (Out)
TB2-7,8                27   IOPort       QCount           0        Quad-A          (In)
TB2-10,11              28   IOPort       QCount           0        Quad-B          (In)
TB2-13,14              29   IOPort       QCount           0        Quad-IDX        (In)
TB2-16,17              30   IOPort       SSerial          0        RXData0         (In)
TB2-18,19              31   IOPort       SSerial          0        TXData0         (Out)
Internal-TXEn          32   IOPort       SSerial          0        TXEn0           (Out)
Internal               33   IOPort       SSR              0        AC Ref          (Out)

IO Connections for P1 -> 7I96_2
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

P1-01/DB25-01          34   IOPort       None           
P1-02/DB25-14          35   IOPort       None           
P1-03/DB25-02          36   IOPort       None           
P1-04/DB25-15          37   IOPort       None           
P1-05/DB25-03          38   IOPort       None           
P1-06/DB25-16          39   IOPort       None           
P1-07/DB25-04          40   IOPort       None           
P1-08/DB25-17          41   IOPort       None           
P1-09/DB25-05          42   IOPort       None           
P1-11/DB25-06          43   IOPort       None           
P1-13/DB25-07          44   IOPort       None           
P1-15/DB25-08          45   IOPort       None           
P1-17/DB25-09          46   IOPort       None           
P1-19/DB25-10          47   IOPort       None           
P1-21/DB25-11          48   IOPort       None           
P1-23/DB25-12          49   IOPort       None           
P1-25/DB25-13          50   IOPort       None          



Connections:
Pin TB2-1 -> GND
Pin TB2-3 > PWM+

I'm not getting anything out of pwm to analog boards. I have tried 5 different convertor boards with the same result. Before I invest in a scope or a new mesa board can anyone spot anything wrong with the config?

Thank you,
Dan
  • Happppppppy
  • Happppppppy
04 Jul 2025 12:00

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

Category: Computers and Hardware

Hi Meister,

I have setup a board file and config for the Terasic DECA max10 board and connected a W5500 module but it isn't showing up with the correct ip address.

I can confirm that the board is flashing (I'm using the quarts programmer to flash) as the LEDs change when I add or remove a bitout plugin.

The SPI clock and chip select looks right and signals are showing up on my scope on both mosi and miso lines (I don't have a digital decoder so can't interrogate the codes themselves).

The w5500 is showing up as a network device with what seems to be 5 default addresses (when I use arp -a in CMD)

Any thoughts on why the W5500 isn't configuring with the 192.168.10.194 address? I can share my board and config files and the compile output if that helps.

Thankyou!
  • kworm
  • kworm
04 Jul 2025 11:54
Replied by kworm on topic Retrofit - LinuxCNC + EtherCAT

Retrofit - LinuxCNC + EtherCAT

Category: EtherCAT

I think Beckhoff and Rexroth have a distributed Ethercat drive system where the drive is built into the servo and there is only one power and data cable.  I've never used them and I'm sure they are pricey.  If you use quality cabling I don't think the length will be a problem.   You could also mount an EK1100 on the carriage and/or the far end to locally terminate signals to Ethercat vs running them individually back.

I would suggest connecting the limit switches and linear scales directly to the servo drive...I think you will get the best closed-loop performance by letting the drive handle it all.  If you are going to all this trouble I would also be sure and get absolute encoders so you don't have to deal with homing on this large a machine.
  • miniwini
  • miniwini's Avatar
04 Jul 2025 10:27
Replied by miniwini on topic Spindle config EtherCAT

Spindle config EtherCAT

Category: EtherCAT

Hey Eduard,
Thanks for all the effort... do you mind sharing your configfiles? xml and hal?

this would be great!

Thank you

Cheers Einar
  • pippin88
  • pippin88
04 Jul 2025 09:45

WEMAS MT 32 CNC Lathe -> LinuxCNC - Mesa or EtherCAT?

Category: Turning

Awesome!

What are those magic display buttons? Link?
Displaying 136 - 150 out of 25542 results.
Time to create page: 0.430 seconds
Powered by Kunena Forum