Advanced Search

Search Results (Searched for: )

  • Rocky
  • Rocky
28 Apr 2025 13:59
Hi everyone was created by Rocky

Hi everyone

Category: General LinuxCNC Questions

I bought a used workbee with a mesa 7i96 board and I have never used linux befor, I got linuxcnc loaded on an old laptop and started working on the board, the previous owner lost all his files in a move so iv tried to figure out how he wired it but he can't rember how he did it.  I got to the point were I can jog moters, I am now onto endstops and I'm lost, I used the pnconfig wizard to set each endstop on its own pin(micro switches power to com and pin to nc) the only thing he left hooked up was the estop on pin 0 but it's backwards(pushed in let's me power linuxcnc in axis mode) and the ssr for the water pump(220v vfd, water cooled spindle and pump), some of the wiring he left on the out row i don't understand and iv looked for days to see if I could find any guides he may have used.  If any one here knows this board we'll and has time to help me id really appreciate it.  I know linuxcnc isn't the best choice for a new cnc owner and new to linux(I'm use to marlin for 3d printers) but I'd like to try and make this machine come back to life.  If this is posted in the wrong spot please move it to the right spot(new here)
  • abi9624
  • abi9624
28 Apr 2025 13:05

AC Servo tuning - Joint 0 following error at high velocities

Category: Basic Configuration

Hi,
I am a newbie to Servo tuning. I made a linear guide (Travel length: 500 mm) and attached servo motor to it.

Servo Motor: Inovance MS1H2-10C30CB-A331Z-INT with 23 bit encoderServo
Drive: Inovance SV670P
Mesa card:7i97T

Servo drive is configured in speed mode and controlled through analog voltage - 10V. Followed the Servo tuning guide from this forum and tuned the P, FF1, FF2 values. Tuned with a displacement of 5mm.

This setup works upto 3000 mm/min for both continuous jogging and fixed length. Above 3000 mm/min, i am getting Joint-0 following error during continuous jogging and less error for small lengths and frequent errors for larger lengths.

I doubt whether the tuning is correct or not. Help me to solve this issue.

I have attached servo drive manual, INI file, HAL file and Hal Scope screenshots at 2880 mm/min and 6000 mm/min for both 5mm and 50 mm jogging.

Thanks in advance.  
  • DarkPhoinix
  • DarkPhoinix
28 Apr 2025 12:54 - 15 May 2025 14:46

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

 
 
 
   
I have run various tests with different commands to check the latency but I don't know if I'm doing things correctly:
stress --cpu 4 --io 4 --vm 4 --vm-bytes 1024M --timeout 120s

[code]chrt 99 ping -i .001 10.10.10.10 -c 40000000

with stress I get good results with all the cpus at maximum usage, instead with chrt even if the cpus are not busy I see disastrous latency.
what should I do (kernel parameters, kernel recompilation)? the PC is not good for LinuxCNC?
If I don't use hardware parallel port and use NVEM, does this latency matter for operation?

my hardware:
motherboard: P8H61/USB3 R2.0
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
VGA: VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) (Driver NOUVEAU)
Controller: NVEM V5
[/code]
  • hellvetica
  • hellvetica
28 Apr 2025 11:33
Replied by hellvetica on topic Beckhoff EK1100 not entering OP mode

Beckhoff EK1100 not entering OP mode

Category: EtherCAT

Hi, It turns out I had to reset the power on the device every time i tried a different config.
Suddenly it started working.
  • dm17ry
  • dm17ry's Avatar
28 Apr 2025 11:26
Replied by dm17ry on topic Mitsubishi SSCNET

Mitsubishi SSCNET

Category: Installing LinuxCNC

finally got the thing spinning with with my new hardware



 
  • alexandrap
  • alexandrap
28 Apr 2025 11:10
Replied by alexandrap on topic Updating pncconf for 7i95t

Updating pncconf for 7i95t

Category: PnCConf Wizard

bigmactx

