What's new
What's new

How to engrave with Mazatrol?

Casvin

Aluminum
Joined
Nov 29, 2006
Location
Massachusetts
I have a Nexus 510C with the Matrix control, and need to engrave some part numbers.
We program everything with mazatrol can this be done? Or what do we have to purchase and is it easy?
Thank you for the help.
 
as far as i know there is no engraving cycle or option in mazatrol. mazatrol mill is not very user friendly. we use eia for all milling and engraving. mazatrol lathe on the other hand is great.
the only machine i know of the has a fairly user friendly engraving program is haas
 
I have a Nexus 510C with the Matrix control, and need to engrave some part numbers.
We program everything with mazatrol can this be done? Or what do we have to purchase and is it easy?
Thank you for the help.

I purchased a nice little code generator from CNC Write - Rotary and Linear Axis Engraving. It was for use to engrave on my Nexus QTN250MSY. Ran the normal program in Mazatrol and then used a subprogram call to the generated eia program for the engraving.

I had to do a little research to hammer out the M & G codes for the "post", but it worked like a charm... engraving while wrapping around the OD and face engraving. I can't say how it would work on the 510 mill, but check it out and maybe it'll at least give you ideas if it won't work for ya.

Good luck.
 
If you have your points use a slot unit under face machining.Just describe your slot width the same as the tool width with no finish remainder.
 
the only machine i know of the has a fairly user friendly engraving program is haas

Don't forget the Fadal's. Though nobody ever uses it. And a canned cycle for serializing... Though nobody ever uses it.

Mazatrol, awesome on the lathes, but lacking on the mills. Awesome for hole patterns and simple stuff, but a PIA when
you need to do something tricky. And engraving shouldn't be tricky, but apparently it is on Mazatrol.

I'm surprised mazak hasn't added an engraving feature in Mazatrol, seems it would be relatively simple for them to do, and something
that a lot of people need.

I used to just make a manual unit if it was simple, if it was more than a few letters or #s I'd move it to a machine that we routinely programmed
in G-code. This is where an old CNC'd kneemill earns its keep as a support machine.
 
Easy as. You can even add macros to the soft keys when programming for easy use of macros and even assign arguments values with the touch of a few buttons. Then use argument values to position engraving and also use values to call subprograms etc. Matrix and matrix 2 controllers only. Maybe fusion but haven't tried one of those yet.
 
Just like all the other g code type brands . . . you need a simple cam system to generate a 2 or 3 d eia program. If you are not comfortable doing the engraving entirely with the eia program, as someone above suggested, use the WPC in a mazatrol program (no need for G54 etc) and call the eia prog as a sub. Works like a charm.
 
engraving

I have a Nexus 510C with the Matrix control, and need to engrave some part numbers.
We program everything with mazatrol can this be done? Or what do we have to purchase and is it easy?
Thank you for the help.
.
we have a mazatrol program and each unit is a letter or number
.
so when we want to engrave we copy a unit from the program into existing program then we use a offset for next unit, then offset for another unit, etc so you would get
123 instead of all three numbers on top of each other
by using offsets you control location of each number
.5,0,0
.625,0,0
.75,0,0
so numbers are spaced .125
........ so how was each number programmed? somebody took a cad program and found coordinates for lines and arc connecting points to draw each number or letter. once this initial programming is done (maybe 30 minutes of Cad work only done once) we used a simple excel spreadsheet to tell
unit 1 is 1
unit 2 is 2
unit 3 is 3
etc and
unit 10 is 0
same with letters...... so by have a chart in front of you so you know which program unit to copy into the existing program you want to add to and you use offsets to space the numbers or letters
......... we do not write a book with it. normally we just use for engraving part number. a 10 digit part number at 30 seconds each is about 5 minutes to add to a program the 10 numbers
 
My way takes about 1 minute to program 30 characters or so. Including positioning and text size etc etc.
 
My way takes about 1 minute to program 30 characters or so. Including positioning and text size etc etc.
.
programming on mazatrol using a mazak program unit for each letter or number and a offset to position each one is not the fastest but it works and costs nothing extra
when i say it takes 5 minutes to create a 10 digit engraving i am figuring being slow at doing it. it often only takes 2 or 3 minutes
.
again it cost nothing extra and is done at the mazak and can be programmed while the mazak is running a different program making parts
......... if it costs a couple hours extra per year my boss would just say good, in that i was doing something while the cnc was running rather than doing nothing
 
