Advanced Search

Search Results (Searched for: )

  • StephanCNC
  • StephanCNC
30 Mar 2026 18:58
China Spindel Drehzahl passt nicht! was created by StephanCNC

China Spindel Drehzahl passt nicht!

Category: Deutsch

Hallo Zusammen,

kennt jemand oder kann sich auch an das folgende Problem errinnern und kann mir helfen.

Ich habe eine CNC Spindel 2,2Kw mit Frequenzumwandler von Aliexpress. 

Jetzt habe ich ein Grundsetup vom Frequenzumrichterfür die Chinaspindel wie auf der Seite von Stephan -> Estlcam  gemacht.

Gem. Frequenzumrichter-Einstellung soll die kleinste Drehzahl bei 6000U/min sein. Gesteuert wird das Ganze über eine Mesakarte und bei der Hälfte der Drehzahlvorgabe wird auch die halbe max. Spannung also 5V von 10V von der Mesakarte an den Frequenzumrichter ausgegeben.
Soweit so gut, aber:

Jetzt verhält es sich so, dass wenn ich 12000U/min vorgebe also 5V an dem Frequenzumrichter anliegen, der aber ca 18000U/min ausgibt.

Da ja hier viele so eine China Spindel mit Frequenzumrichter haben hoffe ich ihr könnt mir helfen, wo und wie ich was verändern muss, um das die Vorgabe auch vom Frequenzumrichter richtig umgesetzt wird.

Viele Grüße
Stephan  
  • spumco
  • spumco
30 Mar 2026 18:46
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

Lets see if I've got everything now that I've had a good think:
  • INI
    • V-axis
      • change HOME/HOME_OFFSET to "0" (to match X-axis/Joint0)
    • X-axis
      • add min/max limit entries for switched state
      • add max_vel & max_accel for switched state
    • Remap M-codes
    • [KINS]
      • KINEMATICS = parting_slide (yes/no?)
  • M-CODES
    • M300 - normal mode;  set #<kinstype> = 0, call M100
    • M301 - switched mode;  set #<kinstype> = 1, call M101
    • M100 - set V-axis min/max limits and vel/accel to normal
    • M101 - set V-axis min/max limits and vel/accel to switched values
  • HAL
    • net KINSTYPE-SEL <= motion.analog-out-01 => motion.switchkins-type
    • (analog-out-01 verified to be free)
  • COMPONENT
    • parting_slide.comp created from millturn.comp.
    • substituted @Aciera's suggested edits and added comments
    • compile/install
  • OPTIONAL?
    • Add G53 G0 V0 initial move to M301 so V and X are both at "0" before switching anything
    • Some sort of safety so joint0 jogging is inhibited when switched?  Don't want to accidentally jog joint0 (actual X) when sub-spindle is clamped on to a part.
      • I will probably also add an X jog-inhibit to my spindle/sub synch sequence.
    • Some sort of safety so everything switches to normal on an abort/estop/similar
Assumptions:
  1. I won't need new stepgen settings when switch is active because I'll be commanding the X-axis - which is now joint3.  And nothing about joint3 will have changed.  Millturn example M128/129 only changed the axis settings, not the joint settings.
  2. I won't need the G10 home offsets adjustments in the millturn example since I will be setting V and X home to 0.
Still unclear:
  • Is the INI [KINS] change, along with HAL file loadrt [KINS]... what calls up parting_slide.comp?
  • what connects motion.switchkins-type to the Case0/Case1 settings in parting_slide.comp?

Comments/critique welcome as usual.
  • RotarySMP
  • RotarySMP's Avatar
30 Mar 2026 18:01
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Okay, now I am understanding the pain of AI. I went in circles with compiling errors and format.

Now it compiles, but I get
hal:turret:1: character unknown '  '
and the invisible character search didn't turn up anything.

Any ideas what I have wrong in this comp appreciated...
  • PCW
  • PCW's Avatar
30 Mar 2026 17:24
Replied by PCW on topic Bitfile for rcservo - MESA 7i95t

Bitfile for rcservo - MESA 7i95t

Category: Driver Boards

I could add 2 RCPWMs to replace one Step/dir channel

Not sure what you mean about the sserial channel on P1
The 7I95T typically has 2 sserial channels on TB4
  • djdelorie
  • djdelorie
