585,748 active members*
3,523 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    91
    Hello
    I don’t want to output the tool retraction clause after milling before tool change, because the relieve motion is output with a routine in PP (N150 – N154)

    ......
    .....
    N145 G1 X290
    N146 G1 X308
    N147 G40
    N148 G1 Y-9.799

    N149 G0 Z20 M9 <--- this clause

    N150 G0 Z100
    N151 G74 Z-230 L1
    N152 G7
    N153 G93 X0 Y0 Z0
    N154 T3 M6 S265 F90 (SCHLICHTFRAESER D=30 / R=15)
    ....

    I also had to insert a query in PP that reads over this call after tool change:

    @rapid_move
    gcode = 0
    call @gen_nb
    if print_gcode eq true
    {'G'gcode}
    endif
    {[' X'xpos], [' Y'ypos], [' Z'zpos]}

    endp

    ;-------------------


    Unfortunately I don’t understand how exactly this query has to look.

    Who can help me?

    Thanks!

    Banditman

  2. #2
    Join Date
    Jun 2002
    Posts
    825
    Maybe it’ll work:

    if (zpos >= clearance_plane)
    ; {nl,'(hier geloescht, weil clearance plane)'}
    else
    {nl,'G0',[' Z'zpos]}
    endif


    t.
    Grüßle<br />nebbe

  3. #3
    Join Date
    Nov 2007
    Posts
    91
    Hello Nebbe

    it didn’t work in my case.

    When I process a job, coordinates X and Y are absent and with several covers some G0 process movements are absent.

    @rapid_move

    ; gcode = 0
    ; call @gen_nb
    ; if print_gcode eq true
    ; {'G'gcode}
    ; endif
    ;{[' X'xpos], [' Y'ypos],[' Z'zpos] ' ( - ORG - )'}

    if (zpos >= clearance_plane)
    ; {nl,'(hier geloescht, weil clearance plane)'}
    else
    {nl'G0',[' X'xpos], [' Y'ypos],[' Z'zpos]' (- Neu -)'}


    endif


    endp

    ;-------------------



    ......
    ......

    N160 G1 Y-49.926
    N161 G0 Z100
    N162 (ABSATZ 6 SCHLICHTEN RECHTS UNTEN )
    G0 Z-3.025 (- Neu -)
    N163 G1
    N164 G43 X-310 Y-25.075 F90
    N165 G41
    N166 G1 X-290
    N167 G1 X0
    N168 G1 X18
    N169 G40
    N170 G1 Y-10.074
    G0 Z-6.05 (- Neu -)
    N171 G1
    N172 G43 X-310 Y-25.075
    N173 G41
    N174 G1 X-290
    N175 G1 X0
    N176 G1 X18
    N177 G40
    N178 G1 Y-10.074
    N179 G0 Z100 M9
    N180 G74 Z-230 L1
    N181 G7
    N182 G93 X0 Y0 Z0
    N183 T8 M6 S1447 F145 (WNT-BOHRER D=8.8 / BOHRTIEFE 27)
    ......
    ......


    and here’s PP extract tool change:

    @change_tool
    rotate_after_tool=TRUE
    if only_xyz eq false
    local logical save_blknum_gen
    if !first_tool
    If gcode ne 0 then
    call @gen_nb
    {'G0 Z100 M9 '} ; bei Bohrungen
    call @gen_nb
    {'G74 Z-230 L1 '} ;bei Bohrungen
    else
    {' M9 '}
    call @gen_nb

    {'G0 Z100 '} ;beim fräsen

    call @gen_nb
    {'G74 Z-230 L1 '} ;beim fräsen
    endif
    call @gen_nb
    {'G7 '}
    call @gen_nb
    {'G93 X0 Y0 Z0 '} ; ende Job

    endif
    ......
    ......

    Banditman

  4. #4
    Paranuit Guest
    Hello

    @Banditman:

    do you have a maintenance contract?

    If you do, then you can add this option in the field “data” in job

    As example: Code R=0 then retraction, Code R=1 then not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •