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:

Mastercam and Morbidelli Router


jmdsilva
 Share

Recommended Posts

Hi there Everyone,

 

I'm from Portugal and I've been working and learning Mastercam for a few months in the company where i work, we have a CNC router with Fanuc Controller and everything works has it should.

 

A couple of months ago a friend of mine asked me to help him programming a wood CNC, a Morbidelli Author xxxxx (I don´t know the model exactly) and i just can't get the thing running. The machine has a USB port to import the files that are created externally.

 

I need some help to get the thing right, can you please tell me how do i import the g code from Mastercam to the machine? Your help would be very appreciated.

 

Thanks in advance.

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

here is some sample code

change file extension to .XXL

you should be able to open and edit in Xilog

the machine will save as .pgm

 

you may have to remove the XPL line this is for a 5x machine

 

 

 

 

 

 

 

 

 

H DX=23 DY=12 DZ=.5 -A C=0 T=0 R=1 *IN /"DEF" BX=0. BY=0. BZ=0.
;T=102 | 1/4 O-FLUTE ENDMILL       | H102 | D102 | D0.2450" |         | CONTOUR....
SET ZFAST=.1
C=0
F=1
C=0
XPL X=0 Y=0 Z=.5 Q=0. R=0.
XG0 X=-.3775 Y=5.8775 Z=-.75 V=1270 S=10000 T=102 D=.1 E=0#
XL2P X=-.255 V=2540
XAR2 X=-.1325 Y=6 r=.1225 G=3
XL2P Y=12
XAR2 X=0 Y=12.1325 r=.1325 G=2
XL2P X=23
XAR2 X=23.1325 Y=12 r=.1325 G=2
XL2P Y=0
XAR2 X=23 Y=-.1325 r=.1325 G=2
XL2P X=0
XAR2 X=-.1325 Y=0 r=.1325 G=2
XL2P Y=6
XAR2 X=-.255 Y=6.1225 r=.1225 G=3
XL2P X=-.3775
XG0 X=-.3775 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#
XL2P X=-.255 V=2540
XAR2 X=-.1325 Y=6 r=.1225 G=3
XL2P Y=12
XAR2 X=0 Y=12.1325 r=.1325 G=2
XL2P X=23
XAR2 X=23.1325 Y=12 r=.1325 G=2
XL2P Y=0
XAR2 X=23 Y=-.1325 r=.1325 G=2
XL2P X=0
XAR2 X=-.1325 Y=0 r=.1325 G=2
XL2P Y=6
XAR2 X=-.255 Y=6.1225 r=.1225 G=3
XL2P X=-.3775
XG0 X=-.3775 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#
XL2P X=-.255 V=2540
XAR2 X=-.1325 Y=6 r=.1225 G=3
XL2P Y=12
XAR2 X=0 Y=12.1325 r=.1325 G=2
XL2P X=23
XAR2 X=23.1325 Y=12 r=.1325 G=2
XL2P Y=0
XAR2 X=23 Y=-.1325 r=.1325 G=2
XL2P X=0
XAR2 X=-.1325 Y=0 r=.1325 G=2
XL2P Y=6
XAR2 X=-.255 Y=6.1225 r=.1225 G=3
XL2P X=-.3775
XG0 X=-.3675 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#
XL2P X=-.245 V=2540
XAR2 X=-.1225 Y=6 r=.1225 G=3
XL2P Y=12
XAR2 X=0 Y=12.1225 r=.1225 G=2
XL2P X=23
XAR2 X=23.1225 Y=12 r=.1225 G=2
XL2P Y=0
XAR2 X=23 Y=-.1225 r=.1225 G=2
XL2P X=0
XAR2 X=-.1225 Y=0 r=.1225 G=2
XL2P Y=6
XAR2 X=-.245 Y=6.1225 r=.1225 G=3
XL2P X=-.3675
XPL X=0 Y=0 Z=0 Q=0. R=0.
.END
 

  • Like 1
Link to comment
Share on other sites

here is some sample code

change file extension to .XXL

you should be able to open and edit in Xilog

the machine will save as .pgm

 

you may have to remove the XPL line this is for a 5x machine

 

 

 

 

 

 

 

 

 

H DX=23 DY=12 DZ=.5 -A C=0 T=0 R=1 *IN /"DEF" BX=0. BY=0. BZ=0.

