Advanced Search

Search Results (Searched for: )

  • jochen91
  • jochen91
11 Apr 2025 15:03

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration


Excuse my crude model of the Integrex, but could someone tell me if my axis naming is correct for a lathe configuration?
And how is the axis called with the "?". Of Course for a Mill configuration it would change. Would be happy for input :)
  • matti.juntunen
  • matti.juntunen
11 Apr 2025 15:00
Z level compensation was created by matti.juntunen

Z level compensation

Category: Advanced Configuration

Hi all!

I have been trying to get a Z compensation thingy working for a while. 

github.com/scottalford75/LinuxCNC-3D-Pri.../master/compensation

I have gotten the script working, in the way that it is incorporated in LinuxCNC, and it reads my probe data, sorta. I have two problems with it.

First problem: It doesnt read negative coordinates in X and Y. It only understands lower left corner being zero in the gcode. Which is a problem, since my machine zero is in center of worktable, and i make all my gcode with zero in center. I have worked like that for ages, and i dont feel like changing my workflow. 

Second problem: The outputed coordinates only work from machine zero. It doesnt follow if i have a work offset active. 

Has anyone had the same problems? This is over my skill level, and i cant get it to work.

I am attaching a number of files. Compensation.py is the script i am using now. probe-results.txt has only positive coordinates and works. probe-results2.txt has both negative and positive, and does not work. Or, it works for a while if i only move in positive area, but after a while the whole compensation just dies and i have to restart LinuxCNC. Z_level_compensation.py is a file i found in another thread here, that i believe morley(?) has modified. It is based on the script i am currently using, but it looks like work offset has been fixed. I have not gotten this script to work on my system, but maybe someone can tell me how to fix my problems based on that. 


 
  • andypugh
  • andypugh's Avatar
11 Apr 2025 14:56
Replied by andypugh on topic rotary axis queston

rotary axis queston

Category: General LinuxCNC Questions

Usually omitting or deleting lines with HOME_...._velocity in the ini file and editing the homing and limit lines in hal is all it takes,


It's usual to retain the lines, but set the two velocities to zero. Omitting probably works too (they will default to zero) but actively setting to zero looks less like a mistake. 
 
  • andypugh
  • andypugh's Avatar
11 Apr 2025 14:53
Replied by andypugh on topic Strange behaviour of custom component

Strange behaviour of custom component

Category: Advanced Configuration

I have not using any kind of global variables 

I think you are, look at line 159:
enum MODE_SELECTION{WRITEMODE, WAITVELOMODE, INITIAL, WORKING, WAITINGFORENABLE, HOMING};
static enum MODE_SELECTION mode_selection;

mode_selection is a static global in the code. 

I don't know for sure if that is enough to cause the problem? 

it looks like mode_selection should be a local variable (actually, make it a parameter so that you can debug using it)

Also maybe consider using a "switch" command on mode_selection rather than repeated "if (mode_selection == ##) "
Displaying 17341 - 17344 out of 17344 results.
Time to create page: 0.790 seconds
Powered by Kunena Forum