Advanced Search

Search Results (Searched for: )

  • Konstantin
  • Konstantin
Today 05:23
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

I talked to the manufacturer of the drives and they told me that the PDO mapping should be set in the control device on each start of the machine.

With the above mentioned configuration I tested the homing and it seems the motor find the index pulse but then it starts rotating very fast and following error is reported.

But the synchronization error is still present.
  • Marcos DC
  • Marcos DC's Avatar
Today 04:30

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

Hi @NWE,

No worries — things have been a bit busy on my side too

Over the last days I focused on validating the CiA402 logic layer in simulation using a HAL drive stub. The main pieces are behaving as expected now (PDS state machine, controlword composition, homing supervision, etc.).

I also added a small gantry supervisor component on top of the CiA402 layer to experiment with safe decouple/recouple behaviour when drives perform internal motion like CiA402 homing.

At the moment everything is running inside HAL with two simulated drives.
Next step is reconnecting this to the EtherCAT side through an adapter layer.

I'm also planning to write a small Python CLI diagnostic tool to read the HAL signals and print a quick snapshot of the CiA402 state to help with testing.

Your Lichuan drive with 4 axes in one unit is quite interesting — that could be a very good test case once the EtherCAT adapter is wired.

I might also open a separate thread later describing the small framework this is turning into and include your two drives as example adapters.

No rush at all
  • hmnijp
  • hmnijp
Today 04:23 - Today 04:42
Replied by hmnijp on topic motion channels for robotic atc library

motion channels for robotic atc library

Category: General LinuxCNC Questions

I saw this in a recent PR sent by Sascha Ittner:

github.com/sittner/linuxcnc/pull/70

github.com/LinuxCNC/linuxcnc/pull/3845/c...7ac47d8c5d436a843202

Description: joint_ctrl_main.c
* Standalone HAL realtime component for single-joint control.
*
* Provides: homing, keyboard jogging, jogwheel jogging, trapezoidal
* trajectory planning, following-error monitoring, limit-switch
* handling, and backlash compensation — all as a self-contained
* HAL component independent of the full LinuxCNC motion controller.
  • fts
  • fts
Yesterday 03:09 - Yesterday 03:16

current latest download of LinuxCNC V2.9.8 will not install GRUB on several PC's

Category: Installing LinuxCNC

If the installation fails and you want to see what is going on, go back to "Configure the package manager."

Hit Ctrl Alt F4.

You will likely see something like the attached output scrolling down the screen. What is odd in my situation is that even with the network cable plugged in, I am able to ping the host that it claims to be unable to reach.

Hit Ctrl Alt F5, and that will take you back to the GUI where it has gone on to the GRUB installation portion and likely failed at this point.

This is an odd issue to have!
  • rock861261
  • rock861261
Yesterday 02:37
Replied by rock861261 on topic El5101 Config

El5101 Config

Category: EtherCAT

any other suggestions? I can get my enc-index-c-enable to trigger once but I have to turn it on in hal each time. it will also freeze unless i connect the latch. does linuxcnc only care about the Z or does it need a/b as well
  • NWE
  • NWE's Avatar
Yesterday 02:16

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

Sorry for the late reply — I was a bit busy the last days.


 

Same here. It'll be several more days till I get back to this project.
  • dbtayl
  • dbtayl
Yesterday 01:27
Replied by dbtayl on topic Spindle Motor Advice

Spindle Motor Advice

Category: Milling Machines

Definitely check the torque curve on whatever motor you want to use, DMM or otherwise. Also: inertia mismatch between the spindle and motor is a thing. I think I ran into that when I initially tried to use a smaller motor, but hard to tell amongst my other tuning issues.

I've got the 1 KW 86mm motor (86M-DHT-A6MK1) on my baby BT30 machine (~14x8x10 XYZ travels and ~500 lbs, IIRC). It's geared ~1:1.5 (motor:spindle), so I can go up to ~7500 RPM at the spindle. After finally getting the tuning right (see below), I'm still finding where the limits actually are, but:

Aluminum: Have gone up to ~3 cubic inches/minute, with 1/4" and 3/8" tools. Haven't had issues.