;T=102 | 1/4 O-FLUTE ENDMILL       | H102 | D102 | D0.2450" |         | CONTOUR....

SET ZFAST=.1

C=0

F=1

C=0

XPL X=0 Y=0 Z=.5 Q=0. R=0.

XG0 X=-.3775 Y=5.8775 Z=-.75 V=1270 S=10000 T=102 D=.1 E=0#

XL2P X=-.255 V=2540

XAR2 X=-.1325 Y=6 r=.1225 G=3

XL2P Y=12

XAR2 X=0 Y=12.1325 r=.1325 G=2

XL2P X=23

XAR2 X=23.1325 Y=12 r=.1325 G=2

XL2P Y=0

XAR2 X=23 Y=-.1325 r=.1325 G=2

XL2P X=0

XAR2 X=-.1325 Y=0 r=.1325 G=2

XL2P Y=6

XAR2 X=-.255 Y=6.1225 r=.1225 G=3

XL2P X=-.3775

XG0 X=-.3775 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#

XL2P X=-.255 V=2540

XAR2 X=-.1325 Y=6 r=.1225 G=3

XL2P Y=12

XAR2 X=0 Y=12.1325 r=.1325 G=2

XL2P X=23

XAR2 X=23.1325 Y=12 r=.1325 G=2

XL2P Y=0

XAR2 X=23 Y=-.1325 r=.1325 G=2

XL2P X=0

XAR2 X=-.1325 Y=0 r=.1325 G=2

XL2P Y=6

XAR2 X=-.255 Y=6.1225 r=.1225 G=3

XL2P X=-.3775

XG0 X=-.3775 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#

XL2P X=-.255 V=2540

XAR2 X=-.1325 Y=6 r=.1225 G=3

XL2P Y=12

XAR2 X=0 Y=12.1325 r=.1325 G=2

XL2P X=23

XAR2 X=23.1325 Y=12 r=.1325 G=2

XL2P Y=0

XAR2 X=23 Y=-.1325 r=.1325 G=2

XL2P X=0

XAR2 X=-.1325 Y=0 r=.1325 G=2

XL2P Y=6

XAR2 X=-.255 Y=6.1225 r=.1225 G=3

XL2P X=-.3775

XG0 X=-.3675 Y=5.8775 Z=-1 V=1270 S=10000 T=102 D=.1 E=0#

XL2P X=-.245 V=2540

XAR2 X=-.1225 Y=6 r=.1225 G=3

XL2P Y=12

XAR2 X=0 Y=12.1225 r=.1225 G=2

XL2P X=23

XAR2 X=23.1225 Y=12 r=.1225 G=2

XL2P Y=0

XAR2 X=23 Y=-.1225 r=.1225 G=2

XL2P X=0

XAR2 X=-.1225 Y=0 r=.1225 G=2

XL2P Y=6

XAR2 X=-.245 Y=6.1225 r=.1225 G=3

XL2P X=-.3675

XPL X=0 Y=0 Z=0 Q=0. R=0.

.END

 

Thanks for your reply doug. I actually did something similar to what you suggest but an awkward thing happened, i tell what i did. My friend has some ".pgm" examples which actually work fine, i oppened those programs and saved them to .xxl, oppened with Xilog, then saved to .pgm once again and the program did not work on my friend's machine :/. I'll post the examples here for you to see if you don't mind.

 

- https://www.dropbox.com/s/6g1lyn8b9jp67tz/CABORTHO_CONVERTEDFROMXXL.pgm?dl=0

https://www.dropbox.com/s/hddec7orwttd2cz/CABORTHO_WORKING.PGM?dl=0

https://www.dropbox.com/s/te40huuby7q5glk/CABORTHO_XXL.xxl?dl=0

 

Many Thanks!!!

Link to comment
Share on other sites

the only thing i see is the header

it should be all one line

the header is the most critical line in the program

 

from your .xxl

 

H DX=1020 DY=600 DZ=25 -A R100 /DEF
O X=0.5 Y=350 Z=-10

 

the "D" values are part size

-A and R are table Zone

DEF is tool file   should be "DEF"

BX BY BZ is a coordinate shift on machine

 

only thing i can suggest is open the file in Xilog on the machine

make sure the dialog boxes or filled in

with all these values

 

the version of xilog these programs come from may be different than yours

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