Advanced Search

Search Results (Searched for: )

  • Lcvette
  • Lcvette's Avatar
31 Oct 2024 21:04

Question on Step 4 of the APT install instructions

Category: QtPyVCP

no worries, many flavors make the world more interesting! whatever works and accomplishes your goals is A-O-K in my book!
  • Lcvette
  • Lcvette's Avatar
31 Oct 2024 21:03
Replied by Lcvette on topic Use z probe and 3d probe in the same input?

Use z probe and 3d probe in the same input?

Category: QtPyVCP

you cannot connect two probes tot he same input on the PPcard unless you have a way to disconnect one otherwise the circuit will never change state.

you need two inputs and merge them in hal using or2 component. even with this you would need to be able to close the touch probe so it isn't signaling a probe triggered event which will throw errors. you may want to consider grabbing a mesa card, a 7i96s or you could use a 7i92 with whatever breakout board you currently have and can add an additional card for more input/outputs.
  • B.Reilly01
  • B.Reilly01
31 Oct 2024 20:25

Mill has been running fine for years, all of a sudden I get the following error

Category: General LinuxCNC Questions

My mill has been running a very basic AXIS HAL and INI files and doing fine for years.  It is not connected to the internet, so it didn't do an unexpected update.  All of a sudden I get the following on start up:
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.8.0~pre1
Machine configuration directory is '/home/cncmill/linuxcnc/configs/3500rpm_Hurco_SM1'
Machine configuration file is '3500rpm_Hurco_SM1.ini'
INIFILE=/home/cncmill/linuxcnc/configs/3500rpm_Hurco_SM1/3500rpm_Hurco_SM1.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
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
Found file(REL): ./3500rpm_Hurco_SM1.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2_pci: rtapi_app_main: No such device (-19)
./3500rpm_Hurco_SM1.hal:9: waitpid failed /usr/bin/rtapi_app hm2_pci
./3500rpm_Hurco_SM1.hal:9: /usr/bin/rtapi_app exited without becoming ready
./3500rpm_Hurco_SM1.hal:9: insmod for hm2_pci failed, returned -1
2986
Stopping realtime threads
Unloading hal components
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:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Thu Oct 31 10:59:53 CDT 2024
            UTC Date: Thu Oct 31 15:59:53 UTC 2024
        this program: /usr/bin/linuxcnc_info
              uptime: 10:59:53 up 4 min, 1 user, load average: 0.38, 1.12, 0.60
     lsb_release -sa: LinuxMint Linuxcnc Uspace Powered by Linux Mint 19.2 Tina 19.2 tina
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cncmill/linuxcnc/configs/3500rpm_Hurco_SM1
                USER: cncmill
             LOGNAME: cncmill
                HOME: /home/cncmill
              EDITOR: 
              VISUAL: 
            LANGUAGE: en_US
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0
             DESKTOP: mate
        display size: 1024x768 pixels (270x203 millimeters)
                PATH: /usr/bin:/home/cncmill/linuxcnc/configs/3500rpm_Hurco_SM1/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

uname items:
         nodename -n: CNC-Mill
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Thu Mar 5 00:02:34 AEDT 2020
          machine -m: x86_64
        processor -p: x86_64
         platform -i: x86_64
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.106-rt44-lcnc root=UUID=69380275-e756-469f-a27d-d74d6649283d ro quiet splash vt.handoff=1
          model name: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz
               cores: 2
             cpu MHz: 1861.981
             parport: 0000-0000 : parport0
              serial: 0000-0000 : serial 0000-0000 : serial

Versions:
                 gcc: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
              python: Python 2.7.17
                 git: git version 2.17.1
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.0~pre1
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /etc/init.d/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib

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-en     1:2.8.0~pre1.5821.g7525a1528 all          motion controller for CNC machines and robots (English documentation)
un  linuxcnc-sim        <none>                       <none>       (no description available)
un  linuxcnc-sim-dev    <none>                       <none>       (no description available)
ii  linuxcnc-uspace     1:2.8.0~pre1.5821.g7525a1528 amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.0~pre1.5821.g7525a1528 amd64        PC based motion controller for real-time Linux
  • GDTH
  • GDTH's Avatar
31 Oct 2024 19:33

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

He, so far the stuff made here is super great!
i had a quick question about the cia402.comp. Maybe i am doing something wrong.
I have a servo on the z axis which needs to engage a brake, to make sure it doesn't destroy my table.
In the end i want this to be done by the driver itself (not sure yet how to do that)
But for now i wanted to be controlled through LCNC with :

net z-brake   cia402.0.stat_switched_on =>lcec.0.4.dout-5

However i am getting this error. All of the pins are non excisting. however when i look in the hallshow they do excist.
twopass: Error in file ./hallib/ethercat.hal:
    Pin 'cia402.0.stat_switched_on' does not exist

Does anyone have an idea?
Kind regards.
Andries
  • tcbmetalworks
  • tcbmetalworks
31 Oct 2024 19:32
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Here is photos I don't think they attached in my first post 
  • tcbmetalworks
  • tcbmetalworks
31 Oct 2024 19:23
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

 I think this box right here is what would be the "drivers"  I will include some photos of the other boxes that were mounted on the gantry. Alot of stuff was already unplugged and I felt like it did not make sense to have 500 lbs of boxes mounted on the gantry so I went right ahead to taking them all off. The only one that I really see having to stay on the gantry itself would be there is a box for the plasma torch High frequency start and maybe a box that contains all of the drivers to minimize the amount of wire to run threw a cable chain. Do you still think it's worth it to diagnose these motors and drivers or better to start fresh? I'm willing to spend up to a few thousand on motion control if it's what it needs. And can make my own gear boxes in my machine shop or purchase off the shelf if those reducers won't work. 

