Advanced Search

Search Results (Searched for: )

  • leexi
  • leexi
Today 17:44 - Today 17:56
Replied by leexi on topic Chinise mesa clone vs Original vs Ethercat

Chinise mesa clone vs Original vs Ethercat

Category: Driver Boards

I use this one wago 852-111, I used on ethercat, as daisy chain device as ethercat topology concept (I mean on input one output), I do not test a star or other network topology, I use this to split the same PC NIC with, mesa card and internet connection, it is working fine all together, but I do not test like intensive mode for several hours.  
  • tommylight
  • tommylight's Avatar
Today 16:57

AXIS hangs on long part- controls rendered inoperable while CNC still moving

Category: AXIS

Did you try disabling the preview ?
There are many things you can toggle in AXIS GUI, View menu, start with "alpha blend program".
  • galmiklos
  • galmiklos
Today 16:22

linuxcncrsh crashes when get_spindle or get_spindle_overide commands executed

Category: Other User Interfaces

I tried it with a VM and sim config, as well as with a real CNC (PrintNC) on a Pi5, same behaviour.

I installed a recent dev version (github.com/LinuxCNC/linuxcnc/actions/runs/32728344015), and the linuxcncrsh coming with it works as expected. Since this dev version appeared to be a 2.10 pre-release, if the release of 2.10 is in the near future, I can live with using this dev version, don't see the need for opening an issue for 2.9.
  • Logthor
  • Logthor
Today 16:14
Breakout Board Speed Control was created by Logthor

Breakout Board Speed Control

Category: Basic Configuration

Hi,

I currently am trying to control my spindle's speed using my BoB's analog output pin. It provides a max of 0-10 V out. I want to use this signal to control my KBIC speed controller, but it requires an analog voltage that is between 0 and 7 V. I'm not sure as to how to go about doing this. I've looked at the documentation but am still confused. I just want to test to see if it is actually working, so if someone could just slap together a HAL file that is able to do this so that I can test it, I would be really appreciative. I want my spindle to go at a maximum speed of 1400 RPM, and on my BoB the analog out is pin 1.

Thanks,
Logan
  • jelost
  • jelost
Today 15:50

