Advanced Search

Search Results (Searched for: )

  • Dougal9887
  • Dougal9887
13 Nov 2024 06:50 - 13 Nov 2024 06:57
Replied by Dougal9887 on topic Error when trying to open Gmoccapy confiuration.

Error when trying to open Gmoccapy confiuration.

Category: Gmoccapy

Thanks, I will have a look at those lines tonight.
Also, Tommylight's reply appears to raise concerns re the parallel port. Is the below possibly relevant?
  • Make sure LinuxCNC does not prevent the Linux parport_pc driver from loading. Older versions of LinuxCNC would blacklist parport_pc in /etc/modprobe.d/linuxcnc.conf (or /etc/modprobe.d/emc2.conf for even older versions of LinuxCNC). Comment out any lines in either of those files that looks like this:
    install parport_pc /bin/true
  • Make sure your Hal configuration does not have loadrt probe_parport in any .hal file.

    And possibly this is also a problem now? 
    "Joints_axes updates
    When you update LinuxCNC, the update_ini script will automatically convert your user configurations. If the script detects that your configuration needs to be updated, it will offer to edit your user files and create an updated configuration. "

    If there are multiple more problems, maybe I should have/still could try to update my old computer Linuxcnc (not sure of version offhand but c.2007) before copy over the linuxcnc folder?
Edit: I did originally consider updating linuxcnc first but believe my version of Debian is too old for that, so probably not a route I can go down.
  • Aciera
  • Aciera's Avatar
13 Nov 2024 06:22 - 13 Nov 2024 06:37

Error when trying to open Gmoccapy confiuration.

Category: Gmoccapy

Seems to be a problem with python2/gtk2 vs python3/gtk3. With version 2.9 Linuxcnc no longer supports python2/gtk2 so  'stdglue.py' , 'probe_screen.py'/'probe_screen.glade' and possibly 'spindle_button.glade' would need to be updated.

EMBED_TAB_NAME=Probe Screen
EMBED_TAB_LOCATION = ntb_user_tabs
EMBED_TAB_COMMAND = gladevcp -x {XID} -u python/probe_screen.py probe_icons/probe_screen.glade


EMBED_TAB_NAME = Spindle Button
EMBED_TAB_LOCATION = box_custom_4
EMBED_TAB_COMMAND = gladevcp -x {XID} -H spindle_button.hal spindle_button.glade

[Edit]

This might be of interest:
github.com/verser-git/probe_screen_v2.9
  • bladekel
  • bladekel
13 Nov 2024 05:17
Replied by bladekel on topic How to connect hal pins to custom GUI?

How to connect hal pins to custom GUI?

Category: Other User Interfaces

This is the solution... Thanks....
  • cmorley
  • cmorley
13 Nov 2024 04:49
Replied by cmorley on topic Qtvcp GUI and hal pins

Qtvcp GUI and hal pins

Category: Qtvcp

If you are using master branch - I added jog increment pins:

qtdragon.jog-linear-increment
qtdragon.jog-angular-increment
  • mBender
  • mBender
13 Nov 2024 04:02 - 14 Nov 2024 12:23

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

Category: Computers and Hardware

Tonight I focused on getting my handwheel working. RIO is just a fantastic software!

I was also able to get a video of the problem of my Y axis.


I noticed a few things: The units in the display of LinuxCNC are sometimes jumping around a little bit. I think that was discussed somewhere earlier her. Will dig that out. Maybe that's the reason why I measured Step pulses and the motors shake even when I did not move an axis.

A few words to my machine. X and Z are are Nema 23 Motors (23HS30-2804S) with www.omc-stepperonline.com/digital-steppe...stepper-motor-dm332t DM332T driver. Z Axis has the highest resolution 5mm pitch ball screw and 3200 microsteps/round. Brings it to a scale in LinuxCNC of 800. As shown in the video I have no issues going up to 3600mm/min.

The Y Axis have 2x  www.microkinetics.com/index.php?page=stepper_motors/34m450 34M450 Microkinetics Motors with www.microkinetics.com/pdfmanuals/DM8010.pdf DM8010 Driver.5mm pitch ball screw and 2000 microsteps/round. Scale 640 in Linuxcnc. I limited the axis to 1950mm/min, but it's still stalling.

All axis are connected over the same Breakout board with no level shifter.

I doubt that the problem has something to do with RIO, but I am not sure. Still a myth what the problem is.
  • PCW
  • PCW's Avatar
13 Nov 2024 02:15
Replied by PCW on topic Raspberry PI4, MESA 7I96S problems

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

Yes I had forgotten, its the RPI3 that uses USB --> Ethernet
I should know since I have run a Mesa Ethernet card from a RPI4.

 (I think some RPI4 --> Ethernet motion card users needed to increase
the servo thread period to 2 ms to get it to run reliably)
  • tommylight
  • tommylight's Avatar