Attachment not found

  • Nixus
  • Nixus
31 Oct 2024 18:43
Replied by Nixus on topic Help with Denford Machine config

Help with Denford Machine config

Category: General LinuxCNC Questions

I see...

I have not done anything to the Ubuntu software nor the Linuxcnc software when i inherited the machine so i believe the versions to be rather ooOOOOld.

Axis seems to be 2.5.0 version and Ubuntu Version is 10.04 lts.

I suppose before trying to resolve the config section i should try to upgrade the System. But is that relativly easy to do with Linux?
  • PCW
  • PCW's Avatar
31 Oct 2024 18:38

Novakon Mill Conversion - Getting Started

Category: CNC Machines

its normal for no light to be illuminated on the 5I25

Can you post your hal/ini files?
  • mBender
  • mBender
31 Oct 2024 18:32

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

Category: Computers and Hardware

There's this thing called google, you can look up acronyms and find out what they mean. Or you can read the data sheet applicable to your FPGA.

The ones you mentioned are the easy ones, there's a whole raft of others if you want to start messing around with FPGAs. Which is what you are doing, everytime I start on a project I'll have a look at he datasheets of the components involved.

You really need to have a curious mind once you start going down that rabbit hole.
 


Believe it or not, I have used Google before :D My intention is just to make it easier for a broader group of people and have less questions to the developer. Since the tooltip option was provided i will play around with it and see if I can make a meaningful contribution.
  • hmearns
  • hmearns
31 Oct 2024 18:29
Replied by hmearns on topic Novakon Mill Conversion - Getting Started

Novakon Mill Conversion - Getting Started

Category: CNC Machines

I've got a 5i25 and a C11G. I've read this thread and I've flashed the 5i25 and get a response with sudo mesaflash --device 5i25 --readhmid that makes sense. I added the charge pump logic as suggested without success. I also bypassed it on the C11G board which makes things light up, but none of the motors work then either.
I had this working on a previous computer with a parallel port. I have no LEDs on the 5i25 currently. not sure if that means anything. i tried monitoring the charge pin with hal scope and see it going on and off. Any suggestions?
  • tcbmetalworks
  • tcbmetalworks
31 Oct 2024 18:12
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

I think I would much rather go the route of retrofitting new servo motors. I have some money to spend on this not a crazy amount but I would much rather pluck out a new drive and buy a new one when one fails then deal with the gobble of wiring. I am trying to build a machine I can run around the clock. I built a mach3 based system and I am so sick of problems with it. I will send photos of the rest of the electronics and you will see what I'm talking about. I think all the drives are a one piece system.
  • PCW
  • PCW's Avatar
31 Oct 2024 17:53 - 31 Oct 2024 19:45
Replied by PCW on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

hm2_7i96s.0.stepgen.xx.index-enable does not reflect the index input
but rather must be set true by LinuxCNC when LinuxCNC wants to search
for an index signal. When it has been set true, the index hardware is armed
and when an index is detected, two things happen:

1. The stepgen position is zeroed
2. hm2_7i96s.0.stepgen.xx.index-enable is set false

The reason index logic works this way is so the (possibly very short) index pulse
is captured by high speed hardware and the hardware signals LinuxCNC that the
index has been detected.

For index homing to work, you must connect hm2_7i96s.0.stepgen.xx.index-enable
to joint.x.index-enable (and also the PID components index enable input)
Also index homing must be enabled in the ini file.

I suspect pncconf does most of this index setup but does not connect the
hm2_7i96s.0.stepgen.xx.index-enable to the per joint index-enable signals.
  • tommylight
  • tommylight's Avatar
31 Oct 2024 17:51
Replied by tommylight on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Find info on the drives, check wiring and if it is in good condition try to power everything up, check drives for errors or strange behavior or smoke, then we can move to testing drives and figuring out what controller you would need.
  • m0602232
  • m0602232
31 Oct 2024 17:32
Replied by m0602232 on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

Could you check if this is correct firmware? I'm not getting anything to stepgen pins (hm2_7i96s.0.stepgen.00.index-enable) but pin hm2_7i96s.0.gpio.008.in goes true when indexing. Or is there something I'm missing?
  • Krulli_Fräser
  • Krulli_Fräser
31 Oct 2024 16:46
Problem with macro in MDI mode was created by Krulli_Fräser

Problem with macro in MDI mode

Category: Gmoccapy

Hello,

I'm trying to implement a macro for setting the tool length with a probe on the table. The subroutine i wrote is working and does what i want it to. Now I want to embed it as a macro in Gmoccapy so I have fast access to it in the MDI tab.

I followed the steps listed in the documentation and added a macros folder in my config directory. I added my .ngc file here. The ngc file itself has the blocks at the start and end
O<my_routine> sub

O<my_routine> endsub
M2

I added the necessary lines in the ini file as well.

Now when I press the macro button at the bottom left in the MDI tab (the button has the correct subroutine name on it) I just get the error "file not open" and my subroutine does not execute.
When I open the subroutine file in the Automatic tab, then go back to MDI I can run the macro no problem, but as soon as I load another program the subroutine button does not work.

I hope someone can help me as I'm pretty sure it's just some oversight on my part.
Displaying 18931 - 18945 out of 24115 results.
Time to create page: 0.466 seconds
Powered by Kunena Forum