Mild steel: No issues. I don't remember hard numbers for anything aside from drilling a couple holes in 1018 steel with a 6mm carbide drill. 5000 RPM, ~20 IPM, no problem.

Stainless: I've cut 304 and 17-4 H925. Both cut without issue. I don't remember MRRs for either.

Hardened steel: I modified a screwless vise body, which is probably ~60HRC. Mix of 1/4 and 3/8 tools IIRC, cut fine, albeit with light cuts.

All of the cutting I've done has been within the motor's "continuous" operation power range, per HSMAdvisor (well worth the price, IMO). Just about all of my non-finishing operations are HSM toolpaths, so I can't really comment on slotting.

This may also be of interest for tuning a DMM DYN4: www.forum.linuxcnc.org/38-general-linuxc...dle-servo-tuning-tip
  • rodw
  • rodw's Avatar
Yesterday 23:00

current latest download of LinuxCNC V2.9.8 will not install GRUB on several PC's

Category: Installing LinuxCNC

I've recently cloned and built the linuxCNC live builder and created and installed a couple of ISO's without drama. If there are issues with Grub, I suspect I will be due to uefi/secure boot. This is outside of control in our ISO as its pure Debian! But then again Debian 13 has good uefi support.Try and disable it in your BIOS.

The only other issue I had was not finding a couple of obsolete firmware modules sometimes which broke the build process.
firmware-b43-installer
firmware-b43legacy-installer

Apparently, these are a wrapper around a download from flakey servers that have a history of failing. This broke the build process. I just deleted them. There are a number of other very old and probably obsolete Debian non-standard firmware drivers that seem to have been carried over from old builds which I suspect could also be removed.
  • CGT80
  • CGT80
Yesterday 21:29
Replied by CGT80 on topic Spindle Motor Advice

Spindle Motor Advice

Category: Milling Machines

Hi, I just called DMM and asked them about using the DST 1.8kv servo to do the same thing with my PM833 mill and they advised that running the motor continuously at 3000 rpm would put it outside it's peak torque range and reduce the torque by the drive ratio.

I wanted to do the same as what you have done and reach 5000-6000 rpm with potential for rigid tapping. My current 2hp motor is spun to 7000+ rpm and reduced by around 2.3:1 pulleys and leaves me with 3200 rpm max.

How has this servo motor worked out for you? Have you been able to take good size cuts with a 3/8" end mill in aluminum and have you machined steel with it?

I had also considered changing my pulleys closer to a 1:1 ratio, but the fan and motor noise are insane. A different fan could be an option and an encoder could be used.

My machine is similar in size to a tormach 1100, so I don't know how that compares to what you are working with.

Any advice or updates would be appreciated as I have only heard of a few people doing what you have done.
  • Hannes
  • Hannes
Yesterday 20:56
Replied by Hannes on topic Strange preview for circular arc (G2/G3)

Strange preview for circular arc (G2/G3)

Category: G&M Codes

BTW2:
If you want do do helix milling, I created a macro. See

File Attachment:

File Name: boring.ngc
File Size:1 KB
It is called like that:

o<boring> call [-10.0] [4.0] [10.0] [1.0] [1000.0] [3000.0]

The center of the helix starts at [0 0 0]. To shift it, I was using a second coordinate system like that:
G54
G0 X0 Y0 Z0 ;Or what ever the starting position in G54 should be
G10 L20 P2 X10 Y20 Z5  ;Offset of hole relative to actual location ->G55
G55 ;Activate G55

o<boring> call [-10.0] [4.0] [10.0] [1.0] [1000.0] [3000.0]

G54 ;Activate G54 again for future moves
 

Probably there are better ways doing this, I'm also just starting writing G-Code. For example you could pass the starting location as a parameter or use variables to create the new coordinate system.
  • Hannes
  • Hannes
Yesterday 20:37
Replied by Hannes on topic Strange preview for circular arc (G2/G3)

Strange preview for circular arc (G2/G3)

Category: G&M Codes