M19 orientation drift with external encoder and orient component (LinuxCNC 2.9.4

Category: General LinuxCNC Questions

Question about sharing index-enable between s_orient and spindle for M19 / G33.1

Hello,

I am continuing my work on spindle orientation with a servo motor and would appreciate some advice about index-enable.

My setup is:

LinuxCNC 2.9.4
Servo spindle motor with encoder
Encoder A/B/Z connected to LinuxCNC
encoder.0.x4-mode TRUE
encoder.0.position-scale 4000
encoder.0.counter-mode 0
BASE_PERIOD = 30000
SERVO_PERIOD = 1000000

I have been working on spindle orientation (M19) and I have found that s_orient is very effective.

With the s_orient version of my HAL, the spindle can be run at relatively high speed (up to about 3000 rpm), stopped at different positions, and then correctly oriented with M19. The previous version using the standard orient component could lose its angular zero reference after running the spindle at high speed.

So I would really like to keep s_orient.

The problem

With the previous HAL using the standard orient component, I had:

net spindle-index-enable encoder.0.index-enable <=> spindle.0.index-enable

This allowed rigid tapping with:

G33.1 Z-5 K1

and M19 also worked reasonably well.

With the new s_orient version, I have:

net orient-index-enable encoder.0.index-enable <=> orient.0.index-enable

This gives a much better and more stable M19, but G33.1 no longer starts correctly.

During a G33.1 test I observed:

spindle.0.index-enable = TRUE
orient.0.index-enable = FALSE
encoder.0.index-enable = FALSE

So the request from spindle.0.index-enable does not reach the encoder.

For comparison, with the old HAL, the direct connection

net spindle-index-enable encoder.0.index-enable <=> spindle.0.index-enable

made rigid tapping work.

Current s_orient connection

The relevant part of the current HAL is:

net spindle-position encoder.0.position
net spindle-position => spindle.0.revs
net spindle-position => orient.0.position
net spindle-position => orient-pid.feedback

net spindle-velocity-feedback-rps encoder.1.velocity => spindle.0.speed-in

net orient-index-enable encoder.0.index-enable <=> orient.0.index-enable

net spindle-phase-a encoder.0.phase-A
net spindle-phase-b encoder.0.phase-B
net spindle-index encoder.0.phase-Z

And:

loadrt s_orient names=orient.0
loadrt pid names=orient-pid
loadrt mux2 names=spindle-mux

addf orient.0 servo-thread
addf orient-pid.do-pid-calcs servo-thread
addf spindle-mux servo-thread

net orient-enable spindle.0.orient => orient.0.enable
net orient-enable => orient-pid.enable
net orient-angle spindle.0.orient-angle => orient.0.angle
net orient-mode spindle.0.orient-mode => orient.0.mode
net orient-command orient.0.command => orient-pid.command

net spindle-oriented orient.0.is-oriented => spindle.0.is-oriented

The PID settings currently are:

setp orient-pid.Pgain 75
setp orient-pid.Igain 0
setp orient-pid.Dgain 0
setp orient-pid.FF0 0
setp orient-pid.FF1 0
setp orient-pid.maxoutput 50
setp orient-pid.deadband 0
setp orient.0.tolerance 2.0
My question

What is the correct way to share the bidirectional index-enable function between:

spindle.0.index-enable
orient.0.index-enable
encoder.0.index-enable

so that both of these work correctly?

M19

and

G33.1

I understand that index-enable is a bidirectional HAL pin, so I suspect that simply OR-ing the signals is not the correct solution.

I also tried checking for tristate-bit, but it is not available/loaded in my LinuxCNC installation, and trying:

halcmd loadrt tristate-bit

failed with:

waitpid failed /usr/bin/rtapi_app tristate-bit
rtapi_app exited without becoming ready
insmod for tristate-bit failed

I would like to keep the s_orient solution because M19 is now very effective and stable, especially after running the spindle at high speed.

I am only looking for the correct way to restore G33.1 / rigid tapping without degrading the s_orient behaviour.

Any advice would be greatly appreciated.

Thank you!
  • Aciera
  • Aciera's Avatar
Today 15:43

linuxcncrsh crashes when get_spindle or get_spindle_overide commands executed

Category: Other User Interfaces

There has been a fair bit of work going on there.
Could you raise an issue on GitHub?
github.com/LinuxCNC/linuxcnc/issues

If not then I can open one and link here but it would be better to have you in the loop.
  • Holzwurm56
  • Holzwurm56
Today 15:19 - Today 15:46
Replied by Holzwurm56 on topic Frage zu 7I96?

Frage zu 7I96?

Category: Deutsch

Ich steuere meine Drehbank z. Z. mit Mach3 und 2 Printerports. Das funktioniert eigentlich ganz gut. Ich will die Maschine
aber auf eine modernere Steuerung umbauen und auch die komplette Elektrik modernisieren. Ich hatte noch die Mesa 
7I96 und finde auch LinuxCNC ganz gut, deshalb diese Kombination. Weil ich natürlich nicht meine funktionierende 
Maschine auseinanderbauen will und dann ev. feststelle das ich das ganze nicht hinbekomme habe ich ich so eine "Behelfs-
maschine" gebaut, um alles auszuprobieren. wenn alles funktioniert würde ich die Steuerung dann an die Drehmaschine
anbauen.
   
  • 2tinker
  • 2tinker
Today 13:06
Replied by 2tinker on topic Frage zu 7I96?

Frage zu 7I96?

Category: Deutsch

Hallo Holzwurm, eine Frage aus reiner Neugier...
Was meinst du mit "Simulationsdrehbank"?
Baust du das virtuell?
  • murdemon
  • murdemon
Today 10:24
  • emresensoy
  • emresensoy
  • meister
  • meister
Today 09:07
Replied by meister on topic Xilinx Zynq 7010 fpga crypto windfall boards

Xilinx Zynq 7010 fpga crypto windfall boards

Category: Driver Boards

BTW: In the meantime, I’d also carried on working with the board and had a bare-metal LwIP bridge up and running, via the built-in network / bootable via.
but need more testing
  • NWE
  • NWE's Avatar
Today 07:06
Replied by NWE on topic For a full-fledged Press Brake GUI

For a full-fledged Press Brake GUI

Category: Other User Interfaces

I guess I happened to jump to  this thread. Check it out. 
  • meister
  • meister
Today 04:47
  • jschulze
  • jschulze
Yesterday 03:41
Replied by jschulze on topic For a full-fledged Press Brake GUI

For a full-fledged Press Brake GUI

Category: Other User Interfaces

Just wondering if you've been making any progress on the pressbrake gui?  I just got the press I'm working on moving today and I was going to start working on an interface, but I thought I'd check in on this first before I start from scratch.
Displaying 1 - 15 out of 13790 results.
Time to create page: 2.312 seconds
Powered by Kunena Forum