Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Sodick Post help


Recommended Posts

I was wondering if someone could help me get the condition codes to come out properly. The machine likes to see C001, C002 and C0903. for the first second and third passes. Mastercam always outputs C001, C002, and C003. I have my power library set to 903 but it always outputs 003. I'd assume its just counting pass numbers and assigning the number based on count. My post editing skills are weak but I'm up for tackling this if someone could point me in the right direction.

 

thanks for your time

Link to comment
Share on other sites

I haven't ever worked with Sodick but I would be happy to take a look and see what you have. Have you opened the post and found the logic for the "C###" output? If so, copy and paste the whole post block on the forum as well as any post blocks it might link to. Then we can take a look at why its not reading the 903.

Link to comment
Share on other sites

------------------------------------
# C-codes...
#------------------------------------
# 'C' is used to select machining condition files
# C900-C999 = used for PIKA machining and HF machining
# C777 = used exclusively for wire vertical alignment
#        Flushing is NOT turned on, even if a G01,G02,G03 is executed.
# C888 = used exclusively for wire breakage recovery function.
#        (It cannot be used in a machining program)      

 

This is from the top portion of the post.

 

fmt  "O" 7  progno$     #Program number
fmt  "O" 7  subprogno   #Subroutine number head of file
fmt  "P" 7  subno$      #Subroutine call number    
fmt  "G" 4  g_wcs       #WCS G address
fmt  "C" 6  ccode$      #Condition code        
fmt  "H" 6  offset$     #Wire diameter offset
fmt  "H" 6  offset0     #Wire diameter offset 0  
fmt     2   tlrad$      #Wire radius
fmt  "H" 4  tofs$       #Wire index to taper list  
fmt     2   wt$         #Wire taper  

 

thats all i can find after reading through the post i searched for ccode$ but came up with nothing.

Link to comment
Share on other sites

Hi guys!

I have the similar problem like Brandon, I'm trying  to setup the generic SODICK MARK_30 4X WIRE.PST for our EDM WIRE machine wire LN1W control. At the moment we are using HeartNC programming software and it post correct HEADER at the start of the program I mean:

       (      =    ON OFF  IP  HRP MAO  SV V  SF  C PIK CTRL  WK  WT  WS  WP);
C000   =   010 016 2215 000 360 040 8 0015 0 000 0000 025 160 150 050;
C001   =   012 016 2215 000 364 025 8 0015 0 000 0000 025 160 150 060;
C002   =   003 018 2215 000 750 045 8 6020 0 000 0000 025 160 150 012;

I need the same logic at the MasterCam Post.  I have the HeartNC post but the I have no idea how to  tie up them together, there is fragment from HeartNC post:

  # C*** H***
  IF(WVV_NC_energy_mode <> WCV_NC_ENG_NOT)
    LET cnt 1
#   /* 加工条件ヘッダー部タイトル */   /* Add by I.Hara  '98.03.16 */
    LET rtn (FWRITE(outfile, ("(      =    ON OFF  IP  HRP MAO  SV V  SF  C PIK CTRL  WK  WT  WS  WP);")))
    LOOP
        EXIT_IF(cnt = WVV_PP_c_buf_pos)
        LET code (GETA("WVS_PP_c_buf", cnt, 0))
        LET code (GETNUM(code))

        W_get_rec[WVS_MSPEC_DIR + WVS_ECOND_NAME, code]
        LET codel (STRDLM(WVV_PP_return_value, "=", 2))
#       /* 加工条件桁数によりブランク数が異なる */ /* Add by I.Hara  '98.03.06 */
        IF(WVV_MS_CCOND_FIG = 3)
            LET rtn (FWRITE(outfile, ("C" + code + "   =   " + codel + ";")))
        ELSE_IF(WVV_MS_CCOND_FIG = 4)
            LET rtn (FWRITE(outfile, ("C" + code + "  =   " + codel + ";")))
        ELSE
            LET rtn (FWRITE(outfile, ("C" + code + "=" + codel + ";")))
        END_IF
        LET cnt (cnt + 1)
    END_LOOP
  END_IF

 

Any ideas how to make post like this? I know that the company http://www.shopwareinc.com/ are working with setups for Sodick edm wire machines, maybe someone are using database from shopwareinc ? 

Thank you for any answers!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...