Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
26 Dec 2025 22:53
Replied by tommylight on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

user@denc:~$ sudo mesaflash --device 5I25

-
i
is not
I
-
5i25 is not 5I25
Linux is case sensitive.
  • zippoffs
  • zippoffs's Avatar
26 Dec 2025 22:47
Replied by zippoffs on topic DIY CNC Mill - Random Limit Switch Errors

DIY CNC Mill - Random Limit Switch Errors

Category: Milling Machines

Wow, that's a lot to take in. I may have a ground loop to the machine frame. There is a ground wire in the spindle cable that is grounded to the motor frame, which is in contact with the rest of the mill. But I also do have a ground wire on the frame going to the ground bus in the breaker box. I will remove that.

There is continuity from the BOB end of the parallel cable to the PC when the PC power is disconnected, so it probably is shielded.

I currently have all the grounds and shielding grounds running to the ground bus in the breaker box. Are you saying this is causing issues? What would be the BOB's frame ground?

I have most of the electronics mounted to a piece of sheet metal, which is connected to main ground by the green/yellow terminal block by the contactor. Should I not do this?
  • PCW
  • PCW's Avatar
26 Dec 2025 22:46
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Do get a warning when not using sudo?

If not, something really basic is broken here.

pcw@pcw-HP-Compaq-Elite-8300-USDT:~$ mesaflash --device 5i25
You need root privileges (or setuid root) to access PCI hardware
No 5I25 board found

What version of mesaflash do you have?
  • Surmetall
  • Surmetall's Avatar
26 Dec 2025 22:39

LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

Category: Qtvcp

@Mark

Andys Marcos are great, but i think its something different. you only can do one task at a time as far as i know, right?

@aDm1N
You said in your last post "as far as I know, LinuxCNC doesn’t really offer something like this out of the box." That confuses me, because I already wrote about NativeCAM on the previous page. You didn’t respond to it specifically, but I simply assumed that you were already familiar with it. It’s possible that you overlooked it or that you just don’t like the tool. both are perfectly fine. However, if you simply missed it:NativeCAM does exactly what SIEMENS ShopTurn does. You write your program directly on the machine, editable and with a preview.The only thing is that the contour function was never fully completed back then and would need to be added by someone who can program. It’s called “Polyline” and already exists in milling, where it works perfectly. It just hasn’t been implemented for turning yet: 


 
 
  • sorokin_pro
  • sorokin_pro's Avatar
26 Dec 2025 22:20
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

You need to use sudo with mesaflash when accessing PCI cards
 

I just tried with and without sudo, I also tried while LinuxCNC is running.
Result is the same all the time:
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
user@denc:~$ sudo mesaflash --device 5I25
[sudo] password for user: 
No 5I25 board found
  • PCW
  • PCW's Avatar
26 Dec 2025 22:16
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

You need to use sudo with mesaflash when accessing PCI cards
  • sorokin_pro
  • sorokin_pro's Avatar
26 Dec 2025 22:02
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)
 

No:
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
user@denc:~$ linuxcnc
LINUXCNC - 2.9.7
Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5'
Machine configuration file is 'BenchtopX5.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Waiting for component 'tpmod' to become ready..........Waited 3 seconds for master.  giving up.
.Note: Using POSIX realtime
.
Found file(REL): ./BenchtopX5.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:02:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
Found file(REL): ./custom.hal

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: 6.000 units/sec 360.000 units/min
note: AJOG     max: 180.000 units/sec 10800.000 units/min
note: AJOG default: 12.000 units/sec 720.000 units/min
note: jog_order='XYZA'
note: jog_invert=set()
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 1471 cycles, min=0.000007, max=0.031596, avg=0.010006, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_5i25.0: dropping AnyIO board at 0000:02:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7fc2736fd000
hm2_pci: driver unloaded
hm2: unloading
Note: Using POSIX realtime
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
  • tlightus
  • tlightus
26 Dec 2025 21:51

calling subroutine from G54, G55, G56, but it acts weird

Category: O Codes (subroutines) and NGCGUI

sorry if this is the wrong place to post this but it seemed appropriate.
i think i found a bug with subroutine calls

Conditions:

set up a pyvcp button to call an MDI_COMMAND

Set fixgure offsets for G54, G55

remain in G55 X0 Y0 and issue:

MDI_COMMAND = G0 G90 G54 X0 Y0

and that will work fine

Go back to G55 active offset at X0 Y0 and change the command to call a subroutine

MDI_COMMAND = o<work_zero> call

will fail not executing the subroutine command and sit at G55 zero

i tested this in both axis and flexgui with the exact same results

####### SUBROUTINE #######
o<work_zero> sub
G90 G54 G0 X0 Y0
o<work_zero> endsub

m2
#######

if you are still in G55 at X0 Y0 and issue

G0 G90 G54 X0 Y0 from the mdi command line it will go to G54 X0 Y0 also
  • PCW
  • PCW's Avatar
26 Dec 2025 21:49
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)
  • sorokin_pro
  • sorokin_pro's Avatar
