Advanced Search

Search Results (Searched for: )

  • Marcos DC
  • Marcos DC's Avatar
21 Feb 2026 16:20
Replied by Marcos DC on topic How good is Ethercat motion control?

How good is Ethercat motion control?

Category: EtherCAT

@NWE

Industrial drives like Omron should not show behavior that depends on history or on how many times you repeat a homing cycle. They don’t “degrade” or become inconsistent just because you run the same sequence again and again. If behavior changes depending on history or number of cycles, that’s almost always a bug in the integration logic (state not reset, counters not reinitialized, missing edge detection, incomplete state machine), not in the drive or in EtherCAT(fieldbus) itself

how many CiA402 implementations are we talking about?
which one are you actually using in your setups? For example, are you using the stock cia402.comp, a modified version, or something else on top of LCEC? And with which drives / modes?

I know this thread is about EtherCAT motion control in general, so to avoid derailing it, maybe it makes sense to open a separate thread focused on this specific Omron / CiA402 / startup behavior case, where we can look at the actual component, configuration and state machine logic in detail
  • Konstantin
  • Konstantin
21 Feb 2026 15:38 - 21 Feb 2026 15:41
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Thank you for your help. Actually @3404gerber was right, I had the EtherCAT master working but did not have any configuration created. I managed to move the drives, by the way there are 4 drives, and basic move in joint mode is working fine.

For the past few days I was trying to get the homing to work but no success so far. My servos are with absolute encoders and first of all I tried homing on the current position - it works. Now I would like to home the motors on index pulse but I cannot get it working. I installed and compiled cia402_homecomp and added the HOMEMOD line in the .ini file of the machine.

The problem is when I click home joint button, the motors starts moving at the predefined velocity and keeps moving untill "joint 0 following error" occurs and the drive has fault that says "Homing sequence timeout".

Would you provide any hints on how to approach this problem?

My settings are the same for all 4 axis and you can check them below:

.hal file:
#########################################
#nets
#########################################
net emc-enable => iocontrol.0.emc-enable-in
sets emc-enable 1

#config
setp cia402.0.csp-mode 1
setp cia402.0.pos-scale 8388608

#from servo(ethercat) to cia402
net x-statusword      lcec.0.0.cia-statusword => cia402.0.statusword
net x-opmode-display  lcec.0.0.opmode-display => cia402.0.opmode-display
net x-drv-act-pos     lcec.0.0.actual-position => cia402.0.drv-actual-position
net x-drv-act-velo    lcec.0.0.actual-velocity => cia402.0.drv-actual-velocity

#from cia402 to servo(ethercat) 
net x-controlword         cia402.0.controlword => lcec.0.0.cia-controlword
net x-modes-of-operation  cia402.0.opmode => lcec.0.0.opmode
net x-drv-target-pos      cia402.0.drv-target-position => lcec.0.0.target-position
net x-drv-target-velo     cia402.0.drv-target-velocity => lcec.0.0.target-velocity

#from motion to cia
net x-enable    <= joint.0.amp-enable-out => cia402.0.enable
net x-amp-fault => joint.0.amp-fault-in   <= cia402.0.drv-fault
net x-pos-cmd   <= joint.0.motor-pos-cmd  => cia402.0.pos-cmd
net x-pos-fb    => joint.0.motor-pos-fb   <= cia402.0.pos-fb

#homing
net x-home-request         joint.0.request-custom-homing     =>         cia402.0.home
net x-homing             joint.0.is-custom-homing         <=         cia402.0.stat-homing
net x-homed             joint.0.custom-homing-finished     <=         cia402.0.stat-homed

.ini file
HOME                    = 0
HOME_OFFSET                = 0
#HOME_SEQUENCE            = 0
HOME_SEARCH_VEL            = 0
HOME_LATCH_VEL            = 1.0
#HOME_IGNORE_LIMITS        = YES
HOME_USE_INDEX          = YES
  • NWE
  • NWE's Avatar
21 Feb 2026 15:25
Replied by NWE on topic How good is Ethercat motion control?

How good is Ethercat motion control?

Category: EtherCAT

--snip--
I don't know if that's a linuxcnc thing, and ethercat thing, or just a stupid omron thing.

Other than these quirks though, its great and I would not switch back for anything haha.

