Advanced Search

Search Results (Searched for: )

  • spumco
  • spumco
Yesterday 19:43
Replied by spumco on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

Good job!

I've renamed my m-codes from the original example, and due to some jitter (servo dithering) when the motor/drive is in position mode I just leave the drive in velocity mode.  LCNC is switched between spindle/orient/positioning. 

My M-codes and main spindle HAL file are attached for your review; maybe they can help.

There is quite a bit commented out, but the gist of it is M254/M255 are used to switch between C-axis and spindle mode, using spindle-orient to realign the spindle before re-connecting the C-axis encoder.

M102 & M103 are 'backstage' M-codes used to adjust stepgen & c-axis PID settings (and disconnect index-enable) in a way you can't (I think) do from inside a normal .ngc g-code file.

Let me know if anything is really unclear.
  • PCW
  • PCW's Avatar
Yesterday 19:34

too long hm2_7i97.0.read.tmax or something else?

Category: Driver Boards

That does not look bad but the max servo thread time shows the issue
( 1624528  clocks at 1.7 Ghz is ~.95 ms)

It may be that the CPU/BIOS-Setup are simply not capable of the needed
network performance for a 1 KHz servo thread.

A last ditch is to use a newer kernel as the 6.1 kernel in the LinuxCNC distribution
is fairly bad latency wise.

7.0.0-rc1-rt1 #1 SMP PREEMPT_RT 

Is the current one


 
  • m0602232
  • m0602232
Yesterday 18:43

too long hm2_7i97.0.read.tmax or something else?

Category: Driver Boards

whoops, sorry about that.
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.

--- 192.168.1.121 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 60060ms
rtt min/avg/max/mdev = 0.095/0.118/0.250/0.001 ms

The spikes in following error were indeed caused by graphics. It settled down when I removed one of 2 screens I had attached. Realtime delay error persists though.
  • PCW
  • PCW's Avatar
Yesterday 18:25

too long hm2_7i97.0.read.tmax or something else?

Category: Driver Boards

Looks like you are pinging the host rather than the 7I97
  • Hakan
  • Hakan
Yesterday 17:01
Replied by Hakan on topic El5101 Config

El5101 Config

Category: EtherCAT

One would like to have a speed output from the drive but there isn't one.

Should be possible to get rps or rpm in the frequency output
by setting proper scaling factor in frequency-scale
Have not tried it, though.
  • m0602232
  • m0602232
Yesterday 16:29

too long hm2_7i97.0.read.tmax or something else?

Category: Driver Boards

--- 192.168.1.120 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 60060ms
rtt min/avg/max/mdev = 0.017/0.018/0.079/0.001 ms

All power management disabled.
IRQ coalescing disabled.
pinning the Ethernet IRQ to the last processor does not affect, still getting realtime delay message.
Also tried without hm2.read-request.

I just managed to verify the cause for the spikes visible in halscope. They appear to happen the same interval than the pyvcp graphics refresh. I just can't figure out if it's more of a symptom than a cause.
  • jetbadger
  • jetbadger
Yesterday 16:19
Replied by jetbadger on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

I found the error on my part just minutes ago. I had set HOME_SEARCH_VEL != 0 and that was the issue. Caused half a day of headache for myself, but now the C axis homes and after a few tweaks responds to commands to some extent, yay :)

I was homing it from the gmocappy GUI and now the homing bit works great! Now the other problem is with the mcodes and remaps. Calling m419/420 causes errors with "ngc file ended with no % sign or program end" and unknown m119/120 code. Will try to figure that out next.

I have to thank you and Aciera as your work let me actually attempt this :)
  • spumco
  • spumco
Yesterday 16:05
Replied by spumco on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

I based my C-axis config on Aciera's example as well; he really saved my bacon discovering the index-enable synchronized motion bug.

I don't see anything really obvious in your config at first glance...you've got HOME_USE_INDEX in INI set right...

Index-enable signal appears to be connected to everything:
  • encoder
  • spindle
  • orient
  • joint
  • pid-spindle
  • pid-orient
  • pid-axis
Have you tried orienting the spindle yet?

How are you trying to home joint 2?  Home-all, or just that joint/axis?  halui or something else?

What actually happens when you try to home joint 2?  Keep spinning forever, doesn't move, or something else?