Anyone with a matrix or matrix 2 controller who wants to engrave with ease pm me and I'll send you the files you need. I'll even show you how to add a soft key programming function to make it simple as can be.
 
some mazaks do not fully support gcode or eia programming. i have used a machine where it would not accept a gcode from notepad in ascii text. it would say file not in correct format. even when we had software that said it was in mazak m32 mill format.
........ i believe you got to pay extra for full eia support
.
typing gcode into a mazatrol sub program will work but it can take a huge amount of time entering the gcode or eia. some software like Deskengrave will generate a huge file to make one letter. not something most would want to manually enter at the control
.
this is why it is easier to use a program where each unit is a number or letter and copy the mazak program units needed into the current program and use the mazatrol offset to position them. i always had the tool path drawn on the screen to make sure every thing looked ok. in mazatrol the letters and numbers are simple lines and arcs. the unit is small for each letter or number.
.
sure if machine supports macros and and you can use softkeys to program letters and number it is worth a try. just saying i am not sure all mazaks can do that. the EIA option or support cost extra money. if your machine does not have that option it will not fully support programming in EIA. for many this is no big deal as mazatrol once you get used to it is often 10x faster to program in expert experienced hands
 
N201
g109l1
m901
m200
m108
g90g53b0.0
m107
g0g90g94g97
g40g49g80g69
t[#114]t[#115]m6
s10000m3
g28x0
g28y0
g28z0
g17 g0 z20.
G0 x#101 c#111

(arg a)
if[#1eq#0]goto202
if[#1eq0]goto202
m98h#1

(arg b)
if[#2eq#0]goto202
if[#2eq0]goto202
m98h#2

(arg c)
if [#3eq#0] goto202
if [#3eq0] goto202
m98h#3

(arg d)
if [#4eq#0] goto202
if [#4eq0] goto202
m98h#4

(arg e)
if [#5eq#0] goto202
if [#5eq0] goto202
m98h#5

(arg f)
if [#6eq#0] goto202
if [#6eq0] goto202
m98h#6

(arg h)
if [#7eq#0] goto202
if [#7eq0] goto202
m98h#7

(arg i)
if [#8eq#0] goto202
if [#8eq0] goto202
m98h#8

(arg j)
if [#9eq#0] goto202
if [#9eq0] goto202
m98h#9

(arg k)
if [#11eq#0] goto202
if [#11eq0] goto202
m98h#11

(arg m)
if [#13eq#0] goto202
if [#13eq0] goto202
m98h#13

(arg q)
if [#17eq#0] goto202
if [#17eq0] goto202
m98h#17

(arg r)
if [#18eq#0] goto202
if [#18eq0] goto202
m98h#18

(arg s)
if [#19eq#0] goto202
if [#19eq0] goto202
m98h#19

(arg t)
if [#20eq#0] goto202
if [#20eq0] goto202
m98h#20

(arg u)
if [#21eq#0] goto202
if [#21eq0] goto202
m98h#21

(arg v)
if [#22eq#0] goto202
if [#22eq0] goto202
m98h#22

(arg w)
if [#23eq#0] goto202
if [#23eq0] goto202
m98h#23

(arg x)
if [#24eq#0] goto202
if [#24eq0] goto202
m98h#24

(arg y)
if [#25eq#0] goto202
if [#25eq0] goto202
m98h#25

(arg z)
if [#26eq#0] goto202
if [#26eq0] goto202
m98h#26

n202
g0 z#120+10.0
m05
m99

( a )
n1
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 y-1.5*#100 x5.*#100 f#109
g1 y-1.5*#100 x-5.*#100
g0 z#122
g1 y0.5*#100 x1.66*#100
g1 z#121 f#108
g1 y1.9*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99


( b )
n2
g0 x#101 y#102 c#111 z#120
g0 g91 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-1.75*#100
g2 y-1.25*#100 x-1.25*#100 r1.25*#100
g2 y1.25*#100 x-1.25*#100 r1.25*#100
g1 y1.75*#100
g1 y-1.75*#100
g2 y-1.25*#100 x-1.25*#100 r1.25*#100
g2 y1.25*#100 x-1.25*#100 r1.25*#100
g1 y1.75*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( c )
n3
g0 x#101 y#102 c#111 z#120
g91 g0 y-1.5*#100 x-1.5*#100
g1 z#121 f#108
g2 y1.25*#100 x-1.25*#100 r1.25*#100 f#109
g1 y.5*#100
g2 y1.25*#100 x1.25*#100 r1.25*#100
g1 x2.5*#100
g2 y-1.25*#100 x1.25*#100 r1.25*#100
g1 y-.5*#100
g2 y-1.25*#100 x-1.25*#100 r1.25*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( d )
n4
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-1.*#100
g2 y-2.*#100 x-2.*#100 r2.*#100
g1 x-1.*#100
g2 y2.*#100 x-2.*#100 r2.*#100
g1 y1.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( e )
n5
g0 x#101 y#102 c#111 z#120
g91 g0 y-1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 y3.*#100 f#109
g1 x5.*#100
g1 y-3.*#100
g0 z#122
g0 x-2.5*#100
g1 z#121 f#108
g1 y3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( f )
n6
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-3.*#100
g0 z#122
g0 x-2.5*#100
g1 z#121 f#108
g1 y3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( g )
n7
g0 x#101 y#102 c#111 z#120
g91 g1 z#121 f#108
g1 y-1.5*#100 f#109
g1 x-1.25*#100
g2 y1.25*#100 x-1.25*#100 r1.25*#100
g1 y.5*#100
g2 y1.25*#100 x1.25*#100 r1.25*#100
g1 x2.5*#100
g2 y-1.25*#100 x1.25*#100 r1.25*#100
g1 y-.65*#100
g2 y-1.1*#100 x-1.1*#100 r1.1*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( h )
n8
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 x-2.5*#100
g1 y-3*#100
g1 x2.5*#100
g1 x-5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( i )
n9
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 y-3.*#100 f#109
g1 y1.5*#100
g1 x5.*#100
g1 y1.5*#100
g1 y-3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( j )
n10
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-0.5*#100
g1 z#121 f#108
g1 x-.75*#100 f#109
g3 y-1.25*#100 x-1.25*#100 r1.25*#100
g1 y-.5*#100
g3 y-1.25*#100 x1.25*#100 r1.25*#100
g1 x3.75*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( k )
n11
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 x-5.*#100 f#109
g1 x2.*#100
g1 y-3*#100 x3.*#100
g1 y2.*#100 x-2.*#100
g1 y-2.*#100 x-3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( l )
n12
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 x-5.*#100 f#109
g1 y-3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( m )
n13
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-1.5*#100 x-4.*#100
g1 y-1.5*#100 x4.*#100
g1 x-5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( n )
n14
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-3*#100 x-5.*#100
g1 x5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( o )
n15
g0 x#101 y#102 c#111 z#120
g91 g0 x-2.5*#100
g1 z#121 f#108
g1 y.25*#100 f#109
g2 y1.25*#100 x1.25*#100 r1.25*#100
g1 x2.5*#100
g2 y-1.25*#100 x1.25*#100 r1.25*#100
g1 y-.5*#100
g2 y-1.25*#100 x-1.25*#100 r1.25*#100
g1 x-2.5*#100
g2 y1.25*#100 x-1.25*#100 r1.25*#100
g1 y.25*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( p )
n16
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-2*#100
g2 y-1.*#100 x-1.*#100 r1.*#100
g1 x-0.5*#100
g2 y1.*#100 x-1.*#100 r1.*#100
g1 y2.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( q )
n17
g0 x#101 y#102 c#111 z#120
g91 g0 x-2.5*#100
g1 z#121 f#108
g1 y.25*#100 f#109
g2 y1.25*#100 x1.25*#100 r1.25*#100
g1 x2.5*#100
g2 y-1.25*#100 x1.25*#100 r1.25*#100
g1 y-.5*#100
g2 y-1.25*#100 x-1.25*#100 r1.25*#100
g1 x-2.5*#100
g2 y1.25*#100 x-1.25*#100 r1.25*#100
g1 y.25*#100
g0 z#122
g0 y-0.5*#100 x1.5*#100
g1 z#121 f#108
g1 y-1.*#100 x-1.5*#100 f#109
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( r )
n18
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y-2.*#100
g2 y-1.*#100 x-1.*#100 r1.*#100
g1 x-0.5*#100
g2 y1.*#100 x-1.*#100 r1.*#100
g1 y2.*#100
g1 y-2.*#100
g1 y-1.*#100 x-2.5*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( s )
n19
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x-1.5*#100
g1 z#121 f#108
g3 y-1.*#100 x-1.*#100 r1.*#100 f#109
g1 y-1.*#100
g3 y-1.*#100 x1.*#100 r1.*#100
g1 x0.5*#100
g3 y1.*#100 x1.*#100 r1.*#100
g1 y1.*#100
g2 y1.*#100 x1.*#100 r1.*#100
g1 x0.5*#100
g2 y-1.*#100 x1.*#100 r1.*#100
g1 y-1.*#100
g2 y-1.*#100 x-1.*#100 r1.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( t )
n20
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-3.*#100 f#109
g1 y1.5*#100
g1 x-5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( u )
n21
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 x-3.5*#100 f#109
g3 y-1.5*#100 x-1.5*#100 r1.5*#100
g3 y-1.5*#100 x1.5*#100 r1.5*#100
g1 x3.5*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( v )
n22
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-1.5*#100 x-5.*#100 f#109
g1 y-1.5*#100 x5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( w )
n23
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-0.85*#100 x-5.*#100 f#109
g1 y-0.65*#100 x4.*#100
g1 y-0.65*#100 x-4.*#100
g1 y-0.85*#100 x5.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( x )
n24
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-3.*#100 x-5.*#100 f#109
g0 z#122
g0 x5.*#100
g1 z#121 f#108
g1 y3.*#100 x-5.*#100 f#109
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( y )
n25
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-1.5*#100 x-2.5*#100 f#109
g1 y-1.5*#100 x2.5*#100
g1 y1.5*#100 x-2.5*#100
g1 x-2.5*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( z )
n26
g0 x#101 y#102 c#111 z#120
g91 g0 y1.5*#100 x2.5*#100
g1 z#121 f#108
g1 y-3.*#100 f#109
g1 y3.*#100 x-5.*#100
g1 y-3.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 1 )
n101
g0 x#101 y#102 c#111 z#120
g91 g0 y-.5*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g2 y1.*#100 x-1.2*#100 r1.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 2 )
n102
g0 x#101 y#102 c#111 z#120
g91 g0 y-1.5*#100 x-2.5*#100
g1 z#121 f#108
g1 y3.*#100 f#109
g2 y-2.05*#100 x2.0*#100 r3.*#100
g3 y-1.45*#100 x1.3*#100 r1.65*#100
g3 y3.5*#100 x0*#100 r1.75*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 3 )
n103
g0 x#101 y#102 c#111 z#120
g91 g0 y1.6*#100 x1.35*#100
g1 z#121 f#108
g2 y-1.15*#100 x1.15*#100 r1.15*#100 f#109
g1 y-.9*#100
g2 y-0*#100 x-2.3*#100 r1.15*#100
g1 y.7*#100
g1 y-.7*#100
g2 y-0*#100 x-2.7*#100 r1.35*#100
g1 y.9*#100
g2 y1.35*#100 x1.35*#100 r1.35*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 4 )
n104
g0 x#101 y#102 c#111 z#120
g91 g0 y-.75*#100 x-2.5*#100
g1 z#121 f#108
g1 x5.*#100 f#109
g1 y2.5*#100 x-3.7*#100
g1 y-3.5*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 5 )
n105
g0 x#101 y#102 c#111 z#120
g91 g0 y-1.55*#100 x2.5*#100
g1 z#121 f#108
g1 y2.55*#100 f#109
g1 y.41*#100 x-2.48*#100
g2 y-2.98*#100 x-.9*#100 r1.62*#100
g2 y3.05*#100 x-.67*#100 r1.6*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 6 )
n106
g0 x#101 y#102 c#111 z#120
g91 g0 y1.6*#100 x-.9*#100
g1 z#121 f#108
g2 y-3.2*#100 x0*#100 r1.6*#100 f#109
g2 y3.2*#100 x0*#100 r1.6*#100
g1 x1.25*#100
g2 y-.1*#100 x.9*#100 r5.*#100
g2 y-1.71*#100 x1.26*#100 r1.8*#100
g2 y-1.29*#100 x-.9*#100 r1.4*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 7 )
n107
g0 x#101 y#102 c#111 z#120
g91 g0 y1.75*#100 x2.5*#100
g1 z#121 f#108
g1 y-3.5*#100 f#109
g3 y2.75*#100 x-5*#100 r8.*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 8 )
n108
g0 x#101 y#102 c#111 z#120
g91 g0 y-0.45*#100 x0.2*#100
g1 z#121 f#108
g1 y.9*#100 f#109
g2 y-0*#100 x2.3*#100 r1.15*#100
g1 y-.9*#100
g2 y-0*#100 x-2.3*#100 r1.15*#100
g2 y-0*#100 x-2.7*#100 r1.35*#100
g1 y.9*#100
g2 y-0*#100 x2.7*#100 r1.35*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 9 )
n109
g0 x#101 y#102 c#111 z#120
g91 g0 y-1.6*#100 x.9*#100
g1 z#121 f#108
g2 y3.2*#100 x0*#100 r1.6*#100 f#109
g2 y-3.2*#100 x0*#100 r1.6*#100
g1 x-1.25*#100
g2 y.1*#100 x-.9*#100 r5.*#100
g2 y1.71*#100 x-1.26*#100 r1.8*#100
g2 y1.29*#100 x.9*#100 r1.4*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( 0 )
n110
g0 x#101 y#102 c#111 z#120
g91 g0 y1.6*#100 x-.31*#100
g1 z#121 f#108
g1 x0.62*#100 f#109
g2 y-0.3*#100 x1.34*#100 r3.14*#100
g2 y-2.6*#100 x0*#100 r1.45*#100
g2 y-0.3*#100 x-1.34*#100 r3.14*#100
g1 x-0.62*#100
g2 y0.3*#100 x-1.34*#100 r3.14*#100
g2 y2.6*#100 x0*#100 r1.45*#100
g2 y0.3*#100 x1.34*#100 r3.14*#100
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( / )
n111
g0 x#101 y#102 c#111 z#120
g91 g0 y1*#100 x-2.5*#100
g1 z#121 f#108
g1 y-2.*#100 x5.*#100 f#109
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

( - )
n112
g0 x#101 y#102 c#111 z#120
g91 g0 y1.*#100
g1 z#121 f#108
g1 y-2.*#100 f#109
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

(blank space)
n113
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99

(decimal point)
n114
g0 x#101 y#102 c#111 z#120
g91 g0 x-2.5*#100
g1 z#121 f#108
g90 g0 z#120
#101=#101-#103
#102=#102-#104
#111=#111-#106
#151=#101
#152=#102
#153=#111
m99
 
(*****engraving letter values*****)

(a=1 b=2 c=3 d=4 e=5 f=6 g=7 h=8 i=9 j=10 k=11 l=12 m=13 n=14)
(o=15 p=16 q=17 r=18 s=19 t=20 u=21 v=22 w=23 x=24 y=25 z=26)

(*****engraving number values*****)

(1=101 2=102 3=103 4=104 5=105 6=106 7=107 8=108 9=109 0=110)

("/"=111)("-"=112)("space"=113)("."=n114)

(*****engraving variable setting*****)

#100=#1 (scale)
#101=#24 (x axis radial start position)
#102=#25 (y axis start position)
#103=#21 (spacing in x-axis for vertical face engraving)
#104=#22 (spacing in y-axis for horizontal face engraving)
#105=#2 (depth of engraving)
#107=#23 (spacing for c-axis for radial face engraving)
#108=#9 (z axis infeed rate mm/min)
#109=#8 (xy axis feedrate mm/min)
#111=#3 (c-axis start position)
#112=#26 (z-axis start position)
#113=#7 (relief z)
#114=#20 (tool number)
#115=#11 (tool offset number- input t001t".**"m6 data)

(*****calculations*****)

#120=#112+#113 (z start relief point)
#121=[#120+#105]*[-1.0] (z incremental cutting position)
#122=#112+#113+#105 (z incremental rapid position)
#123=#112-#105 (cutting depth)
#106=360/[2*3.142*[#101+2.5]]*#107 (spacing c)
m99
 
[EIAMACRO-1]
UnitName=ENGRAVE
MenuName= ENGRAVE XC
WNo.=10
Data1-1=T,TOOL #,TOOL #,0,0,0
Data1-2=H,OFFSET,TOOL OFFSET #,0,0,0
Data1-3=S,RPM,MILL SPINDLE RPM,0,0,0
Data1-4=D,SAFETY,Z AXIS CLEARANCE,0,0,0
Data2-1=E,XYFEED,XY AXIS FEED MM/MIN,0,0,0
Data2-2=F,ZFEED,Z AXIS FEED MM/MIN,0,0,0
Data2-3=B,DEPTH,DEPTH OF ENGRAVING,0,0,0
Data2-4=A,SCALE,SCALE/TEXT SIZE,0,0,0
Data3-1=C,C START,C AXIS START POSITION,0,0,0
Data3-2=X,X START,X AXIS START POSITION,0,0,0
Data3-3=Y,Y START,Y AXIS START POSITION,0,0,0
Data3-4=Z,Z START,Z AXIS START POSITION,0,0,0
Data4-1=U,SPACE V,VERTICAL TEXT SPACING,0,0,0
Data4-2=V,SPACE H,HORIZONTAL TEXT SPACING,0,0,0
Data4-3=W,SPACE A,SPACING FOR ARC TEXT,0,0,0
[EIAMACRO-2]
UnitName=ENGRAVE
MenuName=INPUT TEXT
WNo.=11
Data1-1=A,1,DATA 1,0,0,0
Data1-2=B,2,DATA 2,0,0,0
Data1-3=C,3,DATA 3, 0,0,0
Data1-4=I,4,DATA 4,0,0,0
Data2-1=J,5,DATA 5,0,0,0
Data2-2=K,6,DATA 6,0,0,0
Data2-3=D,7,DATA 7,0,0,0
Data2-4=E,8,DATA 8,0,0,0
Data3-1=F,9,DATA 9,0,0,0
Data3-2=H,11,DATA 10,0,0,0
Data3-3=M,13,DATA 11,0,0,0
Data3-4=Q,17,DATA 12,0,0,0
Data4-1=R,18,DATA 13,0,0,0
Data4-2=S,19,DATA 14,0,0,0
Data4-3=T,20,DATA 15,0,0,0
Data4-4=U,21,DATA 16,0,0,0
Data5-1=V,22,DATA 17,0,0,0
Data5-2=W,23,DATA 18,0,0,0
Data5-3=X,24,DATA 19,0,0,0
Data5-4=Y,25,DATA 20,0,0,0
Data6-1=Z,26,DATA 21,0,0,0


save this as EIAMACRO.txt and put it into the nrm*** whatever it is directory and if your machine is set to english put it in the eng folder. then set bit 3 of parameter 81 to on and restart machine. fucking easy as. save the first program as 11.eia and the second as 10.eia

when you go to program, when you push the right softkey a few times you will notice a couple of new options. set your text size, position etc through engrave xc and your text through input data. if you need more than 21 characters just insert another input data unit and it will continue where you left off.
 
.
we have a mazatrol program and each unit is a letter or number
.
so when we want to engrave we copy a unit from the program into existing program then we use a offset for next unit, then offset for another unit, etc so you would get
123 instead of all three numbers on top of each other
by using offsets you control location of each number
.5,0,0
.625,0,0
.75,0,0
so numbers are spaced .125
........ so how was each number programmed? somebody took a cad program and found coordinates for lines and arc connecting points to draw each number or letter. once this initial programming is done (maybe 30 minutes of Cad work only done once) we used a simple excel spreadsheet to tell
unit 1 is 1
unit 2 is 2
unit 3 is 3
etc and
unit 10 is 0
same with letters...... so by have a chart in front of you so you know which program unit to copy into the existing program you want to add to and you use offsets to space the numbers or letters
......... we do not write a book with it. normally we just use for engraving part number. a 10 digit part number at 30 seconds each is about 5 minutes to add to a program the 10 numbers

Hy, do you have the program witg the caracters? (letters and numbers) can you send them to me via email, or pm? We have 2 M32 Mazaks. We wish to write on them. Thank you in advance
 








 
Back
Top