26 Dec 2025 21:44 - 26 Dec 2025 21:45
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Looks like LinuxCNC detects the board:
user@denc:~$ linuxcnc
LINUXCNC - 2.9.7
Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5'
Machine configuration file is 'BenchtopX5.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./BenchtopX5.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:02:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
Found file(REL): ./custom.hal
link (updating variable file): No such file or directory
No option 'tto_g11' in section: 'DEFAULT'
No option 'show_program' in section: 'DEFAULT'
No option 'show_rapids' in section: 'DEFAULT'
No option 'program_alpha' in section: 'DEFAULT'
No option 'show_live_plot' in section: 'DEFAULT'
No option 'show_tool' in section: 'DEFAULT'
No option 'show_extents' in section: 'DEFAULT'
No option 'show_offsets' in section: 'DEFAULT'
No option 'grid_size' in section: 'DEFAULT'
No option 'show_machine_limits' in section: 'DEFAULT'
No option 'show_machine_speed' in section: 'DEFAULT'
No option 'show_distance_to_go' in section: 'DEFAULT'
No option 'dro_large_font' in section: 'DEFAULT'
No option 'block_delete' in section: 'DEFAULT'
No option 'optional_stop' in section: 'DEFAULT'
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: 6.000 units/sec 360.000 units/min
note: AJOG max: 180.000 units/sec 10800.000 units/min
note: AJOG default: 12.000 units/sec 720.000 units/min
note: jog_order='XYZA'
note: jog_invert=set()

Would be great if mesaflash also could detect it.
  • Routercnc
  • Routercnc
26 Dec 2025 21:24 - Yesterday 11:23
Replied by Routercnc on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

Olá a todos.
Tentei usar o EasyProbe na minha fresadora CNC. Instalei seguindo o vídeo do Talla83, mas ao calibrar, aparece a seguinte mensagem: "A sonda já está ativada" ao iniciar o comando G38.2 ou G38.3, e ao zerar manualmente, aparece outra mensagem: "Código M desconhecido usado: M130..."
Anexei os arquivos .hal, .ini e Probe_postgui.
O que estou fazendo de errado?

 
 

File Attachment:

File Name: Probe_postgui.hal
File Size:8 KB

File Attachment:

File Name: eng-eth.hal
File Size:8 KB

File Attachment:

File Name: eng-eth.ini
File Size:6 KB
  • PCW
  • PCW's Avatar
26 Dec 2025 19:48
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

If you launch LinuxCNC from the command line, you will get a list as the hardware is discovered
which should help with debugging

The timer issue is possibly  that the installed firmware lacks a DPLL timer
(and pncconf always puts DPLL timer boilerplate in the hal file)
 You can work around this by deleting (or commenting out)  any lines that
mention "dpll" in the hal file
 
  • tommylight
  • tommylight's Avatar
26 Dec 2025 19:43

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

 
I'm still amazed a 10mA signal could smoke like that.

[/quote]
It is enough to start a chain reaction, same as throwing a wrench on any complicated machinery, no matter how small.
-
As for the subject, i used a Mesa 7i77 to drive a car power amplifier as a servo drive, so i had to limit voltage from going above +-2V and it worked pretty good, given the limited current those amplifiers can deliver (it will trigger over current on any faster move), but i forgot how i did the limiting in hal, pretty sure it was the MAX and MIN OUTPUT set to 2, but fuzzy on what else.
I also did 0 to +5V and it also worked, but tried with those arduino PWM drives and that did not work as analog and PWM are not the same, you can do analog from PWM easily with an RC, but not vice versa.
This was probably 10 or more years ago...
  • aDm1N
  • aDm1N's Avatar
26 Dec 2025 19:41

LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

Category: Qtvcp

I know the macros, and I think they are useful. But my goal is something more holistic, closer to the way I’m used to working.I want to create a program, work through it step by step, and be able to go back at any time to change something or reuse individual steps. That’s how I’ve always worked on industrial machines. At work, I actually always wanted to use Heidenhain controls, but in reality I mostly ended up with Siemens. Both are good systems, but they offer a structured, process-oriented way of programming that goes beyond single, isolated macros.As far as I know, LinuxCNC doesn’t really offer something like this out of the box. That’s why I started writing it myself, and I will continue developing it until it reaches a level where I’m satisfied with the result – no matter how long that takes.The existing macros are good, but they usually solve only one small task at a time. For me, that’s not enough. I’m looking for a workflow-oriented solution, not just individual helpers.I’m primarily writing this for myself, because I plan to actually work with it later. I do think other people could benefit from it as well, but that’s just my personal opinion. For that reason, I’ve already made the current state partially functional and public. It is clearly not finished.If there is a better, complete solution available, I’m happy to look at it. If not, I will carry this project through to the end, because in the end I need a tool that fits my way of working.If you know of existing concepts, examples, or similar approaches, feel free to point them out. I’m always open to ideas.
  • NWE
  • NWE
26 Dec 2025 19:15 - 26 Dec 2025 19:17

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

and sometimes with smoke signals...

 

Ouch! been there done that. I'm still amazed a 10mA signal could smoke like that.
Displaying 61 - 75 out of 20741 results.
Time to create page: 0.299 seconds
Powered by Kunena Forum