I also have a 7i95T card and I have a problem with the configuration. I don't understand your procedure at all...
Please write the most detailed procedure for activating the script and attach the script - I would like to use pnconfig on linuxcnc 2.94.

Thank you
  • hellvetica
  • hellvetica
28 Apr 2025 11:09
Beckhoff EK1100 not entering OP mode was created by hellvetica

Beckhoff EK1100 not entering OP mode

Category: EtherCAT

Hi, I'm trying to put together some Beckhoff IO module with ethercat.
I followed the examples and instructions i found on this forum but I can't get my EK1100 to go into OP mode.
I know my ethercat setup is good because I managed to get a servo drive working through ethercat.
Here's some outputs:
$ ethercat master
Master0
  Phase: Operation
  Active: yes
  Slaves: 2
  Ethernet devices:
    Main: 00:d0:b4:04:12:3b (attached)
      Link: UP
      Tx frames:   159376
      Tx bytes:    9588678
      Rx frames:   159375
      Rx bytes:    9588618
      Tx errors:   0
      Tx frame rate [1/s]:    109    110    112
      Tx rate [KByte/s]:      6.4    6.5    6.6
      Rx frame rate [1/s]:    109    110    112
      Rx rate [KByte/s]:      6.4    6.5    6.6
    Common:
      Tx frames:   218598
      Tx bytes:    13259230
      Rx frames:   218597
      Rx bytes:    13259170
      Lost frames: 0
      Tx frame rate [1/s]:    109    110    112
      Tx rate [KByte/s]:      6.4    6.5    6.6
      Rx frame rate [1/s]:    109    110    112
      Rx rate [KByte/s]:      6.4    6.5    6.6
      Loss rate [1/s]:          0     -0      0
      Frame loss [%]:         0.0   -0.0    0.0
  Distributed clocks:
    Reference clock:   Slave 0
    DC reference time: 799152688552526000
    Application time:  799152688552526000
                       2025-04-28 10:51:28.552526000
$ ethercat slaves -v
=== Master 0, Slave 0 ===
Device: Main
State: PREOP
Flag: +
Identity:
  Vendor Id:       0x00000002
  Product code:    0x044c2c52
  Revision number: 0x00120000
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
  DC system time transmission delay: 0 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  MII   up    open    yes             -   1646636850           0           0
   1  EBUS  up    open    yes             1   1646637150         300         150
   2  MII   down  closed  no              -            -           -           -
   3  N/A   down  closed  no              -            -           -           -
General:
  Group: SystemBk
  Image name: 
  Order number: EK1100
  Device name: EK1100 EtherCAT-Koppler (2A E-Bus)
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: -2000 mA
=== Master 0, Slave 1 ===
Device: Main
State: PREOP
Flag: +
Identity:
  Vendor Id:       0x00000002
  Product code:    0x0af93052
  Revision number: 0x00120000
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, delay measurement only
  DC system time transmission delay: 150 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  EBUS  up    open    yes             0   1649051520           0         150
   1  EBUS  down  closed  no              -            -           -           -
   2  N/A   down  closed  no              -            -           -           -
   3  N/C   down  closed  no              -            -           -           -
General:
  Group: DigOut
  Image name: 
  Order number: EL2809
  Device name: EL2809 16K. Dig. Ausgang 24V, 0.5A
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 140 mA

And my config:

ethercat-test.hal
loadrt threads name1=servo-thread period1=1000000

loadusr -W lcec_conf ./ethercat-conf.xml
loadrt lcec

addf lcec.read-all servo-thread
addf lcec.write-all servo-thread

start

ethercat-conf.xml
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="0" type="EK1100" name="D1"/>
<slave idx="1" type="EL2809" name="D2"/>
</master>
</masters>

When I run
halrun -I -kf ethercat-test.hal
and then open halshow I can see all the pins but the devices stay in PREOP mode. I can write to the output pins but nothing changes on the drive. The RUN led blinks on the EK1100 confirming that it's in PREOP mode.

