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:

mplfan G02/G03


PROG_MAN_DO
 Share

Recommended Posts

I am using the mplfan.pst and the G02/G03's are coming out opposite of what they should be. Any suggestions. The X and Z values are good so that tells me we have the turret spindle orientation correct..I did have to change the dia_mult to -2 to change the sign of X..whazzupp?? confused.gif

 

thanks in advance

Link to comment
Share on other sites

Just taking a guess here... What does it say when you backplot? Check it in isometric view to make sure the tool is not entering from the opposite side of the workpiece. Basically are you in the correct tool plane? Are you using WCS and you got the wrong one?

Link to comment
Share on other sites

Russ,

If you had to change dia_mult to -2 then this tells me that you are running a machine that uses X- (minus)

You need to change your settings for g02/g03 to output correctly.

look for this in your post:

Notice how the g03 is g2 and g02 is g3?

You need to make these changes in order to post right.

 

HTH's wink.gif

 

# g2 and g3 are reversed for x- controls

# Motion G code selection

sg00 G0 #Rapid

sg01 G1 #Linear feed

sg03 G2 #Circular interpolation CW

sg02 G3 #Circular interpolation CCW

sg04 G4 #Dwell

sgcode #Target for string

 

fstrsel sg00 gcode sgcode

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

Link to comment
Share on other sites

Buckethead is correct and what he suggests will work. MPLFAN is setup to support many different configurations. We have a section in the post that you can set to control the different settings of the machine configuration such as the signs of XYZ, Arc and Comp direction, Spindle and plane direction as well as the C axis configuration. By changing these strings you can accomplish the same thing and actually have more control when needed. These are shown below.

 

code:

#Machining position turret/spindle settings

# Switch strings based on turret position top/bottom-left/right and cut type.

# Turret position is based on the Mastercam settings (see lathtype).

# Strings are re-assigned for output in the routine psw_str_mult.

# The string variable sw_string holds the place position value to determine

# how to assign the strings. Planes are relative to the view from Mastercam.

# Assign the 17 digit string following the alpha columns below:

# A - C axis, 1 = axis winds, 2 = axis signed, 3 = indexer

# B - Spindle direction, 0 = normal, 1 = reverse

# C - Plane 0 arc/comp, 0 = normal, 1 = switch

# D - Plane 1 arc/comp, 0 = normal, 1 = switch

# E - Plane 2 arc/comp, 0 = normal, 1 = switch

# F - Plane 0, 0 = G17, 1 = G19, 2 = G18

# G - Plane 1, 0 = G17, 1 = G19, 2 = G18

# H - Plane 2, 0 = G17, 1 = G19, 2 = G18

# Decimal (required)

# I - Plane 0, X axis, 0 = normal, 1 = switch sign from basic

# J - Plane 0, Y axis, 0 = normal, 1 = switch sign from basic

# K - Plane 0, Z axis, 0 = normal, 1 = switch sign from basic

# L - Plane 1, X axis, 0 = normal, 1 = switch sign from basic

# M - Plane 1, Y axis, 0 = normal, 1 = switch sign from basic

# N - Plane 1, Z axis, 0 = normal, 1 = switch sign from basic

# O - Plane 2, X axis, 0 = normal, 1 = switch sign from basic

# P - Plane 2, Y axis, 0 = normal, 1 = switch sign from basic

# Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic

#Columns- ABCDEFGH.IJKLMNOPQ #Turret/Spindle #Path Type

scase_tl_c1 10000222.000000000 #Top turret/Left spindle, Turning cut

scase_tl_c2 11000012.000000000 #Top turret/Left spindle, Right Face cut

scase_tl_c_2 11110012.000000000 #Top turret/Left spindle, Left Face cut

scase_tl_c3 10010102.000000000 #Top turret/Left spindle, Cross cut

scase_tl_c4c 10000111.000000000 #Top turret/Left spindle, Y axis subs. Cycle

scase_tl_c4 10000222.000000000 #Top turret/Left spindle, Y axis subs.

scase_tl_c5 10000222.000000000 #Top turret/Left spindle, Multisurf Rotary

 

#Columns- ABCDEFGH.IJKLMNOPQ

scase_bl_c1 10000222.000000000 #Bottom turret/Left spindle, Turning cut

scase_bl_c2 11000012.000000000 #Bottom turret/Left spindle, Right Face cut

scase_bl_c_2 11110012.000000000 #Bottom turret/Left spindle, Left Face cut

scase_bl_c3 10010102.000000000 #Bottom turret/Left spindle, Cross cut

scase_bl_c4c 10000111.000000000 #Bottom turret/Left spindle, Y axis subs. Cycle

scase_bl_c4 10000222.000000000 #Bottom turret/Left spindle, Y axis subs.

scase_bl_c5 10000222.000000000 #Bottom turret/Left spindle, Multisurf Rotary

 

#Columns- ABCDEFGH.IJKLMNOPQ

scase_tr_c1 10000222.000000000 #Top turret/Right spindle, Turning cut

scase_tr_c2 11000012.000000000 #Top turret/Right spindle, Right Face cut

scase_tr_c_2 11110012.000000000 #Top turret/Right spindle, Left Face cut

scase_tr_c3 10010102.000000000 #Top turret/Right spindle, Cross cut

scase_tr_c4c 10000111.000000000 #Top turret/Right spindle, Y axis subs. Cycle

scase_tr_c4 10000222.000000000 #Top turret/Right spindle, Y axis subs.

scase_tr_c5 10000222.000000000 #Top turret/Right spindle, Multisurf Rotary

 

#Columns- ABCDEFGH.IJKLMNOPQ

scase_br_c1 10000222.000000000 #Bottom turret/Right spindle, Turning cut

scase_br_c2 11000012.000000000 #Bottom turret/Right spindle, Right Face cut

scase_br_c_2 11110012.000000000 #Bottom turret/Right spindle, Right Face cut

scase_br_c3 10010102.000000000 #Bottom turret/Right spindle, Cross cut

scase_br_c4c 10000111.000000000 #Bottom turret/Right spindle, Y axis subs. Cycle

scase_br_c4 10000222.000000000 #Bottom turret/Right spindle, Y axis subs.

scase_br_c5 10000222.000000000 #Bottom turret/Right spindle, Multisurf Rotary


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