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:

alma999

Verified Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by alma999

  1. The simplest way:

    code:

    pcirout1        #Output to NC of circular interpolation

    pcan1, pbld, n$, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,

    *pxout, *pyout, *pzout, pcout, parc, feed, strcantext, scoolant, e$

  2. My methods:

    Flat surface:

    Create Letters /MCX(Box)Font/

    Contour toolpath; type ramp angle; compensation off

    Curve selection:window

    ramp_www.kepfeltoltes.hu_.jpg

    grav1_www.kepfeltoltes.hu_.jpg

     

    If surface not flat:

    Create Letters /MCX(Box)Font/

    Surface Finish Project, Retract between cuts: checked

    grav2_www.kepfeltoltes.hu_.jpg

  3. Try this method:

     

    1. Make backup!

     

    2. Open pst with text editor!

    3. Delete first line!

    code:

    (like this:[post_VERSION] #DO NOT MOVE OR ALTER THIS LINE% V13.00 E1 P0 T1266832290 M13.00 I0)

    4. Remove all $ char from source! (Replace command)

    5. Save

    6. Update post: Use UpdatePost.dll, set Updating FROM V9. MD, CD creation uncheck.

    7. Open updated post, find errors!

    Looks like this:

    code:

    #CNC<<MSG-ERROR(243)>>

    Try correcting manual, or give up!

  4. With your example: (T90.26)

     

    Toolpath parameterts/Tool#: fill with 9026 (multiply tool number by 100)

     

    Modify your post:

     

    * - add this line

    ( - existing line

    code:

    .

    (# --------------------------------------------------------------------------

    (# Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta

    (# --------------------------------------------------------------------------

     

    (fs2 10 0.2 0.2 #Decimal, absolute, 2 place

    .

    (# --------------------------------------------------------------------------

    (# Toolchange / NC output Variable Formats

    (# --------------------------------------------------------------------------

     

    (fmt 4 t$ #Tool number

    *fmt 10 tdec #Decimal tool number - this is the new variable

    .

     

    *tdec = t$/100 # dividing tool number by 100

    .

    Replace all t$ with tdec and save post.

  5. If you use CALL LBL with REP then the called LBL must before CALL LBL! This method works like GOTO.

     

    Example:

    8 CC X+188,500 Y-50,000

    9 LP PR+5,000 PA+0,000 R F555 M

    10 LBL 1

    11 CP IPA+360,000 IZ-1,000 DR+ R F200 M

    12 CALL LBL 1 REP 3 /3

    13 CP IPA+360,000 DR+ R F M

    14 LP PR+0,000 PA+0,000 R F555 M09

    15 Z+100,000 R F5555 M05

    16 STOP M00

     

    This code not work!

     

    8 L X+35.3553 Y+35.3553 R0 F MAX M3

    9 L B+90 F MAX

    10 L Z+10 F MAX

    11 L IZ-9.9 F MAX

    12 L IZ-.02 F250

    13 CALL LBL 102 REP 6 < Go to LBL102 and not return!

    24 L IZ+.12 F100000

    25 L IZ+9.9 F MAX

    26 M5

    27 B+0 F MAX

    28 M02

    1 ;

    2 LBL 102

    3 L IX-1.4142 IY+1.4143 RL F1000

    4 CC IX+1.4142 IY-1.4142

    5 C IX+2.8285 IY-2.8285 DR+

    6 CC IX-1.4142 IY+1.4142

    7 C IX-2.8285 IY+2.8285 DR+

    8 L IX+1.4142 IY-1.4143 R0

    9 LBL 0

     

    The correct code:

    8 L X+35.3553 Y+35.3553 R0 F MAX M3

    9 L B+90 F MAX

    10 L Z+10 F MAX

    11 L IZ-9.9 F MAX

    < removed L IZ-.02 F250

    13 CALL LBL 102 < REP removed

    24 L IZ+.12 F100000

    25 L IZ+9.9 F MAX

    26 M5

    27 B+0 F MAX

    28 M02

    1 ;

    2 LBL 102

    L IZ-.02 F250 < inserted

    3 L IX-1.4142 IY+1.4143 RL F1000

    4 CC IX+1.4142 IY-1.4142

    5 C IX+2.8285 IY-2.8285 DR+

    6 CC IX-1.4142 IY+1.4142

    7 C IX-2.8285 IY+2.8285 DR+

    8 L IX+1.4142 IY-1.4143 R0

    9 CALL LBL 102 REP 6 < Repeat here

    10 LBL 0

     

    CALL LBLxxx REPyy = GOTO with repeat, nesting levels endless! The LBL definiton must first, CALL with REP later!

     

    CALL LBLxxx = Subrutine call, nesting levels max. 8!

     

    These two very different method.

  6. Download from

    http://www.alma999.atw.hu/

    Heidenhain post, MD, CD and CD customize instructions!

    Download from

    http://filebase.heidenhain.de/public/?open...B%5D=55#GROUP55

    TNCremo v2.6 intl/en Build 301 and install it!

    Run TNCServer and configure with FE settings!

    Set the parameters (if need) in controller! (Above listed.)

    Set the protocol (Baud rate, data bits, etc.)!

     

    If nc program filename 1234.H then the first line must be:

    0 BEGIN PGM 1234 MM (or INCH)!

    Last line:

    xxx END PGM 1234 MM (or INCH)!

  7. To transfer use TNCServer! (Free from Heidenhain.)

    Check the Machine Parameters in controller!

     

    This from Service Manual and work perfect for me:

    (With this settings extension must be *.H!)

     

    MP 71 = 515 (STX, ETX)

    MP 218 = 17736 (E, H)

    MP 219 = 16712 (A, H)

    MP 220 = 279 (SOH, ETB)

    MP 221 = 5382 (NAK, ACK)

    MP 222 = 168 (7 data bits, 1 stop bit, even parity, xon/xoff)

    MP 223 = 1 (blockwise transfer active)

    MP 224 = 4 (EOT)

     

    (Email sent with full Interface doc.)

  8. From:

    http://messageboard.mcamnw.com/cgi-bin/ubb...c;f=20;t=000248

     

    This error usually occurs right after installation of Mastercam X when you try to launch the program. The cause is usually some type of Antivirus/Firewall software running which stops these two files from registering properly during the installation. Try the following procedure to fix this error:

     

    *Note: Before starting this procedure, disable any antivirus/firewall software on your computer.

     

    1) Click on the Start Button > Control Panel.

    2) Double-click on Mastercam X.

    3) The Mastercam X Utility opens. In the large box in the center navigate to your local hard drive and into the WindowsSystem32 folder.

    4) Click on the radio button "unregister component" and then click on the file MCBitmap.ocx from the list of files (This list may be very large so you may have to scroll a ways down).

    5) Click on the "Apply" button.

    6) Click on the radio button "register component" and then click on the file MCBitmap.ocx again.

    7) Click on the "Apply" button.

    8) A message should appear at the bottom of the window indicating that the control was successfully registered.

    9) Repeat steps 4-7 for the file MClstCtl.ocx.

     

    At this point you should be able to close out of the Mastercam X Utility and then launch Mastercam X.

  9. I'm use spaces$ variable to set spaces:

    ...

    spaces$ : 1 # Number of spaces to add between fields

    ...

    pheader$ # File header

    n$, sbeginpgm, sprogname$, smm,e$

    spaces$ = 0

    n$, " ; FILE-", *smcpath$, *smcname$, *smcext$, e$

    n$, " ; ", *year2,".", *smonth, day$,". ", time$, e$

    spaces$ = 1

    ...

  10. You can download manual from:

    http://filebase.heidenhain.de/doku/tnc_gui...239/N1C239.html

     

    "M128: Maintaining the position of the tool tip when positioning with tilted axes (TCPM)."

     

    You need software option 2 enable to M128!

     

    (Check it method: Programing and editing -> MOD key -> type SIK -> ENT)

    But, if you use Mastercam, forget it. (Needn't.)

     

    (I'm use: Heidenhain TNC150,TNC155A,TNC355,TNC410CA,TNC415B,iTNC530. TNC155 since 1988.)

  11. 1. Surface Rough Pocket toolpath -> Pocket parameters -> Select High Speed method! -> Press High Speed button!

    2. Pocket toolpath -> Roughing/Finishing parameters -> Select High Speed method! -> Press High Speed button!

    3. Peel mill toolpath

  12. First make backup from your post!

    (x:mcamxmillposts*.pst)

     

    Locate in your *.pst file XYZ format definitions:

    (Here XYZ format type '2')

    # NC output Variable Formats

    fmt 4 n$ #Sequence number

    fmt X 2 xabs #X position output

    fmt Y 2 yabs #Y position output

    fmt Z 2 zabs #Z position output

    fmt IX 3 xinc #X position output

    fmt IY 3 yinc #Y position output

    fmt IZ 3 zinc #Z position output

    fmt A 11 cabs #C axis position

    fmt A 14 cinc #C axis position

    fmt A 4 indx_out #Index position

    fmt R 14 rt_cinc #C axis position, G68

     

     

    After locate format definition fs 2 or fs2 2.

     

    # Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta

    # --------------------------------------------------------------------------

    #Default english/metric position format statements

    fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize ( smile.gif

    fs2 2 +1.4 1.4l #Decimal, absolute, 4/3 place (Forced +/- sign output)

    fs2 3 +1.4 1.4l #Decimal, absolute, 4/3 place (Forced +/- sign output)

     

     

    Change +1.4 (or any others) to +1.3; 1.4l to 1.3l !

     

    Save post file!

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...