Advanced Search

Search Results (Searched for: )

  • jjdege
  • jjdege's Avatar
19 Apr 2025 16:21 - 19 Apr 2025 16:24

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

nvmpg: dlopen: /usr/lib/linuxcnc/modules/nvmpg.so: cannot open shared object file: No such file or directory
 


Hi
i think you didn't install the NVMPG component here
  • pgf
  • pgf
19 Apr 2025 16:06

After homing X and Y, can I auto move to a non 0,0 location?

Category: General LinuxCNC Questions

I've recently gotten switch-based homing working on my 12"x12" DIY xyz mill.  The mill is the style where the spindle is stationary, and the bed moves in two directions underneath.  (I'm sure there's a name for that.)

0,0 is at the near left corner of the bed (of course), and after homing, with the spindle above that point, the bed is basically as far from me as possible.

I'd prefer it to home to 12,12 instead of 0,0, which would leave the bed as close to me as possible.  I've tried homing against the upper limits instead of the lower limits, with a HOME_OFFSET of 12, thinking that would help, but after homing at the near corner, the mill once again moves all the way to the other end, in order to end up at 0,0.

Is there a way to accomplish what I want?  If I can't convince it to actually home to the near corner, is there a way to automatically invoke an arbitrary move after homing?  
  • pgf
  • pgf
19 Apr 2025 15:33

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

Okay, I understand your point of view now, thanks.
  • tommylight
  • tommylight's Avatar
19 Apr 2025 15:22

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

Thanks. But it's your very first sentence I have trouble with. Given that the length of the bit is variable, there is no single actual lower hardware limit. It depends on how far the bit protrudes from the collet. Given that, what's the use of the limit? When would it do me any good?

First, stop mixing stuff, you're making it harder on yourself.
Machine is a CNC machine, tools are a separate topic that is used on CNC machines.
The limits are there to protect the machine, not the tools, but those same limits consequently also protect the tools to a certain extent.
Breaking a tool is not the end of the world ... or the machine in this case, breaking the spindle ramming it into material/table at full speed is a costly end of that machine.
Tools are dispensable, machine is not.
You have to figure out what works for you, while using the machine, trying to figure out tolling without using them is OK, but do not preoccupy to much with it.
Not sure my explanation is helping, but i went through the same process back when i built my first small vertical mill, turns out it's as easy, propping something up when tool is short, removing vise when tool is long, moving the spindle mount, etc, so there are options, always.
  • bkt
  • bkt's Avatar
19 Apr 2025 15:21

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

so now modify my xml in these way .... but have error .... onf: ERROR: Parse error at line 1: not well-formed (invalid token)  .... and real these is not understand ....

Warning: Spoiler!
  • pgf
  • pgf
19 Apr 2025 14:50

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

Thanks. But it's your very first sentence I have trouble with. Given that the length of the bit is variable, there is no single actual lower hardware limit. It depends on how far the bit protrudes from the collet. Given that, what's the use of the limit? When would it do me any good?
  • PCW
  • PCW's Avatar
19 Apr 2025 14:42
Replied by PCW on topic 7i80db 7i77 + 7i76 serup Hal conf

7i80db 7i77 + 7i76 serup Hal conf

Category: Driver Boards

Note that the sserial channel on J4 (7I77) is channel 1


IO Connections for J4
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     34   IOPort       SSerial          1        TXEn2           (Out)
14                     35   IOPort       SSerial          1        TXData2         (Out)
 2                     36   IOPort       SSerial          1        RXData2         (In)
15                     37   IOPort       SSerial          1        TXData1         (Out)
 3                     38   IOPort       SSerial          1        RXData1         (In)
16                     39   IOPort       SSerial          1        TXData0         (Out)
 4                     40   IOPort       SSerial          1        RXData0         (In)


This means you would need something like:
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=3 num_pwmgens=3 num_stepgens=3 sserial_port_0=00xx sserial_port_1=000xxxxx" to enable the second sserial port that the 7I77 is
connected to.

Efficiency wise, it would probably be better to use a configuration with all sserial I/O on one port, like this:

 

File Attachment:

File Name: 7i80db_25_...7x1d.zip
File Size:185 KB



Also do not supply power to the 7I77 VIN pin if W1 is in the left hand (default) position
instead supply field power to VFIELD (TB2 pins 1,2,3,4)
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 14:20 - 19 Apr 2025 14:57
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

In the manual it says: git clone github.com/scottalford75/Remora
is that correct?
or I have to do:  git clone github.com/scottalford75/Remora-RT1052-cpp
remora-docs.readthedocs.io/en/latest/sof...mp-installation.html
I went a bit by instinct and installed this:
github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic

linuxcnc gives me this error:
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/remora-rt1052-basic'
Machine configuration file is 'remora-ec500.ini'
INIFILE=/home/cnc/linuxcnc/configs/remora-rt1052-basic/remora-ec500.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=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
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./remora-ec500.hal
Found file(REL): ./remora-nv-mpg.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
nvmpg: dlopen: /usr/lib/linuxcnc/modules/nvmpg.so: cannot open shared object file: No such file or directory
./remora-nv-mpg.hal:6: waitpid failed /usr/bin/rtapi_app nvmpg
./remora-nv-mpg.hal:6: /usr/bin/rtapi_app exited without becoming ready
./remora-nv-mpg.hal:6: insmod for nvmpg failed, returned -1
3286
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: sab 19 apr 2025, 16:46:59, CEST
            UTC Date: sab 19 apr 2025, 14:46:59, UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 16:46:59 up 12 min, 1 user, load average: 1,33, 1,38, 0,81
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/remora-rt1052-basic
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR: 
              VISUAL: 
            LANGUAGE: 
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1200 pixels (508x317 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/remora-rt1052-basic/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: cnc
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Debian 6.1.133-1 (2025-04-10)
          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-33-rt-amd64 root=UUID=e5282ae9-3e96-4f4e-9c6c-19b3dd421c80 ro initrd=/install/gtk/initrd.gz quiet
          model name: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
               cores: 4
             cpu MHz: 3425.725
             parport: 0000-0000 : parport0 0000-0000 : parport0
              serial: 0000-0000 : 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*':
Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in attesa)
| Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome                Versione     Architettura Descrizione
+++-===================-============-============-=====================================================================
un  linuxcnc            <nessuna>    <nessuna>    (nessuna descrizione disponibile)
un  linuxcnc-dev        <nessuna>    <nessuna>    (nessuna descrizione disponibile)
un  linuxcnc-doc        <nessuna>    <nessuna>    (nessuna descrizione disponibile)
ii  linuxcnc-doc-de     1:2.9.4      all          motion controller for CNC machines and robots (German documentation)
ii  linuxcnc-doc-en     1:2.9.4      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.9.4      all          motion controller for CNC machines and robots (Spanish documentation)
ii  linuxcnc-doc-fr     1:2.9.4      all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <nessuna>    <nessuna>    (nessuna descrizione disponibile)
un  linuxcnc-sim-dev    <nessuna>    <nessuna>    (nessuna descrizione disponibile)
ii  linuxcnc-uspace     1:2.9.4      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.4      amd64        PC based motion controller for real-time Linux

 
  • bkt
  • bkt's Avatar
19 Apr 2025 13:37

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

.... whit ethercat pdos obtain think long list of all devices possible to connect to coupler .... copy here ...
Warning: Spoiler!
  • rodw
  • rodw's Avatar
19 Apr 2025 13:26 - 19 Apr 2025 13:27
Replied by rodw on topic How to pass parameters .comp file

How to pass parameters .comp file

Category: HAL

I was thinking if you converted your ip address to hex using an online calculator like www.lambdatest.com/free-online-tools/ip-to-hex
10.0.0.40 = 0a.00.00.28 (0x0a000028) then you could have a parameter in your component add:
param r unsigned ipaddr;
server_addr = htonl(ipaddr);
Then in your hal file you could

setp mycomp.0.ipaddr 0x0a000028

and parse the value in the component to make your string (if that Is required)

There is more to the code  but you can fill it oit
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 13:23 - 19 Apr 2025 13:30
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I managed to install remora by chance, I'm not so happy about this I would like to understand what I did wrong before:
Are MCUXpresso and the sdk for rt1050 necessary for pyocd?
Thanks to all people for the work of this project LinuxCNC and Remora!
  • bkt
  • bkt's Avatar
19 Apr 2025 13:17

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

you are in right but nor have tc3 avaiable now .... and not interested in license buy.

more late try if pdos command sho sometings ... i have some doubt .... they are strage unit ....

regards
 
  • Silverback
  • Silverback
19 Apr 2025 13:14
Replied by Silverback on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Well, I think I made it work by simply commenting out the very last move in the auto tool probe ngc.

My rationale for this:

Any post processor should have a move to the proper Z height after a tool change, unless there are very special circumstances. Thus, the return to the previous position in XY is good, while returning to Z is unnecessary, since the next line in the gcode should take it to whatever safe height was chosen in CAM.

So, my setup is such that all the auto tool probe Z clearing moves are at G53Z0 which is the maximum height of physical travel.

I do the initial offset measurement before starting a program,which measures the tool setter and then the top of the work piece. Since my workpiece top is at Z0, I just set it when the probe finishes probing. Then find XY0 and set that 
Next, remove the probe and shout "Fire in the Hole!" Because that makes you look cool to onlookers when pushing cycle start.

From there, the tool change to initial tool works fine. Then, the next tool change which used to error out since the tool was much longer just stays at max travel until the nc code takes over again.

So, give that a try. Just comment put the final Z move and see if that fixes things.
  • rodw
  • rodw's Avatar
19 Apr 2025 12:32
Replied by rodw on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I have not looked at this for a few years but I was interested in  state_tags which is a structure added to emcmot_command_t in motion.h

From memory, the data is duplicated into a class in the rs274ngc module which I assumed was to deal with the different compilers. So there must be a way. Such messy redundant code.....
 
  • tommylight
  • tommylight's Avatar
19 Apr 2025 12:18
Replied by tommylight on topic 7i95T & 7i77

7i95T & 7i77

Category: Basic Configuration

Yes you can, not required though.
Just follow the steps on that post and make sure each step is OK before moving on to the next, by the time you enable the drives and the inherent danger with it, all the safety stuff is already in place and the most you get is a short thump when enabling the machine and the analog outputs re reversed in regards to encoder feedback, so if all is good when enabling the machine nothing happens, might just notice the DRO numbers changing a bit.
Oh, and please let me know if something is not clear or can be written differently for easier understanding.
Thank you.
Displaying 17071 - 17085 out of 17102 results.
Time to create page: 0.923 seconds
Powered by Kunena Forum