BTW: Not having a absolute move before a relative move is probably not anything a CAM software would ever do, but it's also not illegal.
However, a "normal" preview tool not knowing where you machine is could not show you anything in that case.
  • Hannes
  • Hannes
Yesterday 20:22
Replied by Hannes on topic Strange preview for circular arc (G2/G3)

Strange preview for circular arc (G2/G3)

Category: G&M Codes

I just quickly tested it. That's a bug in gmoccapy. In axis, it works.

In axis, you have to reload the gcode after each other move, so the initial position of the circle is updated.

G2's I and J parameters are relative to the last position:
linuxcnc.org/docs/html/gcode/g-code.html#gcode:g2-g3

Now if you don't have a G0 or G1 command before, the preview in gmoccapy looks funny. I think the preview interpreter is not initialized with the actual position in the UI. The real machine interpreter has no issues afterwards.

For the first command, X,Y and Z has to be specified to work. G0 X0 Y0 is not enough, G0 X0 Y0 Z0 does the trick.

I suggest writing a bug report.
  • Finngineering
  • Finngineering
Yesterday 19:18
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

No, I did not really start a rewrite. I made a small program to communicate with the pendant, but it was more for troubleshooting than planned as the start of a new component. But I did make a new firmware for the dongle, which I have been using without issues so far.

Maybe it was not completely fair to compare it to the xhc-hb04 component. Anyway, I'm glad somebody made this component in the first place, and of course all your bugfixes and improvements are a clear step in the right direction.

I experienced an issue with arc preview just a few weeks ago that I made a post about. I think this may be a bug or limitation in the preview only rather than connected to the issue you mention. But I thought I might as well mention it, since it has some similarities to the issue you mention.
forum.linuxcnc.org/20-g-code/58285-stran...r-circular-arc-g2-g3
  • depronman
  • depronman
Yesterday 19:07 - Yesterday 19:07

current latest download of LinuxCNC V2.9.8 will not install GRUB on several PC's

Category: Installing LinuxCNC

Many thanks for confirming than I’m not going mad.
The really strange part is the previous iso of LinuxCNC (2.9.7) is also based on debian13 and that installed without any grub issues and no internet access was available
However when trying to update 2.9.7 to 2.9.8 I hit loads of problems with broken packages

I’m in the process of moving all of my CNC machines from parallel ports to mesa cards and have taken the opportunity to update to the latest version and also update the PC’s from circa 2010 hardware to much newer intel NUC’s
As such I’ve installed linuxCNC 2.9.8 on three NUC’s over the last few days and allowed the graphic install to have access to my mobile phones internet connections via the NUC’s built in WiFi card. All three install have gone through perfectly
  • tuxcnc
  • tuxcnc
Yesterday 18:33

Homing not works immediatelly after launch Linuxcnc

Category: EtherCAT

probably is the time to the drivers to reach the op state. in my machine i lock the enable button with the op state from the servos
 

Thanks.
The problem was more complex, but you drived me to good way.
I found that the lines in my hal file like <net x-modes-of-operation  cia402.0.opmode => lcec.0.X.opmode> not always works, and sometimes op state never changes to "operational".
Fortunatelly I never use other opmodes than 8, and I can set these permanently.
I added to my halfile code as bellow, and it seems work properly.
loadrt logic names=oper-sum personality=0x103

addf oper-sum                 servo-thread

#*******************
#  Set opmode permanently
#*******************

setp lcec.0.X.opmode 8
setp lcec.0.Y.opmode 8
setp lcec.0.Z.opmode 8

#*******************
#  Check lcec operational
#*******************

net oper-x         lcec.0.X.slave-state-op   =>     oper-sum.in-00
net oper-y         lcec.0.Y.slave-state-op   =>     oper-sum.in-01
net oper-z         lcec.0.Z.slave-state-op   =>     oper-sum.in-02
net oper-sum-out   oper-sum.and              =>     iocontrol.0.emc-enable-in
(It is ability to use more inputs in the logic hal component.)
 
Displaying 1 - 15 out of 18324 results.
Time to create page: 0.181 seconds
Powered by Kunena Forum