Advanced Search

Search Results (Searched for: )

  • gundamgear
  • gundamgear
16 Aug 2025 13:51 - 16 Aug 2025 14:02
Replied by gundamgear on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Hello I try to use arduino connector when I set hal file to loadusr arduino-connector it not load and when I start linuxcnc it spit pin does not exist
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.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
INIFILE=/home/cnc/linuxcnc/configs/test/test.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.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./test.hal:95: Pin 'arduino.din.9' does not exist
7233
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: Sat Aug 16 20:30:11 +07 2025
            UTC Date: Sat Aug 16 13:30:11 UTC 2025
        this program: /usr/bin/linuxcnc_info
              uptime: 20:30:11 up 1:44, 1 user, load average: 0.24, 0.30, 0.33
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/test
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1080 pixels (508x286 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/test/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: raspberrypi
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Mon Jan 27 00:10:15 AEDT 2025
          machine -m: aarch64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave smsc95xx.macaddr=2C:CF:67:BC:6D:E4 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=a27d77aa-02 rootfstype=ext4 fsck.repair=yes loglevel=5 net.ifnames=0 processor.max_cstate=1 isolcpus=2,3 firmware_class.path=/lib/firmware/updates/brcm rootwait
          model name:
               cores:
             cpu MHz:
             parport:
              serial:

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

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.4
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-en     1:2.9.4           all          motion controller for CNC machines and robots (English documentation)
un  linuxcnc-doc-es     <none>            <none>       (no description available)
un  linuxcnc-doc-fr     <none>            <none>       (no description available)
ii  linuxcnc-ethercat   1.40.0.g8a607c0-0 arm64        LinuxCNC EtherCAT HAL driver
un  linuxcnc-sim        <none>            <none>       (no description available)
un  linuxcnc-sim-dev    <none>            <none>       (no description available)
ii  linuxcnc-uspace     1:2.9.4           arm64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.4           arm64        PC based motion controller for real-time Linux


only when I use terminal to run halrun and loadusr arduino-connector then I can start linuxcnc normally but when I quit program halrun is reset and I has to load it again in order to run linuxcnc.
What I try so far
loadusr arduino-connector at begin of hal file
loadusr arduino-connector at end of hal file
[HAL]TWOPASS = on in .ini
loadusr  python3 /usr/bin/ardino-connector
loadusr -Wn arduino-connector
non of it work only run halrun in terminal work.
  • unknown
  • unknown
16 Aug 2025 11:50
Replied by unknown on topic How to set qtdragon to re-face my spoilboard

How to set qtdragon to re-face my spoilboard

Category: Qtvcp

Would be simple enough to hand code.
FreeCAD has built in CAM.
  • rodw
  • rodw's Avatar
16 Aug 2025 08:25
Replied by rodw on topic Debian Trixie upgrade/install to 2.9.4

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

I upgrade from bookworm to trixie & ethercat work fine

I checked the ethercat repo and they had one for Debian_12 and one for Debian_Testing (trixie's pre-release name) I think the igh sources.list in /etc/apt/sources.list.d should be changed to this. The easiest way would  be to download and edit my script in a Ethercat sticky.
  • rodw
  • rodw's Avatar
16 Aug 2025 08:20
Replied by rodw on topic Debian Trixie upgrade/install to 2.9.4

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

Yup your instructions are great, went from bookworm to trixie no problems,

-it's /etc/apt/sources list
And the grub command is something else as well, do grub- then tab, it's one of them.

Great feedback, yes I fixed the sources.list path.
And the grub-customizer command.

I was reading on Phoronix today that Trixie has higher performance in some things than Bookworm. I feel a bit cheated really. I am using Cinamon desktop and nothing has changed! :)
  • Chock
  • Chock
16 Aug 2025 07:24 - 16 Aug 2025 07:28

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

Big OOPsie,   I just assumed that the Clearpath servos had absolute encoders.    THEY DON'T.
    I thought i wanted absolute encoders....  at least for the end product.   
i have a friend with a Full size WEB mill and he runs steppers,   I don't think he is in love with them,  but he has not changed them out either.

     RodW i think you are correct for a first machine,   unfortunately I only have one CNC mill.   and i dont' really want to buy a learner set of servos or steppers and then have to replace them to get a good accurate part.    That is why i was wanting to start off with ONE used small clearpath servo, and not just buy a whole set without trying one first.
     
For easy and simple the clear path  SD do seem ok.   And i don't know if i agree with you on the overpriced part,   i just looked at some steppers and by the time i get a stepper and a drive they are pretty close to the clearpath price,   It did seem like the steppers may be more powerfull for the size, is that true??
    Also I am not buying NEW NEW clearpath.   There are lots of new open box or slightly used Clearpaths for sale ,   which also makes me  wonder why so many are for sale???  

i read the thread    " some advice and opinion of the Clearpath servos",    now i need to look into that further.

Too much reading tonight  and not much closer to a servo decision 
  • M4MazakUser
  • M4MazakUser
16 Aug 2025 06:23
Replied by M4MazakUser on topic Debian Trixie upgrade/install to 2.9.4

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

Yup your instructions are great, went from bookworm to trixie no problems,

-it's /etc/apt/sources list
And the grub command is something else as well, do grub- then tab, it's one of them.
  • unknown
  • unknown
16 Aug 2025 06:08

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

It's M73 tower with a Intel G3 something or other, went straight for an I5, world difference, CPU and cooler was AUD $20 off FB marketplace.
I use it as a dev machine now.

Tested it with software step generation on the lathe, worked fine, but that was just a test.
  • Hakan
  • Hakan
16 Aug 2025 06:01
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

A new ethercat-conf.xml is needed, there are many new PDOs.
Start with output from lcec_configgen and add what's needed from the current config file.
Use the complexentry for the digital IOs. I'll see if I can come around and update the ethercat-conf.xml
in the repo in a day or two.

The 24V digital Inputs are single-ended. Meaning that a switch gets +24V (or -24V) from somewhere else
and the circuit is closed through the IO board. The Inputs work with both polarities.
It is somewhat misleading to have +24V as input in J12. It isn't used. Only -24V (which can be +24 or -24V as needed)
  • rodw
  • rodw's Avatar
16 Aug 2025 05:13

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

Clearpath are overpriced but have a step/dir interface, their torque curves indicate the are more like a stepper than a servo. If you must use them, use the SD only. Linuxcnc controls that.
For you first machine with a BOB, don't go overboard. Use open loop steppers, or closed loop steppers if you want to wasre a bit of money.
Generally something like Clearpath would be powered by a 60-70 volt toroid power supply rectified to DC but unregulated.
  • rodw
  • rodw's Avatar
16 Aug 2025 04:49
Replied by rodw on topic AXYZ retrofit - Stepper driver settings

AXYZ retrofit - Stepper driver settings

Category: CNC Machines

The DM542A can handle 50 volts so a good match to a 48 volt power supply. Quite a bit cheaper than the Lam DS1044.
I would not get the TB6600
  • rhscdn
  • rhscdn
16 Aug 2025 03:29 - 16 Aug 2025 03:37
Replied by rhscdn on topic AXYZ retrofit - Stepper driver settings

AXYZ retrofit - Stepper driver settings

Category: CNC Machines

The original stepper drive photos are in the 1st post.

At this point, I’m really looking for budget friendly. If/when I get the machine moving with the new Mesa card, I will look at upgrading the stepper drivers. The stepper driver power supply I have is putting out 40VDC. The TB6600 looks to have a rating of 9-42vdc and 4A but the motor lists 5A. Is that going to be an issue? The price is right. Would a DM556 20-50vdc and max 5.6A be a better option?
  • tommylight
  • tommylight's Avatar
16 Aug 2025 03:08
Replied by tommylight on topic AXYZ retrofit - Stepper driver settings

AXYZ retrofit - Stepper driver settings

Category: CNC Machines

Drive pictures?
Motors look like 4 wire ones, so Bipolar, so even cheap China drives should work, those "TB6600" that use TB67S109 chip are pretty good and are the cheapest enclosed drives at about 10-15$ a piece.
If you just want to get the best stepper drives, LAM Technologies are the best i have used, but at 100$ and up a piece are not cheap. DS1044 should be more than enough for most hobby or semi professional use, and the above price is only when they are on discount at www.mechapro.de, and do not mind the disparity between the current ratings, LAM insist on printing only the real current they can do so 4A drive is the usual inflated 5.6A. This is very important as if you set them to 3A for a 3A china motor, that motor will be smoking soon.
  • Chock
  • Chock
16 Aug 2025 03:07 - 16 Aug 2025 03:14

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

Thanks unknown what thinkcenter gave you problems?

thanks tommy light   I will try the LED trick,   that sounds fun,   

I saw a map for the DB25 connector,   but then i saw another one that i thought was different.    AND should i wait for the BOB before i try the LED test,    Doesn't the BOB offer a protection/insulation service so to speak from having a wiring problem burn up the computers motherboard  ???

For tonight i am falling in a hole trying to pick a servo,   I really like the idea of the Technic Clearpath all in one servos.

There are a bunch available on ebay .     I have been looking at the NEMA 23 size for my Z axis .    This is for the Quill z feed, NOT the Knee.

So there are  Step and direction only  the SD series,   and the other is a SC series which have Software API control and Step and direction.
  i only have a tiny understanding of what i think Software API is,    and i am not sure if the C11G BoB will operate as a software API, ( I don't think it will ) 
But would there be any difference in the smoothness?   
     Step and direction seems like i can wrap my head around ok. 

Also am i being  a Backwards techophobe / ludite,   for sticking with the parallel port VS going with MESA cards?    It is not too late to change my system, 

Also another question  since the Clearpath servos seem to have everything But the actual servo power supply,    Could i get away with haveing only one larger power supply?

and a question. on power supply.    Does a step / direction system need a  special power supply;  Clearpath  specs a 75Vdc power supply.     but there is a voltage range of 24 to max 90vdc 

The step and direction signal are low voltage correct?    Then the BOB converts that tooo??  variable voltage?   or variable amps or both??

man i have some gaps in my knowledge but i am reading up,   and the forum is helping a lot

thanks
 
  • rhscdn
  • rhscdn
16 Aug 2025 02:41
Replied by rhscdn on topic AXYZ retrofit - Stepper driver settings

AXYZ retrofit - Stepper driver settings

Category: CNC Machines

Well, not much progress tonight. I think I need to take a step back and better understand what signals linuxCNC and the Mesa card is producing for the PnCconf settings. Doing some research online suggests I’m not alone in struggling to get these undocumented stepper drivers to work. I foolishly messed with the output side wiring voltage divider this evening (without having adequate documentation) and the stepper driver released some magic smoke. Sigh. I am hopeful it was only the driver that died.

Looks like I’ll need to look at replacing the stepper drivers. Are there budget options? Motor size below.

  • tommylight
  • tommylight's Avatar
16 Aug 2025 02:09
Replied by tommylight on topic How to set qtdragon to re-face my spoilboard

How to set qtdragon to re-face my spoilboard

Category: Qtvcp

qtdragon has a facing option built in. Why not use that?

I was not aware of that, thank you.
Displaying 9991 - 10005 out of 17923 results.
Time to create page: 0.281 seconds
Powered by Kunena Forum