This is dmesg output:
[ 3307.915399] EtherCAT 0: Scanning bus.
[ 3308.163827] EtherCAT 0: Bus scanning completed in 248 ms.
[ 3308.163831] EtherCAT 0: Using slave 0 as DC reference clock.
[ 3308.195067] EtherCAT 0: Slave states on main device: PREOP.
Here i ran halrun -I -kf ethercat-test.hal
[ 3361.575932] EtherCAT: Requesting master 0...
[ 3361.575936] EtherCAT: Successfully requested master 0.
[ 3361.576003] EtherCAT 0: Domain0: Logical address 0x00000000, 2 byte, expected working counter 1.
[ 3361.576005] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 2 byte, type LWR.
[ 3361.576018] EtherCAT 0: Master thread exited.
[ 3361.576020] EtherCAT 0: Starting EtherCAT-OP thread.
[ 3361.589265] EtherCAT 0: Master thread exited.
[ 3361.589274] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 3361.589312] EtherCAT 0: Releasing master...
[ 3361.589313] EtherCAT 0: Released.

Am I doing something wrong?
  • Aciera
  • Aciera's Avatar
28 Apr 2025 10:41
Replied by Aciera on topic Gmoccapy G54 Offsets

Gmoccapy G54 Offsets

Category: Gmoccapy

It appears G10 L2 and G10 L20 assume machine is actually Homed physically, and no amount of data entry can change that.

I don't understand what you are doing. Without homing the machine first there is really no point in setting offsets.
  • khawla
  • khawla
28 Apr 2025 10:34
Replied by khawla on topic joint 0 following error

joint 0 following error

Category: General LinuxCNC Questions

Hello everyone,

I have a strange problem with LinuxCNC on a machine that has been configured for a long time and was working perfectly.

Until a few days ago, everything was working fine. Then I modified my Python Touchy GUI file (adding dynamic multi-language translation using `set_label` on some buttons), and from that moment the problem appeared:

> "joint 0 following error" immediately after clicking "Start".

The problem still remains even if I completely delete all the translation modifications (`LABELS` and `on_combo_language_changed`);


Code I had added:

LABELS = {
    "en": {
        "title": "Industry 4.0 Monitoring",
        "total_time": "Total machine work time:",
        "current_job": "Current job time:",
        "next_greaser": "Next greaser in:",
        "time_monitoring": "<b>Time Monitoring</b>",
        "email_section": "<b>Email Notification Management</b>",
        "history_section": "<b>Job History</b>",
        "email": "Email:",
        "add": "Add",
        "remove": "Remove",
        "close_door": "Close Door",
        "open_door": "Open Door",
        "machine_on": "Machine On",
        "machine_off": "Machine Off",
        "home_all": "Home All",
        "pause": "Pause",
        "start": "Start",
        "feed_fast": "Fast",
        "feed_slow": "Slow",
        "feed_override": "Feed Override"
    },
    "it": {
        "title": "Monitoraggio Industria 4.0",
        "total_time": "Tempo totale macchina:",
        "current_job": "Tempo job corrente:",
        "next_greaser": "Prossima lubrificazione in:",
        "time_monitoring": "<b>Monitoraggio Tempo</b>",
        "email_section": "<b>Gestione Notifiche Email</b>",
        "history_section": "<b>Storico Lavorazioni</b>",
        "email": "Email:",
        "add": "Aggiungi",
        "remove": "Rimuovi",
        "close_door": "Chiudi Porta",
        "open_door": "Apri Porta",
        "machine_on": "Macchina On",
        "machine_off": "Macchina Off",
        "home_all": "Home Tutti",
        "pause": "Pausa",
        "start": "Avvio",
        "feed_fast": "Veloce",
        "feed_slow": "Lento",
        "feed_override": "Regolazione Avanzamento"
    }
}

def on_combo_language_changed(self, combo):
    lang = combo.get_active_id() or "en"
    texts = LABELS.get(lang, LABELS["en"])

    # Main Industry 4.0 labels
    self.builder.get_object("title_industria40").set_markup(f"<span size='xx-large' weight='bold'>{texts}</span>")
    self.builder.get_object("label_tempo_totale").set_text(texts["total_time"])
    self.builder.get_object("label_tempo_job_corrente").set_text(texts["current_job"])
    self.builder.get_object("label_tempo_prossimo_greaser").set_text(texts["next_greaser"])
    self.builder.get_object("frame_label_tempo").set_markup(texts["time_monitoring"])
    self.builder.get_object("frame_label_email").set_markup(texts["email_section"])
    self.builder.get_object("frame_label_lavorazioni").set_markup(texts["history_section"])
    self.builder.get_object("label_email").set_text(texts["email"])
    self.builder.get_object("button_add_email").set_label(texts["add"])
    self.builder.get_object("button_remove_email").set_label(texts["remove"])

    # Startup tab buttons
    self.builder.get_object("estop_reset").set_label(texts["close_door"])
    self.builder.get_object("estop").set_label(texts["open_door"])
    self.builder.get_object("machine_on").set_label(texts["machine_on"])
    self.builder.get_object("machine_off").set_label(texts["machine_off"])
    self.builder.get_object("home_all").set_label(texts["home_all"])
    self.builder.get_object("cycle_pausee").set_label(texts["pause"])
    self.builder.get_object("cycle_startt").set_label(texts["start"])
    self.builder.get_object("feed_override_plus").set_label(texts["feed_fast"])
    self.builder.get_object("feed_override_minus").set_label(texts["feed_slow"])

    # Feed Override label, keeping the percentage value
    current_text = self.builder.get_object("feed_override_label").get_text()
    percentage_part = current_text.split(":")[1] if ":" in current_text else " 100%"
    self.builder.get_object("feed_override_label").set_text(f"{texts}: {percentage_part}")

 
  • Murphy
  • Murphy
28 Apr 2025 10:32

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

@cakeslob , I had a look at your hal file again and copied your spindle stuff exactly just changed for my pins etc and it's still the same. So I think that rules out a hal file problem. I don't think it's the vfd because I can change the speed manually by pressing the + and - manually in the  Axis GUI and it responses quick with no dips when changing speeds. 
  • electrosteam
  • electrosteam
28 Apr 2025 07:50
Replied by electrosteam on topic Gmoccapy G54 Offsets

Gmoccapy G54 Offsets

Category: Gmoccapy

Went back to Axis.
linuxcnc.var has Parameter #5221 = -238.
Ignoring y and z for this description.
Launch Axis, Display is:
- x238,
- G54 x-238.
This shows G54 x correctly as negative, ( whereas Gmoccapy shows G54 x as positive ).

No amount of Touching-Off, G10 L2, G10 L20, etc, by me gets to the final correct values for a job:
- x0,
- G54 x-238.

It appears G10 L2 and G10 L20 assume machine is actually Homed physically, and no amount of data entry can change that.

For jobs, I turn steppers Off, operate the machine controller to the measured table position, then Touch-Off, energize the steppers, and run the job.

Can anyone provide an alternative procedure to set-up the mill ?

John.
  • Soccer Kid
  • Soccer Kid's Avatar
28 Apr 2025 07:35

Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System

Category: EtherCAT

The test results of versions 2.9.3 and 1.6.4 are consistent
  • scotta
  • scotta's Avatar
28 Apr 2025 05:21

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Thanks Cakeslob, which board is the H723 being used? This will be a good test to see if we can get PlatformIO working happy with multiple targets. The code will need #ifdef's and compiler defines for each board to select the code changes needed for each H7 variant.
  • rodw
  • rodw's Avatar
28 Apr 2025 01:55
Replied by rodw on topic Homemade, cheap, plasma CNC

Homemade, cheap, plasma CNC

Category: Show Your Stuff

I thought you upgraded your machine to a Hypertherm 45XP or similar.
If that is the case, please use the Arc OK output on your plasma cutter as it will save you issues in the future.
You can get the cable (and the interface) for your plasma cutter from QWS in Brisbane
Displaying 15886 - 15900 out of 17612 results.
Time to create page: 0.541 seconds
Powered by Kunena Forum