Optimization of post processing program of MAHO machining center based on Mastercam

Now you only need to modify the proportional part of the coordinate value to make the post-program coordinate system need no additional changes. The following is the corrected content:

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

Scalex : 1.0 # Scaling of .NCI at input - x,y,z,i,j,k [X coordinate invariant]

Scaley : -1.0 # Scaling of .NCI at input - x,y,z,i,j,k [Y coordinate is negative]

Scalez : 1.0 # Scaling of .NCI at input - x,y,z,i,j,k [Z symbol unchanged]

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

(Because the Y axis later becomes the negative direction of the Z axis, the Y coordinate is given a negative sign here)

Perfection of the program head and tail in the four post-processing program

Take the MPMAHOXZ.pst program as an example to illustrate the process of perfection.

Since the MAHO machining center also has the function of machining graphic simulation display, the workpiece blank size for MAHO should be added before the NC machining program, and the blank size of the workpiece should call some values ​​of the blank size in Mastercam. The definition and calculation of these values After the program segment is added to the line defining the parameter item, the program segment is as follows:

Fmt 9 stck_x [Define the X coordinate of the blank center point in Mastercam]

Fmt 9 stck_y [Define the Y coordinate of the blank center point in Mastercam]

Fmt 9 stck_z [Define the Z coordinate of the blank center point in Mastercam]

Fmt 9 stck_ht [Define the length of the blank in Mastercam]

Fmt 9 stck_wdth [Define the blank width in Mastercam]

Fmt 9 stck_thck [Define the blank height in Mastercam]

Fmt 9 blk_xmin [Define the starting point X coordinate of the blank in the MAHO vertical state]

Fmt 9 blk_ymin [Define the starting point Y coordinate of the blank in the MAHO vertical state]

Fmt 9 blk_zmin [Define the starting Z coordinate of the blank in the MAHO vertical state]

Fmt 9 blk_hztwd [Define the blank height increment in MAHO vertical state]

Blk_xmin=stck_x-stck_ht/2 [Calculate the starting X coordinate value of the blank in the MAHO vertical state]

Blk_zmin=-(stck_y-stck_wdth/2) [Calculate the starting Z coordinate value of the blank in the MAHO vertical state]

Blk_ymin=stck_z-stck_thck [Calculate the starting point Y coordinate value of the blank in the MAHO vertical state]

Blk_hztwd=-stck_wdth [Calculate the increment of the blank height direction in the MAHO vertical state]

Previous page next page

Christie's Auction

Christie's is one of the world's famous art auction houses. The auction brings together rare works of art, watches, jewelry, cars and wines from all over the world. Christie's offices are located in 90 major cities around the world, and regularly hold auctions in 16 locations around the world. In addition, Christie's also provides auction related services, including art storage and security, education, art picture library and property management.

Character Painting Collection,Collection of Excellent Paintings,Craftsmanship of Jade Carving Works,Painting Auction Collection

The universe in the stone is great , https://www.zdsarts.com