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:

Fanuc post?


MIKE_B
 Share

Recommended Posts

If you look at my code here. On line N440 I want the "Z.35" on its own line after it positions to G55. I am using a modified Fanuc 3axis post. I can't seem to find where I need to adjust this.

 

 

code:

140 G0 G90 G54 X-14.348 Y3.557 S10000 M3

N150 G43 H5 Z.35 M8

N160 G98 G82 Z-.088 R.03 P200 F70.

N170 Y1.857

N180 Y.157

N190 Y-1.543

N200 Y-3.243

N210 Y-4.943

N220 X-12.798 Y-5.543

N230 X-10.998

N240 X-9.198

N250 X-7.398

N260 X-5.598

N270 X-3.798

N280 X-1.998

N290 X-.448 Y-4.943

N300 Y-3.243

N310 Y-1.543

N320 Y.157

N330 Y1.857

N340 Y3.557

N350 X-1.998 Y4.157

N360 X-3.798

N370 X-5.598

N380 X-7.398

N390 X-9.198

N400 X-10.998

N410 X-12.798

N420 G80

N430 Z1.

N440 G55 X2.132 Y6.2571 Z.35

N450 G98 G82 Z-.088 R.03 P200 F70.

N460 X3.832

N470 G80

Thnaks for taking a look

Mike

Link to comment
Share on other sites

Change this section

code:

ptlchg0$         #Call from NCI null tool change (tool number repeats)                        

pcom_moveb

pcheckaxis

c_mmlt$ #Multiple tool subprogram call

comment$

pcan

result = newfs(15, feed) #Reset the output format for 'feed'

pbld, n$, sgplane, e$

pspindchng

pbld, n$, scoolant, e$

if mi1$ > one & workofs$ <> prv_workofs$,

[

sav_absinc = absinc$

absinc$ = zero

pbld, n$, sgabsinc, pwcs, pfxout, pfyout, pfzout, e$

pe_inc_calc

ps_inc_calc

absinc$ = sav_absinc

]

if gcode$ = one, plinout

else, prapidout

pcom_movea

c_msng$ #Single tool subprogram call

to this

 

code:

ptlchg0$         #Call from NCI null tool change (tool number repeats)                        

pcom_moveb

pcheckaxis

c_mmlt$ #Multiple tool subprogram call

comment$

pcan

result = newfs(15, feed) #Reset the output format for 'feed'

pbld, n$, sgplane, e$

pspindchng

pbld, n$, scoolant, e$

if mi1$ > one & workofs$ <> prv_workofs$,

[

sav_absinc = absinc$

absinc$ = zero

pbld, n$, sgabsinc, pwcs, pfxout, pfyout, e$, <----------

pbld, n$ pfzout, e$ <---------------------------------

pe_inc_calc

ps_inc_calc

absinc$ = sav_absinc

]

if gcode$ = one, plinout

else, prapidout

pcom_movea

c_msng$ #Single tool subprogram call

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