Just for reference, my config starts up in C-axis mode, and there are (software) restrictions so I can't put it in spindle mode until the Caxis is homed.  
# MAIN SPINDLE IS-HOMED SIGNAL - SWITCH FROM CAXIS TO SPINDLE MODE
setp oneshot.s0home.width   1
net SPIN0-CAXIS-IS-HOMED    <=  joint.2.homed           #TO 02IO.HAL, M254/M255, AND PID.C MAXOUTPUT
net SPIN0-CAXIS-IS-HOMED    =>  oneshot.s0home.in
net SPIN0-HOME-MODE-SWITCH  <=  oneshot.s0home.out
net SPIN0-HOME-MODE-SWITCH  =>  halui.mdi-command-02    #CALL M255 TO PUT MAIN SPINDLE BACK TO SPINDLE MODE AFTER INITIAL CAXIS HOMING

I could post my config, but it's really complicated and not in a final-final state just yet.  If you/we cant get yours sorted out quickly I'll post it for you to try to digest.
  • AntonioT
  • AntonioT
Yesterday 15:57

THC not getting active even when "all seemingly needed" requirements are met

Category: Plasmac

i see, will look at it too. Was the HF start giving you issues with THC?
  • PCW
  • PCW's Avatar
Yesterday 15:40 - Yesterday 15:41

too long hm2_7i97.0.read.tmax or something else?

Category: Driver Boards

read-request is only intended for use with multiple Ethernet cards

What does:

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

report? (it will run 1 minute and print timing statistics)

(replace 10.10.10.10 by card IP address if that differs)

Is all power management disabled in the BIOS?

If the PC has a Intel MAC have you disabled IRQ coalescing (man hm2_eth)

One further step is to pin the Ethernet IRQ to the last processor
 
  • Hakan
  • Hakan
Yesterday 14:59 - Yesterday 15:20

Review Request for Arc Volt Sensor Schematic

Category: Plasma & Laser

Arc voltage is DCEN, that is, between -400V and 0V.
The torch is negative, ground is positive.
Not saying that the below is correct. It has worked for me for many hours though.



github.com/MetalMusings/MyOwnEtherCATDev...in/Cards/THTIC/Kicad
  • tommylight
  • tommylight's Avatar
Yesterday 13:13
Replied by tommylight on topic FreeCAD 1.0 Who's using it?

FreeCAD 1.0 Who's using it?

Category: CAD CAM

Already did and left a copy on the NAS for archiving. :)
  • jetbadger
  • jetbadger
Yesterday 12:58 - Yesterday 13:23
Lathe C axis homing was created by jetbadger

Lathe C axis homing

Category: General LinuxCNC Questions

First hello everyone, my first post here. :)

I'm currently trying to make a Schaublin 110 retrofit work and using the config from here github.com/LinuxCNC/linuxcnc/issues/3556 as a basis to try and make the C axis functional, however I cannot get it to home. The c-index-enable signal and all corresponding ones are not set to true when homing. I can set it manually in halshow and the axis will reach the index point, but then it resets it before it latches again. I went through everything to the best of my extremely limited ability but can't figure it out. The things I've changed were that C axis is now on Joint2.

 

File Attachment:

File Name: Schaublin1.zip
File Size:14 KB
  • andypugh
  • andypugh's Avatar
Yesterday 12:48
Replied by andypugh on topic Review Request for Arc Volt Sensor Schematic

Review Request for Arc Volt Sensor Schematic

Category: Plasma & Laser

It says 400V Open Circuit Voltage, but you have a 250V TVS.
Maybe the TVS can go after the voltage divider? Or have a 500V one and a second lower voltage one after the divider. I think that with the TVS after the divider the divider would limit the current through it, which might work better.

You should probably put an optical isolator on the SPI lines from the ADC, just in case things do go wrong on your HV board.
  • andypugh
  • andypugh's Avatar
Yesterday 12:37
Replied by andypugh on topic Dragon q6a from Radxa

Dragon q6a from Radxa

Category: General LinuxCNC Questions

I think the only way to know would be to try it.
I doubt it would work with our Pi SD card image, and it doesn't claim to work with Debian:
"Supports Radxa OS, Ubuntu Linux, Qualcomm Yocto Linux, Armbian, Arch, Deepin, Fedora, Windows"

But if you can get a working Linux sysgtem on there, with a realtime kernel, then it will probably work with hal_gpio and hm2_eth
Displaying 61 - 75 out of 17762 results.
Time to create page: 0.258 seconds
Powered by Kunena Forum