Advanced Search

Search Results (Searched for: )

  • 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.
  • GDTH
  • GDTH's Avatar
19 Apr 2025 12:18
Replied by GDTH on topic 7i80db 7i77 + 7i76 serup Hal conf

7i80db 7i77 + 7i76 serup Hal conf

Category: Driver Boards

got the 7i76 working, however i am getting a Field I/O fault from the 7i77. CR16 is shining red. i dont understand what this means. Pin W1 is in the default position. i have supplied 24v to pin 5 'vin'.
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 12:16
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

No worries, you are welcomed here always.

Thank you, very kind of you.
  • tommylight
  • tommylight's Avatar
19 Apr 2025 12:13
Replied by tommylight on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

No worries, you are welcomed here always.
  • DarkPhoinix
  • DarkPhoinix
19 Apr 2025 12:08 - 19 Apr 2025 12:12
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

As requested, deleted the empty posts.
For future reference, all users are able to delete their own posts.
Edit:
Apparently you did try and failed to delete the posts.
Can you edit them?
-
No matter what or how, feel free to do the same, namely request us to delete the posts.
Thank you.

 

I apologize, I accidentally pressed the Submit button twice and I was no longer able to delete, I didn't find any options, I even tried to delete the content to try to delete the post.
I noticed a bug that if you quote a post and then edit the message your reply gets wrapped up in the quoted person's message
Anyway I'm still trying to figure out how to delete my posts I can't find an option when I edit, do I have to do it from the profile perhaps?
  • GDTH
  • GDTH's Avatar
19 Apr 2025 12:01
Replied by GDTH on topic 7i80db 7i77 + 7i76 serup Hal conf

7i80db 7i77 + 7i76 serup Hal conf

Category: Driver Boards

i just had a look at my old topics. You also helped me 2 years ago. i think the same problem happend. First i am gonna check if the field power is available :)
Displaying 1981 - 1995 out of 26450 results.
Time to create page: 2.124 seconds
Powered by Kunena Forum