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

Case Hydraulic Parts

Hydraulic Piston Pump, Duplex Pump, Short-Stroke Pump, Noise/Vibration Reduction, High Self-Priming Ability, Rotational Stability, High Efficiency, High Pressure, Compact Size, Reduction of Overall Length.

We export GENUINE PUMP, OEM PUMP, AFTERMARKET PUMP. We are specialized in OEM PUMP & AFTERMARKET PUMP. We export 95 NATIONS. Please contact us If you need STABLE SUPPLIER.Case hydraulic pumps for the machine models listed below are available ex stock or with a short delivery.

Case Hydraulic Main Pump,Case Main Hydraulic Pump,Case Hydraulic Pump,Case Hydraulic Pump Spare Parts,Case Hydraulic Main Pump Assembly,Case Main Pump,Case Pump,Case Hydraulic Parts,Case Excavator Parts

Jining Juheng Hydraulic Machinery Co., Ltd. , https://www.juheng-cn.com