What model number Omron drive is this? Also, are you using some form of CIA402 component with it? Which one?

I have had a keen interest in Omron servos for a while, but never actually worked with one of those. One of my upcoming projects could use one, now knowing there is "some mysterious bug" of sorts really catches my interest. If I manage to carve out some time for this, I would like to acquire the hardware and investigate the problem.
  • Dudelbert
  • Dudelbert
21 Feb 2026 15:24

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

I had another look, and the encoder issue was my mistake, it is working fine.

To get a working config, I tried multiple variants of the 7i92 internal and 7i77 firmware in PnCconf, but I was not able to get it to allow me to set the PWM number greater than 0. However, I think I found a possible solution. I flashed the 7i92t_7i85s_4pwm firmware. That is not the correct firmware for my hardware, but it allows me to generate a config that I can actually start in AXIS and inspect in HAL Show.

My intention was to use the one Smart Serial port that should still be there to connect the 7i83, then change all the PWM configuration to that, and afterwards reflash with the correct firmware to get the other Smart Serial ports back. However, I cannot get the Smart Serial interface to appear in HAL Show.

Is there a fundamental error in my approach?

I also attached some pictures of what I am currently seeing.
  • Marco61
  • Marco61
  • michaeln
  • michaeln
21 Feb 2026 15:13
Replied by michaeln on topic G-code wizard für Gmoccapy

G-code wizard für Gmoccapy

Category: Gmoccapy

Hallo T_D,

vielleicht hilft dir das weiter:
forum.linuxcnc.org/nativecam/53492-nativ...9-3?start=100#343260
Damit solltest du NativeCAM integriert in Gmoccapy zum Laufen bekommen.

Viele Grüße 
michaeln
 
  • michaeln
  • michaeln
21 Feb 2026 15:07
Replied by michaeln on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Hello,

i made a new guide for installation NativeCAM on LinuxCNC.
The last guide from Giovanni is one year old, in the time between this forum-thread was growing.
With this new version i want to share all from the LinuxCNC-Forum topic compact for an easy and fast installation.
Some points i add like starting NativeCAM in a different language like GERMAN or FRENCH or integrate it on gmoccapy.

Thanks to FernV, freemoore and Giovanni for their work to get NativeCAM running with LinuxCNC 2.9.4

Best regards
michaeln
  • tommylight
  • tommylight's Avatar
  • masawee
  • masawee
21 Feb 2026 13:04

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

hi, can this image use traight to gpio too, rp4b board and i made 3,3V to 5V output level converter board use traight gpio output to stepper motor drivers DM556,
and same i build optocouplr board all input opto to gpio can use safety all gpo, not used BOB card or other board, i made diy own in/out gpio to 5V convert board, hope image can use straight all step/dir, enable, signal out to gpio pin. its easy use level converter module can convert 3,3 rpi output to 5V input by stepper driver controller etc, DM556.
same i think can easy use optocoupler module all input gpio pins. 5-24V in to opto and then 3,3V safety to in rpi gpio.
  • Christian
  • Christian
21 Feb 2026 12:20
Replied by Christian on topic Mesa 7i76EU - how to enable mode 2?

Mesa 7i76EU - how to enable mode 2?

Category: Computers and Hardware

Hello everyone,
First of all, thanks to PCW for pointing out that `sserial_port_0=20000000` in the driver config **should enable Mode 2**:

> In the driver config string will set the mode to 2 which will enable both the MPG encoder inputs and analog inputs.  
> Note that the encoder inputs are intended for MPG use and are fairly slow and do not support index.  
> You would normally use the 7I76EU high speed encoder input for the spindle (TB3 pins 7..15).

I have a **brand new Mesa 7I76EU** for my Maho MH400 mill and I want to use **Mode 2**:
- Inputs 16–19 for an **MPG handwheel (ABZ encoder)**  
- Inputs 00–03 as **analog inputs** for feedrate and spindle override

**What I have tried so far:**  
- In the `.ini` under `[HOSTMOT2]` I set:

[HOSTMOT2]
DRIVER=hm2_eth
BOARD=7i76eu
CONFIG="num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=20000000"


- In the HAL, the card is loaded like this:

loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=20000000"
setp [HMOT](CARD0).watchdog.timeout_ns 5000000


