Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
03 Mar 2025 20:46
Replied by PCW on topic difference 7i76e and 7i76EU

difference 7i76e and 7i76EU

Category: Driver Boards

Note that the 7I76EU does require an up-to-date LinuxCNC version, at least 2.9.3

 
  • MalteS
  • MalteS
03 Mar 2025 20:16 - 03 Mar 2025 20:18

G7x and profile in subroutine with parameters

Category: G&M Codes

Thanks. I'm calling this subroutine as a macro from Touchy . M2 must be inside the subroutine. There is no other GCode executed in Touchy.

I solved the variable problem in the meantime by copying the subroutine arguments to global variables. I consider this ugly as s**t but it gets the job done.
I then ran into the issue that Touchy has limited space for Macro arguments on the UI and no option to scroll through the argument list. This effectively limits the UI to enter 4 (maybe 5) points. This significantly limits the usefulness. Probably not an issue on a bigger screen but is a problem on the 1024x600 pixels display that I use.

Full program is copied below should this be of use to anybody.

#;g7x_macro

O<g7x_macro> sub

; #1 Punkte                             (TODO)
; #2 X1                                (Erster Punkt)
; #3 Z1                                (Erster Punkt)
; #4 X2                               (Zweiter Punkt)
; #5 Z2                               (Zweiter Punkt)
; #6 X3                               (Dritter Punkt)
; #7 Z3                               (Dritter Punkt)
; #8 X4                               (Vierter Punkt)
; #9 Z4                               (Vierter Punkt)

(Use global variables to store the points for the Subroutine below)

#<_g7x_points>=#1
#<_g7x_x1>=#2
#<_g7x_z1>=#3
#<_g7x_x2>=#4
#<_g7x_z2>=#5
#<_g7x_x3>=#6
#<_g7x_z3>=#7
#<_g7x_x4>=#8
#<_g7x_z4>=#9

(Allgemeiner Header)
G8 ; Lathe Diameter Mode
G18 ; XZ Plane
G21 ; Metric Units
G90 ; Absolute Distance

(Spindle Steuerung)
G96 D1400 S50 ; Constant Surface Speed Mode
M3
G95 F0.1 ; Feed-Per-Rev Mode
G4 P.2        ; Wait to reach speed

(Anfangspositionen merken)
#<x_start> = #<_x>
#<z_start> = #<_z>

(G71, G72 -> Lang-, Plandrehen)
(mit .1,.2 für Taschen )
(Q -> Subroutine Nr)
(x,z -> Startposition)
(D ->   Distanz zum Profil zwischen roughing und finish cut) 
(E ->   G70 distanz zum profil am ende)
(P ->   G70 anzahl der durchläufe)
(I ->   Zustellung)
(R ->   Rückzug, default ist 0.5)

G71.1 Q100 D0.25 I0.5
G70   Q100 D0.25
G0 X#<x_start> Z#<z_start>

M5
M2

O<g7x_macro> endsub