13 Nov 2024 01:21
Replied by tommylight on topic Raspberry PI4, MESA 7I96S problems

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

I was always under the impression that up to version 3 the ethernet was on the USB bus and 4 and after were on the PCIe bus.

Me too ! :)
  • tommylight
  • tommylight's Avatar
13 Nov 2024 01:18
Replied by tommylight on topic rtapi_app: caught signal 11 - dumping core

rtapi_app: caught signal 11 - dumping core

Category: General LinuxCNC Questions

Disable "secure boot" in PC's BIOS.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
13 Nov 2024 01:15
Replied by Cant do this anymore bye all on topic Raspberry PI4, MESA 7I96S problems

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

I was always under the impression that up to version 3 the ethernet was on the USB bus and 4 and after were on the PCIe bus.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
13 Nov 2024 01:11
Replied by Cant do this anymore bye all on topic A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

Category: Installing LinuxCNC

Lenovo are the same, still an easier option than messing around with a PCI or PCIe card.
  • phillc54
  • phillc54's Avatar
13 Nov 2024 01:02
Replied by phillc54 on topic Controlling a compressor with Linuxcnc.

Controlling a compressor with Linuxcnc.

Category: Plasmac

This post  has been edited to suit a pressure sensor on a analog input.
  • phillc54
  • phillc54's Avatar
13 Nov 2024 00:46 - 13 Nov 2024 00:47
Replied by phillc54 on topic How to connect hal pins to custom GUI?

How to connect hal pins to custom GUI?

Category: Other User Interfaces

I tried this but I got an error like
./my-mill.hal:57: Pin 'somePin' does not exist

You probably need the command in a postgui hal file as the pin won't exist until the gui is created.
  • martyop
  • martyop
13 Nov 2024 00:26

rtapi_app: caught signal 11 - dumping core

Category: General LinuxCNC Questions

I'm installing LinuxCNC on a new old computer.
I got toe error "caught signal 11 - dumping core".
I wonder what I am doing wrong?

Here is the report that was generated.
********************************************************************************************************************************
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

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.3
Machine configuration directory is '/home/martin/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/martin/linuxcnc/configs/my-mill/my-mill.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
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
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
rtapi_app: caught signal 11 - dumping core

config string '0 out'
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
USRMOT: ERROR: command timeout
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
Timeout, trying kill -9
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
rtapi_app: caught signal 11 - dumping core
note: MAXV     max: 1.000 units/sec 60.000 units/min
note: LJOG     max: 1.000 units/sec 60.000 units/min
note: LJOG default: 0.100 units/sec 6.000 units/min
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
1441
1475
Stopping realtime threads
Unloading hal components
Waited 3 seconds for master.  giving up.
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
pwmgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
hal_parport: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
homemod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Tue Nov 12 05:05:34 PM EST 2024
            UTC Date: Tue Nov 12 10:05:34 PM UTC 2024
        this program: /usr/bin/linuxcnc_info
              uptime: 17:05:34 up 4 min, 1 user, load average: 6.46, 4.01, 1.73
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/martin/linuxcnc/configs/my-mill
                USER: martin
             LOGNAME: martin
                HOME: /home/martin
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1440x900 pixels (381x238 millimeters)
                PATH: /usr/bin:/home/martin/linuxcnc/configs/my-mill/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: debian
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Debian 6.1.99-1 (2024-07-15)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-6.1.0-23-rt-amd64 root=UUID=768c1d10-a627-4b9d-81eb-5372172430d9 ro quiet
          model name: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
               cores: 4
             cpu MHz: 3114.724
             parport: 0000-0000 : parport0
              serial: 0000-0000 : serial 0000-0000 : serial

Versions:
                 gcc: gcc (Debian 12.2.0-14) 12.2.0
              python: Python 3.11.2
                 git: not_in_PATH
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.3
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version      Architecture Description
+++-===================-============-============-=====================================================================
un  linuxcnc            <none>       <none>       (no description available)
un  linuxcnc-dev        <none>       <none>       (no description available)
un  linuxcnc-doc        <none>       <none>       (no description available)
ii  linuxcnc-doc-de     1:2.9.3      all          motion controller for CNC machines and robots (German documentation)
ii  linuxcnc-doc-en     1:2.9.3      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.9.3      all          motion controller for CNC machines and robots (Spanish documentation)
ii  linuxcnc-doc-fr     1:2.9.3      all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <none>       <none>       (no description available)
un  linuxcnc-sim-dev    <none>       <none>       (no description available)
ii  linuxcnc-uspace     1:2.9.3      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.3      amd64        PC based motion controller for real-time Linux

********************************************************************************************************************************
If you read this far, thank you very much!  What is the problem?
Thanks,
Marty
Displaying 22411 - 22423 out of 22423 results.
Time to create page: 0.402 seconds
Powered by Kunena Forum