Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
12 Oct 2025 17:14

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Now I'm starting to wonder if I should run the the buffered encoder outs (that the Ultra3000 provides) into LinuxCNC via the extra Mesa cards I got and use BLDC to generate commutation pulses, send them out to the drives. The only issue is the startup sensing: how would BLDC command the Step/Dir drives to move in order to find the index pulse if the step/dir drives need the commutation signals to run in the first place?


 You are right, the bldc comp can only help where the commutation is under linuxcnc software control.
(It might have helped with the original encoders, as it can convert Fanuc 4-wire into simulate Hall sensor outputs. But you didn't want to hear that)
  • andypugh
  • andypugh's Avatar
12 Oct 2025 17:01
Replied by andypugh on topic INI and HAL files

INI and HAL files

Category: General LinuxCNC Questions

Yes, all those things will need manual HAL edits.
You don;'t have to put everything in the same file, the [HAL] section of the INI can pull in as many .hal files as you need. It may make sense to have the toolchanger in a separate file, for example.

You can also have several INI files in the same config folder, sharing HAL files, tool table, etc. This can be handy if, for example, you have a part-time rotary axis, or an alternative geaometry. (for example my mill has a horizontal spindle that I sometimes use, and that means swapping the Z and Y axes.)

I might be worth skim-reading the list of available HAL components to get a feel for what is available. You are likely to need the "carousel" component, for example.
linuxcnc.org/docs/stable/html/
Scroll down to (and expand if necessary):
Commands and userspace components
Realtime components and kernel modules
  • NT4Boy
  • NT4Boy
12 Oct 2025 16:49
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

I was thinking to my self much the same as I wrote, but I'd reached the point of losing the plot and grateful for the reassurance.
Thanks
  • andypugh
  • andypugh's Avatar
12 Oct 2025 16:46
Replied by andypugh on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Spindle-at-speed only pauses motion for the first feed move after a spindle command (as far as I recall) It definitely doesn;t interfere with rigid taping, for that would be a silly thing.
  • andypugh
  • andypugh's Avatar
12 Oct 2025 16:43
Replied by andypugh on topic installing QTVCP

installing QTVCP

Category: Qtvcp

There are two packages not being found or downloaded. (qttools5-dev,
libpython3-dev)

We (well, mainly you :-) need to work out why that is.

You could try updating the apt archive

sudo apt-get update

And then see if you can find them, for example:
sudo apt-cache search qttools
  • NT4Boy
  • NT4Boy
12 Oct 2025 16:42
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

For too many months I tried in vain to fix the venerable vfd that was the original fitment in the machine and have at last inserted a Yaskawa unit . Tiny thing compared to the old one! But does actually run the motor at the speed commanded without drama and also reverses without needing to stop the spindle. Have also got the Linuxcnc spindle at speed bit to work from the encoder signal.
I think I've been round in circles on the synchronised motion implementation say for tapping.
I believe now that when pncconf writes the hal for a spindle with an encoder, then no additional entries are required to enable synchronised motion. The configuration output has spindle position, speed as well as index enabled pins, and I think that is all that is needed.
The wiki help, to me, implies some specific pin names are required, but after trying to get the suggested ones to work I find that in fact the default ones provided by pncconf work, or at least seem to.. At least I can get a sample G-code file with G33.1 to complete a cycle. Yet to cut metal with it, but nearly there.
I am also confused by the Spindle at speed notion. I can understand that it would be better if the spindle was running before the tool hits the workpiece, and notionally a good idea, but when the spindle reverses in the middle of a tapping cycle, I am guessing that the motion will continue to move as the tool delcels and accels, rather than wait to get up to speed? Must do, but was curious as to what happens under the hood so to speak.
Thanks
  • andypugh
  • andypugh's Avatar
12 Oct 2025 16:34

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Issues: asks for root passwd, my fault will fix on another build, ISO still identifies as 2.9.4, need to update the config file.

That should be fixed by this:
github.com/LinuxCNC/linuxcnc-live-build/...aller/preseed.cfg#L1
  • andypugh
  • andypugh's Avatar
12 Oct 2025 16:19

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

The last row still creates an error -> custom_postgui.hal:6: Pin 'halui.machine.is-on' was already linked to signal 'machine-is-on'


A bit of HAL backgroumd. A HAL "net" command is the word "net" followed by a "signal name" and one or more HAL pins.
The signal name can be chosen fairly freely, and serves as the reference for interconneting HAL pins. There can be may HAL pins in the same net, but only one of them can be a "writer" (This might typically be called an "output" but that gets a but confusing as physical inputs are "output" HAL pins (they output a value) and physical outputs are "inputs" as they accept a value from output HAL pin)

Back to your error. It means that the HAL pin "halui.machine.is-on" is already connected to a HAL "net" somewhere else in the HAL files, and that it is connected to the net "machine-is-on". 
The fix for this is to just use "machine-is-on" as the net name for anything that you want to connect to "halui.machine.is-on"
I can't see your problem HAL line from inside this editor, but if, for example, the line causing the problem was:
net some-net-name mygladepanel.pin <= halui.machine.is-on"
Then you would need to change it to:
net machine-is-on => mygladevcp.pin

(Note that the => <= and <=> don't mean anything to the computer and can be left out, but can help readabilty for humans)
  • andypugh
  • andypugh's Avatar
12 Oct 2025 16:04

Upgrade of CNC Plasma Cutting Table with Mesa 7i96S, THCAD-2 And MyOhmic PRO

Category: Driver Boards

It looks like you have most of it sorted out, but feel free to ask any questions if you get stuck.

Depending on what the mystery control board is, it might be compatible with Remora firmware.
  • Twitchy88
  • Twitchy88
12 Oct 2025 15:14
Replied by Twitchy88 on topic installing QTVCP

installing QTVCP

Category: Qtvcp

Yep, i think i typed that out fast for the forum, also the laptop will just be for learning when I cant make it out to the shop.

Selection? 3

installing common tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package qttools5-dev-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package qttools5-dev
E: Package 'qttools5-dev-tools' has no installation candidate

installing python3 tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libpython3-dev

create plugin link at:
~/.designer/plugins/python/


Installation complete, designer can be started with:

designer -qt=5

nate@linuxcnc-laptop:~$ designer -qt=5
bash: designer: command not found
  • DerKlotz
  • DerKlotz
12 Oct 2025 14:51 - 12 Oct 2025 15:45

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

Strange... now the first two rows of the postgui work

ok now setp gladevcp.table1 1
ok now net button gladevcp.button1 halui.machine.on
not ok net led halui.machine.is-on gladevcp.led1

The last row still creates an error -> custom_postgui.hal:6: Pin 'halui.machine.is-on' was already linked to signal 'machine-is-on'

This is now correct
setp gladevcp.table1 1
net button gladevcp.button1 halui.machine.on gladevcp.led1
  • DerKlotz
  • DerKlotz
12 Oct 2025 14:42

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

There was an 1 missing... probably didn´t copy it.

But still many errors...
  • PCW
  • PCW's Avatar
12 Oct 2025 14:19 - 12 Oct 2025 14:19

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

Not sure about the GUI errors, but this is a showstopper:

custom_postgui.hal:4: setp requires 2 arguments, 1 given

That means you have a very basic error in line 4 of custom_postgui.hal
  • DerKlotz
  • DerKlotz
12 Oct 2025 14:04 - 12 Oct 2025 14:05

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

I used your example.ui and custom_postgui.hal now. Sorry for all... iḿ a total newbie
I used this command in the ini/Display for the ui... correct? Itś stored under that folder
GLADEVCP = /home/cnc/linuxcnc/configs/Fräse/example.ui

Still get errors
UN_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.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/Fräse'
Machine configuration file is 'Fräse.ini'
INIFILE=/home/cnc/linuxcnc/configs/Fräse/Fräse.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): ./Fräse.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
83886083
['halcmd', 'loadusr', '-Wn', 'gladevcp', 'gladevcp', '-c', 'gladevcp', '-d', '-x', '81789071', '/home/cnc/linuxcnc/configs/Fräse/example.ui']
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 315 cycles, min=0.000010, max=0.019215, avg=0.009510, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:10:4c:98
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
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: jog_order='XYZ'
note: jog_invert=set()
[GladeVCP][[36mINFO[0m]  Logging to: [33m/home/cnc/gladevcp.log[0m (logger.py:106)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No DEFAULT_SPINDLE_0_SPEED Entry in DISPLAY, Using: 200 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_SPEED Entry in DISPLAY, Using: 100 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_SPEED Entry in DISPLAY, Using: 2500 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 1 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 0.5 (qt_istat.py:532)
custom_postgui.hal:4: setp requires 2 arguments, 1 given

(gladevcp:117656): Gdk-WARNING **: 16:03:36.296: GdkWindow 0x5000003 unexpectedly destroyed
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1689: Warning: invalid (NULL) pointer instance
  return _Gtk_main(*args, **kwargs)
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1689: Warning: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
  return _Gtk_main(*args, **kwargs)

(gladevcp:117656): Gdk-CRITICAL **: 16:03:36.296: gdk_frame_clock_end_updating: assertion 'GDK_IS_FRAME_CLOCK (frame_clock)' failed
**** GLADE VCP ERROR:    X Protocol Error: 3
117585
117633
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
 
  • langdons
  • langdons's Avatar
12 Oct 2025 13:52
Replied by langdons on topic installing QTVCP

installing QTVCP

Category: Qtvcp

Typo!

"desginer" should be "designer", right?


Also, laptops are generally not optimal for LinuxCNC, especially fopr parallel port setups.
Displaying 136 - 150 out of 22866 results.
Time to create page: 0.402 seconds
Powered by Kunena Forum