O100 SUB
    O200 IF  [#<_g7x_points> GT 0]
    G0 X#<_g7x_x1> Z#<_g7x_z1>
    O200 ENDIF

    O201 IF  [#<_g7x_points> GT 1]
    G0 X#<_g7x_x2> Z#<_g7x_z2>
    O201 ENDIF

    O202 IF  [#<_g7x_points> GT 2]
    G0 X#<_g7x_x3> Z#<_g7x_z3>
    O202 ENDIF

    O203 IF  [#<_g7x_points> GT 3]
    G0 X#<_g7x_x4> Z#<_g7x_z4>
    O203 ENDIF

O100 ENDSUB

%
 
  • Daz
  • Daz
03 Mar 2025 20:08 - 03 Mar 2025 20:22
Replied by Daz on topic Work with probe

Work with probe

Category: Basic Configuration

I have a minor problem with the probe screen 2.9, and your help would be greatly appreciated.

I have got the probe screen working fine, however I have this strange bug, that the Latching functionality is not working. What I mean by that is the measurement only happens in the search mode, and the following probing at lower speed is not happening. The measurement is taken during the first approach at Search speed. The same happens with the tool offset measurement.

While I was trying to debug this, I noticed that when I increase the Latch distance to, let's say, 10mm (5mm further than the XY Clearance), the probe will move to that location after the detection at Search speed, but then it will go back to the XY Clearance position at Search speed and then complete the measurement without doing the probing at Probing speed. 

I am hoping it is some silly setting I forgot to enable somewhere deep in the config file. 

Please help :)

Daz
  • PCW
  • PCW's Avatar
03 Mar 2025 20:02
Replied by PCW on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

What is the result of:

chrt 99 ping -i .001 -c 60000 -q 10.10.10.10

(will take ~ 1 minute and print statistics, replace 10.10.10.10 by 7I96S card IP address if it differs)
 
  • scotta
  • scotta's Avatar
03 Mar 2025 19:40

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hello,
Does anybody know how data is formatted for NVMPG to display XYZ data, etc.?
I wanted to use this mpg in another project, but I cannot make it work from source files for stm32 and linuxCNC.
If anybody has a spreadsheet of these signals or a logic analyzer to see what is going to the mpg, I would be grateful, and I could make a tutorial about using it for other stuff as a cheaper alternative to other mpg.
All I know for sure at the moment is the baudrate and button codes, but it was an easy part of it...
Thank you in advance 

Here you go

forum.linuxcnc.org/18-computer/44828-rem...rd?start=1920#315684
  • PCW
  • PCW's Avatar
03 Mar 2025 19:37

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

Yes, 20 to 70 KHz should be fine as it will work with general encoder/counter inputs
and always high enough frequency so the control bandwidth is not affected.
 
  • rodw
  • rodw's Avatar
03 Mar 2025 19:35
Replied by rodw on topic Plasma and Ethercat?

Plasma and Ethercat?

Category: Plasma & Laser

Yeh, we don't care about the voltage until we get an Arc OK from the machine which is the pink line (comes on after the voltage peaks are gone.)
This plot is a bit atypical but its all I have saved. Usually we do not see the bump at the beginning. Perhaps that is during piercing... I think it was 8mm mild steel.
  • ErwinCNC
  • ErwinCNC
03 Mar 2025 19:33
7i96s Watchdog Ethernet was created by ErwinCNC

7i96s Watchdog Ethernet

Category: Deutsch

Guten Abend zusammen, 

​​​aktuell hänge ich an folgendem Problem.
​​​​​​Mein PC M91p SFF hat an sich eine geringe Latenz jedoch kommt beim fräsen immer wieder die Watchdog Meldung und die Maschine fährt nicht weiter. 
​​​​​​
Mittlerweile bin ich relativ sicher die Ursache liegt in der Ethernet Verbindung 
Terminal
cnc@cnc:~$ halcmd show param *.tmax 
184004924 hm2_7i96s.0.read.tmax125691892 hm2_7i96s.0.write.tmax
Alle anderen Werte sind sehr deutlich kleiner. 

Bisher habe ich folgendes gemacht
Installation Linux CNC 2.94 über das fertige Image
Bios update auf die aktuelle Version und die gängigen Einstellungen 
Grub Parameter zur Verbesserung der Latenz  
(Nach dem YouTube Video von TooTall18T)
Grub Config:GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200 skew_tick=1 rcu_nocb_poll rcu_nocbs=1-95 nohz=on nohz_full=1-95 kthread_cpus=0,1 irqaffinity=0,1 isolcpus=2,3 intel_pstate=disable nosoftlockup tsc=nowatchdog"

Kann eine PCI Netzwerkkarte das Problem beheben? 
Bei der Grafikkarte hatte ich unerwartet Probleme scheinbar hat Lenovo eine BIOS Whitelist welche Grafikkarten akzeptiert werden. Ich bin nicht sicher ob dies für die Netzwerkkarten auch relevant ist?

Vielen Dank für eure Hilfe 

Grüße Erwin 
 

  
  • Tniejadek
  • Tniejadek
03 Mar 2025 19:23
Replied by Tniejadek on topic hot wire cutting

hot wire cutting

Category: General LinuxCNC Questions

Thank you for the tips, I will look into it in a few days. If something works or not, I'll let you know. As I was running the machine it stepconf was run sometimes a dozen times an hour, well it finally worked. And that's the only thing I lack complete satisfaction and sooner or later I'll figure something out.
  • endian
  • endian's Avatar
03 Mar 2025 19:18
Replied by endian on topic EL6731 changes cyclically to INIT status

EL6731 changes cyclically to INIT status

Category: EtherCAT

hello,

trust me... 2 days is nothing

is it all working in the TwinCAT3 enviroment with all your stuff ?

I think this will help you...
replace 
<sdoDataRaw data="03 00 01 00 40 42 0F 00 00 00 00 00"/>
to 
<sdoDataRaw data="03 00 03 00 40 42 0F 00 00 00 00 00"/>

and check timing of profibus inside el6731 master... it can be setted up in a GC mode which is similar to DC in the ethercat world ...
data are cyclical exchange... but a lcnc thread will must be moved to 2ms ... but 2ms for normal cnc are enough
  • cmorley
  • cmorley
03 Mar 2025 19:14
Replied by cmorley on topic How to open QT ui file in LinuxCNC

How to open QT ui file in LinuxCNC

Category: Qtvcp

Yes. What is the error?
Are you using 2.9 or master branch?
I'll have the master branch version available tonight I think.
  • fabi0696
  • fabi0696
03 Mar 2025 18:49 - 03 Mar 2025 18:53

EL6731 changes cyclically to INIT status

Category: EtherCAT

I have a problem with the Beckhoff Profibus card EL6731.

It always switches to the INIT state after a few seconds. And this happens again and again. Before that, however, it is always in OP status and data is also exchanged with the slaves. It looks like a timeout to me, but after about 2 days of searching I still haven't found the solution. Maybe someone here can help me and give me the right tip.
I have already replaced the card to exclude a defective card
In the dmesg.txt file in line 1896 you can see that the status changes to INIT. The file contains the complete output after Linuxcnc was started.

I have attached my configuration. If anything else is missing, I can upload it.
I have also attached the TwinCAT project as an archive. I changed the extension “tszip” to “zip” so that I could upload it.


 

File Attachment:

File Name: io.hal
File Size:3 KB

File Attachment:

File Name: ethercat-config.xml
File Size:19 KB

File Attachment:

File Name: dmesg.txt
File Size:250 KB

File Attachment:

File Name: LinuxcncNeu.zip
File Size:194 KB
  • 109jb
  • 109jb
03 Mar 2025 18:47
Replied by 109jb on topic Flexible GUI

Flexible GUI

Category: Other User Interfaces

I am having an issue installing Flex GUI on a second RPi 4B that I have. Here is what I did and what is happening.
  1. Downloaded and burned fresh image of LinuxCNC for RPi onto the micro SD card. Version 2.9.4.  Boots up fine,logging in with cnc/cnc as user/password.
  2. Downloaded the Flex GUI download from the github repository. Version flexgui_1.1.2_arm64.deb
  3. Right click the downloaded file and selected "Open With 'GDebi package Installer'"
  4. In the GDebi installer, wait for it to load and click the "Install" button.
From here, the GDebi package installer window disappears and nothing happens. Flex GUI apparently isn't installed because the CNC menu doesn't have the Flex examples.

Can someone help with what I am doing wrong?
  • Philip Lydin
  • Philip Lydin
03 Mar 2025 18:44 - 03 Mar 2025 18:50
Replied by Philip Lydin on topic CNC lathe retrofitt - Feeler FTC-280

CNC lathe retrofitt - Feeler FTC-280

Category: General LinuxCNC Questions

The tailstock on the machine works by movving the z axis so it is aligned with the tailstock then a pin gets hydraullically pressed into the tailstock so when you now move the z axis it brings along the tailstock so you can move it to the desired position. Does anybody have a idea how i can make this. I tried to use a m100-199. But then i saw you canttt use subroutines. Otherwise ittt would be perfect since you can use its related parameters to set where you want to place the tailstock. Is it possible to use parameters with unallocatted mcode. So you could maybe do a m20p200?
 
  • prokopcio
  • prokopcio's Avatar
03 Mar 2025 18:29

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

I would say a couple hundred KHz so pretty much any encoder interface could work.
Also better if its a square wave so it asks the least of the frequency/period counter.
An offset frequency is good also so you don't lose bandwidth near 0 frequency.

Hi PCW

   If in your opinion square signal 20kHz = 70kHz for 0-10mm distance ( 0.05kHz / 0.01mm resolution ) is good idea ?
And 10kHz for colision.
Displaying 9166 - 9180 out of 24536 results.
Time to create page: 1.370 seconds
Powered by Kunena Forum