New Computer - Error Launching

More
24 Mar 2025 19:49 #324813 by tylernyberg
New Computer - Error Launching was created by tylernyberg
Old computer failed to boot due to hardware failure, so I built a new computer. I was able to get the old config files off drive, but LinuxCNC errors at launch when I use these to launch on new computer. I didn't build or config the machine originally, so very new to the config files. Any thoughts on the below issue? If the card is the issue would it be worth getting a ethernet card as a replacement?

I'm wondering if the Mesa 6i25 is not working in new computer because it is not listed when I run lspci.
The two issues on the report I see are no parport which can be false error and
custom_postgui.hal:4: signal 'spindle-at-speed' not found.

custom_postgui.hal file:
# Include your customized HAL commands here
# The commands in this file are run after the AXIS GUI (including PyVCP panel) starts

sets spindle-at-speed true


Full LinuxCNC Report:
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/bep/linuxcnc/configs/test-4x4'
Machine configuration file is 'test-4x4.ini'
INIFILE=/home/bep/linuxcnc/configs/test-4x4/test-4x4.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
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
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./test-4x4.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
No parport registered at 0xe030. This is not always an error. Continuing.

Shutting down and cleaning up LinuxCNC...
task: 112 cycles, min=0.000004, max=0.011034, avg=0.008776, 0 latency excursions (> 10x expected cycle time of 0.010000s)
config string '0xe030 out'
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
No parport registered at 0xe030. This is not always an error. Continuing.
note: MAXV     max: 2.500 units/sec 150.000 units/min
note: LJOG     max: 2.500 units/sec 150.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
custom_postgui.hal:4: signal 'spindle-at-speed' not found
4163
4194
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Please Log in or Create an account to join the conversation.

More
24 Mar 2025 20:32 #324817 by unknown
Replied by unknown on topic New Computer - Error Launching
Fix the error that says signal not found, 9 times out of 10 it's a typo in either of your hal files, can't say much else without you posting the ini and hal files.

Please Log in or Create an account to join the conversation.

More
24 Mar 2025 21:22 #324825 by tylernyberg
Replied by tylernyberg on topic New Computer - Error Launching
I deleted the set spindle-at-speed from HAL file and it loaded, but there is no spindle control in GUI and it reads no paport registered at 0xe030 in corner. I wasn't able to resolve spindle speed issue by editing the HAL.

There is no communication between computer and CNC as when I jog, the machine isn't moving. The 7I76 card has it's 2 yellow power indicator lights lit. There is no green blinking or red fault light on the card.

I have posted the INI and HAL files.
Attachments:

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
24 Mar 2025 21:41 #324827 by tommylight
Replied by tommylight on topic New Computer - Error Launching
test-4x4_1742871679.hal
That is the hal for the 6i25/5i25 so why are you using the other one made for parallel port?

Please Log in or Create an account to join the conversation.

More
25 Mar 2025 16:10 #324892 by tylernyberg
Replied by tylernyberg on topic New Computer - Error Launching
The test 4x4 file is the one that was working on the other computer, which is why I tried that one.

When I use the test-4x4_1742871679.ini it launchs with an error:

waiting for component 'inihal' to become ready.....
a configuration error is preventing LCNC from starting
....HAL:ERROR exit called before init
<commandline>:0: waitpid failed milltask inihal

it also lists 3x:
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed


I have another file attached below that I tried called Mesa_4x4, which compared looks the same config. This has an error related to these two lines when I use it:
setp hm2_5i25.0.dpll.01.timer-us -50
setp hm2_5i25.0.stepgen.timer-number 1

if I remove these lines from the hal file I can hear the motors click on LCNC boot, but then get the error for spindle speed GladeVCP

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/bep/linuxcnc/configs/Mesa_4x4'
Machine configuration file is 'Mesa_4x4.ini'
INIFILE=/home/bep/linuxcnc/configs/Mesa_4x4/Mesa_4x4.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH
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): ./Mesa_4x4.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
gtk-builder-error-quark: gvcp-panel.ui:72:38 Invalid property: HAL_Table.n_rows (11)
Warning: Forward kinematics must handle duplicate coordinate letters:yy

Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -d -x 75497615 -H gvcp_call_list.hal gvcp-panel.ui" exited with error: 1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 173 cycles, min=0.000004, max=0.011021, avg=0.008873, 0 latency excursions (> 10x expected cycle time of 0.010000s)

identityKinematicsSetup: coordinates:XYYZ
   Joint 0 ==> Axis X
   Joint 1 ==> Axis Y
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z

hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:10:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
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): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin rx0 (Input)
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): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
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:10:00.0
hm2_5i25.0: dropping AnyIO board at 0000:10:00.0
hm2/hm2_5i25.0: unregistered
hm2_pci: 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: 3.333 units/sec 200.000 units/min
note: LJOG     max: 3.333 units/sec 200.000 units/min
note: LJOG default: 2.000 units/sec 120.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
[GladeVCP][[36mINFO[0m]  Logging to: [33m/home/bep/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)
[GladeVCP][[34mDEBUG[0m]  **** GLADE VCP INFO:    Not a builder project, trying to load as a lib glade project (gladevcp:205)
**** GLADE VCP ERROR:    With xml file: gvcp-panel.ui : 'gi.repository.Gtk' object has no attribute 'glade'
<commandline>:0: gladevcp exited without becoming ready
5919
5954
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f0f704a9000
Note: Using POSIX realtime
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Mar 2025 17:32 #324896 by PCW
Replied by PCW on topic New Computer - Error Launching
All the hardware seems to be detected OK and the error
is gladevcp related.

Does the parallel port configuration have this same error?
and if not, you might compare the hal files for lines involving gladevcp
 

Please Log in or Create an account to join the conversation.

More
25 Mar 2025 19:36 #324906 by tylernyberg
Replied by tylernyberg on topic New Computer - Error Launching
I removed GladeVCP from ini and it boots. The spindle works, but xyz joints are not working. Will not jog. Homing does not fix anything, the values move in LCNC, but no physical machine movement. I get an error for:
cannot jog joint 1 because home_sequence is synchronized (-3)

Joint 0 is X
Joints 1 and 2 are my Y axis that are synced.
Joint 3 is Z

Please Log in or Create an account to join the conversation.

More
25 Mar 2025 20:04 - 25 Mar 2025 20:04 #324909 by PCW
Replied by PCW on topic New Computer - Error Launching
I would set these ini values and re-try:

DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
Last edit: 25 Mar 2025 20:04 by PCW.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
25 Mar 2025 20:11 #324911 by tommylight
Replied by tommylight on topic New Computer - Error Launching
Are the "enable" inputs on the drives wired to something?
Do the motors lock when powering on the machine and stay locked after running LinuxCNC?

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum