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:

Direct 4 Axis Wire Sub program


savagkd
 Share

Recommended Posts

I'm having a bad time with a transform toolpath as subs.

Post is: Mitsubishi FA-Series 4X Wire.pst

 

I get:

 

%

L000

(10/01/08)

 

H1 =.0093

H2 =.0069

H3 =.0055

N100 G90

N110 G92 X.1 Y-1.26603

N120 G0 X.1 Y-1.26603

N130 M20

N140 M78 M78

N150 M80 M82 M84

N160 E1211 H1 F.16

N170 M90

N180 G22 L001

N190 G92 X-.88425

N200 E1212 H2 F.25

N210 G22 L002

N220 E1213 H3 F.16

N230 G22 L001

( ONE PART, WITH SUBS )

N220 G0 X.1 Y-1.26603

N230 G92 X.1 Y-1.26603

N240 M78 M78

N250 M80 M82 M84

N260 E1211 H1 F.16

N270 G22 L001

N280 G92 X-.88425

N290 E1212 H2 F.25

N300 G22 L002

N310 E1213 H3 F.16

N320 G22 L001

N310 M21

N320 M58

N330 M02

 

 

L001

N100 G92 X.1 Y-1.26603

N110 G90

N120 G42 G1 X0. Y-1.26603 U0. V0.

 

etc.

 

then L002,L001 again, L002 again.

 

the file is too large for the machine.

 

I Want:

 

 

L500

H1 =.0093

H2 =.0069

H3 =.0055

 

N1 G22 L501 P2

N2 M21

N3 M58

N4 M02

 

 

L501

N100 G90

N110 G92 X.1 Y-1.26603

N120 G0 X.1 Y-1.26603

N130 M20

N140 M78 M78

N150 M80 M82 M84

N160 E1219 H1 F.08

N161 E8607

N170 M90

N180 G42 G1 X0. Y-1.26603 U0. V0.

 

etc.

 

Am I missing something in the parameters, is there a setting in the post, or is this major post edit time?

 

Thanks

 

Keith

Link to comment
Share on other sites

hi keith,

i am still rather green at mx3 wire, but did a quick rectangle program with direct taper and came up with this program...i picked wire/power and got my settings. then in cut parameters, it is rough cut and checked box for 2 skims. in 4axis, i clicked direct taper and got this program..may be shorter than your 1st one..hope this helps.

herk

 

L001

(10/02/08)

 

H1 = .00890 H11 = 1231 H21 = .12

H2 = .00690 H12 = 1232 H22 = .2

H3 = .00550 H13 = 1233 H23 = .14

 

N100 G90

N110 Z1 = 0.

N120 Z2 = .5

N130 Z5 = 1.

N140 G92 X0. Y0.

N150 M20

N160 M78 M78

N170 M80 M82 M84

N180 EH11 FH21

N190 M90

N200 G41 H1 G1 X.26724 Y-.20729 U.02 V-.02

N210 G1 X.26724 Y.20729 U0. V.04

N220 G1 X-.26724 Y.20729 U-.04 V0.

N230 G1 X-.26724 Y-.20729 U0. V-.04

N240 G1 X.26724 Y-.20729 U.04 V0.

N250 G40 G1 X0. Y0. U-.02 V.02

N260 EH12 FH22

N270 M80 M82 M84

N280 G41 H2 G1 X.26724 Y-.20729 U.02 V-.02

N290 G1 X.26724 Y.20729 U0. V.04

N300 G1 X-.26724 Y.20729 U-.04 V0.

N310 G1 X-.26724 Y-.20729 U0. V-.04

N320 G1 X.26724 Y-.20729 U.04 V0.

N330 G40 G1 X0. Y0. U-.02 V.02

N340 EH13 FH23

N350 M80 M82 M84

N360 G41 H3 G1 X.26724 Y-.20729 U.02 V-.02

N370 G1 X.26724 Y.20729 U0. V.04

N380 G1 X-.26724 Y.20729 U-.04 V0.

N390 G1 X-.26724 Y-.20729 U0. V-.04

N400 G1 X.26724 Y-.20729 U.04 V0.

N410 G40 G1 X0. Y0. U-.02 V.02

N420 M91

N430 M85 M83 M81

N440 M21

N450 M58

N460 M02

%

Link to comment
Share on other sites

Thanks Herk. The problem is not so much the length of the cut program; it is the repetetive posting of the main and sub programs. I only need a short main with "G22 L501 P2" The sub is also repeating for each repetition. I can fit the program for 2 parts in memory, but not for 12 parts. It is running now with a lot of cut and paste, but I'd like to post and go.

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