User Tools

Site Tools


mp:mst_dev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mp:mst_dev [2024/05/09 17:02] – [CQM Posts - Future updates/improvements - Mass Updates] russellmp:mst_dev [2024/06/03 16:55] (current) – [CQM Posts - Future updates/improvements - Mass Updates] russell
Line 144: Line 144:
         ]         ]
 </code> </code>
 +
 +== Shortest direction 0-360 causes infinite loop with axis subs (pcoutrev) ==
 +\\
 +
 +Change found to fix:
 +
 +Before:
 +
 +<code>
 +pcoutrev        #Rotary axis revolution calculation (Modify for wind-up)
 +      cdelta = csav - prv_csav
 +      rev    = last_move_rev    #Reset rev  - MU-0068, rjj
 +      ...
 +      ...
 +      ...
 +      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
 +          ]
 +</code>
 +
 +After:
 +
 +<code>
 +pcoutrev        #Rotary axis revolution calculation (Modify for wind-up)
 +      cdelta = csav - prv_csav
 +      rev    = last_move_rev    #Reset rev  - MU-0068, rjj
 +      ...
 +      ...
 +      ...
 +      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??
 +          ]
 +</code>
 +
 ===== CQL Posts - Future updates/improvements - Mass Updates ===== ===== CQL Posts - Future updates/improvements - Mass Updates =====
  
Line 390: Line 442:
       continue_seq = two  #10/30/2012-add MU-0002, rjj       continue_seq = two  #10/30/2012-add MU-0002, rjj
 </code> </code>
 +
 +== MU Lathe pfcout signed direction doesn't have a C0 on first live tool op ==
 +
 +pfcout signed direction doesn't have a C0 on first live tool op.\\
 +Can place ''prv_c_wnd = c9k'' in ''pheader_out'' as a band aid fix that shouldn't affect anything else.\\
 +
 +<code>
 +pfcout
 +...
 +...
 +...
 +        else, #Signed direction, modality on c_wnd, no incremental
 +          [
 +          if fmtrnd(prv_c_wnd) <> fmtrnd(c_wnd),     #THIS CONDITION PREVENTS C0 at STARTUP if 1ST POSITION IS C0
 +            [
 +            if not(indx_mc = 0 & rot_dir = 0) & not(indx_mc = 1 & rot_dir = 1), result = nwadrs(sc_minus, cout_a)  #MU-0045 - Incl rot_dir, rjj
 +            else, result = nwadrs(str_cax_abs, cout_a)
 +            *cout_a
 +            ]
 +          !c_wnd, !cabs, !cinc
 +          ]
 +</code>
 +
 ===== CQL___MS Posts - Future updates/improvements File streamer CQP0010 stuff ===== ===== CQL___MS Posts - Future updates/improvements File streamer CQP0010 stuff =====
  
mp/mst_dev.1715274143.txt.gz · Last modified: 2024/05/09 17:02 by russell