Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
19 Apr 2025 17:16

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

Category: EtherCAT

Run the "lcec_configgen" command and put the output in a file.
It will have all the pdos, but you can just delete all except the ones you need. So you need to figure out which PDOs you need to use.
It will also have all the numbers etc in the right places, so if you are lucky it can work.
At least use it as starting point.
 
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 17:14 - 19 Apr 2025 17:18
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hi
with the steps described in the various posts I have successfully installed Remora on a NVEM V5.
I have a problem, joint3 does not run, I have deleted and reloaded remora four times, without success, joint3 does not run.
Tried a five-axis gantry XYYZA configuration, the XYY axis works, A (joint4) works, Z axis (joint3) does not work
the configuration file is the one in the LinuxCNC folder
nvem-rt1052.txt    join3 are "P1_27", "P1_21" ?

I have checked the entire configuration many times, maybe I am missing something

P.S. thanks again to Scott and everyone who made it all possible


 

I wanted to thank you now I have the connection with nvem v5 and linuxcnc, I see it because using the software stop the red led lights up. Regarding your problem I have not yet received either DRIVERS or STEPER is there a way to test the outputs without having these components? like led? or I have this small steper but I would not like to damage the board by connecting it:

work at 12V and 5v
  • jjdege
  • jjdege's Avatar
19 Apr 2025 17:06

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I thought it was optional.


it is optional, but in your configuration in the.ini file you have called it
HALFILE = remora-nv-mpg.hal

if you don't need it comment it and don't install the component
  • jjdege
  • jjdege's Avatar
19 Apr 2025 16:52

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hi
with the steps described in the various posts I have successfully installed Remora on a NVEM V5.
I have a problem, joint3 does not run, I have deleted and reloaded remora four times, without success, joint3 does not run.
Tried a five-axis gantry XYYZA configuration, the XYY axis works, A (joint4) works, Z axis (joint3) does not work
the configuration file is the one in the LinuxCNC folder
nvem-rt1052.txt    join3 are "P1_27", "P1_21" ?

I have checked the entire configuration many times, maybe I am missing something

P.S. thanks again to Scott and everyone who made it all possible
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 16:49
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

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

I thought it was optional.
Do I have to install all of these then?:

sudo halcompile --install ./Remora-eth/remora-eth-3.0.c
sudo halcompile --install ./Remora-spi/remora-spi.c
sudo halcompile --install ./Remora/remora_lpc.c
sudo halcompile --install ./NVMPG/nvmpg.c
sudo halcompile --install ./PIDcontroller/PIDcontroller.c
sudo halcompile --install ./PRUencoder/PRUencoder.c

I don't have a raspberry

Thank you so much for your precious help
  • 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
Displaying 211 - 225 out of 26693 results.
Time to create page: 0.559 seconds
Powered by Kunena Forum