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:

Question about fanuc oi-md controller


Recommended Posts

I am running a fanuc oi-md controller and it has a side tool changer. To get it to prep itself for the next tool I have to show the program like this

 

T1M6;

T2;

 

Then it will prep the side changer to be waiting for the next tool. My question is on my haas all I have to do is make sure there isnt any M0 and it will prep it automatically without adding it to the program. Does any one know if the fanuc does something along this line so I dont have to fat finger my programs? Thanks in advance.

Link to comment
Share on other sites

I changed my post here is this the only place I need to change it? Where I changed it I turned red.

 

# General Output Settings

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

sub_level$ : 1 #CD_VAR Enable automatic subprogram support

breakarcs$ : 2 #CD_VAR Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs

arctype$ : 2 #CD_VAR Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.,

#5 = R no sign, 6 = R signed neg. over 180

do_full_arc$ : 0 #CD_VAR Allow full circle output? 0=no, 1=yes

helix_arc$ : 2 #CD_VAR Support helix arc output, 0=no, 1=all planes, 2=XY plane only

arccheck$ : 1 #CD_VAR Check for small arcs, convert to linear

atol$ : 0.01 #CD_VAR Angularity tolerance for arccheck

ltol$ : 0.002 #CD_VAR Length tolerance for arccheck

vtol$ : 0.0001#System tolerance

maxfeedpm : 500 #SET_BY_MD Limit for feed in inch/min

ltol_m : 0.05 #Length tolerance for arccheck, metric

vtol_m : 0.0025#System tolerance, metric

maxfeedpm_m : 10000 #SET_BY_MD Limit for feed in mm/min

force_wcs : yes$ #Force WCS output at every toolchange?

spaces$ : 1 #CD_VAR Number of spaces to add between fields

omitseq$ : yes$ #CD_VAR Omit sequence numbers?

seqmax$ : 9999 #CD_VAR Max. sequence number

stagetool : 1 #SET_BY_CD 0 = Do not pre-stage tools, 1 = Stage tools

stagetltype : 1 #0 = Do not stage 1st tool

#1 = Stage 1st tool at last tool change

#2 = Stage 1st tool at end of file (peof)

use_gear : 0 #Output gear selection code, 0=no, 1=yes

min_speed : 50 #SET_BY_MD Minimum spindle speed

nobrk$ : no$ #CD_VAR Omit breakup of x, y & z rapid moves

progname$ : 1 #Use uppercase for program name (sprogname)

prog_stop : 1 #Program stop at toolchange: 0=None, 1=M01, 2 = M00

tool_info : 2 #Output tooltable information?

#0 = Off - Do not output any tool comments or toolpable

#1 = Tool comments only

#2 = Tooltable in header - no tool comments at T/C

#3 = Tooltable in header - with tool comments at T/C

tlchg_home : no$ #Zero return X and Y axis prior to tool change?

Link to comment
Share on other sites

Here is a example of the program it does. I am not sure why its not.

 

%

O0000(5700-644-83 OP1)

( T1 | 1/2 FLAT ENDMILL | H1 )

( T2 | 11/32 DRILL | H2 )

( T3 | 5/16 DRILL | H3 )

( T4 | 3/8-16 TAPRH | H4 )

N1 G20

N2 G0 G17 G40 G49 G80 G90

N3 T1 M6

N4 G0 G90 G54 X.25 Y-3.06 S3000 M3

N5 G43 H1 Z2. M8

N6 M8

N7 Z.1

N8 G1 Z-.7 F50.

N9 Y-2.76 F25.

N10 G2 X-.26 Y-2.25 R.51

N11 G1 Y-.25

N12 G2 X.25 Y.26 R.51

N13 G1 Y.56

N14 G0 Z.25

N15 Y-3.05

N16 Z.1

N17 G1 Z-.7 F50.

N18 Y-2.75 F25.

N19 G2 X-.25 Y-2.25 R.5

N20 G1 Y-.25

N21 G2 X.25 Y.25 R.5

N22 G1 Y.55

N23 G0 Z2.

N24 M9

N25 M5

N26 G91 G28 Z0. M9

N27 M01

N28 T2 M6

N29 G0 G90 G54 X1. Y-1.875 S1000 M3

N30 G43 H2 Z2. M8

N31 M8

N32 G98 G81 Z-.6 R.1 F10.

N33 Y-.625

N34 G80

N35 M9

N36 M5

N37 G91 G28 Z0. M9

N38 M01

N39 T3 M6

N40 G0 G90 G54 X4.5 Y-.625 S1000 M3

N41 G43 H3 Z2. M8

N42 M8

N43 G98 G81 Z-.6 R.1 F10.

N44 G80

N45 M9

N46 M5

N47 G91 G28 Z0. M9

N48 M01

N49 T4 M6

N50 G0 G90 G54 X4.5 Y-.625 S300 M3

N51 G43 H4 Z2. M8

N52 M8

N53 G98 G84 Z-1.15 R.2 F18.75

N54 G80

N55 M9

N56 M5

N57 G91 G28 Z0. M9

N58 G28 Y0.

N59 M30

%

Link to comment
Share on other sites
  • 2 weeks later...

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