Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
13 May 2025 14:08 #328381 by Aciera
Your difference in the home position of the X-axis comes from changing [JOINT_0]HOME from 0 to 200:
 

This should not change any gcode behavior as such though.
Attachments:

Please Log in or Create an account to join the conversation.

  • jochen91
  • Away
  • Senior Member
  • Senior Member
More
13 May 2025 15:00 #328384 by jochen91
That is true. But i was talking about Z. Where does the -180mm comes from ? The Z offset contributes some amount to it, but the rest ?

Please Log in or Create an account to join the conversation.

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
13 May 2025 15:10 #328387 by Aciera
You have G54 offset active, which is set to Z: 180 so since the spindle nose is in the home position you get a z-position of -180.
The following user(s) said Thank You: jochen91

Please Log in or Create an account to join the conversation.

  • jochen91
  • Away
  • Senior Member
  • Senior Member
More
13 May 2025 15:31 #328395 by jochen91
But how is G54 active after homing and no G-code execution? I have two machines running LCNC (2.7.4) an both don't do that. That's confusing me a little bit.
RS274NGC_STARTUP_CODE = G17 G21 G40 G49 G64 P0.001 G80 G90 G92.1 G94 G97 G98
# G54

I commented the G54 out of the .ini File but the behavior does not change.

 

Please Log in or Create an account to join the conversation.

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
13 May 2025 15:50 #328397 by Aciera
Linuxcnc will save the work offset on shut down. Also G54 is the default offset system on startup. Since the example code contains ' g10 l2 p0 x0 y0 z180' the G54 z-offset is set to 180 which is then stored on shutdown and restored on restart.
As far as I know it has always restored the last offset values but I have only ever worked with Versions 2.8 or later.
The following user(s) said Thank You: jochen91

Please Log in or Create an account to join the conversation.

  • jochen91
  • Away
  • Senior Member
  • Senior Member
More
13 May 2025 16:48 #328401 by jochen91
I figured it out now and could fix it.

There is one more thing. The key binding.

I found: forum.linuxcnc.org/21-axis/14675-keyboar...key-binding?start=20

and implemented the .py file. It works, but i want to use page up/down for the X axis. How should one know how the correct name/definition in the .py file has to be? Do you have an idea ?

Z and Y works.
Attachments:

Please Log in or Create an account to join the conversation.

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
13 May 2025 17:27 #328403 by Aciera
The following user(s) said Thank You: jochen91

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum