Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

More
1 year 5 months ago #328362 by Aciera
RE: Toolchange position:

The issue is due to different G7/G8 status for tool changes in the example program. This is solved by forcing 'G8' in the tool change macro.

So change './remap_subs/m6remap.ngc' to this:
Code:
o<m6remap>sub M66 L0 E0 M428 G8 G53 G0 X500 Y300 Z900 G53 G0 B-90 G53 Z500 M66 L0 E0 M6 G53 Z900 G53 X200 o<m6remap>endsub m2

Note that this macro is really only a rough sketch as it is, there are likely to be other issues.
Also note that this issue points out that the cgode program needs to set 'G7/G8' _after_ the tool change or, for a fancier solution, for the toolchange macro to restore the 'G7/G8'.
The following user(s) said Thank You: jochen91

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

More
1 year 5 months ago #328372 by jochen91
Thank you! I will implement that this evening and post my .ini fill in regards to the Z-180mm thing. I'm somewhat sure i used 0 - 1065mm for axis and -1 - 1066 for joints

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

More
1 year 5 months ago - 1 year 5 months ago #328375 by Aciera
For the more sophisticated solution as mentioned above:

Code:
o<m6remap>sub M66 L0 E0 M428 ; check if G7 is active o100 if [#<_lathe_diameter_mode> EQ 1] (print,DEBUG m6remap: G7 active) #<g7g8_state> = 1 o100 else (print,DEBUG m6remap: G8 active) #<g7g8_state> = 0 o100 endif G8 G53 G0 X500 Y300 Z900 G53 G0 B-90 G53 Z500 M66 L0 E0 M6 G53 Z900 G53 X200 ; restore G7/G8 state o101 if [#<g7g8_state> EQ 1] (print,DEBUG m6remap: restoring G7) G7 o101 else (print,DEBUG m6remap: restoring G8) G8 o101 endif o<m6remap>endsub m2
Last edit: 1 year 5 months ago by Aciera.
The following user(s) said Thank You: jochen91

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

More
1 year 5 months ago #328379 by jochen91
Here is the promised ini file. It is as i thought:

Z-Axis: 0 - 1065mm
Z-Joint: -1 - 1066mm

Thank you for the G7/G8 fix :)

Kind regards,
Jochen

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

More
1 year 5 months ago #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.

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

More
1 year 5 months ago #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.

Time to create page: 0.214 seconds
Powered by Kunena Forum