- LinuxCNC detects the card correctly:

hm2_eth: discovered 7I76EU
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv


**Problem / Open Questions:**  
- Despite this configuration, the card **does not automatically operate in Mode 2**.  
- I want to use the analog inputs and the MPG handwheel simultaneously, and monitor the spindle with an ABZ encoder, but the Mode 2 functionality does not seem active yet.  
- Is it possible that the mode must be **physically set via jumpers**, or is there another driver/firmware parameter I am missing?  
- Attempts to flash a Bitfile did **not work**.

Any advice on how to reliably activate Mode 2 without LinuxCNC entering a fault state would be greatly appreciated.

Thanks in advance!  
Christian
  • DerKlotz
  • DerKlotz
21 Feb 2026 12:09 - 21 Feb 2026 12:51
Replied by DerKlotz on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

You mean that led at the attached photo? I can´t find a probe section in QT Designer or do i need to be in Probe Basic Development modus instaed of stable?

And can you help me here -> 
However, I don't know how to link the light switch to the output of my Mesa 7i76e. I tried to implement "net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light" in my postgui_hal. Unfortunately, that didn't work.

 
  • Marco61
  • Marco61
21 Feb 2026 10:10

Buttons in cutom panel look conected but did not work

Category: pyVCP

I all ,
I need help to finish my custom panel in Axis 2.9.8
I'm Under Debian 13 Trixie 
I get the buttons in the side of Axis   Jog Button for X Y Z (+ & - )
Jog Speed and Home Button 
No error messages when i start Axis nut jog button did not work (with Jog speed more than zero)
Home button his working (at least one !)

Can someone have a look in my files ? 
I have been looking on the web for ages now and look like my brain did not see the problem......

Thanks

Marco
  • tcbmetalworks
  • tcbmetalworks
21 Feb 2026 09:03
Replied by tcbmetalworks on topic QTPLASMAC integrated cad/cam

QTPLASMAC integrated cad/cam

Category: Plasmac

One of the long term goals of the project, is to integrate it with AI I dont know if I will release this publicly or not as it will be to OP of a tool but If i do make it i will share it by pm to the members here. The idea is to be able to use ai to generate signs shapes parametric modeling, upload a photo and have it turn it into a silhouette, or design a cut file off of a text prompt, potentially a chat bot could also be implemented for diagnosis of the system. This same chat bot could be then implemented into a website and customers could very easily custom design there own signs etc, order them and we make them and ship them out.
  • tcbmetalworks
  • tcbmetalworks
21 Feb 2026 08:30
Replied by tcbmetalworks on topic QTPLASMAC integrated cad/cam

QTPLASMAC integrated cad/cam

Category: Plasmac

I will continue working on it everyday, I know theres a way I can make this work with multiple programs but it really makes it hard for me to train someone on it. a built in 2d cad would be amazing too, even if its just super simple. My goal is to have it be the MS paint of cad lol.
  • Hakan
  • Hakan
21 Feb 2026 07:49
Replied by Hakan on topic QTPLASMAC integrated cad/cam

QTPLASMAC integrated cad/cam

Category: Plasmac

Good start!

Materials, there are two ways (at least). One is to set all options in Sheetcam and that overrides the settings from the Materials tab.
Sheetcam is then the master of everything. That's what you have seen.

An other way is to set material index from sheetcam, it uses then the material index from the Materials tab.
Still, you need to select that when you sit with Sheetcam.
For that you need to go in the post processor code and change to false line 24
useTool      = false  -- Set to true to use SheetCam's tool table to generate a temporary material file entry

An other way, that I use, is to set material myself when I am at the machine.
Sheetcam only makes the cutting movements, not the material selection.
For that, insert comments in the printouts on line 171 in the post processor
   else
      post.Text ('; M190 P' , tool,' (',string.lower(toolName), ' material)\n')            
      post.Text ('; M66 P3 L3 Q2 (wait for valid change)\n')         
   end
Note the initial ";" comment in the printout. Plus useTool=false.

Automatic nesting isn't needed, at least to start with.
Being able to read in several G-code objects and interactively
place them on a sheet would be golden.

I like your start and hope you continue.
Displaying 106 - 120 out of 18713 results.
Time to create page: 0.251 seconds
Powered by Kunena Forum