Advanced Search

Search Results (Searched for: )

  • 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
  • PCW
  • PCW's Avatar
12 Nov 2024 23:20

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

Stepconf will not help to make a Mesa step/dir configuration,
you need to use pncconf (or mesact) for that
 
  • mjones@welfab.ca
  • mjones@welfab.ca
12 Nov 2024 23:04

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

This is where my lack of experience with linuxcnc hurts me. I started my hal with the configurator. But I new a guy that had the same machine and it was running, but he went with analog axis servos. Alot of code I copied and pasted changing addressing where I needed to, It took quite a bit before I could get it to open in linuxcnc with out errors. I use a step config to make a basic profile and look at it and it looks very different. But as I said it only allows parport addressing. I think now that I have drivers and motors not on machine but connected to linuxcnc, I will probably need to make a basic configuration and play with that until the motors drive as needed, at least then I will know I have the addressing correct. From there I will have to figure out how to blend the files. Problem it is not a simple file.Tool changers, mux switches with hecti decimal and all sorts. Hell right now I can't get the spindle to turn and that is the one think that is exactly the same as the machine that I copied the file from. Pinout, addressing, hal file all the same but it just sits there laughing at me. That I am sure is somehow an address issue, but if I have linuxcnc running and the machine in run state, if I turn the spindle it errors with a joint to position follow or something like that so it is reading the encoder.but i don't think it should be joint 2. Any ways I digress. Tomorrow is another day.
Thanks for input, it is always appreciated.
  • tommylight
  • tommylight's Avatar
12 Nov 2024 22:57
Replied by tommylight on topic Mesa 7i96s / Network no longer working

Mesa 7i96s / Network no longer working

Category: Driver Boards

On the PC, what does
ip a
in a terminal return?
  • PCW
  • PCW's Avatar
12 Nov 2024 22:37

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

pncconf can setup step/dir and analog servo systems (they end up being very similar at the hal level)

That is, if you select a 7I76E in pnconf, the axis/joint setup is all step/dir as a 7I76E by
itself only supports step/dir motion.

If you setup say a 7I92+7I77 configuration, it will setup an analog servo system
  • mjones@welfab.ca
  • mjones@welfab.ca
12 Nov 2024 22:05

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

from what I can tell the pnconfig doesn't give the option for step/direction, and the stepper configurator doesn't do addressing other than parport, so the mesa addressing would have to all be put in later. Im not at the shop now so I can't show what the set up is now, but to me it looks like its analog when it need to be step and dir.. I did attach my hal and ini in the first post.
  • JT
  • JT's Avatar
12 Nov 2024 21:52 - 12 Nov 2024 22:04

How to connect hal pins to custom GUI?

Category: Other User Interfaces

If you're creating a custom GUI have a look at Flex GUI as that is exactly what it's made for.

gnipsel.com/linuxcnc/flexgui/index.html

gnipsel.com/linuxcnc/flexgui/hal.html#label



JT
  • PCW
  • PCW's Avatar
12 Nov 2024 21:29
Replied by PCW on topic Mesa 7i96s / Network no longer working

Mesa 7i96s / Network no longer working

Category: Driver Boards

If you get the link LED (Yellow) on the RJ45, its not likely a firmware issue
but rather an Ethernet issue.

If you ping the card, do the green LEDs on the 7I96S count up?
 
Displaying 17911 - 17925 out of 24292 results.
Time to create page: 0.364 seconds
Powered by Kunena Forum