30 Mar 2026 16:56
Replied by djdelorie on topic new probe

new probe

Category: General LinuxCNC Questions

I recently got a new probe, and discovered that if I wired it *correctly* it did not work.  I had to wire it backwards, because the small current used to make the light go on when it "hit" was also enough to drive the 7i76E pin, so the probe was always "not hit".  So even if you follow the directions, sometimes it takes more debugging :-P
Always check the voltage at the pin!
 
  • Lcvette
  • Lcvette's Avatar
30 Mar 2026 16:39

30 Second timeout before opening and E-Stop button not clicking...

Category: QtPyVCP

if the sim opens and works (ie.. press estop, press power, press ref all and it works) its not an installation issue. the problem would be pointing to your machine (milling machine) configuration problem, maybe post your configuration to github and share the link here so we can have a look and maybe help get you sorted out. having the configuration on github is nice because you will always have quick access to it for reference or troubleshooting even when not at your machine pc.
  • grossm5000
  • grossm5000
30 Mar 2026 16:29
Replied by grossm5000 on topic Differential encoder hard crashes the PC MESA7i77

Differential encoder hard crashes the PC MESA7i77

Category: Driver Boards

Well, I found a pile of old Dell Optiplex machines for cheap. Im just gonna try a new computer.
I really wish i could have found a way to make the Asus A520M work. Looks like a tough board good for machining environments.

Ill keep everyone posted if the new computer(s) work out :/
  • endian
  • endian's Avatar
30 Mar 2026 16:09 - 30 Mar 2026 17:59
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Yes Rod .. it is solution but it is creating constant delay between control position -> DFIR -> current position of tool ....
 
It will not add any delay as it should be applied as the acceleration is calculated or read per servo cycle. Just not sure how you need to use it. 
the size of the buffer is configurable.
Any other published moving average solution wanted to use loops which are a source of delay so I devised this..
One of the cleverest algorithms I have ever coded...
 
 

I think the best way to apply that... its consulate with Luca or Yang Yang if they are allready not using something like that now...  I'm not that familiar with their code till now ... it toooo way complicated for me

my next observation is - high value of G64 tolerance around 0.1(650us spikes) is spiking more than 0.001(250us spikes)

best setup till now ... most influential spiking thingy is the 
OPTIMIZATION_DEPTH... this creates real mess
ARC_BLEND_ENABLE = 1
ARC_BLEND_FALLBACK_ENABLE = 1
ARC_BLEND_OPTIMIZATION_DEPTH = 8
ARC_BLEND_RAMP_FREQ = 64
ARC_BLEND_GAP_CYCLES = 64
TC_QUEUE_SIZE = 200
  • RotarySMP
  • RotarySMP's Avatar
30 Mar 2026 16:09
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Hi Andy,

I got the Schaublin updated to Trixie and 2.9.8.

I really like the update you did to the look and button layout of Lathe macros. Thanks.

I was trying to work out how to address not having any feedback on the turret arriving in position. Because I am a shit programmer, I tried Chat GPT yesterday.

 

This is the set of requirements I gave:

 

The AI summary is rather accurate.

 

 

After a couple of back and forth, adding requirements, and accepting some AI suggestions, the result is the attached files.
Scary good how fast and efficient this is for a small project with very limited requirements, and how well it documents and explains the code. It would have taken me a few evening to get to this level, and my code would have been a mess of half-arsed work-around to avoid the gaping holes in my programming knowledge.

It failed to compile yesterday, due to some unknown character. I suspect the apple text editor has added some hidden ascii code. The attached files I cut paste into a different text editor. Off to test them now.
Cheers,
Mark
  • RotarySMP
  • RotarySMP's Avatar
30 Mar 2026 16:03
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Hi Andy,

I got the Schaublin updated to Trixie and 2.9.8.

I really like the update you did to the look and button layout of Lathe macros. Thanks.

I was trying to work out how to address not having any feedback on the turret arriving in position. Because I am a shit programmer, I tried Chat GPT yesterday.

 

This is the set of requirements I gave:

 

The AI summary is rather accurate.

 

 

After a couple of back and forth, adding requirements, and accepting some AI suggestions, the result is the attached files.
Scary good how fast and efficient this is for a small project with very limited requirements, and how well it documents and explains the code. It would have taken me a few evening to get to this level, and my code would have been a mess of half-arsed work-around to avoid the gaping holes in my programming knowledge.

