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:

SL-4 Post Question


tsewyek
 Share

Recommended Posts

In the proces of altering the mplfan post for an old Mori SL-4 w/6T control. On this particular machine the sign of X-axis is backwards, I've found a spot in the post to change the sign of the X, but I need to do something to correct the arc output. What have I not done? Thanks So Much in advance for all who reply, any assistance is greatly appreciated.

 

Walt

Link to comment
Share on other sites

Being an “old” Mori I’d assume you don’t have to worry about ‘C’ axis.

 

In the MPLFAN.PST you can alter this postblock –

 

code:

psgcode         #Output the Gcode based on the current plane

#if c_ax_flp, !COMMENT OUT this line!

#[ !COMMENT OUT this line!

#Reverse arc direction for c_axis flip

if gcode$ = two | gcode$ = three,

[

sav_gcode = gcode$

gcode$ = (5 - gcode$) # Flip G02-G03

]

#] !COMMENT OUT this line!

 

if plane$ = zero, `sgcode

if plane$ = one, `sgcode1

if plane$ = two, `sgcode2

#if c_ax_flp, gcode$ = sav_gcode !COMMENT OUT this line!

gcode$ = sav_gcode !ADDED this line!

Do you also need to "flip" the sign on the 'I' on arcs?

Link to comment
Share on other sites

actually; the 'easiest' way is to swap G02 and G03 here:

 

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

# General G and M Code String select tables

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

# Strings for switch based on planes, see psw_str_mult

sxg02 G03 #Circular interpolation CW

sxg03 G02 #Circular interpolation CCW

 

 

Hackety hack, but its worked here for 5 years

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