This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mp:mst_dev [2024/05/06 19:26] – [CQL Posts - Future updates/improvements - Mass Updates] russell | mp:mst_dev [2024/06/03 16:55] (current) – [CQM Posts - Future updates/improvements - Mass Updates] russell | ||
|---|---|---|---|
| Line 98: | Line 98: | ||
| Improvements for simultaneous 5-axis style toolpaths in Brodeur machine '' | Improvements for simultaneous 5-axis style toolpaths in Brodeur machine '' | ||
| + | |||
| + | == Okuma Macro Mult added to VMC masters == | ||
| + | |||
| + | Also refine HMC version based on changes to JLG Industries COM_OKUMA_GENOS_4X delivered 5-9-2024 #32765\\ | ||
| + | |||
| + | == prevent spindle stop if already stopped at change of spindle == | ||
| + | |||
| + | pspindchng prevent spindle stop if already stopped at change of spindle.\\ | ||
| + | |||
| + | Before:\\ | ||
| + | |||
| + | < | ||
| + | pspindchng | ||
| + | if prv_spdir2 <> spdir2 & prv_speed <> zero, pbld, n$, *sm05, e$ | ||
| + | if not(canned_tap = 1), #spind switch only on move line for LH tap - MU-0044 | ||
| + | [ | ||
| + | if prv_speed <> speed | prv_spdir2 <> spdir2, | ||
| + | [ | ||
| + | if speed, | ||
| + | [ | ||
| + | pbld, n$, pgear, e$ | ||
| + | pbld, n$, pfspindle_out, | ||
| + | ] | ||
| + | ] | ||
| + | !speed, !spdir2 | ||
| + | ] | ||
| + | </ | ||
| + | |||
| + | After:\\ | ||
| + | |||
| + | < | ||
| + | pspindchng | ||
| + | if prv_spdir2 <> spdir2 & prv_spdir2 <> 1 & prv_speed <> zero, pbld, n$, *sm05, e$ | ||
| + | if not(canned_tap = 1), #spind switch only on move line for LH tap - MU-0044 | ||
| + | [ | ||
| + | if prv_speed <> speed | prv_spdir2 <> spdir2, | ||
| + | [ | ||
| + | if speed, | ||
| + | [ | ||
| + | pbld, n$, pgear, e$ | ||
| + | pbld, n$, pfspindle_out, | ||
| + | ] | ||
| + | ] | ||
| + | !speed, !spdir2 | ||
| + | ] | ||
| + | </ | ||
| + | |||
| + | == Shortest direction 0-360 causes infinite loop with axis subs (pcoutrev) == | ||
| + | \\ | ||
| + | |||
| + | Change found to fix: | ||
| + | |||
| + | Before: | ||
| + | |||
| + | < | ||
| + | pcoutrev | ||
| + | cdelta = csav - prv_csav | ||
| + | rev = last_move_rev | ||
| + | ... | ||
| + | ... | ||
| + | ... | ||
| + | if index <> 1 & (rot_type > 0 | (one_rev & gcode$ = zero & (cuttype <> one | opcode$ = 3 | opcode$ = 16))), | ||
| + | [ | ||
| + | while fmtrnd(cabs) >= 360, | ||
| + | [ | ||
| + | cabs = cabs - 360 | ||
| + | rev = rev - 1 | ||
| + | ] | ||
| + | while fmtrnd(cabs) < 0, | ||
| + | [ | ||
| + | cabs = cabs + 360 | ||
| + | rev = rev + 1 | ||
| + | ] | ||
| + | </ | ||
| + | |||
| + | After: | ||
| + | |||
| + | < | ||
| + | pcoutrev | ||
| + | cdelta = csav - prv_csav | ||
| + | rev = last_move_rev | ||
| + | ... | ||
| + | ... | ||
| + | ... | ||
| + | if index <> 1 & (rot_type > 0 | (one_rev & gcode$ = zero & (cuttype <> one | opcode$ = 3 | opcode$ = 16))), | ||
| + | [ | ||
| + | while fmtrnd(cabs) >= 360, | ||
| + | [ | ||
| + | cabs = cabs - 360 | ||
| + | if cuttype <> one, rev = rev - 1 #MU?? | ||
| + | ] | ||
| + | while fmtrnd(cabs) < 0, | ||
| + | [ | ||
| + | cabs = cabs + 360 | ||
| + | if cuttype <> one, rev = rev + 1 #MU?? | ||
| + | ] | ||
| + | </ | ||
| ===== CQL Posts - Future updates/ | ===== CQL Posts - Future updates/ | ||
| Line 241: | Line 338: | ||
| # | # | ||
| + | </ | ||
| + | |||
| + | == MU related to above. Groove CC peck parameter change == | ||
| + | |||
| + | Groove peck amount MP documentation has wrong parameter. TESTED AND THIS WORKS.\\ | ||
| + | |||
| + | Before:\\ | ||
| + | |||
| + | < | ||
| + | fprmtbl 3 5 #Groove cut parameters | ||
| + | 13358 stepcc | ||
| + | 13138 directcc | ||
| + | 13352 dopeckcc | ||
| + | 13368 depthcc | ||
| + | 13364 clearcc | ||
| + | </ | ||
| + | |||
| + | After: | ||
| + | < | ||
| + | fprmtbl 3 5 #Groove cut parameters | ||
| + | 13358 stepcc | ||
| + | 13138 directcc | ||
| + | 13352 dopeckcc | ||
| + | 10316 depthcc | ||
| + | 13364 clearcc | ||
| </ | </ | ||
| Line 320: | Line 442: | ||
| continue_seq = two # | continue_seq = two # | ||
| </ | </ | ||
| + | |||
| + | == MU Lathe pfcout signed direction doesn' | ||
| + | |||
| + | pfcout signed direction doesn' | ||
| + | Can place '' | ||
| + | |||
| + | < | ||
| + | pfcout | ||
| + | ... | ||
| + | ... | ||
| + | ... | ||
| + | else, #Signed direction, modality on c_wnd, no incremental | ||
| + | [ | ||
| + | if fmtrnd(prv_c_wnd) <> fmtrnd(c_wnd), | ||
| + | [ | ||
| + | if not(indx_mc = 0 & rot_dir = 0) & not(indx_mc = 1 & rot_dir = 1), result = nwadrs(sc_minus, | ||
| + | else, result = nwadrs(str_cax_abs, | ||
| + | *cout_a | ||
| + | ] | ||
| + | !c_wnd, !cabs, !cinc | ||
| + | ] | ||
| + | </ | ||
| + | |||
| ===== CQL___MS Posts - Future updates/ | ===== CQL___MS Posts - Future updates/ | ||