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:

Tying post to machine simulation?


Recommended Posts

I added my post and machine def to my simulation set up folder. When I check use post in the simulation settings I get an error that states the post is not creating the necessary .cd and .sim files. Is there any documentation On how to add this to the post?

 

TIA

  • Like 1
Link to comment
Share on other sites

The posted code is a special type of module works CL commands, totally different than any actual machine post.  There are some people that have buffers setup to output the MW-CL file and the G-code simultaneously with there post.   

 

Here is some sample G-code.

-------------------------------------------------------------

G0 G90 G56 X2.125 Y-.388 S2801 M3 T9007
G43 H99 Z2.
Z1.001
G1 Z.635 F33.62
X1.9
X1.7125
X1.6392 Z.6386
X1.5666 Z.6493
X1.4955 Z.6671
X1.4264 Z.6917
X1.36 Z.723
X.4272
X.3125 Z.785
X0.
X-.225
G0 Z1.001

 

This is a Sample of some MW-CL code, 

-------------------------------------------------------------
MW_OP_START
MW_RELMOVE RAPID X+2.125 Y-.388 Z+1.001 F2000 BLK120 #NCI_+98.000
MW_RELMOVE FEED X+2.125 Y-.388 Z+.635 F34 BLK130 #NCI_+100.000
MW_RELMOVE FEED X+1.900 Y-.388 Z+.635 F34 BLK140 #NCI_+102.000
MW_RELMOVE FEED X+1.712 Y-.388 Z+.635 F34 BLK150 #NCI_+104.000
MW_RELMOVE FEED X+1.639 Y-.388 Z+.639 F34 BLK160 #NCI_+106.000
MW_RELMOVE FEED X+1.567 Y-.388 Z+.649 F34 BLK170 #NCI_+108.000
MW_RELMOVE FEED X+1.495 Y-.388 Z+.667 F34 BLK180 #NCI_+110.000
MW_RELMOVE FEED X+1.426 Y-.388 Z+.692 F34 BLK190 #NCI_+112.000
MW_RELMOVE FEED X+1.360 Y-.388 Z+.723 F34 BLK200 #NCI_+114.000
MW_RELMOVE FEED X+.427 Y-.388 Z+.723 F34 BLK210 #NCI_+116.000
MW_RELMOVE FEED X+.313 Y-.388 Z+.785 F34 BLK220 #NCI_+118.000
MW_RELMOVE FEED X+.000 Y-.388 Z+.785 F34 BLK230 #NCI_+120.000
MW_RELMOVE FEED X-.225 Y-.388 Z+.785 F34 BLK240 #NCI_+122.000
MW_RELMOVE RAPID X-.225 Y-.388 Z+1.001 F2000 BLK250 #NCI_+124.000
MW_OP_END
  • Like 1
Link to comment
Share on other sites
  • 1 year later...

Input file with expansion .CL
The file with the extension  .red is used to offset workpiece geometry and position
When you run a machine simulation, you will see - use external post
mcamTools folder used to store the machine tools for simulation with the extension .sim

this example
It supports only wcs - Top

Supports in metric mode
Does not support tool compensation - control

Transformathion -  source operations - disadle posting in selected source operations

 

1702091541090127.png

 

1702091545030112.png

Edited by AC3
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...