It failed to compile yesterday, due to some unknown character. I suspect the apple text editor has added some hidden ascii code. The attached files I cut paste into a different text editor. Off to test them now.
Cheers,
Mark
  • spumco
  • spumco
30 Mar 2026 15:43
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

@Aciera - thank you.

right after I posted the question I found an explanation from Andy & RodW that (sort-of) cleared up my confusion:

forum.linuxcnc.org/24-hal-components/327...again?start=40#93573

That was an 'Ahh-ha!' moment:  I don't know anything about C (or any other programming language) so that stuff all looks like gibberish to me.
  • mh300
  • mh300
30 Mar 2026 15:29
Replied by mh300 on topic new probe

new probe

Category: General LinuxCNC Questions

I have the same probe, but I haven’t tested it yet. Based on the documentation I read, this probe switches on the negative (–) instead of the positive (+). So this is probably an electrical issue, and you need to change the wiring.
  • Aciera
  • Aciera's Avatar
30 Mar 2026 15:09 - 30 Mar 2026 15:10
Replied by Aciera on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

For a more comprehensive switchable kinematics example see:

sim/axis/vismach/5axis/table-dual-rotary

which uses:
github.com/LinuxCNC/linuxcnc/blob/master.../xyzab_tdr_kins.comp

You can download a detailed html documentation on how the kinematic component above was derived:
forum.linuxcnc.org/10-advanced-configura...mill?start=80#263694




For an example using four kinematic models see:
github.com/Sigma1912/LinuxCNC_Demo_Confi...egrex_200y_kins.comp
  • Aciera
  • Aciera's Avatar
30 Mar 2026 14:52 - 30 Mar 2026 14:58
Replied by Aciera on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

Why does X has a 'tran' and V doesn't?


I cannot give you a totally clear answer but that is basically just the way the data structure is setup:

pos->tran.x, pos->tran.y and pos->tran.z are the 'translational' parts of the cartesian axis pose (ie X,Y,Z axes)

The other axes elements are just called pos->a, pos->b, pos->c, pos->u, pos->v and pos->w



Is this the part of the component/programming that changes the position of the joints?:


The lines with 'pos->* = j[*]' are part of the 'Forward' kinematic model (ie the section you have on your last post). This is used to calculate the AXIS position after the respective joint has been homed. In your particular case the axis is set the same as the joint.

The lines with ' j[* = pos->*]' are part of the 'Inverse' kinematic model . This is used to calculate that particular JOINT position according to the requested AXIS position. In your particular case the joint is set the same as the axis.

Note that in your CASE 1 the joints/axes mapping is actually trivial just like 'trivkins' and the only thing you do in CASE 2 it to swap the joints/axes

So each 'CASE n' in the forward model needs to have a matching reciprocal 'CASE n' in the inverse model. In other words, if you run a joint position value through the forward kinematic and you run the resulting axis position value through the inverse model you should get the exact joint position value you started out with. If the models do not match upyou will get unstable results (eg runaway values).



More specifically, when the kinematics switch is made is the above what causes the X and V axes DRO's to switch?

The switch is made using a case structure in the forward and the inverse kinematic:
switch (switchkins_type) {
        case 0:
....
        case 1:
....
    }

Each case represents a kinematic model. In millturn.comp we have two but you can have as many as you like.
The 'switchkins_type' value is changed using an analog motion pin which is connected to a dedicated hal pin (see [HAL] section of the millturn sim config):
HALCMD = net :kinstype-select <= motion.analog-out-03 => motion.switchkins-type
  • jefsaro
  • jefsaro's Avatar
30 Mar 2026 14:39
new probe was created by jefsaro

new probe

Category: General LinuxCNC Questions

Bonjour a tous , 
 je viens d'acheter une nouvelle sonde 3d,je l 'ai brancher  a la place de l 'ancienne , mais j 'ai maintenant une erreur , j 'utilise linux 2.8.1, cela fonctionnait tres bien avec l 'ancienne, je pense qu il y a un parametre a changer , mais je ne trouve pas, pouvez vous m 'aider?dans le panneau de configuration de hal , j 'ai le signal.
merci
Displaying 61 - 75 out of 17530 results.
Time to create page: 0.399 seconds
Powered by Kunena Forum