- Configuring LinuxCNC
- Advanced Configuration
- Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4342
- Thank you received: 1938
13 May 2025 14:08 #328381
by Aciera
Replied by Aciera on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
Attachments:
Please Log in or Create an account to join the conversation.
- jochen91
- Away
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 10
13 May 2025 15:00 #328384
by jochen91
Replied by jochen91 on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
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
-
- Away
- Administrator
-
Less
More
- Posts: 4342
- Thank you received: 1938
13 May 2025 15:10 #328387
by Aciera
Replied by Aciera on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
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
-
Less
More
- Posts: 49
- Thank you received: 10
13 May 2025 15:31 #328395
by jochen91
Replied by jochen91 on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
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.
I commented the G54 out of the .ini File but the behavior does not change.
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
-
- Away
- Administrator
-
Less
More
- Posts: 4342
- Thank you received: 1938
13 May 2025 15:50 #328397
by Aciera
Replied by Aciera on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
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.
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
-
Less
More
- Posts: 49
- Thank you received: 10
13 May 2025 16:48 #328401
by jochen91
Replied by jochen91 on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
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.
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.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4342
- Thank you received: 1938
13 May 2025 17:27 #328403
by Aciera
Replied by Aciera on topic Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
Have you tried <Prior> / <Next>?
stackoverflow.com/questions/20911223/tki...-detecting-pgup-pgdn
www.tcl-lang.org/man/tcl/TkCmd/keysyms.htm
stackoverflow.com/questions/20911223/tki...-detecting-pgup-pgdn
www.tcl-lang.org/man/tcl/TkCmd/keysyms.htm
The following user(s) said Thank You: jochen91
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine
Time to create page: 0.104 seconds