Anda di halaman 1dari 347

Introduction

2. Introducing CNC machining systems


Rev 1.84-A2 2-1 Using Mach3Mi
Um guia de usurio para instalao, configurao e operao Usando Mach3Mill
Todas as dvidas, comentrios e sugestes so benvindas via support@artofcncca
Mach !evelopers "et#or$ %Mach!"& est hospedado em'
http'((###machsupportcom
) *enert+ ,rt -..3(/(0(1 e 2ohn 3rentice
4apa' , fresa vertical de 565/

7sta verso 8 para Mach3Mill 9elease 5:/
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
T9,!U;<=
, traduo deste te>to foi reali?ado por 9oberto @a?en #a?en@oicombr com obAetivo maior
de aprender o Mach3
"o foi reali?ado uma traduo para BualBuer outro obAetivo 7nto se vc esta tendo acesso a
este te>to, ateno com detalhes Bue possam causar preAuiso de BualBuer forma, pois no
aceitaremos a responsabilidade
7ste te>to foi tradu?ido por engine e revisto de forma a atender da melhor forma possCvel cada
aspecto t8cnico e o sentido de cada assunto
Dempre use como te>to principal o te>to em EnglFs
De vc de alguma forma puder colaborar para a melhoria desta traduo, todos agradecemos
Gasta nos enviar no email acima suas observaes
Metodologia da traduo'
3ara facilitar o entendimento e cobrir falhas da traduo, intercalaremos o te>to em inglFs e em
seguida o te>to tradu?ido
4omo incluCmos o te>to tradu?ido no original em inglFs, procuramos fa?eHlo tanto Buanto
possCvel perto de cada tIpico
Esto dificultou a formatao em virtude dos grficos e>istentes
!ei>amos a crit8rio do usurio, preparar uma cIpia mais seletiva, e a seu crit8rio
=s Cndices inicial e final no foram revisados
((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2
4ontedo
5 3refcio .5(.5
- Entroduo em sistemas de usinagem 4"4 .5(.-
-5 4omponentes de um sistema de maBuinas .5(.-
-- 4omo Mach3 se encai>a dentro .-(.-
3 Uma viso geral do soft#are Mach3 Machine 4ontroller .5(.3
35 Enstalao .5(.3
355 Gai>ando .5(.3
35- Enstalando .5(.3
353 , fundamental reiniciali?ao do sistema .-(.3
35/ 4onveniente Ccones .-(.3
350 Teste da instalao .3(.3
351 Test !river apIs um acidente Mach3 ./(.3
35J "otas para a instalao manual do driver e desinstalao ./(.3
Telas de 3,- ./(.3
3-5 Tipos de obAeto nas telas .0(.3
3-- Usando os botes e atalhos .0(.3
3-3 , entrada de dados para !9= .1(.3
3,3 2ogging .1(.3
3,/ Manual de entrada de dados %M!E& e ensino .J(.3
3/5 M!E .J(.3
3/- 7nsino .J(.3
3,0 @i?ards H 4,M sem um soft#are 4,M dedicado .:(.3
3,1 7>ecutando um programa em cIdigo K 5.(.3
3,J mostrar caminho da ferramenta 55(.3
3J5 Lisuali?ando o toolpath 55(.3
3J- Deparando e ampliando a e>ibio toolpath 55(.3
=utras caracterCsticas Tela 3,: 55(.3
/ problemas de hard#are e conectar a mBuinaHferramenta .5(./
/5 Degurana H salientou .5(./
/,- Mach3 Bue pode controlar .5(./
= controle de /,3 obstruir .-(./
// , porta paralela do 34 .3(./
//5 , porta paralela e sua histIria .3(./
//- sinais Mogic .3(./
//3 = ruCdo el8trico e do fumo caro ./(./
/,0 ,>is opes unidade .0(./
/05 Dteppers e Dervos .0(./
/0- *a?endo clculos ,>is unidade .1(./
/03 4omo o passo e sinais !ir trabalho .J(./
Mimite de /,1 e Nome s#itches .:(./
/15 7strat8gias .:(./
/1- ,s opes .:(./
/13 "o caso de montar os s#itches .6(./
/1/ s#itches 4omo Mach3 usa compartilhada 5.(./
Introduction
2. Introducing CNC machining systems
Rev 1.84-A2 2-1 Using Mach3Mi
/10 9eferenciao em ao 5.(./
/11 Nome =utras opes Mimite e dicas 55(./
/J 4ontrole 7i>o 55(./
9efrigerante /,: 53(./
/,6 controle de direo Onife 53(./
/,5. sonda !igitali?e 53(./
Minear /,55 %escala de vidro& encoders 53(./
Pndice de /,5- pulso 7i>o 5/(./
/,53 Ta>a da bomba H um monitor de pulso 50(./
=utras funes /,5/ 50(./
0 4onfigurao Mach3 para sua mBuina e unidades .5(.0
05 , estrat8gia de configurao .5(.0
0,- configurao inicial .5(.0
0-5 !efinio de endereos de porta %s& para usar .5(.0
0-- !efinio de freBQFncia do motor .-(.0
0-3 !efinio de caracterCsticas especiais .-(.0
0,3 !efinio entrada e saCda de sinais de Bue vocF ir usar .-(.0
035 7i>o e sinais de saCda do ei>o a ser usado .-(.0
03- =s sinais de entrada a ser utili?ado .3(.0
033 emulado sinais de entrada ./(.0
03/ Dinais de saCda .0(.0
030 !efinindo entradas encoder .0(.0
0305 7ncoders .0(.0
030- M3Ks .1(.0
031 4onfigurando o fuso .1(.0
0315 controle refrigerante .1(.0
031- 7i>o de controle de rel8 .1(.0
0313 4ontrole Motor .1(.0
031/ controle Modbus ei>o .J(.0
0310 3arRmetros gerais .J(.0
0311 relaes 3ulle+ .J(.0
031J *uno especial .J(.0
03J Mill guia =pes .:(.0
03: Teste .6(.0
!efinindo a 0,/ unidades de instalao .6(.0
0,0 motores Tuning 5.(.0
005 4alcular os passos por unidade 5.(.0
0055 unidade de calcular mecRnica 5.(.0
005- 4lculo passos por revoluo motor 55(.0
0053 4lculo etapas Mach3 por motor revoluo 55(.0
005/ etapas Mach3 por unidade 55(.0
00- !efinir a velocidade m>ima do motor 5-(.0
00-5 testes prticos da velocidade do motor 5-(.0
00-- Motor clculos de velocidade m>ima 53(.0
00-3 configurao automtica de passos por unidade 53(.0
003 !ecidir sobre a acelerao 5/(.0
0035 in8rcia e as foras 5/(.0
003- Teste diferentes valores de acelerao 5/(.0
0033 3or Bue vocF Buer evitar um erro grande servo 5/(.0
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2
003/ 7scolhendo um valor de acelerao 5/(.0
00/ Dalvando e testando ei>o 5/(.0
000 9epita a configurao de ei>os 50(.0
001 configurao do motor do ei>o 51(.0
0015 Lelocidade do motor, velocidade do ei>o e polias 51(.0
001- , largura de pulso modulada controlador de ei>o 5J(.0
0013 7tapa e controlador de ei>o !ireo 5J(.0
001/ Teste da unidade spindle 5:(.0
=utros 0,1 configurao 5:(.0
015 4onfigure e homing D=*TMEMETD 5:(.0
0155 velocidades de 9eferFncia e direo 5:(.0
015- 3osio dos interruptores casa 5:(.0
0153 4onfigurar Doft Mimits 5:(.0
015/ K-: 9esidFncia 56(.0
01- 4onfigure Not$e+s D+stem 56(.0
013 4onfigure Gac$lash 56(.0
01/ 4onfigure Dlaving -.(.0
010 4onfigurar o caminho da ferramenta -.(.0
011 4onfigure 7stado inicial -5(.0
01J 4onfigure outros itens Mogic -3(.0
0J 4omo as informaes so arma?enadas perfil -/(.0
1 controles Mach3 e e>ecuo de um programa da pea .5(.1
15 Entroduo .5(.1
1- 4omo os controles so e>plicadas neste capCtulo .5(.1
1-5 Tela de comutao controles .5(.1
1-55 9eset .5(.1
1-5- Mabels .5(.1
1-53 Tela botes de seleo .-(.1
1-- *amClia de 4ontrole do 7i>o .-(.1
1--5 valor 4oordenar !9= .-(.1
1--- referenciado .-(.1
1--3 Machine coordenadas .3(.1
1--/ 7scala .3(.1
1--0 D=*TMEMETD .3(.1
1--1 Lerificar .3(.1
1--J !iRmetro ( 9aio correo .3(.1
1-3 SMover paraS controles .3(.1
1-/ M!E e ensinar o controle da famClia .3(.1
1-0 *amClia de 4ontrole 2ogging ./(.1
1-05 Aogging Not$e+ ./(.1
1-0- porta paralela ou Modbus Aogging M3K .0(.1
1-03 7i>o famClia de controlo de velocidade .0(.1
1-1 *amClia de 4ontrole *eed .0(.1
1-15 Unidades de ,limentao por minuto .0(.1
1-1- Unidades de ,limentao por rev .1(.1
1-13 mostrar *eed .1(.1
1-1/ *eed substituir .1(.1
1-J 3rograma de controle da famClia de durao .1(.1
1-J5 4+cle Dtart .1(.1
Introduction
2. Introducing CNC machining systems
Rev 1.84-A2 2-1 Using Mach3Mi
1-J- *eedNold .1(.1
1-J3 Dtop .J(.1
1-J/ 9e#ind .J(.1
1-J0 Dingle GMO .J(.1
1-J1 7>ecutar 9everse .J(.1
1-JJ nmero da linha .J(.1
1-J: 7>ecutar daBui .J(.1
1-J6 linha Det prI>imo .J(.1
1-J5. 7>cluir Gloco .J(.1
1-J55 parada opcional .:(.1
1-: controle de arBuivo da famClia .:(.1
1-6 *erramenta detalhes .:(.1
1-5. KH4ode e famClia caminho da ferramenta de controle .:(.1
1-55 Trabalho offset e uma ferramenta de controle familiar tabela .6(.1
1-555 =ffsets Trabalho .6(.1
1-55- *erramentas 5.(.1
1-553 ,cesso directo T =ffset Uuadros 5.(.1
1-5- controle de rotao famClia !iRmetro 5.(.1
1-53 famClia controlo tangencial 55(.1
1-5/ Mimites e controle de diversas famClia 55(.1
1-5/5 ativao 7ntrada / 55(.1
1-5/- limites Dubstituir 55(.1
1-50 Distema de controle de configuraes de famClia 55(.1
1-505 Unidades 5-(.1
1-50- Dafe V 5-(.1
1-503 Mode 4L ( Mimite ,ngular 5-(.1
1-50/ =ffline 5-(.1
1-51 famClia codificador controle 5-(.1
1-5J controle automtico da famClia V 5-(.1
1-5: Maser famClia saCda Trigger 53(.1
1-56 famClias controles personali?ados 53(.1
1,3 @i?ards Usando 5/(.1
1,/ 4arregando um programa parte do KW4ode 50(.1
7dio de 1,0 parte de um programa 51(.1
1,1 Manual preparao e e>ecuo de um programa da pea 51(.1
115 Entroduo de um programa escrito T mo 51(.1
11- ,ntes de e>ecutar um programa da pea 51(.1
113 7>ecutando o programa 5J(.1
1,J 7difCcio KW4ode importando outros arBuivos 5J(.1
J =s sistemas de coordenadas, ferramentas e utensClios de mesa .5(.J
MBuina de J,5 sistema de coordenadas .5(.J
J,- offsets Trabalho .-(.J
J-5 !efinio de Trabalho de origem para um determinado ponto .3(.J
J-- 4asa em uma mBuina prtica ./(.J
J,3 Uue sobre os diferentes comprimentos de ferramenta X ./(.J
J35 ferramentas 3resettable .0(.J
J3- ferramentas no 3resettable .0(.J
J/ 4omo os valores de deslocamento so arma?enados .0(.J
J,0 sorteio de e>emplares H 2ogos .1(.J
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2
J,1 3racticalities de STouching S .J(.J
moinhos J15 *inal .J(.J
J1- encontrar 7dge .J(.J
J,J K0- e K6- offsets .J(.J
JJ5 Usando K0- .:(.J
JJ- Usando K6- .6(.J
JJ3 Tome cuidado com K0- e K6- .6(.J
J,: de diRmetro Tool .6(.J
: !Y*, N3KM e importao de arBuivo de imagem .5(.:
:5 Entroduo .5(.:
:,- importao !Y* .5(.:
:-5 4arregando o arBuivo .-(.:
:-- !efinio de ao para as camadas .-(.:
:-3 =pes de converso .3(.:
:-/ Kerao de cIdigo K .3(.:
:,3 N3KM importao ./(.:
:35 Dobre N3KM ./(.:
:3- 7scolher arBuivo para importao ./(.:
:33 parRmetros de importao .0(.:
:3/ 7screvendo o cIdigo KHfile .0(.:
:,/ importao de bitmap %GM3 e 237K& .1(.:
:/5 7scolher arBuivo para importao .1(.:
:/- 7scolha o tipo de prestao de .1(.:
:/3 raster e renderi?ao em espiral .J(.:
:// difuso de renderi?ao !ot .J(.:
:/0 7screvendo o cIdigo KHfile .J(.:
6 4ortador de compensao .5(.6
65 Entroduo T indemni?ao .5(.6
6,- !ois tipos de 4ontour .-(.6
6-5 7dge Material 4ontour .-(.6
6-- 3ath Tool 4ontour .-(.6
6-3 3rogramao Move 7ntrada .3(.6
5. Mach - KHreferFncia da linguagem e cIdigo MH ./(5.
,lgumas definies 5.,5 ./(5.
5.55 Minear Machados ./(5.
7i>os de rotao 5.5- ./(5.
5.53 entrada Dcaling ./(5.
5.5/ 3oint controlada ./(5.
5.50 coordenada Minear Motion .0(5.
5.51 Ta>a *eed .0(5.
5.5J 3roposta ,rc .0(5.
5.5: refrigerante .0(5.
5.56 Nabitao .1(5.
5.55. Unidades .1(5.
5.555 3osio ,tual .1(5.
5.55- plano selecionado .1(5.
5.553 Table Tool .1(5.
5.55/ ,lterar Tool .1(5.
Introduction
2. Introducing CNC machining systems
Rev 1.84-A2 2-1 Using Mach3Mi
5.550 Dhuttle 3allet .1(5.
5.551 4aminho Modos de 4ontrole .1(5.
5.,- Enterao com controles Ent8rprete .J(5.
5.-5 *eed e Dpeed controles Dubstituir .J(5.
5.-- bloco de controle !elete .J(5.
5.-3 3rograma de controle opcional Dtop .J(5.
5.,3 *ile Tool .J(5.
5./ , linguagem dos programas co .J(5.
5./5 Liso .J(5.
5./- 3arRmetros .:(5.
5./3 Distemas de 4oordenadas .6(5.
5.,0 *ormato de uma linha 5.(5.
5.05 "mero Mine 5.(5.
5.0- rItulos Dubroutine 5.(5.
5.03 @ord 5.(5.
5.035 "mero 5.(5.
5.03- Lalor 3arRmetro 55(5.
5.033 e>presses e operaes binrias 55(5.
5.03/ 9elao operao unria 5-(5.
5.0/ 3arametri?ao 5-(5.
5.00 comentrios e mensagens 5-(5.
Etem 5.01 9epete 5-(5.
Etem 5.0J fim 53(5.
5.0: 4omandos e Modos Machine 53(5.
Krupos 5.,1 Modal 53(5.
5.,J 4Idigos K 5/(5.
5.J5 movimento rpido Minear H K. 51(5.
5.J- Movimentao Minear na Ta>a de alimentao H K5 51(5.
5.J3 ,rc no *eed 9ate H K- e K3 5J(5.
5.J35 *ormato 9adius ,rc 5J(5.
5.J3- *ormato 4entro ,rco 5J(5.
5.J/ !#ell H K/ 5:(5.
5.J0 !efinir Distema de 4oordde !ados Tool e mesas de trabalho offset H K5. 5:(5.
5.J1 Norrio ( bolso circular antiHhorrio H K5- e K53 56(5.
5.JJ sair e entrar 3olar modo H K50 e K51 56(5.
5.J: Deleo 3lane H K5J, K5:, K56 e -.(5.
5.J6 unidades de comprimento H K-. e K-5 -.(5.
5.J5. 9etornar ao Nome H K-: e K3. -.(5.
5.J55 ei>os de referFncia K-:5 -.(5.
5.J5- 3robe Dtraight H K35 -.(5.
5.J5-5 = comando 3robe Dtraight -.(5.
5.J5-- Usando o comando 3robe Dtraight -5(5.
5.J5-3 7>emplo de cIdigo -5(5.
5.J53 4ompensao 4utter 9adius H K/., K/5 e K/- --(5.
5.J5/ *erramenta afastamentos de comprimento H K/3, K// e K/6 -3(5.
5.J50 7scala K0. e K05 fatores -3(5.
5.J51 temporrios do sistema de coordenadas offset H K0- -3(5.
5.J5J Move em coordenadas absolutas H K03 -3(5.
5.J5: Delecione Trabalho =ffset Distema de 4oordH K0/ a K06 e K06 3 -/(5.
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2

5.J56 Det Mode 4ontrol 3ath H K15 e K1/ -/(5.
5.J-. 9odar sistema de coordenadas H K1: e K16 -/(5.
5.J-5 unidades de comprimento H KJ. e KJ5 -/(5.
5.J-- 4iclo 4anned H Nigh Dpeed !rill 3ec$ KJ3 -0(5.
5.J-3 4ancelar Motion Modal H K:. -0(5.
5.J-/ ciclos fi>os H K:5 a K:6 -0(5.
5.J-/5 preliminares e entre os Motion -1(5.
5.J-/- K:5 4iclo -1(5.
5.J-/3 K:- 4iclo -J(5.
5.J-// K:3 4iclo -J(5.
5.J-/0 K:/ 4iclo -:(5.
5.J-/1 K:0 4iclo -:(5.
5.J-/J K:1 4iclo -:(5.
5.J-/: K:J 4iclo -6(5.
5.J-/6 K:: 4iclo 3.(5.
5.J-/5. K:6 4iclo 3.(5.
5.J-0 Det modalidade a distRncia H K6. e K65 3.(5.
5.J-1 Det E2 Mode H K6.5 e K655 3.(5.
5.J-J K6- =ffsets H K6-, K6-5, K6--, K6-3 35(5.
5.J-: Det Mode 9ate *eed H K63, K6/ e K60 35(5.
5.J-6 Det 4anned nCvel de retorno 4iclo H K6: e K66 5.H3-
4riada em 5.,: M 4Idigos 5.H3-
5.:5 3rograma de paragem e 7nding H M., M5, M-, M3. 5.H3-
5.:- 4ontrole de 7i>o H M3, M/, M0 5.H33
5.:3 alterar Tool H M1 5.H33
5.:/ 4ontrole de refrigerante H MJ, M:, M6 5.H33
5.:0 9eHrun de primeira linha H M/J 5.H3/
5.:1 4ontrole =verride H M/: e M/6 5.H3/
5.:J subrotina 4all H M6: 5.H3/
5.:: 9etorno de subHrotina 5.H3/
5.,6 M MacroH cIdigos 5.H3/
5.65 9esumo Macro 5.H3/
=utros 5.,5. cIdigos de entrada 5.H30
5.5.5 Ta>a *eed Det H * 5.H30
5.5.- Det Dpindle Dpeed H D 5.H30
5.5.3 *erramenta Delecionar H T 5.H30
5.,55 Tratamento de erros 5.H30
5.,5- =rdem de 7>ecuo 5.H31
55 ,ne>o 5 H retirada imagem Mach3 .5(55
5- ,pFndice - H 7>emplo de diagramas esBuemticos .5(5-
5-,5 obstruir e limites usando rel8s .5(5-
53 ,pFndice 3 H = registo de configurao usada 5
Introduction
2. Introducing CNC machining systems
Rev 1.84-A2 2-1 Using Mach3Mi
1. 3refcio
UualBuer mBuinaHferramenta 8 potencialmente perigosa
MBuinas controladas por computador so potencialmente mais perigosas do Bue as manuais
7ste manual tenta darHlhe orientao sobre as precaues de segurana e t8cnicas, mas como
no sabemos os detalhes da sua mBuina ou as condies locais, no podemos aceitar
nenhuma responsabilidade para o desempenho de BualBuer mBuina ou BualBuer dano ou
preAuC?o causado por seu uso
Z da sua responsabilidade assegurar Bue vocF compreenda as implicaes do Bue vocF proAetar
e construir e respeitar a legislao e cIdigos de conduta aplicveis ao seu paCs ou estado
De vocF estiver em dvida deve procurar orientao de um especialista Bualificado
profissionalmente ao inv8s de preAuC?o risco para si prIprio ou aos outros

7ste documento destinaHse a dar detalhes suficientes sobre como o soft#are Mach3Mill
interage com sua mBuina, como ele est configurado para cada um dos ei>os da unidade e de
m8todos e sobre as linguagens de entrada e os formatos suportados para programao, para
permitir Bue vocF implemente um sistema 4"4 em uma mBuina potente com at8 seis ei>os
controlados
MBuinasHferramentas tCpicas Bue podem ser controlados so fresas, roteadores, mesas de corte
plasma, etc

7mbora Mach3Mill pode controlar os dois ei>os de um torno para o perfil rotativo ou similar,
uma programa separado %Mach3Turn& e documentao de apoio est sendo desenvolvido para
suportar a funcionalidade completa de um tornos, etc

Um documento em formato #i$i pode ser encontrado online [4ustomising Mach3\ e>plica em
detalhes como alterar tela la+outs, desenhar o sua prIpria tela e assiste a interfacear vrios
dispositivos de hard#are especiais

Z fortemente aconselhado a entrar em um ou ambos os fIruns de discusso onHline para Mach3 e
vrios lin$s podem ser encontrados em ###machsupportcom
LocF deve estar ciente de Bue, enBuanto estes fIruns tFm muitos engenheiros com uma vasta
e>periFncia como participantes, eles no constituem uma substituto para uma rede de fabricantes
de mBuinasHferramenta de apoio
De sua aplicao reBuer este nCvel de apoio, ento vocF deve comprar o sistema a partir de um
distribuidor local ou um =7M com uma rede de distribuidores !essa forma vocF vai obter os
benefCcios do Mach3 com o possibilidade de apoio no local

,lgumas partes do te>to neste manual so impressos em Sacin?entadoS 7les geralmente
descrevem caracterCsticas encontradas em controladores de mBuina, mas Bue no so
atualmente implementados em Mach3

, descrio de uma caracterCstica acin?entado aBui no 8 para ser tomado como um
compromisso para implementHlo em um determinado momento futuro
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2

,gradecimentos so devidos a numerosas pessoas, incluindo a eBuipe original Bue trabalhou no
"acional Enstituto de "ormali?ao e Testes %"EDT& sobre o proAeto 7M4 e os usurios do
Mach3, cuAa e>periFncia, materiais construtivos e comentrios deste manual no poderia este
manual ter sido escrito =s cr8ditos so dados para os utilitrios e recursos individuais como so
descritas no corpo do manual
,rtDoft 4orporation se dedicado T melhoria contCnua de seus produtos e aceita sugestes
para melhorias, correes e esclarecimentos sero gratamente recebidas

,rt *enert+ e 2ohn 3rentice valem o seu direito de serem identificados como os autores deste
trabalho

= direito de fa?er cIpias deste manual 8 concedida e>clusivamente para a finalidade de avaliar
e ( ou utili?ar licenciado ou cIpias de demonstrao Mach3 "o 8 permitida, ao abrigo do
presente direito, por conta de terceiros para cobrar por cIpias deste manual

Todos os esforos foram feitos para tornar este manual to completo e to e>atas Buanto
possCvel, mas BualBuer garantia ou adeBuao est implCcita
,s informaes D,3 fornecidas, so sobre uma base Scomo estoS
= autores e editor no tem a responsabilidade nem a nenhuma outra pessoa ou entidade com
respeito a BualBuer perda ou danos decorrentes das informaes contidas neste manual,
3refcio
= uso do manual 8 abrangida pelas condies de licena para o Bual vocF deve concordar
Buando instalar soft#are Mach3

@indo#s Y3 e @indo#s -... so marcas registradas da Microsoft 4orporation De
as outras marcas comerciais so usadas neste manual, mas no reconhecido por favor aviseH
,rtDoft 4orporation Bue esta pode ser sanada em edies subseBQentes
Introduction
2. Introducing CNC machining systems
Rev 1.84-A2 2-1 Using Mach3Mi
2.1 !arts o" a machining system
This chapter #ill introduce +ou to terminolog+ used in the rest of this
manual and allo# +ou to understand the purpose of the different components
in a numericall+ controlled milling s+stem
The main parts of a s+stem for numericall+ controlled mill are sho#n in figure 55
#igure 1.1 - $y%ica NC machining system
The designer of a part generall+ uses a 4omputer ,ided !esign(4omputer ,ided
Manufacturing %4,!(4,M& program or programs on a computer %5& The output of this
program, #hich is a part program and is often in SKH4odeS is transferred %b+ a net#or$ or
Introduction
2. Introducing CNC machining systems
Using Mach3Mi 2-2 Rev 1.84-A2
perhaps flopp+ disc& %-& to the Machine 4ontroller %3& The Machine 4ontroller is
responsible for interpreting the part program to control the tool #hich #ill cut the
#or$piece The a>es of the Machine %0& are moved b+ scre#s, rac$s or belts #hich are
po#ered b+ servo motors or stepper motors The signals from the Machine 4ontroller are
amplified b+ the !rives %/& so that the+ are po#erful enough and suitabl+ timed to
operate the motors
,lthough a milling machine is illustrated, the Machine can be a router or a plasma or
laser cutter , separate manual describes Mach3 controlling a lathe, vertical borer etc
*reBuentl+ the Machine 4ontroller can control starting and stopping of the spindle motor
%or even control its speed&, can turn coolant on and off and #ill chec$ that a part program or
Machine =perator %1& are not tr+ing to move an+ a>is be+ond its limits
The Machine 4ontroller also has controls li$e buttons, a $e+board, potentiometer $nobs,
a manual pulse generator %M3K& #heel, or a Ao+stic$ so that the =perator can control the
Rev 1.84-A2 2-1 Using Mach3Mi
Introduction
machine manuall+ and start and stop the running of the part program The Machine
4ontroller has a displa+ so that the =perator $no#s #hat is happening
Gecause the commands of a KH4ode program can reBuest complicated coHordinated
movements of the machine a>es the Machine 4ontroller has to be able to perform a lot of
calculations in SrealHtimeS %eg cutting a heli> reBuires a lot of trigonometrical
calculation& Nistoricall+ this made it an e>pensive piece of eBuipment
]
- Entroduo de sistemas de usinagem 4"4
-5 4omponentes do sistema'
7ste capCtulo ir apresentHlo T terminologia utili?ada no restante deste manual
e permitirHlhe compreender a finalidade das diferentes componentes em um
4ontrole por Distema "um8rico de fre?agem

,s partes principais de um sistema de fre?agem numericamente controladas so
mostrados na figura 55

= proAetista de uma pea geralmente usa um 4omputer ,ided !esign ( 4omputer
,ided 3roduo %programa 4,! ( 4,M & ou programas de computador %5&
, saCda deste programa, Bue 8 um programa de pea e 8 muitas ve?es no SKH4odeS
Bue pode ser transferido %por uma rede ou talve? disBuete& %-& para o controlador da
mBuina %3&
= controlador da mBuina 8 responsvel por interpretar o programa e para controlar
a ferramenta Bue vai cortar o pea
=s ei>os da mBuina %0& so movidos por meio de roscas, guias ou correias, Bue so
alimentado por servomotores ou motores de passo
=s sinais do controlador da mBuina so amplificado pelos !rives %/& de modo Bue
eles so poderosos o suficiente e devidamente programado para operar os motores

,pesar de uma mBuina de fre?agem ser o ilustrado, uma mBuina pode ser um
roteador ou um plasma ou cortador a laser
Um em separado, descreve o Mach3 comandando um torno, furadeira vertical etc

*reBQentemente, o controlador da mBuina pode controlar a partida e a parada do
motor spindle %=u at8 mesmo controlar a sua velocidade&, pode ligar e desligar
para Aogar refrigerante e pode verificar Bue um programa ou =perador de mBuina
%1& no esto tentando mover BualBuer um dos ei>os al8m de seus limites
permitidos

= controlador da mBuina tamb8m tem controles como botes, um teclado, botes
de potenci^metro, um gerador de pulso manual %M3K& de roda, ou um Ao+stic$ para
Bue o operador possa controlar a mBuina manualmente e iniciar e parar o
funcionamento do programa da pea
= 4ontrolador da MBuina dispe de um visor para Bue o operador saiba o Bue est
acontecendo

Using Mach3Mi 2-2 Rev 1.84-A2
4omo os comandos de um programa em KH4ode podem solicitar complicadas
coordenadas de movimentos dos ei>os da mBuina o controlador da mBuina tem
de ser capa? de reali?ar uma s8rie de clculos em Stempo realS %por e>emplo, cortar
uma h8lice reBuer uma grande Buantidade de clculo trigonom8trico&

Nistoricamente, isto 8 uma pea de eBuipamento caro
_
2.2 &o' Mach3 "its in
Mach3 is a soft#are pac$age #hich runs on a 34 and turns it into a ver+ po#erful
and economical Machine 4ontroller to replace %3& in figure 55
To run Mach3 +ou need @indo#s Y3 %or @indo#s -...& ideall+ running on a 5KN?
processor #ith a 5.-/ > J1: pi>el resolution screen , des$top machine #ill give much
better performance than most laptops and be considerabl+ cheaper `ou can, of course
use this computer for an+ other functions in the #or$shop %such as %5& in figure 55 H
running a 4,!(4,M pac$age& #hen it is not controlling +our machine
Mach3 communicates principall+ via one %or optionall+ t#o& parallel %printer& ports and,
if desired, a serial %4=M& port
The drivers for +our machineas a>is motors must accept step pulses and a direction signal Lirtuall+ all
stepper motor drivers #or$ li$e this, as do modern !4 and ,4 servo s+stems #ith digital encoders
Beware if +ou are converting an old "4 machine #hose servos ma+ use resolvers to measure position
of the a>es as +ou #ill have to provide a complete ne#
]
-- 7>plicando o Mach3

Mach3 8 um pacote de soft#are Bue roda em um 34 e transformaHo em um
poderoso e econ^mico controlador de mBuina conforme mostrado em %3& na
figura 55
3ara e>ecutar o Mach3 vocF precisa do @indo#s Y3 %ou @indo#s -...&,
idealmente em e>ecuo em um 5KN? processador com uma resoluo de tela
5.-/ > J1: pi>el
Uma mBuina des$top vai ter muito melhor desempenho do Bue a maioria dos
laptops e ser consideravelmente mais barato
LocF pode, naturalmente uso deste computador para outras funes na oficina
e>emplo e>ecuo de um 3acote 4,! ( 4,M&, Buando ele no est controlando
sua mBuina

Mach3 se comunica principalmente atrav8s de uma %ou, opcionalmente, duas&
portas paralela da impressora e , se deseAado, uma porta serial %4=M&

=s drivers para os motores dos ei>os de sua mBuina deve aceitar pulsos para os
passo e um sinal para o sentido de rotao
3raticamente todos os drivers de motor de passo trabalham assim,como so os
modernos !4 e ,4 sistemas de servos com encoders digitais
4uidado se vocF estiver convertendo uma mBuina "4, antiga, Bue ainda usa
servos resolvedores usados para medir a posio dos ei>os "este caso vocF ter
Bue fornecer uma nova unidade para cada ei>o
_
(vervie' o" Mach3 so"t'are
Rev 1.84-A2 3-1 Using Mach3Mi
3. An overvie' o" Mach3 Machine Controer so"t'are
`ou are still reading this so evidentl+ +ou thin$ Mach3 might be an asset
in +our #or$shopb The best thing to do no# is to do#nload a free
demonstration version of the soft#are and tr+ it out on +our computer
`ou do not need a machine tool to be connected up, indeed for the present
it is better not to have one
Ef +ou have bought a complete s+stem from a reseller then some or all
of these installation steps ma+ have be done for +ou alread+
]
2. Uma viso geral do soft#are Mach3
De vocF ainda est lendo isto 8 evidente Bue vocF pensa Bue Mach3 pode ser um trunfo na sua
oficinab
, melhor coisa a fa?er agora 8 fa?er o do#nload grtis da verso de demonstrao do
soft#are e testHlo em seu computador
LocF no precisa na verdade, e por enBuanto de uma mBuinaHferramenta ligada
3or enBuanto 8 at8 melhor ainda no ter uma
De vocF comprou um sistema completo de um revendedor alguns ou todos essas
etapas de instalao A podem ter sido feitas para vocF
_
3.1 Instaation
Mach3 is distributed b+ ,rtDoft 4orp via the Enternet `ou do#nload the pac$age as one
self installing file %#hich, in the present release, is about : megab+tes& This #ill run for
an unlimited period as a demonstration version #ith a fe# limitations on the speed, the
si?e of Aob that can be underta$en and the specialist features supported @hen +ou
purchase a licence this #ill Sunloc$S the demonstration version +ou have alread+ installed
and configured *ull details of pricing and options are on the ,rtDoft 4orporation #ebsite
## # a r t o fc n c ca
]
35 Enstalao

Mach3 8 distribuCdo pela ,rtDoft 4orp atrav8s da Enternet
LocF fa? o do#nload do pacote como um arBuivo de instalao prIprio %Bue, na
verso atual, 8 de cerca de : megab+tes&
Esso ir e>ecutar por um perCodo ilimitado como uma verso de demonstrao, com
algumas limitaes na velocidade, o tamanho da trabalho Bue podem ser reali?adas
e dos recursos com suporte especiali?ado
Uuando vocF compra uma licena esta ir SdestravarS a verso de demonstrao
Bue vocF A tiver instalado e configurado
Maiores detalhes sobre preos e opes esto no site 4orporation ,rtDoft
###artofcncca
_
(vervie' o" Mach3 so"t'are
Using Mach3Mi 3-2 Rev 1.84-A2
3.1.1 Downloading
!o#nload the pac$age from ## # a r t o fc n c c a u sing the right mouse button and Save
Target as to put the selfHinstalling file in an+ convenient #or$ing director+ %perhaps
@indo#scTemp& `ou should be logged in to @indo#s as an ,dministrator
@hen the file has do#nloaded it can be immediatel+ run b+ using the Open button on the
do#nload dialog or this dialog can be closed for later installation @hen +ou #ant to do
the installation +ou merel+ run the do#nloaded file *or e>ample +ou could run @indo#s
7>plorer %right clic$ Start button&, and doubleHclic$ on the do#nloaded file in the #or$ing
director+
]
355 !o#nload
Gai>e o pacote de ###artofcncca usando o boto direito do mouse e Dalvar no
destino como colocar o arBuivo de autoHinstalao em BualBuer diretIrio de
trabalho conveniente %talve? @indo#s c Temp& LocF deve estar logado para
@indo#s como ,dministrador
Uuando o arBuivo foi bai>ado pode ser e>ecutado imediatamente, usando o boto
,brir na cai>a de dilogo e este dilogo pode ser fechado para instalao posterior
Uuando vocF Buiser fa?er a instalao, vocF simplesmente e>ecuta o arBuivo
bai>ado 3or e>emplo, vocF poderia rodar @indo#s 7>plorer %cliBue direito no
boto Eniciar& e cliBue duplo sobre o arBuivo bai>ado no trabalho diretIrio
_
3.1.2 Installing
`ou do not need a
machine tool
connected +et Ef
+ou are Aust
starting it #ould be
better not to have
one connected
"ote #here the
cable or cables
from the machine
tool are plugged
into +our 34
D#itch off the 34,
the machine tool
and its drives and
unplug the -0 pin
connector%s& from
the bac$ of the 34
"o# s#itch the 34
bac$ on
#igure 3.1 ) $he instaer screen
@hen +ou run the do#nloaded file +ou #ill be guided through the usual installation steps
for a @indo#s program such as accepting the license conditions and selecting the folder
for
Mach3 =n the Detup *inished dialog +ou should ensure that Initialise System is
chec$ed and clic$ Finish. `ou #ill no# be told to reboot before running an+ Mach3
soft#are
The bac$ground image during installation is the standard Mach3Mill screen d do not
#orr+ as Mach3Turn is also being installed
=n the Detup *inished dialog +ou should ensure that Load Mach3 Driver and Install
English Wiards are chec$ed and then clic$ Finish. `ou #ill no# be told to reboot
before running an+ Mach3 soft#are
]
35- Enstalando

LocF no precisa de um mBuinasHferramenta ligado ainda De vocF est apenas
iniciando 8 melhor Bue no fiBue conectado

=bserve Bue o cabo ou cabos da mBuina ferramenta esteAam ligados em seu 34
3ara isso, !esligue o 34, mBuinaHferramenta e suas unidades e desligue o
conector de -0 da parte de trs do 34

,gora ligue o 34 novamente
Uuando vocF e>ecutar o arBuivo bai>ado vocF ser guiado atrav8s da instalao
em etapas usuais para um programa de @indo#s como aceitar as condies da
licena e selecionar a pasta
,gora vai ser dito para reiniciar antes de e>ecutar BualBuer soft#are Mach3
, imagem de fundo durante a instalao 8 a tela Mach3Mill normal no se
preocupe Mach3Turn tamb8m est sendo instalado

Uuando a instalao termina, "a configurao e o dilogo 8 encerrado vocF deve
clicar em 4oncluir
,gora vai ser dito para reiniciar antes e>ecutar BualBuer soft#are Mach3
*aa isso
_
3.1.3 The vital re-boot
This reboot is vital Ef +ou do not do it then +ou #ill get into great difficulties #hich can
onl+ be overcome b+ using the @indo#s 4ontrol 3anel to uninstall the driver manuall+
So please reboot now.
Ef +ou are interested in $no#ing #h+ the reboot is reBuired then read on, other#ise s$ip
to the ne>t section
,lthough Mach3 #ill appear to be a single program #hen +ou are using it, it
actuall+ consists of t#o parts' a driver #hich is installed as part of @indo#s li$e a
printer or net#or$ driver and a graphical user interface %KUE&
The driver is the most important and ingenious part Mach3 must be able to send ver+
accuratel+ timed signals to control the a>es of the machine tool @indo#s li$es to be in
charge and runs normal user programs #hen it has nothing better to do itself Do Mach3
cannot be a Snormal user programSe it must be at the lo#est level inside @indo#s %that is
it handles interrupts& *urthermore, to do this at the high speeds possibl+ reBuired %each
a>is can be given attention /0,... times per second&, the driver needs to tune its o#n code
@indo#s does not approve of this %itas a tric$ that viruses pla+& so it has to be as$ed to
give special permission This process reBuires the reboot Do if +ou have not done the reH
boot then @indo#s #ill give the Glue Dcreen of !eath and the driver #ill be corrupt The
onl+ #a+ out of this #ill be to manuall+ remove the driver
Naving given these dire #arnings, it is onl+ fair to sa+ that the reboot is onl+ reBuired
#hen the driver is first installed Ef +ou update +our s+stem #ith a ne#er version then the
reboot
is not vital The install seBuence does ho#ever still as$ +ou to do it @indo#s Y3 boots
reasonabl+ Buic$l+ that it is not much hardship to do it ever+ time
]
353 = vital reHboot

9einiciali?ar o 34 8 vital De vocF no fi?er isso, ento vocF vai entrar em grandes dificuldades
Bue podem sI podem ser superados atrav8s do 3ainel de 4ontrole do @indo#s para desinstalar
o driver manualmente ,ssim 3or favor, reinicie agora

7mbora possa parecer Bue o Mach3 seAa um programa nico, Buando vocF o estiver usando,
ele, realmente consiste de duas partes' um controlador Bue 8 instalado como parte do @indo#s
como uma impressora ou driver de rede e uma interface grfica de usurio %KUE&

= controlador 8 a parte mais importante e engenhosa Mach3 deve ser capa? de enviar muitos
sinais precisamente cronometrados para controlar os ei>os da mBuina

= @indo#s gosta de estar no comando e e>ecuta programas de usurio normalmente Buando
no tem nada melhor para fa?er 7nto, Mach3 no pode ser um Sprograma de usurio normalS,
Bue deve estar no nCvel mais bai>o dentro do @indo#s %Bue 8 Buem lida com interrupes&
,l8m disso, vai necessitar fa?er isso na alta velocidade eventualmente e>igidos %cada ei>o
pode ser dada uma ateno /0... ve?es por segundo&

= @indo#s no aprova isto %8 um truBue Bue os vCrus desempenham&, por isso tem de ser
convidado a dar permisso especial
7ste processo e>ige a reHiniciali?ao
7nto, se vocF no tiver feito o reHboot em seguida, o @indo#s dar a Tela ,?ul da Morte e o
driver pode ficar corrompido
, nica a forma ento ser de remover manualmente o driver

Tendo dado estas advertFncias, o Bue 8 Austo di?er Bue a reHiniciali?ao 8 necessria apenas
Buando o driver 8 instalado pela primeira ve? De vocF atuali?ar seu sistema com uma verso
mais recente, em seguida, reiniciar o sistema no 8 vital
_
3.1.4 Convenient desktop icons
Do +ou have rebootedb The installation #i?ard #ill have created des$top icons for the main
programs Mach3e>e is the actual user interface code Ef +ou run it, it #ill as$ #hich
3rofile +ou #ish to use Mach3Mill, Mach3Turn etc are shortcuts #hich run this #ith a
3rofile defined b+ a S(pS argument in the shortcut target `ou #ill usuall+ emplo+ these to
start the reBuired s+stem
Et is no# #orth#hile to setup some icons for des$top shortcuts to other Mach3
programs Use @indo#s
7>plorer %rightH
clic$ Start& and
b+ rightHclic$ing
on the
!riverTeste>e
file !rag this
shortcut onto
+our des$top
=ther programs
such as a screen
designer and a
manipulator for
screenset files
are available as a
#igure 3.2 ) $he running *river$est
Using Mach3Mi 3-2+ Rev 1.84-A2
separate do#nload
]
35/ 4onveniente Ccones na sua tela
7nto, reiniciadob = assistente de instalao criou Ccones des$top para os principais
programas
Mach3e>e 8 o cIdigo de interface real do usurio
De vocF e>ecutHlo, ele vai perguntar Bual perfil vocF deseAa usar
Mach3Mill, Mach3Turn etc so atalhos Bue funcionam com este perfil definido por um Sp ( o
argumentoS no destino do atalho LocF geralmente utili?a esses atalhos para iniciar o sistema
necessrio

,gora, ser til a instalao de alguns Ccones no des$top como atalhos para outros programas
Mach3

Use o @indo#s 7>plorer %boto direito Dtart& e clicando no !riverTeste>e arBuivo

,rraste este atalho para sua rea de trabalho =utros programas como ptoAetos de telas e um
manipulador para screenset esto disponCveis para do#nload em separado
_
3.1.5 Testing the installation
Et is no# highl+ recommended to test the s+stem ,s mentioned above, Mach3 is not a
simple program Et ta$es great liberties #ith @indo#s in order to perform its Aobe this
means it #ill not #or$ on all s+stems due to man+ factors *or e>ample, the Uuic$Time
s+stem monitor %Btas$e>e& running in the bac$ground can $ill it and there #ill be other
programs #hich +ou probabl+ are not even a#are are on +our s+stem that can do the same
@indo#s can and does start man+ processes in the bac$grounde some appear as icons in
the s+stem tra+ %bottom right of screen& and others do not sho# themselves in an+ #a+
=ther possible sources of erratic operation are local area net#or$ connections #hich ma+
be configured to automaticall+ speed detect `ou should configure these to the actual speed
5. Mbps or 5..
Mbps of +our net#or$ *inall+ a machine that has been surfing the Enternet ma+ have
gained one or more of a host of SrobotS t+pe programs #hich sp+ on #hat +ou are doing
and send data over the anet to their originators This traffic can interfere #ith Mach3 and is
not something +ou #ant an+#a+ Use a search engine for terms li$e SDp+botS to locate
soft#are to tid+ up +our machine
Gecause of these factors, it is important, though not mandator+, that +ou test +our
s+stem #hen +ou suspect something is #rong or +ou Aust #ant to chec$ that an install
#ent #ell
!ouble clic$ the !riverTest icon that +ou set up Ets screen shot is in figure 3-
`ou can ignore all the bo>es #ith the e>ception of the 3ulse *reBuenc+ Et should be
fairl+ stead+ around -0,... N? but +ours ma+ var+, even Buite #ildl+ This is because
Mach3 uses the @indo#s cloc$ to calibrate its pulse timer and, over a short time scale,
the @indo#s cloc$ can be affected b+ other processes loading the computer Do +ou ma+
actuall+ be using an SunreliableS cloc$ %the @indo#s one& to chec$ Mach3 and so get the
false impression that Mach3as timer is unstead+
Gasicall+, if +ou see a similar screen to figure 3- #ith onl+ small spi$es on the
Timer Lariations graph and a stead+ 3ulse *reBenc+, ever+thing is #or$ing #ell so
Rev 1.84-A2 3-21 Using Mach3Mi
close the DriverTest program and skip to the section Screens belo#
@indo#s Se>pertsS might be interested to see a fe# other things The #hite rectangular
#indo# is a t+pe of timing anal+?er @hen it is running it displa+s a line #ith small
variations indicated These variations are the changes in timing from one interrupt c+cle
to another There should be no lines longer than f inch or so on an 5JS screen on most
s+stems 7ven if there are variations its possible the+ are belo# the threshold necessar+
to create timing Aitters so #hen +our machine tool is connected +ou should perform a
movement test to see if Aogging and K.(K5 moves are smooth
`ou ma+ have one of t#o things happen to +ou #hen running the test #hich ma+ indicate
a problem
5& g!river not found or installed, contact ,rth, this means that the driver is not loaded
into @indo#s for some reason This can occur on Y3 s+stems #hich have a
corruption of their driver database, reloading @indo#s is the cure in this case =r,
+ou ma+ be running @in-... @in-... has a bug(SfeatureS #hich interferes #ith
loading the driver Et ma+ need to be loaded manuall+ see the ne>t section
-& @hen the s+stem sa+s, ta$ing overi3i-i5 and then reboots, one of t#o things
has occurred 7ither +ou didn\t reboot #hen as$ed %told +oubb& or the driver is
corrupted or unable to be used in +our s+stem En this case follo# the ne>t section and
remove the driver manuall+, then reHinstall Ef the same thing happens, please notif+
,rtDoft using the eHmail lin$ on ## # a r t o fc n c c a a nd +ou #ill be given guidance
, fe# s+stems have motherboards #hich have hard#are for the ,3E4 timer but
#hose GE=D code does not use it This #ill confuse Mach3 install , batch file
SpecialDriver.bat is available in the Mach3 installation folder *ind it #ith
@indo#s 7>plorer and doubleHclic$ it to run it This #ill ma$e the Mach3 driver use
the older i:0-6 interrupt controller `ou #ill need to repeat this process #henever
+ou do#nload an upgraded version of Mach3 as installing the ne# version #ill
replace the special driver The file OriginalDriver.bat reverses this change
]
350 Teste da instalao

,gora, 8 altamente recomendado testar o sistema
4omo mencionado acima, o Mach3 no 8 um programa simples Z preciso grande liberdade
com o @indo#s para e>ecutar o seu trabalho, o Bue significa no vai funcionar em todos os
sistemas, devido a muitos fatores 3or e>emplo, o sistema Uuic$Time monitore em Btas$e>e &
rodando em segundo plano pode matHlo e haver outros programas Bue vocF provavelmente
nem seBuer esta consciente Bue esto no seu sistema, e Bue podem fa?er o mesmo
@indo#s pode e deve iniciar vrios processos em segundo plano, alguns aparecem como
Ccones no sistema bandeAa %canto inferior direito da tela& e outros no se mostram de forma
alguma
=utros possCveis fontes de operao irregular so cone>es de rede local Bue pode ser
configurado para detectar automaticamente a velocidade
LocF deve configurarHlos para a velocidade real de 5. Mbps ou 5.. Mbps de sua rede
*inalmente, uma mBuina Bue tem vindo a navegar na Enternet pode ter ganho um ou mais de
uma s8rie de programas do tipo espio groboth Bue espiam o Bue vocF est fa?endo e enviam
dados ao longo do anet dos respectivos autores 7ste trfego pode interferir com a Mach3 e no
8 algo Bue vocF Bueira
Use um motor de busca de termos como SDp+botS para locali?ar estes soft#are e arrumar a sua
mBuina
Using Mach3Mi 3-22 Rev 1.84-A2

3or causa destes fatores, 8 importante, embora no seAa obrigatIrio, Bue vocF teste seu sistema
Buando vocF suspeitar Bue algo est errado ou vocF Buiser apenas verificar se uma instalao
foi bem sucedida
!F um duplo cliBue no Ccone !riverTest Bue vocF criou
Dua tela 8 na figura 3-

LocF pode ignorar todas as cai>as com a e>ceo da *reBQFncia de 3ulso
!eve ser ra?oavelmente estvel em torno de -0... N?, mas o seu pode variar bastante
Esso ocorre porBue Mach3 usa o relIgio do @indo#s para calibrar o timer de pulso e em uma
escala de tempo curto, a relIgio do @indo#s pode ser afetado por outros processos de
carregamento do computador
,ssim, vocF pode realmente estar usando um SrelIgioS no confivel %o do @indo#s 8 um&
para verificar Mach3 e assim obter o falsa impresso de Bue o tempori?ador Mach3 8
instvel
Gasicamente, se vocF esta vendo uma tela semelhante T figura 3-, com apenas peBuenas
pontas no grfico de Lariaes de Timer, tudo est funcionando bem pode fechar o programa
!riverTest pular para as telas abai>o
@indo#s Se>pertsS podem estar interessados em ver algumas outras coisas
, Aanela retangular branca 8 um tipo de analisador de timing
Uuando ele estiver em e>ecuo ele e>ibe uma linha com indicando peBuenas variaes
7stas variaes so as alteraes de um ciclo de interrupo para o outro
"o deve haver linhas de mais de f de polegada ou assim em uma tela de 5JS na maioria das
sistemas
Mesmo Bue haAa variaes possCveis elas esto abai>o do limiar necessrio para criar
problemas, Buando sua mBuina est ligada vocF deve e>ecutar uma teste de movimento para
ver se os movimentos K.(K5 so suaves
LocF pode ter uma de duas coisas acontecem Buando vocF e>ecutar o teste Bue pode indicar
uma problema

5& g!river no encontrado ou instaladoS Esso significa Bue o driver no 8 carregado em
@indo#s por algum motivo Esso pode ocorrer em sistemas Y3, Bue tenha seu banco de
dados de drivers corrompido
9ecarregando o @indo#s 8 a cura, neste caso, ou, pode ser Bue na e>ecuo do @in-...
trnha algum recurso ou bug Bue interfere com o carregamento do driver 3ode precisar de ser
carregado manualmente consulte a prI>ima seo
-& Uuando o sistema di? Bue, vai desligar dentro de 3 - 5 e, em seguida, reinicia,
uma das duas coisas ocorreu =u vocF no reiniciou Buando solicitado %vocF disseb& =u o
driver est corrompido ou incapa? de ser usado em seu sistema
"este caso, siga a prI>ima seo e remover o driver manualmente, ento reHinstale De
Rev 1.84-A2 3-23 Using Mach3Mi
acontece a mesma coisa, por favor avise ,rtDoft usando lin$ do eHmail sobre
###artofcncca e ser dada orientao
,lguns sistemas tem placas mes Bue possuem hard#are para o timer, no use isto Esso vai
confundir ao instalar Mach3
Um arBuivo em lotes Dpecial!riverbat est disponCvel na pasta de instalao Mach3
3rocure com @indo#s 7>plorer e cliBue duas ve?es para e>ecutHlo
Esso far com Bue o Mach3 use os mais velhos i:0-6 controlador de interrupo
LocF precisar repetir este processo sempre Bue vocF do#nload uma verso atuali?ada do
Mach3 como instalar a nova verso ir substituir o driver especial
= arBuivo =riginal!riverbat inverte essa mudana
3.1.6 Driver Test ater a !ach3 crash
Dhould +ou for an+ reason have a situation #hen running Mach3 #here it crashes H this
might be an intermittent hard#are problem or a soft#are bug d then +ou must run
!riverTeste>e as soon as possible after Mach3 has failed Ef +ou dela+ for t#o minutes
then the Mach3 driver #ill cause @indo#s to fail #ith the usual SGlue Dcreen of !eathS
9unning !riverTest resets the driver to a stable condition even if Mach3
disappears une>pectedl+
`ou ma+ find, after a crash, that it fails to find the driver the first time it is run En this
case merel+ run it again as the first run should fi> things up
]
351 Test !river apIs um acidente Mach3
De vocF por BualBuer motivo, tem uma situao de falha durante a e>ecuo do
Mach3 H isto pode ser um problema de hard#are intermitente ou um bug de
soft#are H, ento vocF deve e>ecutar !riverTeste>e o mais rapidamente possCvel
apIs a falha do Mach3 De vocF demorar dois minutos ou mais Mach3 o motor do
#in ir causar a falha do @indo#s com o usual SGlue Dcreen of !eathS
7>ecutandoHse o !riverTest redefineHse ao condutor a uma condio estvel, "este
caso apenas e>ecutHlo novamente como a primeira deve consertar as coisas
_
3.1." #otes or $an%al driver installation and %n-installation
You only need to read and do this section if you have not successfully run the
DriverTest program.
The driver %Mach3s+s& can be installed and uninstalled manuall+ using the @indo#s
control panel The dialog bo>es differ slightl+ bet#een @indo#s -... and @indo#s
Y3 but the steps are identical
=pen the 4ontrol panel and doubleHclic$ on the icon or line for System
Delect !ard"are and clic$ #dd !ard"are "iard %,s mentioned before
Mach3as driver #or$s at the lo#est level in @indo#s& @indo#s #ill loo$ for
an+ ne# actual hard#are %and find none&
Tell the #i?ard +ou have alread+ installed it and then proceed to the ne>t screen
`ou #ill be sho#n a list of hard#are Dcroll to the bottom of this and select #dd
a
ne" hard"are device and move to the ne>t screen
=n the ne>t screen +ou do not #ant @indo#s to search for the driver so select
Install the hard"are that I man$ally select %rom a list &#dvanced'
The list +ou are sho#n #ill include an entr+ for Mach()* p$lsing engine
Delect this and go to the ne>t screen
4lic$ !ave disc and on the ne>t screen point the file selector to +our Mach3
Using Mach3Mi 3-24 Rev 1.84-A2
director+ %4'cMach3 b+ default& @indo#s should find the file Mach3.in%
Delect this file and clic$ Open @indo#s #ill install the driver
The driver can be uninstalled rather more simpl+
=pen the 4ontrol panel and doubleHclic$ on the icon or line for
D+stem Delect !ard"are and clic$ Device Manager
`ou #ill be sho#n a list of devices and their drivers Mach( +$lsing Engine has
the driver Mach3 Driver under it Use the + to e>pand the tree if necessar+
9ightH clic$ on Mach3 !river gives the option to uninstall it This #ill remove
the file Mach3s+s from the @indo#s folder The cop+ in the Mach3 #ill still be
there
There is one final point to note @indo#s remembers all the information about the #a+
+ou have configured Mach3 in a 3rofile file This information is not deleted b+ unH
installing the driver and deleting other Mach3 files so it #ill remain #henever +ou
upgrade the s+stem No#ever in the ver+ unli$el+ event that +ou need a totall+ clean
installation from scratch then +ou need to delete the YMM profile file or files
]
35J "otas para instalar e desinstalar o driver
LocF sI precisa ler e fa?er esta seo se vocF no e>ecutar com F>ito o programa !riverTest
= motorista %Mach3s+s& pode ser instalado e desinstalado manualmente usando o painel de
controle do @indo#s
,s cai>as de dilogo diferem ligeiramente entre @indo#s -... e @indo#s Y3 mas os passos
so idFnticos
j ,bra o 3ainel de controle e dF um duplo cliBue no Ccone ou uma linha para o sistema
j Delecione Nard#are e cliBue em ,dicionar ,ssistente de Nard#are %4omo mencionado antes
do Mach3 abra o cursor ao nCvel mais bai>o em @indo#s&
H !iga ao assistente se A tiver instalado e depois prosseguir para a prI>ima tela
j LocF ser mostrada uma lista de hard#are L at8 o fundo e selecione ,dicionar
novo dispositivo de hard#are e passe para a prI>ima tela
j "a prI>ima tela, se vocF no deseAa Bue o @indo#s procure o driver para selecionar
ou instalar o hard#are Bue eu selecionar manualmente em uma lista %avanado&
j , lista Bue aparece inclui uma entrada para MachMill Delecionar isso e v para a prI>ima
tela
j 4liBue tem disco e avance para a tela seguinte, o selector de pastas para o Mach3 diretIrio %4'
Mach3 c por padro& @indo#s deve encontrar o Mach3inf arBuivo Delecionar este arBuivo e
cliBue em ,brir = @indo#s ir instalar o driver
= !river pode ser desinstalado de forma um pouco mais simples
j ,bra o 3ainel de controle e dF um duplo cliBue no Ccone ou uma linha para o sistema
j Delecione Nard#are e cliBue em !evice Manager
j LocF ver uma lista de dispositivos e seus drivers Mach5 7ngine piscando tem o !river
Mach3 sob ele Utili?e o k para e>pandir a rvore, se necessrio 4liBue boto direito !river
em Mach3 Bue d a opo de desinstalHlo Esto ir remover o arBuivo Mach3s+s da pasta
@indo#s , cIpia do Mach3 ainda estar l
Rev 1.84-A2 3-2, Using Mach3Mi
N uma nota final @indo#s se lembra de todas as informaes sobre a forma como vocF tenha
configurado o Mach3 em um arBuivo de perfil 7sta informao no 8 apagada ao se reinstalar
o driver e e>cluir outros arBuivos Mach3 assim continuar a ser sempre a mesma ao vocF
atuali?ar o sistema
"o entanto, no caso muito improvvel Bue vocF precisa de uma instalao totalmente limpa a
partir do ?ero ento vocF precisa e>cluir o arBuivo de perfil ou arBuivos YMM

3.2 -creens
`ou are no# read+ to tr+ out a Sdr+ runS Mach3 Et #ill be much easier to sho# +ou ho# to
set up +our actual machine tool #hen +ou have e>perimented #ith Mach3 li$e this `ou
can SpretendS to machine and learn a lot even if +ou havenat got a 4"4 machine tool +et Ef
+ou have got one, then do ma$e sure it is not connected to the 34
Mach3 is designed so that it is ver+ eas+ to customi?e its screens to suit the #a+ +ou
#or$ This means that the screens +ou see ma+ not loo$ e>actl+ li$e those in ,ppendi> 5
Ef there
are maAor differences then +our s+stem supplier should have given +ou a revised set
of screenshots to match +our s+stem
!oubleHclic$ the Mach3Mill icon to run the program `ou should see the Mill 3rogram
9un screen similar to that in ,ppendi> 5 %but #ith the various !9=s set to ?ero, no
program loaded etc&
"otice the red 9eset button Et #ill have a flashing 9ed(Kreen M7! %simulation of a light
emitting diode& above it and some +ello# M7!s lit Ef +ou clic$ the button then the
+ello# M7!s go out and the flashing M7! turns to solid green Mach3 is read+ for actionb
Ef +ou cannot reset then the problem is probabl+ something plugged into +our parallel
port or ports %a SdongleS perhaps& or the 34 has previousl+ had Mach3 installed on it
#ith an unusual allocation of port pins to the 7mergenc+ Dtop %7Dtop signal& G+ clic$ing
on the O%%line button +ou should be able to 9eset the s+stem Most of the tests and
demonstrations in this chapter will not work unless Mach is reset out of the !Stop
mode.
"
,gora Bue vocF est pronto para e>perimentar uma corrida seca do SMach3 Der muito mais
fcil mostrarHlhe como configurar sua mBuina real Buando vocF A estiver e>perimentado com
Mach3 desta forma LocF pode S*ingirS Bue usa uma mBuina e aprender muito, mesmo Bue
vocF ainda no tenha uma mBuinaHferramenta 4"4
De vocF A tem uma, ento se certifiBue de Bue ela no esteAa ligada ao 34
Mach3 8 proAetado de modo Bue 8 muito fcil de personali?ar suas telas para se adeBuar ao
modo de trabalho
Esto significa Bue as telas Bue vocF vF podem no parecer e>atamente como aBuelas contidas
no ,pFndice
5 De houver grandes diferenas entre elas, o fornecedor do sistema deve ter lhe dado um
conAunto revisto de screenshots para corresponder ao seu sistema
!F um duplo cliBue no Ccone Mach3Mill para e>ecutar o programa LocF dever ver o
3rograma Mill carregar uma tela semelhante a essa no apFndice 5 %mas com os seus vrios
visuali?adores %!9=& definidos para ?ero, nenhum programa carregados, etc&
9epare no boto 9eset vermelho
Using Mach3Mi 3-2. Rev 1.84-A2
7le ter um piscar de M7! vermelho ( verde %simulao de um diodo emitindo uma lu?&, e
alguns diodos emissores de lu? amarela acesa De vocF clicar no boto, em seguida o M7!
amarelo se apaga e o M7! fica piscando em verde
Mach3 est pronto para a aob
De vocF encontrou algum problema, 8 provavelmente algo ligado a sua porta paralela ou portas
%Talve? um e>istente dongle& ou o 34 tenha sido previamente instalado no Mach3 com um
endereo incomum dos pinos da porta para a parada de emergFncia %sinal de obstruir&
,o clicar no boto =ffline, vocF deve ser capa? de reiniciar o sistema
, maioria dos testes e manifestaes no presente capCtulo no ir funcionar a menos Bue
Mach3 o modo de emergFncia esteAa desabilitado
_
3.2.1 T&pes o ob'ect on screens
`ou #ill see that the 3rogram 9un screen is made up of the follo#ing t+pes of
obAect' Guttons %eg 9eset, Dtop ,ltHD, etc&
!9=s or !igital 9eadouts ,n+thing #ith a number displa+ed #ill be a !9= The
main ones are, of course the current positions of the Y, `, V, ,, G l 4 a>es
M7!s %in various si?es and shapes&
KH4ode displa+ #indo# %#ith its o#n scroll bars&
Toolpath displa+ %blan$ sBuare on +our screen at the moment&
There is one further important t+pe of control that is not on the 3rogram 9un
screen' M!E %Manual !ata Enput& line
Guttons and the M!E line are +our inputs to Mach3
!9=s can be displa+s b+ Mach3 or can be used as inputs b+ +ou The bac$ground
colour changes #hen +ou are inputting
The KH4ode #indo# and Toolpath displa+s are for information from Mach3 to +ou
`ou can, ho#ever, manipulate both of them %eg scrolling the KH4ode #indo#,
?ooming, rotating and panning the Toolpath displa+&
#igure 3.3 - $he screen seection /uttons
3.2.2 (sing b%ttons and shortc%ts
=n the standard screens most buttons have a $e+board hot$e+ This #ill be sho#n after the
name on the button itself or in a label near it 3ressing the named $e+ #hen the screen is
displa+ed is the same as clic$ing the button #ith the mouse `ou might li$e to tr+ using the
mouse and $e+board shortcuts to turn on and off the spindle, to turn on *lood coolant and
to s#itch to the M!E screen "otice that letters are sometimes combined #ith the ,ontrol
or
#lt $e+s ,lthough letters are sho#n as uppercase %for ease of reading& +ou do not use the
shift $e+ #hen using the shortcuts
En a #or$shop it is convenient to minimise the times #hen +ou need to use a mouse
3h+sical s#itches on a control panel can be used to control Mach3 b+ use of a
$e+board
Rev 1.84-A2 3-20 Using Mach3Mi
emulator board %eg Ultimarc E3,4& This plugsH in in series #ith +our $e+board and send
Mach3 SpretendS $e+presses #hich activate buttons #ith shortcuts
Ef a button does not appear on the current screen then its $e+board shortcut is not active
There are certain special $e+board shortcuts #hich are global across all screens
4hapter 0 sho#s ho# these are set up
]
3-- Usando os botes e atalhos
"as telas padres, os botes tFm um atalho pelo teclado
7ste atalho, ser mostrado apIs o nome do prIprio boto ou em um rItulo perto dele
3ressionar a tecla chamada Buando a tela 8 e>ibida 8 o mesmo Bue clicar no boto com o
mouse
LocF pode tentar usar o mouse e atalhos de teclado para ligar e desligar o ei>o, para ligar o
flu>o refrigerante e alternar para a tela M!E
=bserve Bue as letras so, por ve?es, combinada com o controle ou teclas ,lt
7mbora as letras seAam mostradas em maisculas %para facilitar a leitura& vocF no necessita
usar a tecla Dhift Buando usar os atalhos
7m uma oficina 8 conveniente minimi?ar os momentos em Bue vocF precisar usar um mouse
4haves fCsicas em um painel de controle podem ser usado para controlar Mach3 pelo uso de
um teclado *igura 33
De um boto no aparecer na tela atual, ento o seu atalho do teclado no est ativo
N certos atalhos de teclado especial Bue so globais em todas as telas
= capCtulo 0 mostra como so criados
_
Using Mach3Mi 3-28 Rev 1.84-A2
3.2.3 Data entr& to D)*
`ou can enter ne# data into an+ !9= b+ clic$ing in it #ith the mouse, clic$ing its hot$e+
%#here set& or b+ using the global hot$e+ to select !9=s and moving to the one that +ou
#ant #ith the arro# $e+s&
Tr+ entering a feedrate li$e /01 on the 3rogram 9un screen `ou must press the Enter
$e+ to accept the ne# value or the Esc $e+ to revert to the previous one -ac.space and
Delete are not used #hen inputting to !9=s
#aution$ Et is not al#a+s sensible to put +our o#n data into a !9= *or e>ample the
displa+ of +our actual spindle speed is computed b+ Mach3 ,n+ value +ou enter #ill be
over#ritten `ou can put values into the a>is !9=s but +ou should not do it until +ou have
read 4hapter J in detail This is not a #a+ of moving the toolb
]
3-3 , entrada de dados de !9=

LocF pode inserir novos dados em BualBuer visuali?ador %!9=& clicando nele com o
mouse, chamando pelo atalho ou usando as teclas de atalho global para selecionar
visuali?adores e movendoHse para o Bue vocF Buer com asteclas de seta

Tente entrar com um avano de /01 em BualBuer !9= com o programa em
e>ecuo LocF deve pressionar a tecla 7nter para aceitar o novo valor ou a tecla 7sc
para voltar ao anterior
Gac$space e !elete no so utili?ado Buando da entrada em !9=

,teno' "o 8 sempre possCvel colocar o seu prIprios dados em um !9=
3or e>emplo, a e>ibio da velocidade real do ei>o 8 calculado pela Mach3
UualBuer valor Bue vocF digitar sero substituCdos LocF pode colocar valores nos
!9=s, mas vocF no deve fa?FHlo at8 Bue tenha lido o capCtulo J em detalhe
3ois esta no 8 uma forma de mover a ferramentab
_
Rev 1.84-A2 3-21 Using Mach3Mi
3.3 2ogging
`ou can move the tool relative to an+ place on
#igure 3.4 - 2og contros 3use
$a/ 4ey to sho' and hide this5
+our #or$ manuall+ b+ using various t+pes of 2ogging =f course, on some machines, the
tool itself #ill move and on others it #ill be the machine table or slides that move @e
#ill use the #ords Smove the toolS here for simplicit+
The Aogging controls are of a special gfl+Houth screen This is sho#n and hidden b+
using the Ta/ $e+ on the $e+board *igure 3/ gives a vie# of the fl+out
`ou can use the $e+board for Aogging The arro# $e+s are set b+ default to give +ou
Aogging on the Y and ` a>es and 3g Up(3g!n Aogs the V a>is `ou can reHconfigure
these $e+s %see 4hapter 0& to suit +our o#n preferences `ou can use the Aogging $e+s on
an+ screen #ith the 0og O1)OFF button on it
En figure 3/ +ou #ill see that the Dtep M7! is sho#n lit The 0og Mode button
toggles bet#een ,ontin$o$s2 Step and M+3 modes,
En 4ontinuous mode the chosen a>is #ill Aog for as long as +ou hold the $e+ do#n The
speed of Aogging is set b+ the Slo" 0og +ercentage !9= `ou can enter an+ value
Using Mach3Mi 3-3+ Rev 1.84-A2
from
.5m to 5..m to get #hatever speed +ou #ant The Up and !o#n screen buttons beside
this !9= #ill alter its value in 0m steps Ef +ou depress the Shi%t $e+ then the Aogging
#ill occur at 5..m speed #hatever the override setting This allo#s +ou to Buic$l+ Aog to
near
+our destination and the position accuratel+
En Dtep mode, each press of a Aog $e+ #ill move the a>is b+ the distance indicated in
the Step !9= `ou can set this to #hatever value +ou li$e Movement #ill be at the
current *eedrate `ou can c+cle through a list of predefined Dtep si?es #ith the ,ycle
0og Step button
9otar+ encoders can be interfaced %via the parallel port input pins& to Mach3 as Manual
3ulse Kenerators %M3Ks& Et is used to perform Aogging b+ turning its $nob #hen in
M+3 mode The buttons mar$ed #lt #, #lt - and #lt , c+cle through the available a>es
for each of three M3Ks and the M7!s define #hich a>is is currentl+ selected for Aogging
The another option for Aogging is a Ao+stic$ connected to the 34 games port or UDG
Mach3 #ill #or$ #ith an+ @indo#s compatible Sanalog Ao+stic$S %so +ou could even
control +our Y a>is b+ a *errari steering #heelb& The appropriate @indo#s driver #ill be
needed for the Ao+stic$ device The astic$ is enabled b+ the 0oystic. button and, for safet+,
must be in the central position #hen it is enabled
Ef +ou have an actual Ao+stic$ and it has a throttle control then this can be configured either
to control the Aog override speed or the control the feed rate override %see 4hapter 0 again&
Duch a Ao+stic$ is a cheap #a+ of providing ver+ fle>ible manual control of +our machine
tool En addition, +ou can use multiple Ao+stic$s %strictl+ ,>es on Numan Enterface
!evices& b+ installing manufactureras profiler soft#are or, even better, the Oe+Krabber
utilit+ supplied #ith Mach
"o# #ould be a good time to tr+ all the Aogging options on +our s+stem !onat forget
that there are $e+board shortcuts for the buttons, so #h+ not identif+ them and tr+ them
`ou should soon find a #a+ of #or$ing that feels comfortable
]
33 Movimentao

LocF pode mover a ferramenta manualmente para BualBuer ponto de seu trabalho,
usando vrios tipos de movimentaes %2ogging&
"aturalmente, em algumas mBuinas, a ferramenta em si 8 Bue vai andar e em
outros ser a mesa da mBuina ou partes Bue se movem
"Is usamos as palavras Smover a ferramentaS aBui pela simplicidade

=s controles de Aogging esto colocados em uma tela especCfica

7la 8 mostrada e escondida, usandoHse a tecla Tab do teclado
*igura 3/ d uma viso da tela flutuante

LocF pode usar o teclado para se movimentar
,s chaves de seta so definidos por padro para movimentar os ei>os Y e ` e 3g
Up ( 3g!n movimenta o ei>o V
LocF pode reHconfigurar esses teclas %ver 4apCtulo 0& para atender Ts suas prIprias
preferFncias
LocF pode usar as teclas de Aogging em BualBuer tela posicionando o boto 2og
em =**( ="

"a figura 3/, vocF ver Bue o passo M7! 8 mostrado iluminado
= boto 2og Mode alterna entre contCnuo, Dtep e modo M3K,
"o modo contCnuo no ei>o escolhido, haver movimento enBuanto vocF mantiver
a tecla pressionada , velocidade do movimento 8 definida pelo percentual !9=
Dlo# 2og LocF pode inserir BualBuer valor a partir de .,5m a 5..m para
conseguir a velocidade Bue vocF Bui?er N teclas para alterar o seu valor em
etapas de 0m De vocF pressionar a tecla Dhift, em seguida, a movimentao
ocorrer a uma velocidade 5..m, BualBuer Bue seAa a definio de substituio
Esso permite Bue vocF rapidamente chegue ao seu destino e na posio e>ata

"o modo de passo, cada toBue de uma tecla Aog mover o ei>o com a distRncia
indicada no !9= Dtep
LocF pode definir esse valor para o Bue vocF gosta Movimento ser no atual
avano LocF pode percorrer uma lista de tamanhos predefinidos 3asso a 3asso
com o boto 2og 4iclo

*igura 3/ H 2og controles %Use a tecla Tab para mostrar e ocultar&

4odificadores rotativos pode ser conectado %via os pinos da porta paralela de
entrada& para Mach3 como geradores de pulso manual %M3Ks&
7le pode ser usado para reali?ar Aogging girando o boto Buando em modo M3K
=s botes esto marcados com ,lt ,, ,lt G e ,lt 4 ,para cada um dos ei>os
disponCveis para cada dos trFs M3Ks e os seus M7!s definiro Bual ei>o esta
selecionado para ser movimentado

, outra opo para a movimentao 8 um Ao+stic$ conectado T porta UDG do 34
ou Aogos
Mach3 ir trabalhar com BualBuer um SAo+stic$ analIgicoS compatCvel com o
@indo#s %assim vocF pode at8 mesmo controlar o seu ei>o Y por um volante de
*errarib& = driver apropriado do @indo#s ser necessrio para a dispositivo de
Ao+stic$ = Sstic$ 8 ativado pelo boto do Ao+stic$ e, por segurana, deve ficar na
posio central Buando ele estiver habilitado

De vocF tiver um Ao+stic$ real e tem um controle do acelerador, ento este pode
ser configurado para controlar a velocidade do movimento substituindo o
controle da ta>a de alimentao %ver 4apCtulo 0 novamente&

7sses Ao+stic$ 8 um modo barato de fornecer um controle manual muito fle>Cvel
para a sua mBuina ferramenta ,l8m disso, vocF pode usar Ao+stic$s mltiplos
%Numan Enterface !evices& instalando o soft#are do fabricante ou, melhor ainda,
usando o utilitrio Oe+Krabber fornecido com o Mach
,gora seria um bom momento para tentar todas as opes e se movimentar em
seu sistema
"o se esBuea Bue e>istem atalhos de teclado para os botes, ento agora 8 o
momento para identificHlos e testaHlos LocF dever em breve encontrar uma
maneira de trabalhar Bue se sinta confortvel
_
3.4 Manua *ata In%ut 3M*I5 and teaching
3.4.1 !DI
Use the mouse or $e+board shortcut to displa+ the M!E %Manual !ata Enput& screen
This has a single line for data entr+ `ou can clic$ in it to select it or use press Enter
#hich #ill automaticall+ select it
`ou can t+pe an+ valid line
that could appear in a part
program and it #ill be e>ecuted
#hen +ou press Enter `ou can
discard the line b+ pressing
Esc The -ac.space $e+ can be
used for correcting mista$es in
+our t+ping
#igure 3.4 ) M*I data /eing ty%ed
Ef +ou $no# some KH4ode commands then +ou could tr+ them out Ef not then tr+'
G00 X1.6 Y2.3
@hich #ill move the tool to coordinates Y n 51 units and ` n -3 units %it is K ?ero not K
letter =& `ou #ill see the a>is !9=s move to the ne# coordinates
Tr+ several different commands %or K.. to different places& Ef +ou use the up or do#n
arro# $e+s #hile in the M!E line +ou #ill see that Mach3 scrolls +ou bac$ and for#ards
through the histor+ of commands +ou have used This ma$es it eas+ to repeat a
command #ithout having to reHt+pe it @hen +ou select the M!E line +ou #ill have
noticed a fl+out bo> giving +ou a previe# of this remembered te>t
,n M!E line %or bloc$ as a line of KH4ode is sometimes called& can have several
commands on it and the+ #ill be e>ecuted in the SsensibleS order as defined in 4hapter 5.
H not necessaril+ from left to right *or e>ample setting a feed speed b+ something li$e
*-0 #ill ta$e effect before an+ feed speed movements even if the *-0 appears in the
middle or even at the end of the line %bloc$& Ef in doubt about the order that #ill be used
then t+pe several separate M!E commands in one b+ one
]
3,/ 7ntrada de dados manual %M!E& e aprendi?ado
3/5 M!E
Use o atalho do teclado ou do mouse para e>ibir a tela M!E %Manual !ata Enput&

7la tem uma nica linha para entrada de dados
LocF pode clicar nela para selecionHla ou pressione 7nter Bue automaticamente 8
selecionada

LocF pode digitar BualBuer linha de programa Bue ele vai ser e>ecutado Buando
vocF pressionar 7nter
LocF pode descartar a linha pressionando 7sc
, tecla Gac$space pode ser utili?ados para corrigir os erros em digitao

De vocF conhece alguns comandos de KH4ode, ento vocF pode e>perimentHlos
De no, ento tente' K.. Y51 `-3

Uue ir mover a ferramenta para as coordenadas Y n 51 unidades e ` n -3
unidades %K V79=, no 8 K e letra =&
LocF vai ver o ei>o se mover para as novas coordenadas

7>perimente vrios comandos diferentes %ou K.. para lugares diferentes&
De vocF usar as teclas de seta para cima ou para bai>o, enBuanto na linha de M!E,
vocF ver Bue rola para trs e para frente atrav8s do histIrico de comandos Bue vocF
usou Esto torna mais fcil para repetir um comando sem ter Bue digitar novamente
Uuando vocF seleciona a linha M!E vocF deve ter notado uma cai>a flutuante
dandoHlhe um previe# deste te>to

Uma linha de M!E %ou bloco como uma linha de KH4ode Ts ve?es 8 chamado& pode
ter vrios comandos sobre ele e eles sero e>ecutados na SordemS sensCvel, tal como
definido no capCtulo 5. H no necessariamente da esBuerda para a direita
3or e>emplo, definir uma velocidade de avano por algo como' *-0 produ?ir
efeitos de alterao de velocidade antes de BualBuer alimentao, mesmo se o *-0
aparecer no meio ou mesmo no final da linha %bloco&
7m caso de dvida sobre a ordem em Bue sero utili?ados na seBuencia, escreva
vrios comandos separados M!E um por um
_
3.4.2 TeachingMach3 can remember a seBuence of lines that +ou enter using M!E
and #rite them to a file This can then be run again and again as a KH4ode program
=n the M!E screen, clic$ the Start Teach button The M7! ne>t to it #ill light to
remind +ou that +ou are
teaching T+pe in a series
of M!E lines Mach3 #ill
e>ecute them as +ou
press return after each
line and store them in a
conventionall+ named
Teach file @hen +ou
have finished, clic$
Stop Teach
`ou can t+pe +our o#n
code or tr+'
g21
f100
g1 x10 y0
g1 x10 y5
x0
y0
,ll the . are ?eros in this
"e>t clic$ Load)Edit and
go to the 3rogram 9un
screen `ou #ill see the
lines +ou have t+ped are
#igure 3., ) In the midde o" teaching a rectange
displa+ed in the KH4ode #indo# %figure 31& Ef +ou clic$ 4+cle Dtart then Mach3
#ill e>ecute +our program
@hen +ou have used the editor then +ou #ill be able to correct an+ mista$es and save
the program in a file of +our o#n choosing
#igure 3.. ) $aught %rogram running
[
3/- ,prendi?ado
Mach3 lembrar de uma seBQFncia de linhas Bue vocF entrou
usando M!E se gravHlos em um arBuivo
7stes podem ento serem e>ecutados novamente e novamente
como um programa KH4ode

!ados M!E Bue esto sendo digitados na tela M!E, cliBue no
boto Eniciar ensinar
3rI>imo a ele h um M7! Bue se acender para lembrar Bue
vocF est na fase de ensino
!igite o nome de uma s8rie de linhas de M!E
Mach3 vai e>ecutHlos Buando vocF pressionar 7nter e apIs
ento cada linha ser arma?enada em Bue se convencionou
chamar de arBuivo de aprendi?ado
Uuando vocF terminar, cliBue em 3arar 7nsinar
LocF pode digitar o seu prIprio cIdigo ou e>perimentar'
K-5
f5..
g5 >5. +.
g5 >5. +0
>.
+.
Todos os . so ?eros
4arregar, cliBue em ,vanar ( 7dit e ir para o 9un 3rogram
"a tela vocF vai ver as linhas Bue vocF digitou e>ibido na
Aanela de cIdigo K %figura 31&
De vocF clicar em Eniciar, em seguida 4iclo Mach3 vai
e>ecutar o programa

Uuando vocF tiver usado o editor, ento vocF ser capa? de
corrigir eventuais erros e salvar o programa em um arBuivo de
sua escolha
3., 6i7ards ) CAM 'ithout a dedicated CAM so"t'are
Mach3 allo#s the use of addH
on screens #hich allo# the
automation of Buite comple>
tas$s b+ prompting the user
to provide the relevant
information En this sense
the+ are rather li$e the soH
called @i?ards in much
@indo#s soft#are that guide
+ou through the information
reBuired for a tas$ The
classic @indo#s @i?ard #ill
handle tas$s line importing a
file to a database or
spreadsheet En Mach3,
e>amples of @i?ards include
#igure 3.0 ) $a/e o" 6i7ards "rom 6i7ard menu
cutting a circular poc$et, drilling a grid of holes, digitising the surface of a model part
Et is eas+ to tr+ one out En the 3rogram 9un screen clic$ Moad @i?ards , table of the
@i?ards installed on +our s+stem #ill be displa+ed %figure 3J& ,s an e>ample clic$ on
the line for 4ircular poc$et, #hich is in the standard Mach3 release, and clic$ 4$n
The Mach3 screen currentl+ displa+ed #ill be replaced b+ the one sho#n in figure 3:
This sho#s the screen #ith some default options "otice that +ou can choose the units to
#or$
in, the position of the centre of the poc$et, ho# the tool is to enter the material and so on
"ot all the options might be relevant to +our machine `ou ma+, for e>ample, have to
set the spindle speed manuall+ En this case +ou can ignore the controls on the @i?ard
screen
@hen +ou are satisfied #ith
the poc$et, clic$ the +ost
,ode button This #rites a KH
code part program and loads
it into Mach3 This is Aust an
automation of #hat +ou did
in the e>ample on Teaching
The toolpath displa+ sho#s
the cuts that #ill be made
`ou can revise +our
parameters to ta$e smaller
cuts or #hatever and reHpost
the code
Ef +ou #ish +ou can save the
settings so the ne>t time +ou
run the @i?ard the initial
data #ill be #hat is currentl+ defined
#igure 3.8 ) Circuar %oc4et 'ith de"auts
#igure 3.1 ) Circuar !oc4et 'ith vaues set and code %osted
@hen +ou clic$ E5it +ou #ill be returned to the main Mach3 screens and can run the
@i?ardHgenerated part program This process #ill be often be Buic$er than reading
the description here
#igure 3.1+ ) $he resut o" Circuar !oc4et ready to run
]
3,0 ,ssistentes H 4,M sem soft#are dedicado
Mach3 permite o uso de adicionais, Bue permitem a automao de tarefas bastante
comple>as
"este sentido, eles so parecidos como os chamados @i?ards em grandes soft#ares como o
@indo#s Bue orientam atrav8s de informaes necessrias para uma tarefa
= @indo#s clssico ,ssiste em lidar com tarefas por e>emplo na importao de um arBuivo
para um banco de dados ou planilha
7m Mach3, so e>emplos de @i?ards o corte circular de um bolso, furar uma grade de furos, a
digitali?ao da superfCcie de uma parte do modelo, e outros
"a tela do programa cliBue em carregar @i?ards
, tabela dos @i?ards instalados em seu sistema ser e>ibida %figura 3J& 4omo um e>emplo,
cliBue no linha para circular de bolso, Bue est na verso standard Mach3 e cliBue em
7>ecutar
, tela Mach3 atualmente e>ibida ser substituCda por aBuela mostrada na figura 3:
7ste mostra a tela com algumas opes padro
=bserve Bue vocF pode escolher as unidades de trabalho na posio do centro do bolso, como
a ferramenta 8 para entrar no material e assim por diante
"em todas as opes podem ser relevantes para sua mBuina
LocF pode, por e>emplo, definir a velocidade do ei>o manualmente
"este caso, vocF pode ignorar os controles na tela do ,ssistente

Uuando estiver satisfeito com o bolso, cliBue no 3ost boto 4ode
Esto escreve um programa em KH4ode da pea e carregaHo em Mach3
7ste 8 apenas uma automao do Bue vocF fe? no e>emplo de aprendi?ado
= visor mostra o caminho da ferramenta nos cortes Bue sero feitos
LocF pode rever os seus parRmetros para ter menor cortes ou BualBuer outra coisa e
reposicionar o cIdigo
De Buiser, vocF pode salvar o definies para a prI>ima ve? Bue vocF e>ecutar o ,ssistente
com os dados como o Bue est redefinido
Uuando vocF clica em Dair voltar T tela principal do Mach3 e pode e>ecutar o
programa da pea @i?ardHgenerated
7ste processo ser muitas ve?es mais rpido do Bue a leitura do descrito aBui
]
3.. Running a 8-Code %rogram
"o# it is time to input and edit a 3art 3rogram `ou #ill normall+ be able to edit
programs #ithout leaving Mach3 but, as #e have not +et configured it to $no# #hich
editor to use, it is easiest to set up the program outside Mach3
Use @indo#s "otepad to enter the follo#ing lines into a te>t file and save it in
a convenient folder %M+ !ocuments perhaps& as spiral.tap
`ou must choose #ll Files in the Save #s Type dropHdo#n or "otepad #ill append TYT
to +our filename and Mach3 #ill not be able to find it
g20 f100
g00 x1 y0 z0
g03 x1 y0 z0.2 i1 !0
g03 x1 y0 z0." i1 !0
g03 x1 y0 z0.6 i1 !0
g03 x1 y0 z0.# i1 !0
g03 x1 y0 z1.0 i1 !0
g03 x1 y0 z1.2 i1 !0
$00
,gain all the S.S are ?eros in this !onat forget to press the Enter $e+ after the m. Use the
*ileoMoad KH4ode menu to load this program `ou #ill notice that it is displa+ed in the
KH code #indo#
=n the +rogram 4$n screen +ou can tr+ the effect of the Start ,ycle, +a$se, Stop,
and
4e"ind buttons and their shortcuts
,s +ou run the program +ou ma+ notice that the highlighted line moves in a peculiar #a+
in the KH4ode #indo# Mach3 reads ahead and plans its moves to avoid the toolpath
having to slo# do#n more than in necessar+ This loo$ahead is reflected in the displa+ and
#hen +ou pause
`ou can go to an+ line of code scrolling the displa+ so the line is highlighted `ou can
then use 4$n %rom here
%ote$ `ou should al#a+s run +our programs from a hard drive not a flopp+ drive or UDG
S$e+S Mach3 needs highHspeed access to the file, #hich it maps into memor+ The program
file must not be readHonl+
]
3,1 7>ecutando um programa em KH4ode
,gora 8 a hora de dar entrada e editar um programa de pea
LocF ir normalmente estar em condies de programar e editar programas sem dei>ar o
Mach3, mas como ainda no o configurou para saber Bual editor usar, 8 mais fcil de
configurar o programa fora do Mach3
Use o Gloco de notas do @indo#s para entrar com as seguintes linhas em um arBuivo
te>to e salveHo em uma conveniente pasta %Meus !ocumentos, talve?& como spiraltap
LocF deve observar para salvar seu arBuivo com terminao tap ou Gloco de "otas ir
ane>ar TYT em seu nome e Mach3 no ser capa? de encontrHlo
f5.. g-.
K.. +. >5 ?.
K.3 +. >5 ?H.- iH5 A.
K.3 +. >5 ?H./ iH5 A.
K.3 +. >5 ?H.1 iH5 A.
K.3 +. >5 ?H.: iH5 A.
K.3 +. >5 ?H5. iH5 A.
K.3 +. >5 ?H5- iH5 A.
m..
"o se esBuea de pressionar a tecla 7nter apIs o m..
Use o *ileo Moad menu KH4ode para carregar este programa
LocF vai notar Bue ele 8 e>ibido na Aanela KH4ode
"a tela 7>ecutar programa vocF pode e>perimentar o efeito do ciclo de arranBue, 3ause, Dtop,
e botes 9e#ind e seus atalhos
,o vocF e>ecutar o programa vocF poder notar Bue o destaBue se move em linha de uma
maneira peculiar na Aanela KH4ode
= Mach3 lF em frente e planeAa seus movimentos para evitar desacelerar mais do Bue
necessrio
7sta viso 8 refletida no visor Buando vocF pausa
LocF pode ir para BualBuer linha de cIdigo com rolagem no visor e a linha 8 realada
LocF pode, ento, usar 7>ecutar a partir deste ponto
*igura 35. H = resultado da 4ircular 3oc$et pronto para ser e>ecutado
"ota' LocF deve sempre e>ecutar seus programas de um disco rCgido, no use os programas
por uma unidade de dis$ete ou entrada UDG pois as velocidades no acompanham as
necessidades do Mach3
N necessidades de alta velocidade neste processo, porBue os mapas esto na memIria
= arBuivo de programa no deve ser somente leitura
3.0 $oo%ath dis%ay
3.".1 +iewing the toolpath
The 3rogram 9un screen has a blan$ sBuare on
it #hen Mach3 is first loaded @hen the Dpiral
program is loaded +ou #ill see it change to a
circle inside a sBuare `ou are loo$ing straight
do#n on the toolpath for the programmed part,
ie in Mach3Mill +ou are loo$ing perpendicular
to the YH` plane
#igure 3.11 $oo%ath "rom -%ira.t9t
The displa+ is li$e a #ire model of the path the tool #ill follo# placed inside a clear
sphere G+ dragging the mouse over the #indo# +ou can rotate the SsphereS and so see the
model from different angles The set of a>es in the top left hand corner sho# +ou #hat
directions are Y, ` and V Do if +ou drag the mouse from the centre in an up#ards
direction the SsphereS #ill turn sho#ing +ou the V a>is and +ou #ill be able to see that the
circle is actuall+ a spiral cut do#n#ards %in the negative V direction& 7ach of the K3 lines
in the Dpiral program above dra#s a circle #hile simultaneousl+ lo#ering the tool .- in
the V direction `ou can also see the initial K.. move #hich is a straight line
`ou can if +ou #ish produce a displa+ li$e the conventional isometric vie# of the
toolpath , fe# minutes of Spla+S #ill soon give +ou confidence in #hat can be done
`our displa+
ma+ be a different colour to that sho#n in figure 355 The colors can be configured Dee
chapter 0
]
3J Mostrar o caminho da ferramenta

3J5 Lisuali?ando o toolpath

, tela do programa Mach3 apresenta um Buadrado em branco Buando 8 carregado
pela primeira ve?
Uuando o programa de espiral 8 carrregado, vocF ver a mudana para um cCrculo
dentro de um Buadrado LocF est olhando por bai>o do caminho de ferramenta, para
a parte programada, ou seAa, o Bue vocF est fa?endo no Mach3Mill estar
perpendicular ao plano YH`

, tela 8 como um modelo de arame do caminho Bue a ferramenta seguir colocado
dentro de uma esfera transparente

,o arrastar o mouse sobre a Aanela vocF pode girar a SesferaS e assim ver o modelo a
partir de Rngulos diferentes
= conAunto de ei>os, no canto superior esBuerdo mostram o Bue as direes so Y, `
e V
7nto, se vocF arrastar o mouse a partir do centro em direo para cima, a S7sferaS,
vai virar mostrandoHlhe o ei>o V, e vocF ser capa? de ver Bue o cCrculo 8 na verdade,
um corte em espiral para bai>o na direo %negativa V&
4ada uma das linhas no K3 programa Dpiral acima desenha um cCrculo, ao mesmo
tempo Bue desce com a ferramenta .,- na direo V
LocF tamb8m pode ver o movimento K.. inicial, Bue 8 uma linha reta
LocF pode, se deseAar produ?ir uma e>ibio como a viso convencional isom8trica
dos toolpath
Uns poucos minutos de observao em breve vai lhe dar confiana no Bue pode ser
feito
Deu displa+ pode ser uma cor diferente da mostrada na figura 355 ,s cores podem
ser configuradas Ler 4apCtulo 0
_
3.".2 ,anning and -oo$ing the toolpath displa&
The toolpath displa+ can be ?oomed b+ dragging the cursor in its #indo# #ith the Dhift
$e+ depressed
The toolpath displa+ can be panned in its #indo# b+ dragging the cursor in the
#indo# #ith the 9ight mouse button held
!oubleHclic$ing the toolpath #indo# restores the displa+ to the original perpendicular
vie# #ith no ?oom applied
%ote$ `ou cannot 3an or Voom #hile the machine tool is running
]
3J- Deparando e ampliando a e>ibio do caminho da ferramenta
= displa+ toolpath pode ser ampliado, arrastando o cursor em sua Aanela com a tecla Dhift
apertada
= displa+ toolpath pode ser deslocada em sua Aanela, arrastando o cursor na Aanela
com o boto direito do mouse apertado
!oubleHclic$ na Aanela toolpath restaura a visuali?ao para a vista original perpendicular sem
?oom aplicado
"ota' LocF no pode usar o 3an e Voom, enBuanto a mBuinasHferramenta est sendo
e>ecutada
_
3.8 (ther screen "eatures
*inall+ it is #orth bro#sing through some of the other @i?ards and all the screens
,s a small challenge +ou might li$e to see if +ou can identif+ the follo#ing useful
features' , button for estimating the time that a part program #ill ta$e to run on
the actual
machine tool
The controls for overriding the feedrate selected in the part program
!9=s #hich give the e>tent of movement of the tool in all a>es for the loaded
part program
, screen that lets +ou set up information li$e #here +ou #ant the V a>is to be
put to ma$e Y and ` moves safe from hitting clamps etc
, screen that lets +ou monitor the logic levels %?ero and one& on all Mach3s
inputs and outputs
]
3,: =utros recursos da tela
*inalmente, 8 hora de navegar por alguns dos assistentes e todas as outras telas
4omo um peBueno desafio, veAa se vocF consegue identificar as seguintes caracterCsticas teis'
H Um boto para estimar o tempo Bue um programa da pea vai demorar para ser e>ecutado na
mBuinasHferramenta real %,lt /&
H = controle para substituir o ,vano selecionado no programa da peaH !9=s Bue do a
medida do movimento da ferramenta em todos os ei>os para a parte em e>ecuo do programa
H Uma tela Bue permite configurar as informaes como o local onde vocF deseAa Bue o ei>o V
seAa colocado para fa?er um movimento seguro Y e ` para vc acertar os fi>adores da pea 7tc
H Uma tela Bue permite Bue vocF monitore os nCveis de lIgica %?ero e um& em todas as entradas
e saCdas no Mach3
H 3roblemas de hard#are e como conectar sua mBuina ferramenta
/ H 7ste capCtulo fala sobre os aspectos do hard#are e suas cone>es
4apCtulo 0 d detalhes de configurao Mach3 para usar os itens conectados
De vocF comprou uma mBuina Bue A est preparada para usar o Mach3 ento vocF
provavelmente no precisa ler este capCtulo %e>ceto como interesse geral& Deu fornecedor ter
dado alguma documentao sobre como conectar as partes de seu sistema em conAunto
Meia este capCtulo para descobrir como o Mach3 reali?a o controle e como vocF pode conectarH
se aos componentes padres, como drivers de motor de passos, e microHs#itches
_
&ard'are issues and connecting your machine too
Using Mach3Mi 4-2 Rev 1.84-A2
4. &ard'are issues and connecting the machine too
This chapter tells +ou about the hard#are aspects of connections 4hapter
0 gives details of configuring Mach3 to use the connected items
Ef +ou have bought a machine that is alread+ eBuipped to be run b+ Mach3
then +ou #ill probabl+ not need to read this chapter %e>cept out of general
interest& `our supplier #ill have given +ou some documentation on ho#
to connect the parts of +our s+stem together
9ead this chapter to discover #hat Mach3 e>pects it is going to control and
ho# +ou can connect up standard components li$e stepper motor drivers
and microHs#itches @e #ill assume that +ou can understand simple
schematic circuit diagramse if not, then no# is the time to get some help
=n the first reading +ou might not #ant to bother #ith sections after /1
4.1 -a"ety - em%hasised
,n+ machine tool is potentiall+ dangerous This manual tries to give +ou
guidance on safet+ precautions and techniBues but because #e do not
$no#
the details of +our machine or local conditions #e can accept no
responsibilit+ for the performance of an+ machine or an+ damage or inAur+
caused b+ its use Et is +our responsibilit+ to ensure that +ou understand the
implications of #hat
+ou design and build and to compl+ #ith an+ legislation and codes of
practice applicable to +our countr+ or state
&f you are in any doubt you must seek guidance from a professionally 'ualified
e(pert rather than risk in)ury to yourself or to others.
4.2 6hat Mach3 can contro
Mach3 is a ver+ fle>ible program designed to control machines li$e milling machines
%and although not described here, turning machines& The characteristics of these
machines used b+ Mach3 are'
Dome user controls ,n emergenc+ stop %7Dtop& button must be provided on
ever+ machine
T#o or three a>es #hich are at right angles to each other %referred to as Y, ` and
V&
, tool #hich moves relative to a #or$piece The origin of the a>es is fi>ed in
relation to the #or$piece The relative movement can, of course, be b+ %i& the tool
moving %eg the Buill of a milling spindle moves the tool in the V direction or a lathe
tool mounted on a crossHslide and a saddle moves the tool in the Y and V directions&
or %ii& b+ the table and #or$piece moving %eg on a $nee t+pe mill the table moves in
the Y, ` and V directions&
,nd optionall+'
Dome s#itches to sa+ #hen the tool is in the SNomeS
position
Dome s#itches to define the limits of permitted relative movement of the
tool
, controlled SspindleS The SspindleS might rotate the tool %mill& or the
#or$piece
%turning&
&ard'are issues and connecting your machine too
Rev 1.84-A2 4-1 Using Mach3Mi
Up to three additional a>es These can be defined as 9otar+ %ie their movement
is measured in degrees& or Minear =ne of the additional linear a>es can be
slaved to the Y or ` or V a>is The t#o #ill move together at all times in
response to a part
Using Mach3Mi 4-2 Rev 1.84-A2
&ard'are issues and connecting your machine too
programas moves and to +our Aogging but the+ #ill each be referenced
separatel+ %see ,on%ig$ring slaved a5es for more details&
, s#itch or s#itches #hich interloc$ the guards on the machine
4ontrols for the #a+ coolant is delivered %*lood and(or Mist&
, probe in the tool holder that allo#s digitising of an e>isting part
7ncoders, such as linear glass scales, #hich can displa+ the position of parts of
the machine
Dpecial functions
Most connections bet#een +our machine and the 34 running Mach3 are made through
the parallel %printer& port%s& of the computer , simple machine #ill onl+ need one porte a
comple> one #ill need t#o
4onnections for control of special functions li$e an M4! displa+, a toolHchanger, a>is
clamps or a s#arf conve+or can also be made through a ModGus device %eg a 3M4
or Nomann !esigns ModE= controller&
Guttons can be interfaced b+ a S$e+board emulatorS #hich generates pseudo $e+ presses
in response to input signals
Mach3 #ill control all si> a>es, coHordinating their simultaneous movement #ith
linear interpolation or perform circular interpolation on t#o a>es %out of Y, ` or V&
#hile simultaneousl+ linearl+ interpolating the other four #ith the angle being s#ept
b+ the circular interpolation The tool can thus move in a tapering helical path if
reBuiredb The feed rate during these moves is maintained at the value reBuested b+
+our part program,
subAect to limitations of the acceleration and ma>imum speed of the a>es `ou can move
the a>es b+ hand #ith various Aogging controls
Ef the mechanism of +our machine is li$e a robot arm or a he>apod then Mach3 will not
be able to control it because of the $inematic calculations that #ould be needed to relate
the StoolS position in Y, ` and V coordinates to the length and rotation of the machine
arms
Mach3 can s#itch the spindle on, rotating in either direction, and s#itch it off Et can also
control the rate at #hich it rotates %rpm& and monitor its angular position for operations
li$e cutting threads
Mach3 can turn the t#o t+pes of coolant on and off
Mach3 #ill monitor the 7Dtop and can ta$e note of the operation of the reference
s#itches, the guard interloc$ and limit s#itches
Mach3 #ill store the properties of up to -01 different tools Ef, ho#ever, +our machine
has an automatic tool changer or maga?ine then +ou #ill have to control it +ourself
]
/,- = Bue o Mach3 pode controlar
Mach3 8 um programa muito fle>Cvel, destinado a controlar mBuinas como fresadoras %e
embora no seAa descrito aBui, tornos& ,s caracterCsticas destas mBuinas usadas
por Mach3 so'
j ,lguns controles de usurio Um boto de parada de emergFncia deve ser instalado em cada
mBuina
j !ois ou trFs ei>os Bue so perpendiculares entre si %referidos como Y, ` e V&
j Uma ferramenta Bue se move em relao a uma pea , origem dos ei>os 8 fi>ado em
relao T pea
Rev 1.84-A2 4-1 Using Mach3Mi
&ard'are issues and connecting your machine too
= movimento relativo Bue pode ser naturalmente uma ferramenta mIvel, %por e>emplo, a fresa
de um spindle movendoHse nas direes Y, ` e V&
7, opcionalmente'
j ,lguns interruptores para di?er Buando a ferramenta est em na posio SNomeS %ponto
inicial &
j ,lguns interruptores para definir os limites do movimento relativo permitido para a
ferramenta
j Um ei>o rotativo com uma broca ScontroladoS = ei>o Spode rodar a ferramenta %fresa& ou a
pea %Kiro& %Tradu?iremos esta ferramenta como spindle&
j ,t8 trFs ei>os complementares 7stes podem ser definidos como 9otativos %isto 8, seu
movimento 8 medido em graus& ou Minear Um dos ei>os adicionais, podem ser escravo do ei>o
Y ou ` ou ei>o V
=s dois vo caminhar Auntos todo o tempo em resposta a uma parte do programa de
movimento e Buando vocF usar o Aogging eles se movimentaro separadamente
%4onsulte' 4onfigurando ei>os escravo para mais detalhes&
j Um interruptor ou interruptores Bue definem os limites da mBuina
j 4ontroles da forma Bue a refrigerao 8 feita %n8voa e ( ou mista&
j Uma sonda no portaHferramenta Bue permite a digitali?ao de uma pea
p 7ncoders, tais como escalas de vidro linear, Bue pode mostrar a posio da pea na
mBuina
j *unes especiais
, maioria das cone>es entre sua mBuina e o 34 e>ecutando o Mach3 so feitas atrav8s da
porta paralela da impressora do computador
Uma mBuina simples, sI precisa de um porta, um mais comple>o ter duas portas
4one>es para controle das funes especiais, como um monitor M4!, um trocador de
ferramentas, braadeiras ou uma transportadora de aparas tamb8m podem ser usados atrav8s de
um dispositivo ModGus %por e>emplo, um 3M4 ou !esigns Nomann controlador ModE=&
=s botes podem ser interligados por um emulador de teclado Bue gera pseudo teclas em
resposta aos sinais de entrada
Mach3 vai controlar todos os seis ei>os, coordenando os seus movimentos simultRneamente
com interpolao linear ou e>ecutando uma interpolao circular em dois ei>os %de Y, ` ou V&,
enBuanto simultaneamente interpola linearmente os outros Buatro com o Rngulo Bue est sendo
varrida pelo interpolao circular
, ferramenta pode, assim, avanar em um caminho helicoidal afinando, se necessriob , ta>a
de alimentao durante esses movimentos 8 mantida no valor solicitado pelo programa da pea,
suAeito Ts limitaes da acelerao e velocidade m>ima dos ei>os
LocF pode mover o ei>os T mo com diversos controles de Aogging
De o mecanismo de sua mBuina 8 como um brao de rob^ ou uma he>apod ento Mach3 no
ser capa? de os controlar, porBue os clculos de cinemtica sero necessrios para relacionar a
S*erramentaS posio em Y, ` e V e as coordenadas para o tamanho e rotao dos braos da
mBuina
Using Mach3Mi 4-2 Rev 1.84-A2
&ard'are issues and connecting your machine too
Mach3 pode mudar o ei>o sobre sC, girar em BualBuer direo, e desligHlo Tamb8m pode
controlar a velocidade em Bue gira %rpm&, e acompanhar sua posio angular para operaes
como tIpicos de corte
Mach3 pode ligsr e desligar at8 dois tipos de refrigerante

Mach3 vai acompanhar paradas de emergFncia e pode tomar conhecimento do funcionamento
das chaves de referFncia, e chaves de bloBueio de limite
Mach3 vai arma?enar as propriedades de at8 -01 instrumentos diferentes
De, no entanto, a sua mBuina tem um trocador automtico de ferramentas ento vocF vai
controlar isso so?inho
_
4.3 $he :-to% contro
7ver+ machine tool must have one or more 7mergenc+ Dtop %7Dtop& buttonse usuall+ #ith
a big red mushroom head The+ must be fitted so that +ou can easil+ reach one from
#herever +ou might be #hen +ou are operating the machine
7ach 7Dtop button should stop all activit+ in the machine as Buic$l+ as is safel+
possiblee the spindle should stop rotating and the a>es should stop moving This should
happen without rel+ing on soft#are H so #e are tal$ing about rela+s and contactors The
circuit should tell Mach3 #hat +ou have done and there is a special, mandator+ input for
this Et #ill generall+ not be good enough to turn off the ,4 po#er for an 7Dtop because
the
energ+ stored in !4 smoothing capacitors can allo# motors to run on for some
considerable time
The machine should not be able to run again until a SresetS button has been pressed Ef
the 7Dtop button loc$s #hen pushed then the machine should not start #hen +ou release
it b+ turning its head
Et #ill not generall+ be possible to continue machining a part after an 7Dtop but +ou and
the machine #ill at least be safe
]
/3 4ontrole da parada de emergFncia
4ada mBuinaHferramenta deve ter uma ou mais botes de 3arada de 7mergFncia, geralmente
com um cabea de cogumelo vermelho
7les devem ser aAustados de modo Bue vocF pode chegar facilmente a partir de BualBuer um
ponto Buando vocF estiver operando a mBuina
4ada boto deve parar e obstruir todas as atividades na mBuina o mais rpido e seguramente
possCvele o ei>o deve parar de girar e os ei>os devem parar de se mover
Esso deve acontecer sem depender de soft#are H por isso estamos falando de rel8s e contatores
= circuito deve informar ao Mach3 Bue vocF o acionou e h uma entrada especial obrigatIria
para isso
Keralmente no 8 o suficiente se desligar a alimentao durante uma parada porBue o energia
arma?enada em capacitores !4 e a suavi?ao pode permitir Bue os motores funcionem ainda
por um tempo considervel
, mBuina no deve ser capa? de se movimentar novamente at8 Bue um boto de SresetS seAa
pressionado
Rev 1.84-A2 4-1 Using Mach3Mi
&ard'are issues and connecting your machine too
De o boto de emergFncia foi acionado a mBuina no deve iniciar enBuanto o reset seAa
acionado
7m geral no ser possCvel continuar a usinagem de uma pea apIs uma parada de emergFncia,
entretanto, vocF e a mBuina ao menos esto seguros
_
Rev 1.84-A2 4-3 Using Mach3Mi

&ard'are issues and connecting your machine too


4.4 $he !C %arae %ort
4.4.1 The parallel port and its histor&
@hen EGM designed the original 34 %51.$ flopp+ disc drive, 1/$b+tes of 9,Mb&
the+ provided an interface for
connecting printers using a
-0 conductor cable This is
the foundation of the
3arallel port #e have on
most 34s toda+ ,s it is a
ver+ simple #a+ of
transferring data it has been
used for man+ things other
13
2,
+ vots
1
soc4et
num/er
14
than connecting printers
`ou can transfer files
bet#een 34, attach cop+
protection SdonglesS,
connect peripherals li$e
3common5
#igure 4.1 - !arae %ort "emae connector
3seen "rom /ac4 o" !C5
scanners and Vip drives and of course control machine tools using it UDG is ta$ing
over man+ of these functions and this convenientl+ leaves the parallel port free for
Mach3
The connector on the 34 is a -0 #a+ female S!S connector Ets soc$ets seen from the bac$
of the 34 are sho#n in figure /5 The arro#s give the direction of information flo#
relative to the 34 Thus, for e>ample, pin 50 is an input to the 34
%ote$ 4onvertors #hich plug into a UDG port and have a -0 pin connector #ill not drive a
machine even though the+ are perfectl+ suitable for the simpler tas$ of connecting a
printer
]
// , porta paralela do 34
//5 , porta paralela e sua histIria
Uuando a EGM proAetou o 34 original %51.$ unidade de disco fle>Cvel, 1/Ob+tes de 9,Mb&,
forneceu uma interface para impressoras usando uma cone>o com um cabo de -0 condutores
Esto 8 a base da porta paralela Bue e>iste na maioria dos computadores hoAe em dia 4omo 8
um maneira muito simples de transferFncia de dados tem sido usado para muitas outras coisas
alem de conectar impressoras
LocF pode transferir arBuivos entre 34, ane>ar SdonglesS de proteo, conectar perif8ricos
como scanners e drives Vip e de ferramentas de controle da mBuina 8 claro usHlo
UDG est assumindo muitas destas funes, isto convenientemente dei>a a porta paralela livre
para Mach3
= conector do 34 8 uma femea de -0 pinos
Duas bases visto de costas da 34 so mostrados na figura /5
,s flechas do a direo do flu>o de informaes relativas para o 34 ,ssim, por e>emplo, o
pino 50 8 uma entrada para o 34
"ota' =s 4onversores Bue ligam uma porta UDG e um conector de -0 pinos no vai comandar
um mBuina diretamente, embora seAam perfeitamente adeBuados para a simples tarefa de
conectar uma impressora
_
4.4.2 .ogic signals
Using Mach3Mi 4-4 Rev 1.84-A2
&ard'are issues and connecting your machine too
=n first reading, +ou ma+ #ish to s$ip to the ne>t heading and return here if +ou have to
get involved #ith the nitt+Hgritt+ of interface circuits Et #ill probabl+ be useful to read it
#ith the documentation for +our a>is drive electronics
,ll the signals output b+ Mach3 and input to it are binar+ digital %ie ?eros and ones&
These signals are voltages supplied b+ the output pins or supplied to the input pins of the
parallel port These voltages are measured relative to the computeras . volt line %#hich is
connected to pins 5: to -0 of the port connector&
The first successful famil+ %J/>> series& of integrated circuits used TTM %transistorH
transistor logic& En TTM circuits, an+ voltage bet#een . and .: volts is called SloS and
an+ voltage bet#een -/ and 0 volts is called ShiS 4onnecting a negative voltage or
an+thing above 0 volts to a TTM input #ill produce smo$e
5
The parallel port #as
originall+ built using TTM and to this da+ these voltages define its SloS and ShiS signals
"otice that in the #orst case there is onl+ 51 volts difference bet#een them
Et is, of course, arbitrar+ #hether #e sa+ that a SloS represents a logic one or a logic
?ero No#ever, as is e>plained belo#, SloS n one is actuall+ better in most practical
interface circuits
*or an output signal to do an+thing, some current #ill have to flo# in the circuit connected
to it @hen it is ShiS current #ill flo# out of the computer @hen it is SloS current #ill
flo# into the computer The more current +ou have flo#ing in, the harder it is to $eep the
voltage near ?ero so the nearer to the permitted limit of .: volts SloS #ill become
Dimilarl+, current flo#ing out of a ShiS #ill ma$e the voltage be lo#er and nearer to the
-/ volts lo#er limit Do #ith too much current the difference bet#een SloS and ShiS #ill be
even less than 51 volts and things #ill become unreliable *inall+, itas #orth noting +ou
are allo#ed roughl+ -. times more current flo#ing into a SloS than +ou are allo#ed
flo#ing out of a ShiS
5
Dome people thin$ that integrated circuits #or$ in some #a+ b+ using smo$e 4ertainl+ no one has ever
seen one #or$ after the smo$e has escapedb
Do this means that it is best to assign logic 5 to be a SloS signal *airl+ obviousl+ this is
called active lo logic The main practical disadvantage of it is that the device connected to
the parallel port has to have a 0 volt suppl+ to it This is sometimes ta$en from the 34
game port soc$et or from a po#er suppl+ in the device that is connected
Turning to input signals, the computer #ill need to be supplied #ith some current %less than
/. microamps& for ShiS inputs and #ill suppl+ some %less than ./ milliamps& for
SloS inputs
Gecause modern computer motherboards combine man+ functions, including the parallel
port, into one chip #e have e>perienced s+stems #here the voltages onl+ Aust obe+ the
ShiS and SloS rules `ou might find that a machine tool that ran on and old s+stem
becomes temperemental #hen +ou upgrade the computer 3ins - to 6 are li$el+ to have
similar properties %the+ are the data pins #hen printing& 3in 5 is also vital in printing but
the other output pins are little used and ma+ be less po#erful in a carefull+ SoptimisedS
design , good isolating brea$out board %see ne>t section& #ill protect +ou from these
electrical compatibilit+ problems
]
//- Dinais Mogicos
7m uma primeira leitura, vocF pode Buerer saltar este tIpico para a posio seguinte e voltar
aBui, se vocF tiver Bue se envolver com o Rmago da Buesto dos circuitos de interface
3rovavelmente ser til para lFHlo com a documentao para o ei>o da unidade eletr^nica
Todos os sinais de saCda e entrada para Mach3 so binrios digital %ou seAa, ?eros e uns&
7stes sinais de tenso so fornecidos por pinos de saCda ou fornecidos aos pinos de entrada da
porta paralela
7ssas tenses so medidos em relao T linha do computador . volt %Bue 8 ligado para os pinos
5:H-0 do conector da porta&
, primeira famClia de sucesso de circuitos integrados foi utili?ando o TTM,%s8rie J/>>&
%transistor transistor lIgica&
7m circuitos TTM, BualBuer tenso entre . e .,: volts 8 chamado de Sbai>oS e BualBuer tenso
entre -,/ e 0 8 chamado de SaltoS
4onectandoHse uma tenso negativa ou nada e acima de 0 volts a uma entrada TTM vai
produ?ir fumaa
, porta paralela foi originalmente construCdo usando TTM e at8 hoAe essas tenses definem os
sinais Sbai>oS e SaltaS =bserve Bue no pior caso, h apenas 5,1 volts de diferena entre eles
Z, evidentemente, arbitrrio se di?emos Bue uma lIgica esta gbai>oS ou em lIgica g?eroh

3ara um sinal de saCda para fa?er BualBuer coisa, alguns dos atuais sinais tero um flu>o de
sinais do circuito conectado para ele
Uuando 8 SaltoS corrente ir fluir para fora do computador Uuando 8 Sbai>aS corrente fluir
para o computador
_
4.4.3 /lectrical noise and e0pensive s$oke
!ven if you skipped the previous
section you had better read this one*
`ou #ill see that pins 5: to -0 are
connected to the . volt side of the
computeras po#er suppl+ ,ll signals
inside and outside the 34 are relative to
#igure 4.2 ) $hree e9am%es o" commerciay
avaia/e /rea4out /oards
this Ef +ou connect man+ long #ires to it, especiall+ if the+ run near #ires carr+ing high
currents to motors, then these #ires #ill have currents flo#ing in then that create
voltages #hich are li$e noise and can cause errors `ou might can even crash the
computer
The a>is and perhaps spindle drives, #hich +ou #ill connect to Mach3 through +our
parallel port, are li$el+ to #or$ at bet#een 3. and -/. volts and the+ #ill be able to suppl+
currents of man+ amps 3roperl+ connected the+ #ill do no harm to the computer but an
accidental
short circuit could easil+ destro+ the entire computer motherHboard and even the 4!H9=M
and hard drives as #ell
*or these two reasons +ou are ver+ strongl+ advised to bu+ a device called an Sisolating
brea$out boardS This #ill provide +ou #ith terminals that are eas+ to connect to, a
separate
. volt %common& for the drives, Nome s#itches etc and #ill avoid e>ceeding the
permitted current in and out of the port This brea$out board, +our drive electronics and
po#er suppl+ should be neatl+ installed in a metal case to minimise the ris$ of
interference to +our
neighboursa radio and television signals Ef +ou build a Sratas nestS then +ou are inviting
short circuits and traged+ *igure /- sho#s three commercial brea$out boards
]
//3 = ruCdo el8trico e fumaa cara
Mesmo se vocF ignorou o ponto anterior 8 melhor ler esteb
LocF ver Bue os pinos 5:H-0 so conectado ao lado do . volts do fornecimento de energia do
computador Todos os sinais dentro e fora do 34 so relativos a isso
De vocF conectar muitos fios longos nele, principalmente se os fios correm prI>imo a alta
correntes de motores, esses fios tero correntes fluindo e Bue criam tenses Bue so, como o
ruCdo e pode causar erros Esto ainda pode levar a travar o computador
Z fortemente conselhado se comprar um dispositivo chamado Sisolamento com bordo de fuga
%Bue em geral nos conhecemos pela sigla G=G& S
Esto ir fornecer um isolamento dos sinais de seu computador e evitar interferencias em rdio
dos vi?inhos e os sinais de televiso De vocF construir um ninho de rato, ento vocF est
convidando curtosHcircuitos e trag8dia , *igura /- mostra trFs placas brea$out comercial
,Bui termina o sermob
_
4., A9is drive o%tions
4.5.1 1teppers and 1ervos
There are t#o possible t+pes of motive po#er for a>is
drives' Dtepper motor
Dervo motor %either ,4 or !4&
7ither of these t+pes of motor can
then drive the a>es through
leadscre#s %plainH or ballHnut&,
belts, chains or rac$ and pinion
The mechanical drive method #ill
determine the speed and torBue
reBuired and hence an+ gearing
reBuired bet#een the motor and
machine
3roperties of a bipolar stepper
motor drive are'
5 Mo# cost
- Dimple /H#ire connection
to motor
3 Mo# maintenance
#igure 4.3 - -ma *C servo motor 'ith encoder 3e"t5
and gear/o9
/ Motor speed limited to about 5... rpm and torBue limited to about 3... ounce
inches %-5 "m& Ketting the ma>imum speed depends on running the motor or the
drive electronics at their ma>imum permitted voltage Ketting the ma>imum
torBue depends on running the motor at its ma>imum permitted current %amps&
0 *or practical purposes on a machine tool steppers need to be driven b+ a chopped
microHstepping controller to ensure smooth operation at an+ speed #ith
reasonable efficienc+
1 3rovides open loop control #hich means it is possible to lose steps under
high loading and this ma+ not immediatel+ be obvious to the machine user
=n the other hand a servo motor drive is'
5 9elativel+ e>pensive %especiall+ if it has an ,4 motor&
- "eeds #iring for both the motor and encoder
3 Maintenance of brushes is reBuired on !4 motors
/ Motor speed /... rpm plus and a practicall+ unlimited torBue %if +our budget
can stand itb&
0 3rovides closed loop control so drive position is al#a+s $no#n to be correct %or
a fault condition #ill be raised&
En practice stepper motor drives #ill give satisfactor+ performance #ith conventional
machine tools up to a Gridgeport turret mill or a 1S centre height lathe unless +ou
#ant e>ceptional accurac+ and speed of operation
Et is #orth giving t#o #arnings here *irstl+ servo s+stems on old machines are probabl+
not digitale ie the+ are not controlled b+ a series of step pulses and a direction signal To
use an old motor #ith Mach3 +ou #ill need to discard the resolver %#hich gave the
position& and fit a Buadrature encoder and +ou #ill have to replace all the electronics
Decondl+ be#are of secondhand stepper motors unless +ou can get manufactureras data
for them The+ might be designed for 0Hphase operation, ma+ not #or$ #ell #ith a
modern
chopped microHstepping controller and might have a much lo#er rated torBue than the
same si?e of modern motor Unless +ou can test them, +ou ma+ find that the+ have been
accidentall+ demagnetised and so be useless Unless +ou are reall+ confident of +our s$ills
and e>perience, then the a>is drives should be current products bought from suppliers #ho
#ill support them Ef +ou bu+ right then +ou #ill onl+ need to bu+ once
4.5.2 Doing 20is drive calc%lations
, full set of calculations for the a>is drives #ould be ver+ complicated and an+#a+
+ou probabl+ do not have all the necessar+ data %eg #hat is the ma>imum cutting
force +ou #ant to use& Dome calculation is, ho#ever, necessar+ for success
If you are reading the manual for an overview then you might like to skip this section.
*uller details of the calculations are given in chapter 0
!(ample + , M&-- T.B-! #/0SS S-&D!
@e start #ith chec$ing the minimum possible move distance This is an absolute limit
to the accurac+ of #or$ done on the machine @e #ill then chec$ rapid speeds and
torBue
,s an e>ample suppose +ou are designing a mill crossHslide %` a>is& drive `ou are going
to use a scre# #ith a .5S pitch single start thread and a ball nut `ou #ant to aim for a
minimum move of ....5S This is
5
(
5...
of a revolution of the motor shaft if it is coupled
directl+ to the scre#
Slide with stepper motor
The minimum step #ith a stepper motor depends on ho# it is controlled There are usuall+
-.. full steps per revolution `ou need to use microHstepping for smooth running over
the full range of feed speeds and man+ controllers #ill allo# +ou to have 5. microHsteps
per full step This s+stem #ould give
5
(
-...
of a revolution as the minimum step #hich is
fine
"e>t loo$ at the possible rapid feed speed ,ssume, conservativel+, that the ma>imum
motor speed is 0.. rpm This #ould give a rapid of 0. inches(minute or about 50
seconds for the full slide travel This #ould be satisfactor+ although not spectacular
,t this speed the microHstepping motor drive electronics need 51,111 %0.. q -.. q 5. (
1.& pulses per second =n a 5 KN? 34, Mach3 can generate 30,... pulses per second
simultaneousl+ on each of the si> possible a>es Do there are no problems here
`ou no# have to choose the torBue that the machine #ill reBuire =ne #a+ to measure
this is to set up the machine for the heaviest cut +ou thin$ +ou #ill ever ma$e and, #ith a
long lever %sa+ 5-S& on the slide hand#heel, turn it at the end #ith a spring balance %of set
of spring $itchen scales& The torBue for the cut %in ounceHinches& is the balance reading
%in ounces& x 5- The other #a+ is to use a motor si?e and specification that +ou $no#
#or$s on someone elseas machine #ith the same t+pe of slide and scre#b
,s the rapid feed speed #as reasonable +ou could consider slo#ing it do#n b+ -'5
gearing %perhaps b+ a toothed belt drive& #hich #ould nearl+ double the available torBue
on the scre#
Slide with servo motor
,gain #e loo$ at the si?e of one step , servo motor has an encoder to tell its drive
electronics #here it is This consists of a slotted disc and #ill generate four
gBuadratureh pulses for each slot in the disc Thus a disc #ith 3.. slots generates 3..
c+cles per
revolution %439& This is fairl+ lo# for commercial encoders The encoder electronics
#ill output 5-.. Buadrature counts per revolution %U439& of the motor shaft
The drive electronics for the servo #ill usuall+ turn the motor b+ one Buadrature count per
input step pulse Dome high specification servo electronics can multipl+ and(or divide the
step pulses b+ a constant %eg one step pulse moves b+ 0 Buadrature pulses or 31(5J
pulses& This is often called electronic gearing
,s the ma>imum speed of a servo motor is around /... rpm #e #ill certainl+ need a
speed reduction on the mechanical drive 0'5 #ould seem sensible This gives a movement
of
.....51JS per step #hich is much better than that reBuired %....5S&
@hat ma>imum rapid speed #ill #e getX @ith 30,... step pulses per second #e get 0:3
revolutions ]30...(%5-.. q 0&_ of the leadscre# per second This is =O at about 6 seconds
for 0S travel of the slide "otice, ho#ever, that the speed is limited b+ the pulse rate from
Mach3 not the motor speed This is onl+ about 5J0. rpm in the e>ample The limitation
#ould be even #orse if the encoder gave more pulses per revolution Et #ill often be
necessar+ to use servo electronics #ith electronic gearing to overcome this limitation if
+ou have high count encoders
*inall+ one #ould chec$ on available torBue =n a servo motor less safet+ margin is
reBuired than #ith a stepper motor because the servo cannot suffer from Slost stepsS Ef
the torBue reBuired b+ the machine is too high then the motor ma+ overheat or the drive
electronics raise an overHcurrent fault
!(ample 1 , /02T!/ 3.%T/Y D/&4!
*or a gantr+ router might need a travel of at least 1.S on the gantr+ a>is and a ballscre#
for this length #ill be e>pensive and difficult to protect from dust Man+ designers #ould
go for a chain and sproc$et drive
@e might choose a minimum step of ....0S , drive chain sproc$et of -. teeth #ith
5
(
/
S
pitch chain gives 0S gantr+ movement per revolution of the sproc$et , stepper motor
%ten microHsteps& gives -... steps per revolution so a 0'5 reduction %belt or gear bo>& is
needed bet#een the motor and sproc$et shaft ]....0S n 0S(%-... x 0&_
@ith this design if #e get 0.. rpm from the stepper then the rapid feed of 1.S
#ould, neglecting acceleration and deceleration time, ta$e a reasonable :33
seconds
The torBue calculation on this machine is more difficult than #ith the cross slide as,
#ith the mass of the gantr+ to be moved, inertia, during acceleration and deceleration, is
probabl+ more important than the cutting forces The e>perience of others or
e>periments #ill be the best guide Ef +ou Aoin the ,rtDoft user group for
Master0(Mach5(Mach3 on `ahoob +ou #ill have access to the e>perience of hundreds of
other users
]
/0- *a?endo clculos para os ei>os

Um conAunto completo de clculos para as unidades do ei>o seria muito complicado e mesmo
assim vocF provavelmente no teria todos os dados necessrios %por e>emplo, Bual 8 a fora
m>ima de corte Bue vocF pretende utili?ar&
,lguns clculos so no entanto, necessrios para o sucesso
De vocF est lendo o manual para uma viso geral, ento vocF talve? Bueira pular esta seo
Mais detalhes dos clculos so apresentados no capCtulo 0
!(emplo + , Tabela de #orte Transversal
4omeamos verificando o menor movimento possCvel para uma dada distancia
7ste 8 um limite absoluto para a preciso do trabalho feito na mBuina
"Is, ento, verificaremos a velocidade e o torBue
4omo e>emplo, suponha Bue vocF est proAetando um deslocamento cru?ado da fresa %ei>o `&

LocF est usando uma barra roscada de comando do ei>o com uma rosca de .5h por giro
LocF Buer achar um movimento mCnimo de ....5S ento seria 5 ( 5... de uma volta do
do ei>o do motor, se este for acoplado diretamente ao parafuso
Deslocamento com motor de passo
= passo mCnimo, com um motor de passo depende da forma como ele 8 controlado
7>istem normalmente -.. passos para uma revoluo completa
LocF precisa usar microHstepping para o bom andamento ao longo do ampla gama de
velocidades de alimentao e muitos controladores permitiro Bue vocF tenha 5. microHetapas
por etapa cheia
7ste sistema permite 5 ( -... de uma revoluo como o menor movimento possCvel do ei>o do
motor, o Bue 8 bom
7m seguida vamos ver a velocidade mais rpida possCvel
Duponha Bue, conservadoramente, Bue a velocidade m>ima do motor seAa de 0.. rpm
Esso daria uma velocidade de 0. polegadas ( minuto, ou cerca de 50 segundos para uma volta
completa do ei>o
Esto pode ser considerado satisfatIrio, embora no espetacular

, esta velocidade, os circuitos eletr^nicos de microHstepping motor precisa 51111 %0.. q -.. q
5.(1.& pulsos por segundo
7m um 34 de 5 KN?, Mach3 pode gerar 30 mil pulsos por segundo simultaneamente em cada
um dos seis ei>os possCveis 3ortanto, no h problemas aBui

LocF agora tem Bue escolher o torBue Bue a mBuina ir e>igir
Uma maneira de medir isto 8 configurar a mBuina para o corte mais pesado Bue vocF acha Bue
Aamais vai fa?er e com uma longa alavanca %digamos 5-S & na barra roscada , e tentar medir
com a escala usada em balanas de molas do tipo usado em cosinhas&
, outra maneira 8 usar um tamanho de motor com as especificaes Bue vocF sabe Bue A
funciona na mBuina de algu8m com o mesmo tipo de rosca da barra roscada%fuso&b

4omo a velocidade de alimentao rpida foi ra?ovel, vocF poderia considerar abrandar o por
engrenagem .-'.5 %Talve? colocar uma correia dentada&, Bue seria Buase o dobro do torBue
disponCvel no parafuso

Deslocamento com servo motor.
Mais uma ve? olhamos para o tamanho de um passo

Um servomotor possui um codificador para contar em sua unidade eletr^nica onde ele est
Esto consiste de um disco com fenda Bue vai gerar Buatro pulsos de SBuadraturaS para cada
marca no disco
,ssim, um disco com 3.. furos, gera 3.. ciclos por revoluo %439&
Esto 8 bastante bai>o para encoders comerciais
Um 7ncoder eletr^nico mais eficiente, dever gerar uma Buadratura de 5-.. por volta do ei>o
do motor
Uma unidade eletr^nica do tipo servo, geralmente vira o motor em uma ciclo por Buadratura
,lguns servos de alta especificao podem se multiplicar e ( ou dividir o pulsos passo por uma
constante %por e>emplo, um passo movido por 0 pulsos de Buadratura ou 31(5J&
Esto 8 freBuentemente chamado engrenagem eletr^nica
r medida Bue a velocidade m>ima de um motor servo fiBue em cerca de /... rpm,
certamente, precisar de uma velocidade de reduo da transmisso mecRnica .0'.5 parece
sensato Esso d um movimento de .....51J Spor passo, Bue 8 muito melhor do Bue o
necessrio %....5S&
Uual a velocidade m>ima Bue vamos chegarX
4om 30... pulsos por segundo obtemos 0,:3 revolues ]30... ( %5-.. q 0&_ do fuso por
segundo
Esto esta certo para apro>imadamente 6 segundos para um ei>o de 0S
=bserve, entretanto, Bue a velocidade 8 limitada pela ta>a de pulso do Mach3 e no da
velocidade do motor
7sta 8 apenas cerca de 5J0. rpm no e>emplo
, limitao seria ainda pior se o codificador der mais pulsos por revoluo
Muitas ve?es ser necessrio o uso de servo com engrenagem eletr^nica para superar essa
limitao, se seu codificadore tFm alta contagem

*inalmente, seria verificar o torBue disponCvel
7m um motor servo menos margem de segurana 8 necessria do Bue com um motor de passo,
porBue o servo no pode sofrer de Spassos perdidosS
De o torBue e>igido pela mBuina 8 muito alta, ento o motor pode superaBuecer ou a unidade
eletr^nica levantar uma falha de sobrecarga de corrente
!(emplo 1 5/oteadora de 67rtico.
Um router de pIrtico pode precisar de um deslocamento de pelo menos 1.S no ei>o, e um
pIrtico de barra roscada deste comprimento ser caro e difCcil de proteger da poeira
Muitos proAetista iriam para uma correia para movimentao do tipo com roda dentada

3odemos escolher um passo mCnimo de .,...0S
Um pinho com corrente de transmisso de -. dentes com 5 ( /S cadeia de pitch d 0h
circulao no portico por volta da roda dentada
Um motor de passo %de? microHpassos& d -... passos por revoluo assim uma reduo de
0'5 %correia ou cai>a de velocidades& 8 necessrio entre o motor eo ei>o da roda dentada
].,...0 n S0S ( %-... > 0&
_
4om este proAeto, se obter 0.. rpm a partir de passos, em seguida, com uma correia de 1.S,
descontandoHse o tempo de acelerao e desacelerao, terCamos para uma volta um tempo
ra?ovel de :,33 segundos

= clculo do torBue sobre essa mBuina 8 mais difCcil porBue com massa do pIrtico ao serem
movidas, por in8rcia, durante a acelerao e desacelerao, sero provavelmente mais
importante do Bue as foras de corte
, e>periFncia de outras pessoas ou e>periFncias ser o melhor guia De vocF Auntar o grupo de
usurios para ,rtDoft Master0(Mach5(Mach3 em `ahoob LocF ter acesso T e>periFncia de
centenas de outros usurios
3
4.5.3 4ow the 1tep and Dir signals work
Mach3 puts outne pulse
%logic 5& on the Dtep output
for each step that the a>is is
to ma$e The !ir output #ill
have been set before the
step pulse appears
The logic #aveform #ill be
li$e that sho#n in figure //
The gap bet#een the
pulses #ill be smaller the
higher the speed of the
steps
!rive electronics usuall+
use the ,ctive Mo configuration for Dtep
1
-
t
e
%

%
u

s
e
+
#igure 4.4 - -te% %use 'ave"orm
-te% i" incorrecty 1
set Active &i
+
#igure 4., - 6rongy con"igured out%ut aters ste% 'ave"orm
and !ir signals Mach3 should be setup so these outputs are ,ctive Mo Ef this is not done
then the Dtep signal still goes up and do#n but the drive thin$s that the gaps bet#een the
pulses are the pulses and viceHversa and this often causes ver+ rough or unreliable
running of the motor The SinvertedS pulses are sho#n in figure /0
]
/03 4omo o passo e sinais de !ireo trabalham %!ir&
Mach3 envia um pulso de saCda %MIgica 5& para para cada passo Bue o ei>o tem Bue fa?er
,ntes disso foi enviado um impulso para estabelecer a !ireo
, forma de onda lIgica ser como mostrado na figura //
, diferena entre a pulsos ser menor Buanto maior a velocidade das etapas
!rives eletr^nicos normalmente usam para ativo o sinal bai>o
, configurao para a 7tapa e sinais de !ireo
Mach3 deve ser configurado para Bue estas saCdas esteAam ativas em bai>o
De isso no for feito, haver problemas de hard#are e cone>o de sua mBuina ferramenta pois
o sinal vai para cima e para bai>o, mas a unidade acha Bue as diferenas entre as pulsos so os
pulsos e viceHversa e isso muitas ve?es provoca erros muito grosseiros ou e>ecuo do motor
fica no confiavel
=s pulsos SinvertidoS so mostrados na figura /0
_
4.. ;imit and &ome s'itches
4.6.1 1trategies
-imit switches are used to prevent an+ linear
a>is moving too far and so causing damage to
the structure of the machine `ou can run a
machine #ithout them but the slightest mista$e
setting up can cause a lot of e>pensive
damage
,n a>is ma+ also have a 8ome switch Mach3
can be commanded to move one %or all& a>es to
the Nome position This #ill need to be done
#henever the s+stem is s#itched on so that it
$no#s #here the a>es are currentl+ positioned
Ef +ou do not provide a Nome s#itch then +ou
#ill have to Aog the a>es b+ e+e to a reference
position The Nome s#itch for an a>is can be
at the an+ coordinate position and +ou define
this
location Thus the Nome s#itches do not have
to be at Machine 9ero
#igure 4.. - ;imit s'itch - micros'itch
mounted on the ta/e is tri%%ed /y /ed
o" machine
,s +ou #ill see, each a>is could need three s#itches %ie limit s#itches at the t#o ends of
travel and a Nome s#itch& Do a basic mill #ould reBuire nine parallel port inputs for
them This is not much good as a parallel port onl+ has 0 inputsb The problem can be
solved in three #a+s'
The limit s#itches are connected to e>ternal logic %perhaps in the drive
electronics& and this logic s#itches off the drives #hen the limit is reached The
separate reference s#itches are connected inputs to Mach3
=ne pin can share all the inputs for an a>is and Mach3 is responsible
for controlling both limits and detecting Nome
The s#itches can be interfaced b+ a $e+board emulator
The first method is best and mandator+ for a ver+ large, e>pensive or fast machine
#here +ou cannot trust soft#are and its configuration to prevent mechanical damage
D#itches connected to the drive electronics can be intelligent and onl+ allo# motion
a#a+ from a s#itch #hen the limit is hit This is safer than disabling the limits so a user
can Aog the machine off its limits but does rel+ on having a sophisticated drive
=n a small machine #hen +ou use the second method, it is still possible to use onl+ 3
inputs to Mach3 for a 3Ha>is mill %/ for a gantr+
t+pe machine H see Dlaving& and onl+ t#o
s#itches are reBuired as one limit
and reference can share a s#itch
The $e+board emulator has a much slo#er
response time that the parallel port but is
satisfactor+ for limit s#itches on a
machine #ithout highspeed feeds *or
details of the architecture see Mach3
,$stomisation manual
40+ ohm
resistor
< imit
- imit
<, vots
to Mach2 in%ut
4.6.2 The switches
There are several choices +ou need to
ma$e #hen selecting s#itches'
and Re"
+ vots
#igure 4.0 - $'o NC contact s'itches give
ogic (R
Ef +ou are going to have t#o s#itches
sharing an input then the+ need to be
connected so the signal is a logic S5S if
either s#itch is operated %ie the
logical =9 function& This is eas+ #ith
mechanical s#itches Ef the+ have
normall+ closed contacts and are
#ired in series as sho#n in figure /J,
then the+ #ill give an ,ctive Ni signal
if either s#itch is operated "ote that
for
reliable operation +ou need to Spull upS
the input to the parallel port ,s
mechanical s#itches can carr+ a
#igure 4.8 - (%tica s'itch on ta/e 'ith vane on
/ed o" machine
significant current a value of /J.9 is sho#n #hich gives a current of about 5. milliamps
,s the #iring to the s#itches might be Buite long and liable to pic$up of noise ma$e sure
that +ou have a good connection to the . volt side of +our input %the frame of +our
machine tool #ill not be satisfactor+& and consider using shielded cable #ith the shield
connected to the main ground terminal of +our controller
Ef +ou use electronic s#itches li$e a slotted detector #ith a M7! and photoHtransistor, then
+ou #ill need some sort of an =9 gate %#hich could be a S#iredHorS if an ,ctive Mo input
is driven b+ open collector transistors&
=ptical s#itches, if out of the #a+ of coolant, should be =O on a metal#or$ing
machine but are liable to malfunction #ith #ood dust
!onat use magnetic s#itches %reed s#itches or Nall effect devices& on a machine that
ma+ cut ferrous metal or the s#arf #ill Sfu??HupS the magnet
The repeatabilit+ of the operating point, particularl+ #ith mechanical s#itches, is ver+
dependent on the Bualit+ of the s#itch and the rigidit+ of its mounting and actuating
lever The setup in *igure /1 #ould be ver+ imprecise The repeatabilit+ is ver+
important for a s#itch to be used
for Nome
=vertravel is the
movement of the
s#itch that
occurs after it
has operated
@ith a limit
-X
-= and
Re"erence
$a/e
#rame
+X
<= s'itch
s#itch it can be
caused b+ the
inertia of the
#igure 4.1 - $'o s'itches o%erated /y "rame 'ith overtrave avoided /y
mechanica sto%s
drive =n an optical s#itch li$e figure /J then provided the vane is long enough there #ill
be no difficulties , micros#itch can be given arbitrar+ overtravel b+ operating a roller on
it b+ a ramp %see figure /55& The slope of the ramp does, ho#ever, reduce the
repeatabilit+
of operation of the s#itch Et is often
possible to use one s#itch for both limits
b+ providing t#o ramps or vanes
4.6.3 5here to $o%nt the
switches
The choice of mounting position for
s#itches is often a compromise
bet#een $eeping them a#a+ from s#arf
and dust and having to use fle>ible
rather than fi>ed #iring
*or e>ample figures /1 and /: are
both mounted under the table,
despite the fact
#igure 4.1+ ) Mi 'ith too at =>+? @>+ %osition
3note the dog is on imit s'itch5
that the+ need a
moving cable, as
the+ are much
better protected
-X
-= and
Re"erence
$a/e
+X
<= ram%
there
`ou might find it
convenient to
have one moving
cable #ith the
#ires in it for
ram%
<=? -= A Re" s'itch
#rame
#igure 4.11 - Ram%s o%erating one s'itch
t#o or more a>es %eg the Y and ` a>es of a gantr+ router could have s#itches on the
gantr+ itself and a ver+ short cable loop for the V a>is could then Aoin the other t#o& !o
not be tempted to share a multiH#a+ cable bet#een motor and s#itch #iring `ou ma+
#ant to run t#o separate cables together and this #ill not cause trouble if both a shielded
%#ith
braid or foil& and the shields are grounded to one common point at the electronic drives
`ou might find it helpful to loo$ at commercial machines and pictures of e>amples on the
Master0(Mach5(Mach- `ahoob group for more ideas and techniBues for s#itches
4.6.4 4ow !ach3 %ses shared switches
This section refers to the configuration for small machines #here Mach3 rather
than e>ternal 7Dtop logic is controlled b+ the s#itches
*or a full understanding of this +ou #ill also have to read the section in chapter 0 on
configuring Mach3, but the basic principle is eas+ `ou connect the t#o limit s#itches to
one input %or have one s#itch and t#o vanes or ramps& `ou define, to Mach3, a
direction as the direction to travel to move #hen loo$ing for a reference s#itch The
limit s#itch %vane or ramp& at that end of the a>is is also the Nome s#itch
En normal use #hen Mach3 is moving an a>is and sees its limit input become active it
#ill stop running %li$e an 7Dtop& and displa+ that a limit s#itch has been tripped `ou
#ill be unable to move the a>es unless'
5& #$to limit override is s#itched on %b+ a toggle button on the Dettings screen& En
this case +ou can clic$ 9eset and Aog off the limit s#itch `ou should then
reference the machine
-& `ou clic$ Override limits button , red flashing M7! #arns +ou of the temporar+
override This #ill again allo# +ou 9eset and to Aog off the s#itch and #ill then turn
itself and the flashing M7! off ,gain +ou should reference the machine ,n input
can also be defined to override the limit s#itches
"ote, ho#ever, although Mach3 uses limited Aogging speed that +ou #ill not be
prevented, in either case, from Aogging further onto the s#itch and ma+be crashing the
a>is in a mechanical stop Take great care
4.6.5 )eerencing in action
@hen +ou reBuest referencing %b+ button or KH4ode& the a>is %or a>es& #hich have Nome
s#itches defined #ill travel %at a selectable lo# speed& in the defined direction until the
Nome s#itch operates The a>is #ill then move bac$ in the other direction so as to be off
the s#itch !uring referencing the limits do not appl+
@hen +ou have referenced an a>is then ?ero or some other value #hich is set up in the
4onfigoDtate dialog, can be loaded into the a>is !9= as its absolute machine coordinate
Ef +ou use ?ero then the Nome s#itch position is also the machine ?ero position of the a>is
Ef the reference goes in the negative direction of an a>is %usual for Y and `& the +ou might
get referencing to load something li$e H.0S into the !9= This means that the Nome is
half an inch clear of the limit This #astes a bit of the a>is travel but if +ou overshoot,
#hen
Aogging to Nome, +ou #ill not accidentall+ trip the limits Dee also Doft#are Mimits
as another #a+ of solving this problem
Ef +ou as$ Mach3 to reference before +ou Aog off the s#itch then it #ill travel in the
opposite direction %because it sa+s that +ou are alread+ on the Nome s#itch& and stop
#hen +ou get off the s#itch This is fine #hen +ou have a separate Nome s#itch or are on
the limit at the reference end of the a(is Ef, ho#ever, +ou are on the other Mimit s#itch
%and Mach3 cannot $no# this as the+ are shared& then the a>is moves for ever a#a+ from
the actual Nome point until it crashes Do the advice is always )og carefully off the limit
switches: then reference. Et is possible to configure mach3 so it #ill not automaticall+
Aog off the Nome s#itch if +ou are concerned about this problem
4.6.6 *ther 4o$e and .i$it options and hints
8ome switch not near limit switch
Et is sometimes not ver+ convenient to have the Nome s#itch at a limit of travel 4onsider
a large moving column floor mill or a big planerHmill The V travel on the column might be
: feet and could be Buite slo# #ithout affecting the overall cutting performance of the
machine Ef, ho#ever, the Nome position is the top of the column, then referencing might
involve nearl+ 51 feet of slo# V travel Ef the reference position #as chosen half #a+ up
the column then this time can be halved Duch a machine #ould have a separate Nome
s#itch
for the V a>is %thus reBuiring another input on the parallel port but still onl+ four inputs in
a three a>is machine& and #ould use the abilit+ of Mach3 to set an+ value for an a>is
!9=, after referencing, to ma$e machineHV ?ero to be the top of the column
Separate high accuracy 8ome switch
The Y and ` a>es on a high precision machine might have a separate Nome s#itch
to achieve the reBuired accurac+
-imit switches of multiple a(es connected together
Gecause Mach3 does not ta$e an+ notice of which limit of #hich a>is has tripped, then
all the limits can be =9ed together and fed into one limit input 7ach a>is can then have
its
o#n reference s#itch connected to the reference input , three a>is machine still onl+
needs four inputs
8ome switches of multiple a(es connected together
Ef +ou are really short of inputs to Mach3 then +ou can =9 the Nome s#itches together
and define all Nome inputs to be that signal En this case +ou can onl+ reference one a>is at
once
d so +ou need to remove 97* ,ll buttons from +our screens d and +our Nome
s#itches must all be at the end of travel on their respective a>es
Slaving
=n a gantr+ t+pe miller or router #here the t#o SlegsS of the gantr+ are driven b+ separate
motors then each motor should be driven b+ its o#n a>is Duppose the gantr+ moves in the
` direction then a>is , should be defined as a linear %ie nonHrotational& a>is and ,
should be slaved to ` H see the chapter 0 on 4onfiguring Mach3 for details Goth a>es
should have
limit and Nome s#itches En normal use both ` and , #ill be sent e>actl+ the same step
and direction commands b+ Mach3 @hen a 9eference operation is performed then the
a>es #ill run together until the final part of referencing #hich is moving Aust off the Nome
s#itches Nere the+ #ill move so that each stops the same distance off its o#n s#itch
9eferencing #ill therefore correct an+ rac$ing %ie out of sBuareness& of the gantr+ #hich
might have occurred #hen the machine is s#itched off or due to lost steps
]
/,1 4haves de Nome e Mimites
/15 7strat8gias
4have de Mimite 8 usadas para evitar Bue o ei>o linear se desloBue muito e assim cause danos T
a estrutura da mBuina LocF pode acionar uma mBuina sem eles, mas o menor erro pode
causar dano muito caro

Um ei>o tamb8m pode ter um interruptor de Nome %3osio Enicial&
Mach3 pode ser comandado para e mover um %ou todos& os ei>os para a posio inicial
Esto precisa ser feito sempre Bue o sistema 8 ligado para Bue ele saiba onde os ei>os esto
posicionados
De vocF no fornecer uma chave de N=M7, ento vocF ter Bue correr os ei>os ga olhoh para
uma posio referencial , chave de Nome para um ei>o pode ser colocado em BualBuer
posio Bue vocF definir para esse Mocal ,ssim, as opes de Nome no tem Bue estar
necessriamente em ?ero na mBuina
4omo vocF ver, cada ei>o pode precisar de trFs chaves %interruptores de limite ou seAa, nas
duas e>tremidades do seu curso e um interruptor em Nome& ,ssim, se e>igiria nove entradas
da porta paralela para eles
Esto no 8 muito bom mas como uma porta paralela sI tem 0 entradasb = problema pode ser
resolvido de trFs maneiras'
=s interruptores de limite esto ligados T lIgica e>terna %talve? no drive eletr^nico&
e esta lIgica desliga os drives Buando o limite 8 atingido
Um pino da porta paralela pode compartilhar todas as entradas dos ei>os e ser o responsvel
pela controle de limites e deteco de Nome
,s chaves podem ser interligadas por um emulador de teclado
= primeiro m8todo 8 o melhor e obrigatIrio para uma grande mBuina, cara ou muito rpida
LocF no pode confiar em soft#are e em sua configurao para evitar danos mecRnicos
4haves conectadas T unidade eletr^nica podem ser inteligentes e sI permitirem o movimento
de distRncia Buando a chave de limite no 8 atingida
Esto 8 mais seguro do Bue desabilitar os limites para Bue um usurio possa movimentar a
mBuina fora de seus limites, mas no confiam em ter um comando sofisticado
7m uma peBuena mBuina Buando vocF usa o segundo m8todo, ainda 8 possCvel utili?ar apenas
3 entradas do Mach3 para uma fresa de 3 ei>os %/ no tipo de mBuina em pIrtico H veAa
Dlaving& e apenas duas chaves so necessrias como um limite e referFncia, podendo
compartilhar uma mesma chave
= emulador do teclado tem um tempo de resposta muito mais lento Bue a porta paralela, mas 8
satisfatIrias para chaves de limite em uma mBuina sem alta velocidade
3ara mais detalhes do arBuitetura ver manual de Tunning Mach3
/1- ,s chaves
7>istem vrias opes Bue vocF precisa fa?er Buando define as chaves'
De vocF vai ter dois interruptores compartinhando uma entrada, ento eles precisam ser
ligados de modo Bue o sinal seAa uma lIgica S5S, Buando a chave 8 acionada %ou seAa, o
funo lIgica =9& Esso 8 fcil com interruptores mecRnicos
De eles tFm contatos normalmente fechados e esto ligados em s8rie como mostrado na figura
/J, em seguida, eles vo dar um sinal ativo alto Buando forem acionados
=bserve Bue para a operao ser confivel, vocF precisa Spu>arS a entrada para a porta
paralela
Enterruptores mecRnicos podem gerar um valor alto de corrente portanto use um resistor de
/J.9 como esta mostrado para Bue a corrente fiBue em torno de cerca de 5. m,
4omo a fiao para os vrios dispositivos pode ser bastante longa e passCvel de captao de
ruCdo, certifiBueHse Bue vocF tenha uma boa cone>o para o lado . volts da sua entrada %caso
contrrio a situao da sua mBuina ferramenta no ser satisfatIria& e considere o uso de
cabos blindados, com a malha conectada ao terminal de terra principal de sua controladora
De vocF usar as opes eletr^nicas, como por e>emplo um detector de fenda com um M7! e
fotoHtransistor, vocF vai precisar de algum tipo de porta =9
4haves Ipticas, devem ficar fora do caminho do fluido de arrefecimento, so bons em uma
mBuina de usinagem mas so susceptCveis de avaria com pI de madeira
"o use chaves magn8ticas %reed s#itches ou dispositivos de efeito Nall& em uma mBuina Bue
cortar metais ferrosos pois as aparas vo afetar o Cm
, repetibilidade do ponto de funcionamento, reali?ado com o uso de chaves mecRnicas, 8
muito dependente da Bualidade do s#itch e a rigide? de sua montagem e acionamento da
alavanca
, configurao na *igura /1 seria muito imprecisa, repetio 8 muito importante para no se
alterar o ponto e>ato de sua Nome
Dobrecurso 8 o movimento da chave Bue ocorre apIs o mesmo ser acionado
= limite de acionamento do interruptor pode ser alterado por causa da in8rcia da unidade
Um interruptor Iptico como *igura /:, bem protegido ser uma boa opo
Uma microchave, pode ter um sobrecurso arbitrrio por operar um rolo sobre ele atrav8s de
uma rampa %ver figura /55&
, inclinao da rampa, no entanto, redu?ir a repetibilidade de operao da chave
Muitas ve?es, 8 possCvel a utili?ao de uma nica chave para ambos os limites, fornecendoHse
dois acionadores
/13 =nde montar chaves
, escolha da posio de montagem das chaves freBuentemente 8 um compromisso entre
mantFHlos longe de aparas e pI e a fle>ibilidade de sua instalao em ve? de instalaes fi>as
3or e>emplo, nas figuras /,1 e /,: as chaves so montadas sob a mesa, apesar do fato de na
*igura /: se usar um cabo para acionaHlos, pois assim eles estaram protegidos
"ota do tradutor' so vrias as formas utili?adas para atingir este obAetivo
LocF pode achar Bue 8 til olhar para as mBuinas comerciais e fotos de e>emplos sobre a
Master0(Mach5(Mach- 7ntre nos grupos do`ahoo para mais id8ias e t8cnicas para os
aparelhos
/1/ 4omo Mach3 usa chaves compartilhadas
7sta seo refereHse a configurao de mBuinas de peBueno porte onde Mach3, usa a lIgica
das chaves para controlar as paradas de limite
3ara uma total compreenso do presente, vocF tamb8m ter de ler a seo configurar Mach3 no
4apCtulo 0, mas o princCpio bsico 8 fcil
LocF conecta os dois interruptores de limite em uma entrada% ou aciona apenas em um
interruptor por interm8dio de duas alavancas em sentido oposto&
, chave de Mimite, 8 tamb8m a chave de Nome
7m uso normal Buando Mach3 est movendo um ei>o e vF a sua entrada de limite se tornar
ativa ter de parar de correr e mostrar Bue um interruptor de limite foi disparado
LocF ser incapa? de mover novamente os ei>os a menos Bue'
5& 4oloBue em paralelo com as chaves de limite, chaves alternativas Bue Buando acionadas
permitam vocF ter acesso aos movimentos do ei>o neutrali?ando temporariamente as chaves
principais& "esta caso vocF pode clicar em 9eset e mover ei>o para fora da chave de limite
LocF deve ento referFnciar sua mBuina novamente
-& 4liBue no boto Dubstituir limites Um M7! vermelho intermitente avisaHo da temporria
substituio Esto ir permitir Bue vocF faa o 9eset e mova com o carro para fora dos limites
da chave at8 Bue o led pare de piscar "ovamente, vocF deve referFnciar sua mBuina
Uma entrada pode tamb8m ser definida para substituir os interruptores de limite
"ote, entretanto, Bue se o movimento esteAa muito rpido, mesmo Bue o limite seAa acionado,
no se vai conseguir a parada a tempo e talve? v Buebrar o ei>o de um batente mecRnico
Tome muito cuidado
/10 9eferenciao em ao
Uuando vocF for referenciar o ei>o por meio de boto ou KH4ode Bue tenham interruptores
em Nome, vai se movimentar %com uma certa velocidade bai>a& no sentido definido at8 a
chave Nome atuar = ei>o, ento, voltar em outra direo, de modo a ficar fora da chave
!urante a referFncia os limites no se aplicam
Uuando vocF estiver referenciado um ei>o, como ?ero ou algum outro valor Bue seAa criado no
4onfigo 7stado de dilogo, pode ser introdu?ido no !9=, como a coordenada absoluta de sua
mBuina De vocF usar ?ero na sua posio Nome, e em seguida, usar a posio da chave Nome
esta ser tamb8m a posio ?ero do ei>o
De a referFncia vai no sentido negativo de um ei>o %usual para Y e `&, vocF pode ter
referenciando a carga H.,0h pelo !9= Esto significa Bue a Nome esta meia polegada do
limite Esto desperdia um pouco do curso do ei>o, mas se vocF e>agerar, Buando estiver se
movimentando para Nome, vocF evita acidentalmente mover fora dos limites LeAa tamb8m
limites em Doft#are como outra maneira de resolver este problema
De vocF no Mach3 acionar para 9eferencia enBuanto a chave estiver sido acionado, ento ele
ir se mover na direo oposta %porBue ele pensar Bue A esta na chave Nome& e Buando parar
vocF sair da chave Esso 8 bom Buando vocF tem um s#itch separado em Nome ou no limite
ao final de referFncia do ei>o
De, no entanto, estiver na chave de outro limite %e Mach3 no pode saber pois so comuns&, o
ei>o se move para longe do ponto de origem real at8 Bue ele falhar ,ssim, o conselho 8
sempre mover cuidadosamente fora da chave de limite, e referFnciar em seguida
Z possCvel configurar o mach3 para Bue ele no se mova automaticamente ao desligar a chave
de Nome, se vocF estiver preocupado com este problema
/11 Nome, Mimite, outras opes e dicas
4have de Nome em ponto diferente do ponto de limite

3or ve?es no 8 muito conveniente ter a chave Nome no mesmo limite de curso
4onsidere, para melhor entendimento Bue principalmente em mBuinas de grande porte ,
temos Bue evitar movimentao desnecessrias dos ei>os ao se posicionarem para iniciar seu
trabalho "estes casos, 8 conveniente se posicionar a chave Nome o mais perto do inCcio de seu
trabalho efetivo na pea, e neste caso dissociando a mesma completamente das chaves de
Mimite
4haves Nome separadas para alta preciso

=s ei>os Y e ` em uma mBuina de alta preciso podem ter uma chave de Nome
separada para atingir a preciso reBuerida

4haves de mltiplos ei>os interligadas

3elo motivo Bue o Mach3 no envia BualBuer aviso de Bual limite de ei>o foi
acionado, ento todos os os limites podem ser conectados Auntos e integrados em
uma nica entrada de Mimite
4ada ei>o pode ter o sua prIpria chave de referencia ligado T entrada de referFncia
Uma mBuina de trFs ei>os ento somente precisa Buatro entradas Uma para limite
e uma para a Nome do ei>o%3&
De vocF Buer realmente simplificar sua Mach3, vocF pode fa?er uma ligao de
conceito =9 ento BualBuer dos sinais de ei>o, acionam este sinal de Nome

"este caso, vocF pode fa?er referFncia a um nico ei>o por ve? H 7nto vocF precisa
remover todos os botes de 97* de suas telas H e as suas chaves de Nome devem
estar todas no final do curso em seus respectivos ei>os
7i>os 7scravos
7m uma 4"4 do tipo pIrtico ou roteador onde as duas SpernasS do pIrtico so
movidos por motores separados, em seBuencia, cada motor deve condu?ir pelo seu
prIprio ei>o

Duponha Bue o movimento do pIrtico no direo `, em seguida, um ei>o deve ser
definido como um ei>o linear %ie sem rotao& e , deve ser escravo de ` H veAa o
capCtulo 0, 4onfigurando Mach3 para mais detalhes
,mbos os ei>os devem ter limite e chaves de N=M7 7m uso normal ` e ser
enviada e>atamente o mesmo passo e comandos de direo, Mach3
Uuando uma operao de 9eferFncia 8 reali?ado em seguida, os ei>os iro correr
Auntos at8 a parte final da referFncia Bue se move apenas fora da casa

,Bui eles vo se mover para Bue cada um dei>e a mesma distRncia fora de sua
prIpria chave
9eferenciando por conseguinte, corrigir eventuais saCdas de sincronismo %ie de
Buadratura& do pIrtico Bue poderia ter ocorrido Buando o aparelho est desligado ou
devido a passos perdidos
_
4.0 -%inde contro
There are three different #a+s in #hich Mach3 can control +our SspindleS or +ou can
ignore all of these and control it manuall+
5 9ela+(contactor control of motor =n %4loc$#ise or 4ountercloc$#ise& and motor
=ff
- Motor controlled b+ Dtep and !irection pulses %eg spindle motor is a servo&
3 Motor controlled b+ a pulse #idth modulated signal
+. 0n;0ff motor control
M3 and a screen button #ill reBuest that the spindle starts in a cloc$#ise direction M/
#ill reBuest that the spindle starts in an countercloc$#ise direction M0 reBuests that the
spindle stops M3 and M/ can be configured to activate e>ternal output signals #hich can
be associated #ith output pins on the parallel ports `ou then #ire these outputs %probabl+
via rela+s& to control the motor contactors for +our machine
,lthough this sounds straightfor#ard, in practice you need to be very careful Unless
+ou reall+ need to run the spindle Sbac$#ardsS it #ould be better to treat M3 and M/ as
the same or to allo# M/ to activate a signal #hich +ou do not connect to an+thing
4learl+ it is possible, in an error situation, for the cloc$#ise and countercloc$#ise signals
to be active together This ma+ cause the contactors to short the mains suppl+ Dpecial
mechanicall+ interloc$ed reversing contactors can be obtained and if +ou are going to allo#
+our spindle to run countercloc$#ise then +ou need to use one ,nother difficult+ is that
the SKH4odeS definition sa+s that it is legal to issue an M/ #hen the spindle is running
cloc$#ise under an M3 %and viceHversa& Ef +our spindle drive is an ,4 motor, Aust
changing the direction #hen running at full speed is going to impose ver+ large forces on
the mechanical drive of the machine and #ill probabl+ blo# the ,4 fuse or trip a circuit
brea$er *or safet+ +ou need to introduce time dela+s on the operation of the contactors
or use a modern inverter drive #hich allo#s +ou to change direction #ith a running
motor
Dee also the note about the limited number of 9ela+ ,ctivation Dignals in the section on
4oolant
1. Step and Direction motor control
Ef +our spindle motor is a servomotor #ith a step and direction drive %li$e the a>is
drives& then +ou can configure t#o output signals to control its speed and direction of
rotation Mach3 #ill ta$e account of a variable step pulle+ drive or gearbo> bet#een the
motor and the spindle *or full details see Motor Tuning in chapter 0
. 6<M motor control
,s an alternative to Dtep and !irection control, Mach3 #ill output a pulse #idth
modulated signal #hose dut+ c+cle is the percentage of full speed that +ou reBuire `ou
could, for e>ample, convert the dut+ c+cle of the signal to a voltage % 3@M signal on for
.m of time gives . volts 0.m gives 0 volts and 5..m gives 5. volts& and use this to
control an induction motor #ith a variable freBuenc+ inverter drive ,lternativel+ the
3@M signal could be used to trigger a triac in a simple !4 speed controller
*igures /5- and /53
sho# the pulse #idth at
appro>imatel+ -.m of
the c+cle and 0.m of the
c+cle
En order for the 3@M
spindle speed signal to be
turned into direct current
%actuall+ a direct voltage
Ave
#igure 4.12 ) A 2+B %use 'idth moduated signa
is generall+ used as the input to variable speed drives, but +ou $no# #hat #e mean& the
pulse signal it must transformed En essence a circuit is used to find the average of the
pulse #idth modulated signal
The circuit can be a
simple capacitor and
resistor or be much more
comple> depending %a&
on ho# linear +ou #ant
the relationship bet#een
the #idth and the final
output voltage and %b& on
the speed of response
Ave
#igure 4.13 ) A ,+B %use 'idth moduated signa
+ou need to the changing pulse #idth
`ou need to ta$e care #ith the electronics as the inputs of man+ cheap 3@M speed
controllers are not isolated from the mains *urther details can be found in the discussion
and files area of the Mach-!" site and b+ using S3@M converterS or S3@M !igispeedS
as a search term to Koogle or +our favorite search engine
The 3@M signal is output on the spindle Dtep pin `ou #ill need to ta$e
special precautions to s#itch off the motor at lo# speeds using the Motor
4loc$#ise(4ountercloc$#ise outputs
%ote$ Man+ users have found that 3@M and other variable speed spindle drives are often
a serious source of electrical noise #hich can cause problems #ith the machine a>is
drives, limit s#itch sensing etc Ef +ou use such a spindle drive #e strongl+ recommend
+ou to use an opticall+ isolated brea$out board and ta$e care to shield cables and run the
po#er cables a fe# inches a#a+ from the control cables
]
/J 4ontrole do Dpindle %motor rotativo de fresagem&
7>istem trFs maneiras diferentes em Bue Mach3 pode controlar o seu SDpindleS, ou vocF pode
ignorar todas estas maneiras e controlHlo manualmente
5 9el8 de controle ( contator de motor ligado %direita ou esBuerda& e motor desligado
- Motor controlado por pulsos e direo %por e>emplo' motor spindle 8 um servo&
3 Motor controlado por um sinal de largura de pulso modulada 3@M&%
5 4have de ligar e desligar o motor
M3 e um boto na tela ir fa?er Bue o spindle rode em sentido horrio
M/ vai solicitar Bue o spindle rode em sentido antiHhorrio
4licado em M0 o spindle para
M3 e M/ pode ser configurados para ativar sinais de saCda e>terna, Bue podem ser associados
com os pinos de saCda nas portas paralelas
LocF, ento, usar estas saCdas %provavelmente via rel8s& para controle dos contatores do motor
de sua mBuina
7mbora isso parea simples, na prtica, vocF precisa ter muito cuidado , menos Bue vocF
realmente precise para e>ecutar o spindle Spara trsS, seria melhor usar M3 e M/ com
segurana de forma a no inverter o sentido do motor com ele ainda ligado
Z claro Bue 8 possCvel, em uma situao de erro, os sinais serem acionados no sentido horrio e
antiHhorrio e estarem ativos ao mesmo tempo
Esto pode causar os contatores para uma situao de curto na alimentao =utra dificuldade, 8
Bue o defido no SKH4odeS, di? Bue 8 para acionar M/ Buando o spindle est girando no sentido
horrio em um M3 %e viceHversa&
De a sua unidade spindle 8 um motor ,4, mudar a direo Buando estiver em velocidade
m>ima vai impor foras muito grande no acionamento mecRnico da mBuina e,
provavelmente, Bueimar o fusCvel ,4 ou desligar o disAuntor
3ara a segurana, vocF precisa introdu?ir atrasos na operao dos contatores ou use um
inversor moderno Bue lhe permite mudar de direo com o motor em funcionamento
LeAa nota sobre o nmero limitado de sinais de ativao de reles na seo de 9efrigerante
_
-4ontrole de passo e direo no motor
De o motor spindle 8 um motor de passo e unidade de direo %como as unidades de ei>o&
ento vocF pode configurar dois sinais de saCda para controlar a velocidade e o sentido de
rotao
3 4ontrole motor por 3@M
4omo alternativa para motor de passo e controle de direo, Mach3 pode usar um controle de
largura de pulso, modulada de forma Bue o ciclo de trabalho seAa um percentual da velocidade
m>ima Bue vocF precisa
LocF poderia, por e>emplo, converter o ciclo do sinal de tenso %sinal 3@M para . m o Bue
no tempo daria . volts, 0. m daria 0 volts e 5.. volts daria 5. m& e usar isto para controlar um
motor de induo com inversor de freBQFncia varivel
,lternativamente, o sinal 3@M poderia ser usado para disparar um triac em um simples
controlador de velocidade !4
*iguras /,5- e /,53 mostram a largura de pulso em -. m e 0. m do ciclo
3ara Bue o sinal 3@M de velocidade do ei>o possa ser transformado em corrente contCnua
%"a verdade, uma tenso contCnua geralmente 8 usado como entrada para acionamentos de
velocidade varivel, mas vocF sabe o Bue Bueremos di?er&, o sinal de pulso deve ser
transformado 7m essFncia, um circuito 8 utili?ado para encontrar a m8dia de pulso do sinal
modulado em largura
= circuito pode ser um capacitor simples e resistor ou ser muito mais comple>o, dependendo
%a& sobre a forma linear Bue vocF Buer a relao entre a largura e a tenso de saCda final e
%b& na velocidade de resposta Bue vocF precisa mudandoHse a largura do pulso
6roblemas de hardware e conec=>o da sua m?'uina ferramenta
LocF precisa tomar cuidado com os eletr^nicos baratos de 3@M, muitos deste tipo de
controladores no esto isolados da rede el8ctrica
Mais detalhes podem ser encontrados em usando Sconversor 3@MS ou S3@M !igispeedS
= sinal 3@M 8 encontrado em saCda Buando o pino usado no spindle estiver em ="
LocF precisar tomar especial precaues para desligar o motor em bai>as velocidades com o
motor girando em sentido horrio
"ota' Muitos usurios descobriram Bue 3@M e outras unidades do ei>o de velocidade varivel
8 muitas ve?es uma s8ria fonte de ruCdo el8trico Bue pode causar problemas com o ei>o da
mBuina drives, chaves de limite de deteo, etc
De vocF usa esse tipo de unidade, nIs recomendamos fortemente Bue vocF use uma placa G=G
opticamente isolada e tome cuidado para blindar os cabos Buando perto dos cabos de controle
_
4.8 Cooant
=utput signals can be used to control valves or pumps for flood and mist coolant These
are activated b+ screen buttons and(or MJ, M:, M6
]
/: 9efrigerao
=s sinais de saCda pode ser usado para controlar vlvulas ou bombas de inundao e de
refrigerao por n8voa 7stes so ativado por botes na tela e(ou MJ, M:, M6
_
4.1 Cni"e direction contro
9otar+ a>is , can be configured so it is rotates to ensure that a tool li$e a $nife is
tangential to the direction of movement in K5 moves of Y and ` This allo#s
implementation of a vin+l or fabric cutter #ith full+ controlled $nife
%ote$ in the current version this features does not #or$ #ith arcs %K-(K3 moves& Et is
+our responsibilit+ to program curves as a series of K5 moves
]
/6 4ontrole da !ireo de 4orte

Um ei>o rotativo pode ser configurado de modo Bue ele gire para garantir Bue a
ferramenta de corte fiBue sempre tangencial T direo do movimento em K5 isto
nos movimentos de Y e `

Esto permite a implementao de um faca de corte totalmente controlada para uso
em vinil ou tecido

"ota' na verso atual estes recursos no funcionam com arcos %move K-(K3&
Z sua responsabilidade progamar curvas para movimentos de K5
_
/,5. Donda !igital
Mach3 pode ser conectado a um contato de digitali?ao ou sonda para fa?er uma
medio e modelar em um sistema de digitali?ao
N um sinal de entrada Bue indica Bue a sonda fe? contato e coloca em disposio
uma saCda para informar Bue a leitura 8 reali?ada em um noHcontato %laser, por
e>emplo& como sonda

3ara ser til a sonda precisa ter uma ponta e>atamente esf8rica %ou pelo menos uma
parte de um esfera& montado no ei>o com o seu centro e>atamente sobre a linha
central do ei>o e uma distRncia fi>a a partir de um ponto fi>o na direo V
3ara ser capa? sondagem de materiais no metlicos %e em muitos modelos para a
digitali?ao ser feita em espuma, M!* ou plstico&, a sonda necessita fa?er %ou
parar& com um interruptor com um minuto de grau de defle>o em sua ponta em
BualBuer Y ou ` %ou V& direo&
De a sonda for usado com um carregador automtico ento ele tamb8m precisa ser
Ssem fioS

7stes reBuisitos so um grande desafio para o proAetista para uma sonda construCda
em casa e sondas comerciais no so baratas
Uma caracterCstica 8 o desenvolvimento implementado para permitir o uso de uma
sonda laser
_
_
4.1+ *igitise %ro/e
Mach3 can be connected to a contact digitising probe to ma$e a measuring and model
digitising s+stem There is an input signal that indicates that the probe has made contact
and provision for an output to reBuest that a reading is ta$en b+ a nonHcontact %eg laser&
probe
To be useful the probe needs to have an accuratel+ spherical end %or at least a portion of a
sphere& mounted in the spindle #ith its center accuratel+ on the centerline of the spindle
and a fi>ed distance from a fi>ed point in the V direction %eg the spindle nose& To be
capable
of probing non metallic materials %and man+ models for digitisation #ill be made in
foam, M!* or plastic& the probe reBuires to ma$e %or brea$& a s#itch #ith a minute
deflection of its tip in an+ %Y` or V& direction& Ef the probe is to be used #ith an
automatic toolchanger then it also needs to be ScordlessS
These reBuirements are a maAor challenge for the designer of a probe to be built in a
Nome #or$shop and commercial probes are
not cheap
, development feature is
implemented to allo# the use of a
laser probe
4.11 ;inear 3gass scae5
encoders
ty%icay
2+ microns
A
D
y 9
-tart
#igure 4.14 - Euadrature signas
Mach3 has four pairs of inputs to each of #hich an encoder #ith Buadrature outputs can
be connected %t+picall+ these might be Sglass scaleS encoders H see figure /50 Mach3
#ill displa+ the position of each of these encoders on a dedicated !9= These values can
be loaded from and saved to the
main a>is !9=s
Enside the case of the encoder
is a glass %or sometimes
plastic& strip ruled #ith lines
%eg often 5. microns #ide&
separated b+ the same si?ed
clear space , light shining
on a phototransistor through
the ruling #ould give a signal
li$e , in figure /5/ =ne
complete c+cle corresponds
to a movement of -.
microns
#igure 4.1, - 8ass scae encoder 3a'aiting instaation5
,nother light and phototransistor located 0 microns a#a+ from the first one #ould
give signal G a Buarter of a c+cle out from , %hence the name 6$adrat$re&
, full e>planation is rather long, but +ou #ill notice that a signal changes ever+ 0 microns
of movement so the resolution of the scale is 0 microns @e can tell #hich #a+ it is moving
b+ the seBuence of changes *or e>ample if G goes from lo to hi #hen , is hi %point 5&
then #e are moving to the right of the mar$ed start #hereas if G goes from hi to lo #hen ,
is hi %point y& then #e are moving to the left of the start
Mach3 e>pects logic signals Dome
glass scales %eg certain
Neidenhain models& give an analog
sine#ave This allo#s clever
electronics to interpolate to a
higher resolution than 0 microns Ef
+ou #ant to use these than +ou
need to sBuare off the #aveform
#ith an operational
amplifier(comparator TTM output
encoders #ill connect directl+ to
#igure 4.1. ) :ncoder *R(s
the input pins of the parallel port but, as noise #ill give false counts, the+ are better
interfaced via #hat is $no#n as a Dchmitt trigger chip The scales reBuire a !4
suppl+ %often 0 volts& for the lights and an+ driver chips in them
%otice$
%a& that +ou can not easil+ use a linear scale as the feedbac$ encoder for a servo
drive as the slightest bac$lash or springiness in the mechanical drive #ill ma$e the
servo unstable
%b& it is not eas+ to connect the rotar+ encoders on the servo motor to the encoder
!9=s This #ould be attractive for manual operation of the a>es #ith position
readout The problem is that the . volt %common& inside the servo drive used for the
motor encoders is almost certainl+ not the same . volt as +our 34 or brea$out
board 4onnecting them together #ill cause problems H donat be tempted to do itb
%c& the main benefit of using linear encoders on linear a>es is that their
measurements do not depend on the accurac+ or bac$lash of the drive scre#, belt,
chain etc
]
/55 7ncoders Mineares % 7scalas em vidro&
Mach3, possui / pares de entradas para serem usadas cada uma com encoders de
saCda em Buadratura Bue podem ser conectadas %normalmente podem ser encoders
em Sescala de vidroS H veAa a figura /50&

Mach3 vai mostrar a posio de cada um desses encoders em um visuali?ador
dedicados !9= 7sses valores podem ser carregados e guardados nos !9=
principais

!entro da cai>a do encoder Bue em geral 8 de plstico tem uma tira marcada com
com linhas %3or e>emplo, muitas com de 5. microns de largura& separados pelo
mesmo tamanho de espao livre
, lu? Bue brilha atrav8s de um fototransistor envia um sinal como na figura /5/
Um ciclo completo corresponde a um movimento de -. microns

=utra lu? e fototransistor fica locali?ado a 0 mCcrons de distRncia do primeiro e
obteria um sinal G com um Buarto de ciclo a partir do outro %daC o nome em
Buadratura&
Uma e>plicao completa 8 um pouco longa, mas vocF vai obter um sinal de
mudanas a cada 0 microns de movimento para uma resoluo de escala de 0
microns
3odemos saber o sentido do movimento pela seBQFncia de mudanas
3or e>emplo, se G vai de Gai>o para ,lto Buando , 8 ,lto %ponto Y&, em seguida,
estamos nos movendo para a direita do inCcio marcado, e se G vai de ,lto para
Gai>o Buando , 8 ,lto no %` ponto&, ento estamos nos movendo para a esBuerda
do inCcio marcado
Mach3 espera sinais lIgicos ,lguns encoders de escalas de vidro %7>emplo certos
modelos da Neidenhain& do uma onda senoidal analIgica

Esto permite com um eletr^nica inteligente interpolar para uma resoluo melhor
Bue 0 microns De vocF Buiser usar estes, o Bue vocF precisa para gerar o sinal
retangular seria usar um operacional comparador ( amplificador
7ncoders de saCda TTM iro se conectar diretamente a pinos da porta de entrada
paralela, mas, como o ruCdo pode interfirir, 8 melhor fa?er isto por interm8dio de
um chip conhecido como os Dchmitt trigger ,s escalas e>igem uma fonte !4
%"ormalmente 0 volts& para as lu?es e para BualBue chip usado

,visos'
%,& LocF no pode facilmente usar uma escala linear com o encoder realimentado
para uma unidade de servo Bue tenha uma folga menor ou elasticidade mecRnica na
unidade pois isto far com Bue o servo fiBue instvel
%G& no 8 fcil conectar um encoder rotativo sobre a mecRnica do motor e
apresentar as informaes no !9=
Esso seria mais fcil para uma leitura manual da posio do ei>o
= problema 8 Bue o . volt %comum& dentro da unidade servo utili?ados para a
codificadores de motor no 8 certamente o ?ero no seu 34 ou placa brea$out G=G
4onectandoHos Auntos causar problemas H no seAa tentado a fa?FHlob
%4& o principal benefCcio da utili?ao de transdutores lineares nos ei>os lineares 8
Bue suas medidas no dependem da e>atido ou folga do parafuso da unidade,
correia, corrente, cabo, etc
_
4.12 -%inde inde9 %use
Mach3 has an input for one or more pulses generated each revolution of the spindle Et
uses this to displa+ the actual speed of the spindle, to coHordinate the movement of the
tool and #or$ #hen cutting threads and for orientating the tool for the bac$ boring canned
c+cle Et can be used to control feed on a perHrev rather than perHminute basis
]
/,5- 3ulso para Ende>ao do Dpindle
Mach3 tem uma entrada para um ou mais pulsos gerado a cada revoluo do ei>o
7le usa isto para mostrar a velocidade real do ei>o, para coordenar o movimento da
ferramenta de trabalho enBuanto esta cortando e para orientar a ferramenta para a
Buantidade necessria de rotaes por minuto
_
4.13 Charge %um% - a %use monitor
Mach3 #ill output a constant pulse train #hose freBuenc+ is appro>imatel+ 5-0 $NV on
one or both of the parallel ports #henever it is running correctl+ This signal #ill not be
there if the Mach3 has not been loaded, is in 7Dtop mode or if the pulse train generator
fails in some #a+ `ou can use this signal to charge a capacitor through a diode pump
%hence the name& #hose output, sho#ing Mach3as health, enables +our a>is and spindle
drives etc
This function is often implemented in commercial brea$out boards
]
/,53 4arga da bomba H um monitor de pulso
Mach3 vai gerar uma saCda Bue ser um trem de pulso constante, cuAa freBQFncia 8 de
apro>imadamente 5-,0 $N? em uma ou ambas as portas paralelas, sempre Bue esteAa
funcionando corretamente
7ste sinal no estar l se a Mach3 no estiver sido carregado corretamente e uma
situao de emergFncia tiver sido acionada e obstruir o trem de pulso
LocF pode usar este sinal para carregar um capacitor atrav8s de uma bomba de diodo
%daC o nome&, cuAa saCda mostra sade do Mach3
7sta funo 8 geralmente aplicado em placas de brea$out G=G comercial
_
4.14 (ther "unctions
Mach3 has fifteen =7M Trigger input signals #hich +ou can assign for +our o#n use
*or e>ample the+ can be used to simulate clic$ing a button or to call a user #ritten
macros
En addition there are four user inputs #hich can be interrogated in user macros
Enput s5 can be used to inhibit running of the part program Et might be connected to
the guards on +our machine
*ull details of the architecture of Enput 7mulation are given in Mach3 ,$stomisation
#i$i The setup dialog is defined in section 0
The 9ela+ ,ctivation outputs not used for the Dpindle and 4oolant can be used b+ +ou
and controlled in user #ritten macros
.nd a final thought , before +ou get carried a#a+ #ith implementing too man+ of the
features in this chapter, remember that +ou do not have an unlimited number of
inputs(outputs 7ven #ith t#o parallel ports there are onl+ ten inputs for supporting all
functions and, although a $e+board emulator #ill help giving more inputs, these cannot
be used for all functions `ou ma+ have to use a ModGus device to dramaticall+ e>pand
custom input(output
]
/,5/ =utras funes
Mach3 tem Buin?e sinais =7M de entrada Trigger os Buais vocF pode atribuir para seu prIprio
uso

3ara e>emplo, eles podem ser usados para simular um cliBue de um boto ou para chamar um
usurio, isto se escrito por interm8dio de macros

,l8m disso, e>istem Buatro entradas do usurio Bue podem ser interrogadas por macros

Enput s 5 pode ser usado para inibir a carga de parte de um programa 3ode ser chamado para
proteger sua mBuina
Todos os detalhes da arBuitetura de emulao de entradas so apresentados no #i$i Mach3
Tunning
= dilogo de configurao 8 definido no ponto 0
, ativao de um relF pelas saCdas no utili?adas para o 7i>o e refrigerao, pode ser utili?ado
por vocF e controlado pelo usurio pela escrita de macros
7 um pensamento final H antes de vocF comear usando todas esta funes em sua aplicao,
lembreHse Bue vocF no tem um nmero ilimitado de entradas ( saCdas
Mesmo com duas portas paralelas, h apenas de? entradas para apoiar todos os funes e, se
usar um emulador de teclado isto ir aAudar a dar mais entradas, mas estas no podem ser
utili?ados para todas as funes
LocF pode ter Bue usar um dispositivo ModGus para e>pandir dramaticamente as entradan e
saCdas
_

Con"iguring Mach3
Rev 1.84-A2 ,-1 Using Mach3Mi
,. Con"iguring Mach3 "or your machine and drives
Ef +ou have bought a machine tool #ith a computer running Mach3 then
+ou #ill probabl+ not need to read this chapter %e>cept out of general
interest& `our supplier #ill probabl+ have installed the Mach3 soft#are
and set it up and(or #ill have given +ou detailed instructions on #hat to do
`ou are recommended to ensure that +ou have a paper cop+ of ho# Mach3
is configured should +ou ever need to reHinstall the soft#are from scratch
Mach3 stores this information in an YMM file #hich +ou can vie#
]
0 4onfigurao do Mach3 para o seu computador e drives
De vocF comprou uma mBuinaHferramenta com um computador Bue e>ecuta o Mach3, ento
vocF provavelmente no precisa ler este capCtulo %e>ceto como interesse geral&
Deu fornecedor, provavelmente, ter instalado o soft#are Mach3 e A estar configurado
e ( ou ter dado instrues detalhadas sobre o Bue fa?er
9ecomendaHse a garantir Bue vocF tenha uma cIpia em papel de como esta configurado seu
Mach3 para orientaHlo se precisar reHinstalar o soft#are a partir do ?ero

Mach3 arma?ena essas informaes em um arBuivo YMM Bue vocF pode ver
_
,.1 A con"iguration strategy
This chapter contains a lot of ver+ fine detail `ou should, ho#ever, find that the
configuration process is straightfor#ard if +ou ta$e it stepHb+Hstep, testing as +ou go ,
good strateg+ is to s$im through the chapter and then #or$ #ith it on +our computer
and machine tool @e #ill assume that +ou have alread+ installed Mach3 for the dr+
running described in chapter 3
Lirtuall+ all the #or$ +ou #ill do in this chapter is based on dialog bo>es reached from
the 4onfig%ure& menu These are identified b+, for e>ample, 4onfigoMogic #hich means
that +ou choose the Mogic entr+ from the 4onfig menu
]
0,5 Uma estrat8gia de configurao
7ste capCtulo cont8m uma s8rie de detalhes muito especCficos LocF deve,
entretanto, considerar Bue as processo de configurao 8 simples se vocF for
fa?endo passo a passo, e ir testando o Bue vc esta fa?endo , boa estrat8gia 8
percorrer o capCtulo e, em seguida, trabalhar com ele em seu computador e
mBuinaHferramenta Lamos supor Bue vocF A instalou o Mach3 para o
funcionamento a seco descrito no capCtulo 3
3raticamente todo o trabalho Bue vocF vai fa?er neste capCtulo 8 baseado em cai>as
de dilogo alcanado a partir do menu 4onfig
7stes so identificados, por e>emplo, 4onfigo Mogic Bue significa Bue vocF escolhe
a entrada lIgica a partir do menu 4onfig
_
Con"iguring Mach3
Using Mach3Mi ,-2 Rev 1.84-A2
,.2 Initia con"iguration
The first dialog to use is 4onfigo3orts and 3ins This dialog has man+ tabs but the
initial one is as sho#n in figure 05
]
0,- configurao inicial
= primeiro dilogo a se usar 8 4onfigo 3ortas e 3ins 7ste dilogo tem muitas abas, mas a
inicial 8 como mostrado na figura 05
_
5.2.1 Deining addresses o port6s7 to %se
#igure ,.1 - !orts and A9is seection ta/
Ef +ou are onl+ going to use one parallel port and it is the one on +our computeras
motherboard then the default address of 3ort 5 of .>3J: %ie Ne>adecimal 3J:& is
almost certainl+ correct
Ef +ou are using one or more 34E addHon cards then +ou #ill need to discover the address
to #hich each responds There are no standardsb 9un the @indo#s 4ontrol 3anel from the
@indo#s Start button !ouble clic$ on System and choose the !ard"are tab 4lic$ the
Device Manager button 7>pand the tree for the item S3orts %4=M l M3T&S
Rev 1.84-A2 ,-3 Using Mach3Mi
Con"iguring Mach3
!ouble clic$ the first M3T or 743 port Ets properties #ill be displa+ed in a ne# #indo#
4hoose the 9esources tab The first number in the first E= range line is the address to
use "ote the value do#n and close the 3roperties dialog
%ote$ that installing or removing an+ 34E card can change the address of a 34E parallel port
card even if +ou have not touched it
Ef +ou are going to use a second port repeat the above paragraph for it
4lose the !evice Manager, D+stem 3roperties and 4ontrol 3anel
#indo#s
7nter +our first portas address %do not provide .> prefi> to sa+ it is Ne>adecimal as
Mach3 assumes this& Ef necessar+ chec$ 7nabled for port - and enter its address
"o# clic$ the #pply button to save these values This is most important Mach will
not remember values when you change from tab to tab or close the 6ort @ 6ins
dialog unless you Apply.
"
0-5 !efinio de endereos da porta %s& a usar

De vocF vai usar somente uma porta paralela e ela 8 a nica em seu computador o
endereo padro da porta dever ser Buase certamente .>3J: %ou seAa, Ne> 3J:&

De vocF estiver usando uma ou mais cartes adicionais 34E, ento vocF ter de
descobrir o endereo em Bue cada um responde "o h normasb 7>ecute o painel
de controle da Goto Eniciar do @indo#s !F um duplo cliBue em Distema e
escolha a aba Nard#are 4liBue na boto Kerenciador de dispositivos 7>panda a
rvore para o item S3ortas %4=M l M3T&S
4liBue duas ve?es na primeira ou M3T porta 743 Duas propriedades sero
e>ibidos em uma nova Aanela
7scolha a guia 9ecursos = primeiro nmero na primeira linha E= intervalo 8 o
endereo para o uso
,note o valor e feche a cai>a de dilogo 3ropriedades
"ota' Bue instalar ou remover BualBuer placa 34E pode alterar o endereo de uma
porta paralela 34E carto, mesmo Bue no tenha trocado
De vocF estiver usando uma segunda porta repetir o pargrafo acima
*eche o Kerenciador de !ispositivos, 3ropriedades do Distema e @indo#s
4ontrol 3anel
!igite o endereo de sua primeira porta geralmente vai ser .3J: cliBue no boto
,ppl+ para salvar esses valores
Esso 8 muito importante Mach3 no Membrar de valores Buando vocF mudar de
guia para guia ou fechar o dilogo a menos Bue vocF cliBue em aplicar
A
5.2.2 Deining engine re8%enc&
The Mach3 driver can #or$ at a freBuenc+ of -0,... N? %pulses per second&, 30,... N? or
/0,... N? depending on the speed of +our processor and other loads placed on it #hen
running Mach3
The freBuenc+ +ou need depends on the ma>imum pulse rate +ou need to drive an+ a>is at
its top speed -0,... N? #ill probabl+ be suitable for stepper motor s+stems @ith a 5.
microHstep driver li$e a Kec$o -.5, +ou #ill get around J0. 93M from a standard 5:
o
stepper motor Nigh pulse rates are needed for servo drives that have high resolution shaft
encoders on the motor *urther details are given in the section on motor tuning
Using Mach3Mi ,-4 Rev 1.84-A2
Con"iguring Mach3
4omputers #ith a 5 KN? cloc$ speed #ill almost certainl+ run at 30,... N? so +ou can
choose this if +ou need a higher step rate %eg if +ou have ver+ fine pitch lead scre#s&
The demonstration version #ill only run at -0,... N? En addition if Mach3 is forcibl+
closed then on reHstart it #ill automaticall+ revert to -0,... N? operation The actual
freBuenc+ in the running s+stem is displa+ed on the standard !iagnostics screen
DonBt forget to click the Apply button before proceeding.
]
0-- !efinio de freBQFncia do motor
= drive Mach3 pode trabalhar em uma freBQFncia de -0... N? %pulsos por
segundo&, 30... N? ou /0... N?, dependendo da velocidade do seu processador e
outros programas carregados Auntamente Buando da e>ecuo do Mach3

, freBQFncia Bue vocF precisa depende da pulsao m>ima Bue vocF precisa para
condu?ir em BualBuer ei>o em sua velocidade m>ima
-0... N?, provavelmente, ser adeBuado para sistemas de motor de passo
4om 5. microHpassos como um Kec$o -.5, vocF conseguir em torno de J0. 93M a
partir de um motor de passo padro de 5: grus por passo

7>plicando'-0... por segundo portanto em um minuto 50..... e como cada passo
necessita 5. micropulsos temos' 50.... divididos por -.. passos por volta n J0.
voltas por minuto
%"T& ,Bui, vamos confirmar o raciocCnio de se trabalhar com meio passo Bue no caso
seria' %%-0... q 1.&(-&(-.. n 3J0. voltas por minuto

Ta>as de pulsos mais altas so necessrias para servos Bue trabalham em alta
resoluo como encoders no motor
Mais pormenores na seco Dintonia do motor

4omputadores com um relIgio de 5 KN? de velocidade Buase certamente permitiro
e>ecutar em 30... N? LocF pode fa?er esta escolha se vocF precisar de uma maior
ta>a de passo %por e>emplo, se vocF tiver uma rosca muito fina nos seus fusos&

, verso de demonstrao do Mach3 sI ser e>ecutada em -0... N?
,l8m disso, se o programa Mach3 for forosamente encerrado, e em seguida se
reiniciali?ado, automaticamente a operao reverter a -0... N?
, real freBQFncia de e>ecuo do sistema 8 e>ibida na tela padro !iagnostics

"o esBuea de clicar no boto ,plicar antes de prosseguir
_
5.2.3 Deining special eat%res
`ou #ill see chec$ bo>es for a variet+ of special configuration The should be selfH
e>planator+ if +ou have the relevant hard#are in +our s+stem Ef not then leave
then unchec$ed
DonBt forget to click the Apply button before proceeding.
Rev 1.84-A2 ,-, Using Mach3Mi
Con"iguring Mach3
]
0-3 !efinindo caracterCsticas especiais

LocF ver cai>as de seleo para uma variedade de configuraes especiais
!evem ser autoHe>plicativas se vocF tiver o hard#are correspondente em seu sistema
De no, ento dei>eHa desmarcada
"o esBuea de clicar no boto ,plicar antes de prosseguir
A
,.3 *e"ining in%ut and out%ut signas that you 'i use
"o# that +ou have established the basic configuration it is time to define #hich input and
output signals +ou #ill be going to use and #hich parallel port and pin #ill be used for
each The documentation for +our brea$out board ma+ give guidance on #hat outputs to use
if it has been designed for use #ith Mach3 or the board ma+ be supplied #ith a s$eleton
3rofile %YMM& file #ith these connections alread+ defined
]
0,3 !efinio entrada e saCda dos sinais Bue vocF vai usar
,gora Bue vocF A estabeleceu a configurao bsica est na hora de definir Buais so os sinais
de entrada e de saCda Bue vocF vai usar da porta paralela e Bue pinos sero utili?ados para cada
um
, documentao para a sua placa pode dar orientaes sobre o uso se tiver sido proAetada para
uso com Mach3 ou ainda a placa pode ser fornecido com um 3erfil % YMM& com essas
cone>es A est definidas
_
5.3.1 20is and 1pindle o%tp%t signals to be %sed
*irst vie# the Motor O$tp$ts tab This #ill loo$ li$e figure 0/
!efine #here the drives for +our Y, ` and V a>es are connected and clic$ to get a
chec$H mar$ to 7nable these a>es Ef +our interface hard#are %eg Kec$o -.5 stepper
driver& reBuires an activeHlo signal ensure that these columns are chec$ed for the Dtep
and !ir%ection& signals
Ef +ou have a rotar+ or slaved a>es then +ou should enable and configure these
Ef +our spindle speed #ill be controlled b+ hand then +ou have finished this tab #lick the
Apply button to save the data on this tab.
Using Mach3Mi ,-. Rev 1.84-A2
Con"iguring Mach3
#igure ,.4 ) *e"ining the connections "or a9es and the controed s%inde
Ef +our spindle speed #ill be controlled b+ Mach3 then +ou need to 7nable the spindle and
allocated a Dtep pin(port for it if it uses pulse #idth modulated control #ith rela+s to
control its direction or to allocate Dtep and !irection pins(ports if it has full control `ou
should
also define if these signals are activeHlo @hen done, click the Apply button to save
the data on this tab.
035 Dinais de saCda para serem usados nos ei>os e no spindle
, primeira viso da aba de tela para aAuste dos motores vai se parecer como figura 0/
Lo aBui ser definidos onde as unidades dos seus Y, ` e V estaro ligados e forma para abilitar
esses ei>os De o seu hard#are de interface %por e>emplo, Kec$o driver -.5 stepper& e>ige um
sinal ativo Gai>o, garanta Bue essas colunas esto marcadas para os pulsos e !ireo dos
sinais
De vocF tem ei>os escravos, vocF dever agora habilitar e configurar esses ei>os
De a velocidade de rotao do spindle for controlada manualmente depois de ter terminado este
guia 4liBue na Goto ,plicar para salvar os dados desta aba
De a sua velocidade de rotao do spindle for controlada pelo Mach3, ento vocF precisa
atribuir e ativar um 3E"= da porta para ele e se for usar o 3@M com rel8s para controlar sua
direo ou para alocar 3asso e pinos de !ireo isto para se ter um controle total LocF deveria
tamb8m definir se esses sinais so ativos em Gai>o
Uuando terminar, cliBue no boto ,plicar para salvar as dados
5.3.2 Inp%t signals to be %sed
"o# select the Inp$t Signals tab This #ill loo$ li$e figure 00
@e assume that +ou have chosen one of the Nome(limit strategies from chapter /1
Ef +ou have used strateg+ one and the limit s#itches are connected together and trigger an
Rev 1.84-A2 ,-0 Using Mach3Mi
Con"iguring Mach3
#igure ,., ) In%ut signas
7Dtop or disable the a>is drives via the drive electronics then +ou do not chec$ an+ of the
Mimit inputs
@ith strateg+ t#o +ou #ill probabl+ have Nome s#itches on the Y, ` and V a>es 7nable
the !ome s#itches bo>es for these a>es and define the 3ort(3in to #hich each is
connected Ef +ou are combining limits and the Nome s#itch then +ou should enable the
Limit 77, the Limit 88 and !ome for each a>is and allocate the same pin to !ome, Limit9
and Limit88.
Using Mach3Mi ,-8 Rev 1.84-A2
Con"iguring Mach3
"otice the scroll bar to access the rest of the table #hich is not visible in figure 00
The Inp$t :( is special in that it can be used to inhibit running a part program #hen
safet+ guards are not in place The other three %and s5 if not used for the guard interloc$&
are available for +our o#n use and can be tested in the code of macros The Inp$t :; can
be used to connect an e>ternal pushbutton s#itch to implement the Dingle Dtep function
`ou ma+ #ish to configure them later
7nable and define Inde5 +$lse if +ou have a spindle sensor #ith Aust one slot or mar$
7nable and define Limits Override if +ou are letting Mach- control +our limit s#itches
and
+ou have an e>ternal button #hich +ou #ill press #hen +ou need to Aog off a limit Ef
+ou have no s#itch then +ou can use a screen button to achieve the same function
7nable and define EStop to indicate to Mach3 that the user has demanded an
emergenc+ stop
7nable and define OEM Trigger inputs if +ou #ant electrical signals to be able to call =7M
button functions #ithout a screen button needing to be provided
7nable and define Timing if +ou have a spindle sensor #ith more than one slot or mar$
7nable 3robe for digitising and TN4=n, TN4Up and TN4!o#n for control of a
3lasma
torch
Ef +ou have one parallel port then +ou have 0 available inputse #ith t#o ports there are 5.
%or #ith pins - to 6 defined as inputs, 53& Et is ver+ common to find that +ou are short of
input signals especiall+ if +ou are also going to have some inputs for glass scales or other
encoders `ou ma+ have to compromise b+ not having things li$e a ph+sical Mimit
=verride ks#itch to save signalsb
`ou can also consider using a Oe+board 7mulator for some input signals
#lick the Apply button to save the data on this tab.
03- =s sinais de entrada a serem utili?ados

,gora selecione a aba Enput Dignals Esto ir se parecer como a figura 00
Dupondo Bue vocF tenha escolhido uma das estrat8gias de Nome ( Mimite do capCtulo /1
De vocF A usou a estrat8gia e os interruptores so ligados entre si e provocou uma emergencia
ou desabilitou as unidades do ei>o pela via eletr^nica da movimentao, ento vocF no vai ter
BualBuer limitao de entrada

4om a segunda estrat8gia provavelmente vocF vai ter opes de chaves Nome nos ei>os Y, ` e
V
7>istir chaves para estes ei>os de Nome e definidos os 3inos da porta em Bue cada um est
ligado
De vocF esta combinando limites e Nome, ento vocF deve habilitar o MimitH H, o Mimite k k
Use a barra de rolagem para acessar o resto da tela Bue no 8 visCvel na figura 00
= Enput s 5 8 especial na medida em Bue pode ser usado para inibir a e>ecuo de um programa
da pea, Buando as guardas de segurana no esto no lugar
=s outros trFs %s 5 e se no for usado para o bloBueio de emergencia& esso disponCveis para seu
uso e pode ser testado no cIdigo de macros
= Enput s / pode ser usado para conectar um bota chave e>terno para implementar a
funo nica etapa LocF pode Buerer configurHlos mais tarde
Nabilitar e definir Pndice de 3ulse se vocF tiver um sensor no spindle com apenas um slot ou
marca
Nabilitar e definir limites de curso se vocF est dei>ando de controlar no Mach- seu limite de
interruptores e vocF tem um boto e>terno Bue vocF vai pressionar, Buando vocF necessitar de
correr fora de um limite
Rev 1.84-A2 ,-1 Using Mach3Mi
Con"iguring Mach3

De vocF no tFm esta opo, ento vocF pode usar um boto de tela para alcanar a mesma
funo
Nabilitar e definir onde parar o Mach3 para indicar Bue o usurio acionou uma situao de
emergFncia

Nabilitar e definir entradas =7M Trigger se vocF Buiser sinais el8tricos para serem capa?es de
chamar funes de =7M por um boto, sem boto de tela Bue devem ser fornecidas

Nabilitar e definir o tempo se vocF tem um sensor do ei>o com mais de um slot ou marca
Nabilitar 3robe para a digitali?ao e TN4=n, TN4Up e TN4!o#n para o controle de um
maarico a 3lasma
De vocF tiver uma porta paralela, ento vocF tem 0 entradas disponCveis, com duas portas, h 5.
%=u com pinos -H6 definidos como entradas, 53&
Z muito comum achar Bue vocF esta com poucos sinais de entrada, especialmente se vocF
tamb8m vai ter algumas entradas para as escalas de vidro ou outros encoders
LocF pode ter Bue comprometer algumas coisas sobrepondo alguns controles fCsicos para
poupar sinaisb
LocF tamb8m pode considerar usar um emulador de teclado para alguns sinais de entrada
4liBue no boto ,plicar para salvar os dados nesta aba
5.3.3 /$%lated inp%t signals
Ef +ou chec$ the 7mulated column for an input then the 3ort(3in number and activeHlo
state for that signal #ill be ignored but the entr+ in the Not$e+ column #ill be interpreted
@hen a $e+Hdo#n message is received #ith code that matches a Not$e+ value then that
signal is considered to be active @hen a $e+Hup message is received then it is inactive
The $e+Hup and $e+Hdo#n signals usuall+ come from a $e+board emulator %li$e the
Ultimarc E3,4 or Nagstrom& #hich is triggered b+ s#itches connected to its inputs This
allo#s more s#itches to be sensed than spare pins on +our parallel ports but there ma+
be significant time dela+s before the s#itch change is seen and indeed a $e+Hup or $e+H
do#n message can get lost b+ @indo#s
#igure ,.. ) (ut%ut signas
Using Mach3Mi ,-1+ Rev 1.84-A2
Con"iguring Mach3
7mulated signals cannot be used for Inde5 or Timing and should not be used for EStop
]
033 emulado sinais de entrada
De vocF Marcar a coluna 7mulad para uma entrada em um 3ino da 3orta e dei>ar em estado de
ativado, esse sinal ser ignorado, mas a entrada na coluna Not$e+ ser interpretada
Uuando uma tecla 8 ativada e um cIdigo 8 recebido com um valor Bue corresponde a um valor
definido em Not$e+, o sinal 8 considerado ativo
Uuando uma mensagem de tecla 8 recebido at8 ento, est inativo
, chaveHup e do#nHchave sinais normalmente vFm de um emulador de teclado %como o
Ultimarc E3,4 ou Nagstrom&, Bue 8 acionado por interruptores ligado a suas entradas
Esto permite mais Buantidade de chaves Bue os pinos em suas portas paralelas, mas pode haver
atrasos significativos antes Bue a mudana da chave seAa reconhecida pelo@indo#s, inclusive
se perder esta informao
Dinais emulados no pode ser usado para Ende> ou Timing e no devem ser usada para parada
de emergencia
_
5.3.4 *%tp%t 1ignals
Use the =utput signals tab to define the outputs +ou reBuire Dee figure 01
`ou #ill probabl+ onl+ #ant to use one Ena/le output %as all the a>is drives can be
connected to it& Endeed if +ou are using the charge pump(pulse monitor feature then
+ou ma+ enable +our a>is drives from its output
The O$tp$t: signals are for use to control a stop(start spindle %cloc$#ise and optionall+
countercloc$#ise&, the *lood and Mist coolant pumps or valves and for control b+ +our
o#n customi?ed Mach3 buttons or macros
The ,harge 3ump line should be enabled and defined if +our brea$out board accept
this pulse input to continuall+ confirm correct operation of Mach3 ,harge +$mp* is
used if +ou have a second brea$out board connected to the second port or #ant to
verif+ the operation of the second port itself
#lick the Apply button to save the data on this tab.
]
03/ =s sinais de saCda
Use os sinais de saCda para definir as saCdas Bue vocF necessita LeAa a figura 01
LocF dever provavelmente somente necessitar de usar uma saCda 7nable %todas as unidades de
ei>os podem ser conectados a ele& "a verdade, se vocF estiver usando a bomba de carga ( e o
recurso de monitor de pulso, ento vocF pode comandar seus ei>os por esta saCda
=s sinais de =utput s so usados para controlar um stop ( start do Dpindle %sentido horrio e,
opcionalmente, antiHhorrio&, a bomba de refrigerao ou vlvulas outras, podem ser
controlados por seus prIprios botes personali?ados ou macros no Mach3
4liBue no boto ,plicar para salvar os dados nesta aba
_
5.3.5 Deining encoder inp%ts
The 7ncoder(M3Ks tab is used to define the connections and the resolution of
linear encoders or Manual 3ulse Kenerators %M3Ks& used for Aogging the a>es
Rev 1.84-A2 ,-11 Using Mach3Mi
Con"iguring Mach3
#igure ,.0 ) :ncoder in%uts
The 7ncoder(M3Ks tab is used to define the connections and the resolution of linear
encoders or Manual 3ulse Kenerators %M3Ks& used for Aogging the a>es Et is covered
here for completeness of the description of 4onfigo3orts l 3ins
This dialog does not need an activeHlo column as, if the encoders count the #rong #a+ it
is merel+ necessar+ to s#ap the pins allocated for , and G inputs
]
030 !efinindo entradas encoder
, ,ba (7ncoder( M3Ks 8 usada para definir as cone>es e a resoluo de 7ncoders Minear ou
Manual 3ulse Keradores %M3Ks& usados para movimentar os ei>os
7le 8 coberto aBui para a completude da descrio da configuraoo 3orts l 3ins
F
,.3.,.1 :ncoders
The ,o$nts per $nit value should be set to correspond to the resolution of the encoder
Thus a linear scale #ith rulings at -. microns produces a count ever+ 0 microns %remember
the Buadrature signal&, that is -.. counts per unit %millimetre& Ef +ou have "ative units set
as inches the it #ould be -.. x -0/ n 0.:. counts per unit %inch& The <elocity value is
not used
]
0305 7ncoders
,s contagens por unidade de valor deve ser definido para corresponder T resoluo do encoder
,ssim uma escala linear, com decises a -. microns produ? uma contagem a cada 0 microns
%lembreHse o Buadratura do sinal&, Bue 8 de -.. contagens por unidade %milCmetro&
De vocF tiver unidades "ative definido como centCmetros do Bue seria -.. > -0,/ n 0.:.
contagens por unidade %polegadas& = valor da velocidade no 8 utili?ado
_
Con"iguring Mach3
Using Mach3Mi ,-12 Rev 1.84-A2
,.3.,.2 M!8s
The ,o$nts per $nit value is used to define the number of Buadrature counts that need to
be generated for Mach3 to see movement of the M3K *or a 5.. 439 encoder, a figure of
- is suitable *or higher resolutions +ou should increase this figure to get the mechanical
sensitivit+ +ou #ant @e find 5.. #or$s #ell #ith 5.-/ 439 encoders
The <elocity value determines the scaling of pulses sent to the a>is being controlled b+
the M3K The lo#er the value given in <elocity the faster the a>is #ill move Ets value is
best set b+ e>periment to give a comfortable speed #hen spinning the M3K as fast as is
comfortable
]
030- M3Ks
,s contagens por unidade de valor 8 usado para definir o nmero de contagens em Buadratura
Bue devem ser gerado para Mach3 para ver o movimento da M3K
3ara um codificador 5.. 439 , um valor de - 8 adeBuado 3ara resolues mais altas vocF
deve aumentar este valor para obter a sensibilidade mecRnica Bue vocF deseAa
"Is encontramos 5.. funciona bem com 5.-/ encoders 439
= valor da velocidade determina o dimensionamento de impulsos enviados ao ei>o, sendo
controlada pela M3K Uuanto menor o valor dado na velocidade mais rpido o ei>o se mover
Deu valor 8 o melhor estabelecidos pela e>periFncia para se ter uma velocidade rpida e
confortvel
_
5.3.6 Conig%ring the spindle
The ne>t tab on 4onfigo3orts l 3ins is Spindle Set$p This is used to define the #a+ in
#hich +our spindle and coolant is to be controlled `ou ma+ opt to allo# Mach3 to do
nothing #ith it, to turn the spindle on and off or to have total control of its speed b+ using a
3ulse @idth Modulated %3@M& signal or a step and direction signal The dialog is sho#n
in figure 0:
#igure ,.8 ) -%inde -etu%
[
Con"iguring Mach3
Rev 1.84-A2 ,-13 Using Mach3Mi
031 4onfigurando o Dpindle
, prI>ima guia em 4onfigo 3orts l 3ins 8 Dpindle Detup
Esto 8 usado para definir em Bue forma seu Dpindle e a 9efrigerao sero controladas
LocF pode optar para o Mach3 no faa nada para ligar ou desligar o seu Dpindle, ou ter o
controle total da sua velocidade usando um 3@M ou um passo e um sinal de direo
, cai>a de dilogo 8 mostrada na figura 0:
_
,.3...1 Cooant contro
4ode MJ can turn *lood coolant on, M6 can turn Mist coolant on and M6 can turn all
coolant off The *lood Mist control section of the dialog defines #hich of the output
signals are to be used to implement these functions The 3ort(3ins for the outputs have
alread+ been defined on the O$tp$t Signals tab
Ef +ou do not #ant to use this function chec$ Disa/le Flood)Mist 4elays
]
0315 controle de refrigerao
4Idigos MJ, M6 e M6 so utili?ados para ligar e desligar o tipo de refrigerao
, seo de controle de inundao "8voa do dilogo define Buais os sinais de saCda devem ser
utili?ados para implementar essas funes
= 3ino da 3orta para suas saCdas A foram definido na guia sinais de saCda
De vocF no Buiser usar essa funo,!esative *lood ( Mist 9ela+s
_
,.3...2 -%inde reay contro
Ef the spindle speed is controlled b+ hand or b+ using a 3@M signal then Mach3 can
define its direction and #hen to start and stop it %in response to M3, M/ and M0& b+ using
t#o outputs The 3ort(3ins for the outputs have alread+ been defined on the O$tp$t
Signals tab
Ef +ou control the spindle b+ Dtep and !irection then +ou do not need these controls
M3, M/ and M0 #ill control the pulse train generated automaticall+
Ef +ou do not #ant to use this function chec$ Disa/le Spindle 4elays
]
031- 4ontrole de acionamento do Dpindle
De a velocidade do Dpindle 8 controlada manualmente ou pelo uso de um sinal usando o 3@M
ento o Mach3 pode definir a direo Buando for ligado ou parado % 7m resposta a M3, M/ e
M0& e pelo uso de duas DaCdas
MembreHse Bue os 3inos da 3orta A foi definido "a Tabela =utput Dignals
_
,.3...3 Motor Contro
4hec$ =se Motor ,ontrol if +ou #ant to use 3@M or Dtep and !irection control of
the spindle @hen this is chec$ed then +ou can choose bet#een +WM ,ontrol and
Step)Dir Motor
Con"iguring Mach3
Using Mach3Mi ,-14 Rev 1.84-A2
]
0313 4ontrole do Motor

LerifiBue =se Motor ,ontrol se vocF deseAa usar 3@M ou pulsos de controle de
direo no Dpindle
Uuando esta opo estiver assinalada, ento vocF pode escolher entre controle
por 3@M e Motor de 3ulso ( !ireo
_
6<M #ontrol
, 3@M signal is a digital signal, a SsBuareS #ave #here the percentage of the time the
signal is high specifies the percentage of the full speed of the motor at #hich it should
run
Do, suppose +ou have a motor and 3@M drive #ith ma>imum speed of 3... rpm then
figure /5- #ould run the motor at 3... > .- n 1.. 93M Dimilarl+ the signal in
figure
/53 #ould run it at 50.. 93M
Mach3 has to ma$e a trade off in ho# man+ different #idths of pulse it can produce
against ho# h igh a freBuenc+ the sBuare #ave can be Ef the freBuenc+ is 0 N? the Mach3
running #ith a -0... N? $ernel speed can output 0... different speeds Moving to 5.N?
reduces this to -0.. different speeds but this still amounts to a resolution of one or t#o
93M
, lo# freBuenc+ of sBuare #ave increases the time that it #ill ta$e for the motor drive
to notice that a speed change has been reBuested Get#een 0 and 5. N? gives a good
compromise The chosen freBuenc+ is entered in the +WM-ase Fre6 bo>
Man+ drives and motors have a minimum speed T+picall+ because the cooling fan is ver+
inefficient at lo# speeds #hereas high torBue and current might still be demanded The
Minim$m +WM > bo> allo#s +ou to set the percentage of ma>imum speed at #hich
Mach3 #ill stop outputting the 3@M signal
`ou should be a#are that the 3@M drive electronics ma+ also have a minimum speed
setting and that Mach3 pulle+ configuration %see section >>& allo#s +ou to set minimum
speeds T+picall+ +ou should aim to set the pulle+ limit slightl+ higher than the
Minim$m +WM > or hard#are limit as this #ill clip the speed and(or give a sensible
error message rather than Aust stopping it
Step and Direction motor
This ma+ be an variable speed drive controlled b+ step pulses or a full servo drive
`ou can use the Mach3 pulle+ configuration %see section 0015& to define a
minimum speed if this is needed b+ the motor or its electronics
]
i
4ontrole por 3@M
Um sinal 3@M 8 um sinal digital, trataHse de uma onda Buadrada onde a percentagem do
tempo do sinal em alta fica especificada para a percentagem da velocidade m>ima do motor
em Bue ele deve rodar

_
Uma bai>a freBQFncia de onda Buadrada aumenta o tempo Bue levar para o motor sentir Bue
uma mudana de velocidade foi solicitada 7ntre 0 e 5. N? d um bom compromisso ,
freBQFncia escolhida 8 inserida na cai>a' 3@MGase *reB
Muitas unidades e os motores tFm uma velocidade mCnima
Con"iguring Mach3
Rev 1.84-A2 ,-1, Using Mach3Mi
"ormalmente porBue o ventilador de refrigerao 8 muito ineficientes em bai>as velocidades
enBuanto Bue o torBue elevado pode estar sendo e>igido
, cai>a Minimum 3@M m permite Bue vocF defina a porcentagem da velocidade m>ima na
Bual Mach3 vai parar de enviar para a saCda o sinal 3@M
LocF deve estar ciente de Bue os circuitos eletr^nicos de 3@M tamb8m pode ter uma definio
de velocidade mCnima e Bue a configurao de polia em Mach3 %ver seco >>& permite Bue
vocF defina um mCnimo para esta velocidade
"ormalmente, vocF deve procurar definir o limite de polia ligeiramente superior ao limite
mCnimo do 3@M m ou ao limie do hard#are, pois isso poder acarretar apenas uma
mensagem de erro, no lugar de efetivamente apenas parHlo
3asso e !ireo do motor
Esto pode ser uma unidade de velocidade varivel controlada por pulsos de passo ou servo
drive completo
LocF pode usar a configurao de polia em Mach3 %ver seco 0015& para definir um
mCnimo velocidade se isso for necessrio para o motor ou a sua eletr^nica
_
,.3...4 Mod/us s%inde contro
This bloc$ allo#s the setup of an analogue port on a Modbus device %eg a
Nomann ModE=& to control spindle speed *or details see the documentation of
+our ModGus device
]
031/ controle Modbus ei>o
7ste bloco permite a configurao de uma porta analIgica em um dispositivo
Modbus %por e>emplo, Nomann ModE=& para controlar a velocidade do ei>o
3ara mais informaes, consulte a documentao do seu ModGus dispositivo
_
,.3..., 8enera !arameters
These allo# +ou to control the dela+ after starting or stopping the spindle before Mach3
#ill e>ecute further commands %ie a !#ell& These dela+s can be used to allo# time
for acceleration before a cut is made and to provide some soft#are protection from
going directl+ from cloc$#ise to countercloc$#ise The d#ell times are entered in
seconds
Immediate 4elay o%% /e%ore delay, if chec$ed #ill s#itch the spindle rela+ off as soon as the
M0 is e>ecuted Ef unchec$ed it sta+s on until the spinHdo#n dela+ period has elapsed
]
0310 3arRmetros gerais
7stes permitem controlar o atraso depois de iniciar ou parar o Dpindle e antes do Mach3
e>ecutar mais comandos %ou seAa, uma interrupo&
7stes atrasos podem ser usados para dar tempo para acelerao do spindle antes Bue um corte seAa
iniciado e para fornecer alguma proteo de soft#are para Bue no acontea de ir diretamente no
sentido horrio para sentido antiHhorrio
=s tempos de durao so introdu?idos em segundos

Immediate 4elay o%% /e%ore delay d se marcado, dever desligar o spindle tal como uma M0
De nada for feito ela permanece at8 o perCodo de atraso spinHdo#n ter decorrido
_

,.3.... !uey ratios
Con"iguring Mach3
Using Mach3Mi ,-1. Rev 1.84-A2
Mach3 has control over the speed of +our spindle motor `ou program spindle speeds
through the D #ord The Mach3 pulle+ s+stem allo#s +ou to define the relationship
bet#een these for four different pulle+ or gearbo> settings Et is easier to understand ho#
it #or$s after tuning +our spindle motor so it is described in section 0015 belo#
]
0311 relaes de polias
Mach3 pode ter o controle sobre a velocidade de seu motor spindle
LocF programa a velocidade do ei>o atrav8s da palavra D
= sistema de polias Mach3 lhe permite definir a relao entre at8 Buatro polias ou
configuraes de diferentes velocidades
Z mais fcil entender como ele trabalha apIs aAustar seu motor spindle assim como 8 descrito
na seco 0015 abai>o
_
,.3...0 -%ecia "unction
Laser mode should al#a+s be unchec$ed e>cept for controlling the po#er of a cutting
laser b+ the feedrate
=se Spindle %eed/ac. in sync mode should be unHchec$ed
Rev 1.84-A2 ,-10 Using Mach3Mi
Con"iguring Mach3
,losed Loop Spindle ,ontrol, #hen chec$ed, implements a soft#are servo loop #hich
tries to match the actual spindle speed seen b+ the Ende> or Timing sensor #ith that
demanded b+ the D #ord The e>act speed of the spindle is not li$el+ to be important so
+ou are not li$el+ to need to use this feature in Mach3Turn
Ef +ou do use it then the 3, E and ! variables should be set in the range . to 5 3 controls
the gain of the loop and an e>cessive value #ill ma$e the speed oscillate, or hunt, around
the reBuested value rather than settling on it The ! variable applies damping so
stabilising these oscillations b+ using the derivative %rate of change& of the speed The E
variable ta$es
a long term vie# of the difference bet#een actual and reBuested speed and so increases
the accurac+ in the stead+ state Tuning these values is assisted b+ using the dialog
opened b+ =peratoro4alibrate spindle
Spindle Speed #veraging2 #hen chec$ed, causes Mach3 to average the time bet#een
inde>(timing pulses over several revolutions #hen it is deriving the actual spindle speed
`ou might find it useful #ith a ver+ lo# inertia spindle drive or one #here the control
tends to give shortHterm variations of speed
]
031J *unes especiais
Modo Maser deve ser sempre desmarcado, e>ceto para controlar o poder de corte a laser
pelo ,vano
=se Spindle %eed/ac. in sync mode deve ser desmarcada
,losed Loop Spindle ,ontrol, Buando marcada, implementa um soft#are de loop no servo Bue
tenta combinar a velocidade real do ei>o vista pelo Pndice ou sincronismo, com o comando D
, velocidade e>ata do Dpindle provavelmente no ser importante para vocF caso contrrio vc
deve usar Mach3Turn
De vocF usar isto , ento as variveis 3 E e ! devem ser definidas no intervalo de .H5
3 controla o ganho do loop e um valor e>cessivo far oscilar a velocidade, ou procurar em
todos os valores em ve? de se decidir por ele , varivel ! 8 aplicvel para o amortecimento
de modo a estabili?ao destas oscilaes, utili?ando a ta>a %derivado da mudana& da
velocidade , varivel Bue toma uma viso de longo pra?o da diferena entre real e solicitou a
velocidade e aumenta a preciso, no estado estacionrio
= aAuste destes valores 8 assistida por meio do dilogo aberto pelo =peradoro fuso 4alibrar
Spindle Speed #veraging, Buando marcada, fa? com Bue a Mach3 use am8dia do tempo entre
pulsos ( inde> timing sobre vrias revolues, Buando se retira a velocidade real do ei>o
LocF pode achar til, com uma movimentao muito bai>a a in8rcia do ei>o, ou onde o
controle tende dar variaes de curto pra?o na velocidade
_
Using Mach3Mi ,-18 Rev 1.84-A2
Con"iguring Mach3
5.3." !ill *ptions tab
The final tab on 4onfigo3orts l 3ins is Mill Options. Dee figure 06
#igure ,.1 ) Mi (%tions $a/
9,inhibit. The ?7inhi/it On chec$bo> enables this function Ma5 Depth gives the lo#est V
value to #hich the a>is #ill move The 3ersistent chec$bo> remembers the state %#hich
can be changed b+ a screen toggle& from run to run of Mach3
Digitising$ The ; #5is +oint ,lo$ds chec$bo> enables recording of the state of the , a>is
as #ell as Y, ` and V The ,dd ,>is Metters to 4oordinates prefi>es the data #ith the
a>is name in the point cloud file
T8# 0ptions$ The chec$bo> name is selfHe>planator+
#ompensation 3C+:3C1$ The ,dvanced 4ompensation ,nal+sis chec$bo> turns on a
more thorough loo$ahead anal+sis that #ill reduce the ris$ of gouging #hen
compensating for cutter diameter %using K/5 and K/-& on comple> shapes
8omed true when no 8ome switches$ @ill ma$e the s+stem appear to be referenced %ie M7!s
green& at all times Et should onl+ be used if no Nome s#itches are defined under
03J =pes da guia Mill
, ltima guia, 4onfigo 3orts l 3ins ( Mill =ptions LeAa a figura 06
VHinibir = ?7inhi/it On permite inibir essa funo Ma5 Depth d o menor valor de V
Bue o ei>o se move , opo lembra o estado persistente %Bue pode ser alternada por uma
alternRncia de tela& a cada e>ecuo do Mach3
!igitali?ao' = / ei>o #5is +oint ,lo$ds permite a gravao do estado do ei>o , bem como
dos ei>os Y, ` e V
TN4 =pes' = nome do chec$bo> 8 autoHe>plicativo
4ompensao K/5, K/-' Uma cai>a para ,nalise de compensao avanada, gira em torno de
uma anlise mais aprofundada vai redu?ir o risco de cin?elamento com compensadores para o
diRmetro de corte %com K/5 e K/-&, em formas comple>as
Nomed verdade Buando no muda Nome' !ever fa?er o sistema parecer ser referenciado
%isto 8, M7!s verde& em todos os momentos
Rev 1.84-A2 ,-11 Using Mach3Mi
Con"iguring Mach3
!eve ser usado somente se no foi definido Nome nos pinos da porta
5.3.9 Testing
`our soft#are is no# configured sufficientl+ for +ou to do some simple tests #ith the
hard#are Ef it is convenient to connect up the inputs from the manual s#itches such
as !ome then do so no#
]
03: Teste
Deu soft#are agora, A dever estar suficientemente configurado para vocF fa?er
alguns testes simples com o hard#are De for conveniente ligue as entradas das
chaves manuais, tais como Nome, ento faa isso agora
_
9un Mach3Mill and displa+ the !iagnostics screen This has a ban$ of M7!s displa+ing
the logic level of the inputs and outputs 7nsure that the e>ternal 7mergenc+ Dtop signal is
not active %9ed Emergency M7! not flashing& and press the red 4eset button on the screen
Ets M7! should stop flashing
]
7>ecute o Mach3Mill e e>iba a tela !iagnostics
7sta tela mostra M7!D mostrando o nCvel lIgico das entradas e saCdas
4ertifiBueHse Bue a chave e>terna de emergFncia no esteAa acionada %9ed
Emergency M7! "o piscando& e pressione o boto 9eset vermelho na tela
= M7! deve parar de piscar
_
Ef +ou have associated an+ outputs #ith coolant or spindle rotation then +ou can use the
relevant buttons on the diagnostic screen to turn the outputs on and off The machine
should also respond or +ou can monitor the voltages of the signals #ith a multimeter
]
De vocF tiver associado com as DaCdas como seAam refrigerao ou Dpindle ento
vocF pode usar o botes correspondentes da tela de diagnIstico para testar as
saCdas se as mesmas ligam e desligam
, mBuina deve tamb8m responder fCsicamente ou vocF pode monitorar as
tenses dos sinais com um multCmetro
_
"e>t operate the Nome or the limit s#itches `ou should see the appropriate M7!s
glo# +ello# #hen their signal is active
]
7m seguida, vamos testar a chave de Nome e de Mimites
LocF deveria ver o o M7!s adeBuado ficar aceso em amarelo Buando o sinal
estiver ativo
_
These tests #ill let +ou see that +our parallel port is correctl+ addressed and the inputs
and outputs are appropriatel+ connected
]
7sses testes permitiro ver Bue a porta paralela est corretamente tratada e as
entradas e saCdas esto devidamente conectadas
_
Ef +ou have t#o ports and all the test signals are on one then +ou might consider a
Using Mach3Mi ,-2+ Rev 1.84-A2
Con"iguring Mach3
temporar+ s#itch of +our configuration so that one of the Nome or limit s#itches is
connected via it so that +ou can chec$ its correct operation !onat forget the #pply
button #hen doing this sort of testing Ef all is #ell then +ou should restore the proper
configuration
]
De vocF tem duas portas e todos os sinais de teste esto ligados, ento vocF pode
considerar um chaveamento temporrio de sua configurao, de modo Bue o
Nome ou chaves esteAam conectados de modo Bue vocF pode verificar o seu
correcto funcionamento
"o se esBuea o boto ,plicar ao fa?er este tipo de teste
De tudo estiver bem, ento vocF deve restaurar o sua configurao
_
Ef +ou have problems +ou should sort them out no# as this #ill be much easier that #hen
+ou start tr+ing to drive the a>es Ef +ou do not have a multimeter then +ou #ill have to
bu+ or borro# a logic probe or a !-0 adaptor %#ith actual M7!s& #hich let +ou monitor
the
state of its pins En essence +ou need to discover if %a& the signals in and out of the
computer are incorrect %ie Mach3 is not doing #hat +ou #ant or e>pect& or %b& the signals
are not getting bet#een the !-0 connector and +our machine tool %ie a #iring or
configuration problem #ith the brea$out board or machine& 50 minutes help from a friend
can #or$ #onders in this situation even if +ou onl+ carefull+ e>plain to him(her #hat +our
problem is and ho# +ou have alread+ loo$ed for itb
`ou #ill be ama?ed ho# often this sort of e>planation suddenl+ stops #ith #ords li$e
Sii =hb E see #hat the problem must be, itas iS
]
De vocF tiver problemas, vocF deve reparHlos agora, pois isso ser muito mais fcil
do Bue Buando vocF comear a tentar condu?ir os ei>os
De vocF no tiver um multCmetro, ento vocF ter Bue comprar ou emprestar uma
sonda lIgica ou um adaptador !-0 %com M7!s reais& Bue lhe permitem controlar o
estado de pinos
7m essFncia vocF precisa descobrir se o'
%a&, os sinais de entrada e saCda do computador esto corretos no %Mach3 ou seAa,
est fa?endo o Bue vocF Buer ou espera& ou
%b& os sinais esto se perdendo entre o seu conector !-0 e a sua mBuina %ou seAa,
uma ligao ou a configurao problema com a placa de fuga ou de mBuina&
50 minutos a aAuda de um amigo pode facilitar muito nesta situao
,.4 *e"ining the setu% units
@ith the basic functions #or$ing, itas time to
configure the a>is drives The first thing to decide
is #hether +ou #ish to define their properties in
Metric %millimetres& or Ench units `ou #ill be
able to run part programs in either units #hichever
option +ou choose The maths for configuration
#ill
be slightl+ easier if +ou choose the same s+stem as
+our drive train %eg the ballscre#& #as made in
Do a scre# #ith .-S lead %0 tpi& is easier to
configure
in inches than in
millimetres Dimilarl+ a
-mm lead
scre# #ill be easier in
millimetres The
multiplication and(or
division b+ -0/ is not
difficult but is Aust
something else to
thin$ about
There is, on the other
hand, a slight advantage
Rev 1.84-A2 ,-21 Using Mach3Mi
Con"iguring Mach3
in
#igure ,.1+ - -etu% Units diaog
having the setup units be the units in #hich +ou usuall+ #or$ This is that +ou can loc$
the !9=s to displa+ in this s+stem #hatever the part program is doing %ie s#itching
units b+ K-. and K-5&
Do the choice is +ours Use 4onfigoDetup Units to choose MMs or Enches %see figure
05.& =nce +ou have made a choice +ou must not change it #ithout going bac$ over all
the follo#ing steps or total confusion #ill reignb , message bo> reminds +ou of this #hen
+ou se 4onfigoDetup units
]
0/ !efinindo a unidades de medida de instalao
4om as funes bsicas de trabalho A configuradas, 8 hora de configurar as unidades dos
ei>os
, primeira coisa a decidir 8 se vocF deseAa definir as suas propriedades em
unidades m8tricas ou polegadas
LocF ser capa? de e>ecutar programas em peas na unidade Bue vocF escolher
, matemtica para a configurao ser um pouco mais fcil se vocF escolher o mesmo
sistema de medida tanto nas medidas da sua mBuina, como fusos, barras roscadas etc e nas
peas Bue vocF vai produ?ir

= multiplicao ou diviso por -0,/ no 8 difCcil, mas 8 apenas algo a mais para se pensar
H, por outro lado, uma ligeira vantagem em se ter no setup o controle sobre a
unidade que voc normalmente usa.
Trata-se de que voc pode ter nos D! para e"ibir o sistema que o programa
este#a usando $ou se#a, unidades de comuta%&o por '2( e '21).
*ssim, a escol+a , sua.
-se .on/ig0 -nits 1etup para escol+er 221 ou 3nc+es $ver /igura 4.1().

Depois de ter feito a escolha voc no dever alter-la sem passar por
cima de todas as etapas seguintes e a confuso total reinar!
Uma cai>a de mensagem lembrar vc disso Buando usar unidades 4onfigo 4onfig
_
,., $uning motors
@ell after all that detail itas no# time to get things moving H literall+b This section
describes setting up +our a>is drives and, if its speed #ill be controlled b+ Mach3, the
spindle drive
The overall strateg+ for each a>is is' %a& to calculate ho# man+ step pulses must be sent
to the drive for each unit %inch or mm& of movement of the tool or table, %b& to establish
the ma>imum speed for the motor and %c& to set the reBuired acceleration(deceleration
rate
@e advise +ou to deal #ith one a>is at a time `ou might #ish to tr+ running the
motor before it is mechanicall+ connected to the machine tool
Do no# connect up the po#er to +our a>is driver electronics and double chec$ the
#iring bet#een the driver electronics and +our brea$out board(computer `ou are about
to mi> high po#er and computing so it is better to be safe than smo$+b
]
0,0 Dintoni?ando os motores
Gem, depois de todos os detalhes agora 8 hora literalmente de colocar as coisas em
movimento
7sta seo descreve a configurao dos ei>os e, se a velocidade do spindle ser controlada por
Mach3
, estrat8gia global para cada ei>o ser'
%a& 4alcular Buantos pulsos de passo devem ser enviados para o !rtve para cada unidade
%polegada ou mm& de movimento da ferramenta ou da Mesa,
%b& estabelecer a velocidade m>ima do motor e
%c& para definir a necessria ta>a de acelerao ( desacelerao
,conselhamos a lidar com um ei>o de cada ve?
LocF pode tentar rodar o motor antes Bue ele seAa ligado mecanicamente a mBuina
7nto, agora ligue a alimentao do seu ei>o condutor na eletr^nica e verifiBue a fiao
entre os componentes eletr^nicos e sua placa G=G ( computador
LocF est prestes a misturar alto poder de computao e por isso 8 melhor estar seguro de Bue
no fumaeb
_
5.5.1 Calc%lating the steps per %nit
Mach3 can automaticall+ perform a test move on an a>is and calculate the steps per unit
but this is probabl+ best left for fine tuning so #e present the overall theor+ here
The number of steps Mach3 must send for one unit of movement depends on the
mechanical drive %eg pitch of ballscre#, gearing bet#een the motor and the scre#&, the
properties of the stepper motor or the encoder on the servo motor and the microHstepping
or electronic gearing in the drive electronics
@e loo$ at these three points in turn then bring them together
]
005 4alcular os passos por unidade
Mach3 pode automaticamente realisar um teste de movimento de um dos ei>os e calcular os
pulsos por unidade mas provavelmente 8 melhor dei>ar para um resultado mais apurado
Buando nos apresentarmos a teoria
= nmero de etapas Bue o Mach3 deve enviar para uma unidade do movimento depende da
acionamento mecRnico %por e>emplo, avano da barra roscada, engrenagens entre o motor e o
parafuso&, a propriedades do motor de passo ou o codificador do servo motor e microHstepping
ou engrenagem eletr^nica na unidade de !rive
"Is olharemos para estes trFs pontos, individualmente para em seguida consideraHlos Auntos
_
,.,.1.1 Cacuating mechanica drive
`ou are going to calculate the number of revolutions of the motor shaft %motor revs
per unit& to move the a>is b+ one unit This #ill probabl+ be greater than one for
inches and
less than one for millimetres but this ma$es no difference to the calculation #hich is
easiest done on a calculator an+#a+
*or a screw and nut +ou need the ra# pitch of the scre# %ie thread crest to crest distance&
and the number of starts Ench scre#s ma+ be specified in threads per inch %tpi& The pitch
is
5(tpi %eg the pitch of an : tpi single start scre# is 5 : n .5-0S&
Ef the scre# is multiple start multipl+ the ra# pitch b+ the number of starts to get the
effective pitch The effective screw pitch is therefore the distance the a>is moves for
one revolution of the screw.
"o# +ou can calculate the screw revs per unit
scre" revs per $nit @ 5 e%%ective scre" pitch
Ef the scre# is directl+ driven from the motor then this is the motor revs per unit Ef the
motor has a gear, chain or belt drive to the scre# #ith "
m
teeth on the motor gear and
"
s
teeth on the scre# gear then'
motor revs per $nit n scre" revs per $nit x "
s
"
m
*or e>ample, suppose our : tpi scre# is connected to the motor #ith a toothed belt #ith a
/: tooth pulle+ on the scre# and an 51 tooth pulle+ on the motor then the motor shaft pitch
#ould be : x /: 51 n -/ %8int' $eep all the figures on +our calculator at each stage
of calculation to avoid rounding errors&
,s a metric e>ample, suppose a t#o start scre# has 0 millimetres bet#een thread crests
%ie effective pitch is 5. millimetres& and it is connected to the motor #ith -/ tooth pulle+
on
the motor shaft and a /: tooth pulle+ on the scre# Do the scre" revs per $nit @ .5 and
motor revs per unit #ould be .5 x /: -/ n .-
*or a rack and pinion or toothed belt or chain drive the calculation is similar
*ind the pitch of the belt teeth or chain lin$s Gelts are available in metric and imperial
pitches #ith 0 or : millimetres common metric pitches and .3J0S %
3
(
:
S& common for inch
belts and for chain *or a rac$ find its tooth pitch This is best done b+ measuring the
total
distance spanning 0. or even 5.. gaps bet#een teeth "ote that, because standard gears
are made to a diametral pitch, +our length #ill not be a rational number as it includes the
constant %pi n 35/50-i&
*or all drives #e #ill call this tooth pitch.
Ef the number of teeth on the pinion(sproc$et(pulle+ on the primar+ shaft #hich drives
the rac$(belt(chain is "
s
then'
sha%t revs per $nit n 5 %tooth pitch x "
s
&
Do, for e>ample #ith a
3
(
:
S chain and a 53 tooth sproc$et #hich is on the motor shaft then
the motor revs per $nit n 5 %.3J0 x 53& n .-.05-:- En passing #e observe that this is
Buite Shigh gearedS and the motor might need an additional reduction gearbo> to meet the
torBue reBuirements En this case +ou multipl+ the motor revs per unit b+ the reduction
ratio of the gearbo>
motor revs per $nit n sha%t revs per $nit x "
s
"
m
*or e>ample a 5.'5 bo> #ould give -.05-:- revs per inch
*or rotary a(es %eg rotar+ tables or dividing heads& the unit is the degree `ou need
to calculate based on the #orm ratio This is often 6.'5 Do #ith a direct motor drive to
the #orm one rev gives / degrees so Motor revs per $nit #ould be .-0 , reduction of
-'5 from motor to #orm #ould give .0 revs per unit
]
0055 4alculo da mecRnica
Lamos agora fa?er o clculo do nmero de rotaes do ei>o do motor para mover o ei>o da
mBuina em uma unidade
7sta medida, ser provavelmente superior a um se em polegadas e menos de um se em
milCmetros, mas para isso no fa? diferena para o clculo se feito em uma calculadora
3ara a rosca e porca, vocF precisa saber Buantos fios e>istem entre uma determinada unidade
de medida%3ol e MM para definirmos o ,vano& T3E Threads per inch%T3E& tradu?indo,
Loltas por 3olegadas
7m polegadas, se o campo 8 5(tpi %por e>emplo, o avano de um parafuso com : tpi, para uma
volta do ei>o terCamos 5h ( : n .,5-0h& ou ainda -0/ ( : n 3,5J0 mm
3ara este clculo, 8 melhor considerar vrias voltas do fuso e dividir pelo nmero de *ios para
obter o T3E mais e>ato
= passo do fuso 8, portanto, a distRncia Bue o ei>o se move em uma volta do fuso
,gora vocF pode calcular as rotaes do fuso para uma unidade'
scre" revs per $nit @ 5 e%%ective scre" pitch
De o parafuso 8 comandado diretamente pelo motor, ento teremos uma revoluo por unidade
De o motor tem uma engrenagem, corrente ou correia de transmisso para o parafuso com "s
dentes na engrenagem do motor e dentes na engrenagem do parafuso " ento considere'
motor revs per $nit n scre" revs per $nit x "
s k
"
m
3or e>emplo, suponha Bue o nosso parafuso : E3T 8 ligado ao motor com uma correia dentada
com uma polia com /: dentes sobre o parafuso e uma polia de 51 dentes no motor, ento o
deslocamento do ei>o do motor seria de : > /: n -/ j 51
%Dugesto' faa todos os dados sobre a sua calculadora em cada fase do clculo para evitar
erros de arredondamento&
4omo um e>emplo em sistema m8trico, suponha um segundo parafuso com cinco milCmetros
entre a duas cristas de rosca %ou seAa, passo efetivo 8 de 5. milCmetros& e 8 ligado ao motor
com polia de -/ dentes o ei>o do motor e uma polia de /: dentes no parafuso
,ssim, as rotaes do parafuso por unidade n .,5 e rotaes do motor por unidade seria de .,5
> /: n .,-
3ara um pinho e cremalheira ou correia dentada ou corrente de transmisso o clculo 8
semelhante
7ncontre o tamanho dos dentes das engrenagens do sistema Bue vc estiver usando ou elos da
corrente
4orreias esto disponCveis no sistema m8trico e imperial com vrios tamanhos e caracterCsticas
3ara se encontrar o espao entre os dentes , melhor maneira 8 atrav8s da medio do total
distRncia Bue mede 0. ou mesmo 5.. espaos entre os dentes
Gla,bla,bla,,,,
9otaes do motor por unidade n ei>o rotaes por unidade > "s t "m
3or e>emplo, uma cai>a de 5.'.5 daria -,.05-:- rotaes por polegada
3ara ei>os de rotao %por e>emplo, as mesas rotativas &, a unidade 8 o grau
LocF precisa clcular baseado na relao entre as engrenagens Esso 8 muitas ve?es 6.'5
,ssim, com um motor direto , com uma reduo de 5 para / na rotao do ei>o, ento seria
de Motor revs per $nit deverA ser .-0
, reduo de -'5 do motor para a #orm daria .,0 rotaes por unidade
_
,.,.1.2 Cacuating motor ste%s %er revoution
The basic resolution of all modern stepper motors is -.. steps per revolution %ie 5:
o
per
step& "ote' some older steppers are 5:. steps per rev but +ou are not li$el+ to meet them
if +ou are bu+ing supported ne# or nearl+ ne# eBuipment
The basic resolution of a servo motor depends on the encoder on its shaft The encoder
resolution is usuall+ Buoted in 439 %c+cles per revolution& Gecause the output is
actuall+ t#o Buadrature signals the effective resolution #ill be four time this value
`ou #ould e>pect a 439 in the range of about 5-0 to -... corresponding to 0.. to
:... steps per revolution
]
005- 4lculo dos pulsos para cada revoluo do motor de passos
"ota do tradutor%"T&h 7ste ponto 8 importante, e deve ser considerado em conAunto com a sua
placa de drive "o caso vamos considerar Bue a mesma esta configurada para meio passo,
portanto para avanar um passo h necessidade de dois pulsos
7nto, de acordo com nosso caso, para uma revoluo do motor teremos -.. passos
multiplicados por - ento o resultado seria /.. pulsos para uma volta do motor se acionado a
meio passoh
, resoluo bsica de todos os modernos motores de passo 8 de -.. passos por revoluo %isto
8, por 5:o por etapa& "ota' alguns mais antigos steppers so 5:. passos por rev mas no 8
provvel Bue vocF os encontre por ai pois o seu eBuipamento deve ser novo
, resoluo bsica de um motor servo depende do encoder em seu ei>o
, resoluo do encoder, 8 normalmente citado como 439 %ciclos por revoluo& porBue a
saCda 8 realmente dois sinais em Buadratura para uma resoluo efetiva ser Buatro ve?es esse
valor LocF teria esperar uma 439 no intervalo de cerca de 5-0H-... correspondente a 0..H
:... passos por revoluo
_
,.,.1.3 Cacuating Mach3 ste%s %er motor revoution
@e ver+ strongl+ recommend that +ou use microHstepping drive electronics for
stepper motors Ef +ou do not do this and use a fullH or halfHstep drive then +ou #ill
need much larger motors and #ill suffer from resonances that limit performance at
some speeds
Dome microHstepping drives have a fi>ed number of microHsteps %t+picall+ 5.& #hile
others can be configured En this case +ou #ill find 5. to be a good compromise value to
choose This means that Mach3 #ill need to send -... pulses per revolution for a stepper
a>is drive
Dome servo drives reBuire one pulse per Buadrature count from the motor encoder %thus
giving 5-.. steps per rev for a 3.. 439 encoder =thers include electronic gearing #here
+ou can multipl+ the input steps b+ an integer value and, sometimes, the divide the result
b+ another integer value The multiplication of input steps can be ver+ useful #ith Mach3
as
the speed of small servo motors #ith a high resolution encoder can be limited b+
the ma>imum pulse rate #hich Mach3 can generate
]
0053 4lculo pulsos no Mach3 para uma volta do motor
"Is fortemente recomendamos Bue vocF use circuitos eletr^nicos de microHstepping para
stepper motores
De vocF no fi?er isso e usar um passo cheio ou meio passo, ento vocF vai precisar de motores
muito maiores e Bue vo sofrer ressonRncias Bue limitaro o desempenho em bai>as
velocidades
,lgumas unidades de microHstepping possuem um nmero fi>o de microHpassos %normalmente
5.&, enBuanto outros podem ser configurados "este caso, 5. ser um valor bom para escolher
Esto significa Bue Mach3 precisar enviar -... pulsos para uma rotao do ei>o da unidade
%"T& g"o nosso caso estaremos usando a placa driver configurada para meio passo ento
como A comentamos sero /.. pulsos para uma rotao do ei>o do motorh
,lgumas unidades de servo e>igiro um pulso por Buadratura na contagem do encoder do
motor %assim 5-.. dando passos por revoluo para um codificador 439 3.. =utros incluem
engrenagem eletr^nica, onde vocF pode multiplicar as etapas de entrada por um valor inteiro e,
Ts ve?es, a dividir o resultado por outro valor inteiro , multiplicao dos graus de entrada
pode ser muito til com a Mach3 a velocidade do servoHmotores de peBueno porte com um
codificador de alta resoluo pode ser limitada pela pulsao m>ima Bue se pode gerar em
Mach3
_
,.,.1.4 Mach3 ste%s %er unit
Do no# #e can finall+ calculate'
Mach3 steps per unit n Mach3 steps per rev x Motor revs per $nit
*igure 055 sho#s the dialog for 4onfigoMotor Tuning 4lic$ a button to select the a>is
#hich +ou are configuring and enter the calculated value of Mach3 steps per $nit in the
bo> above the Save button This value does not have to be an integer so +ou can achieve
as much accurac+ as +ou #ish To avoid forgetting later click Save Axis Settings now.
]
005/ 3ulsos por unidade
,gora podemos finalmente calcular'
Mach3 steps per unit n Mach3 steps per rev x Motor revs per $nit
*igura 055 mostra a Aanela de configuraoo Tuning Motor
4liBue em um boto para selecionar o ei>o o Bue vocF est configurando e digite o valor
calculado de etapas Mach3 por unidade na cai>a acima do boto Dalvar
7ste valor no tem de ser um nmero inteiro de modo Bue vocF pode alcanar a e>atido
necesria 3ara evitar o esBuecimento depois cliBue em Dalvar ,>is Dettings agora
#igure ,.11 - Motor tuning diaog
5.5.2 1etting the $a0i$%$ $otor speed
Dtill using the 4onfigoMotor Tuning dialog, as +ou move the Lelocit+ slider +ou #ill see
a graph of velocit+ against time for a short imaginar+ move The a>is accelerates, ma+be
runs at full speed and then decelerates Det the velocit+ to ma>imum for no# Use the
,cceleration slider to alter the rate of acceleration(deceleration %these are al#a+s the same
as each other&
,s +ou use the sliders the values in the <elocity and #ccel bo>es are updated <elocity is in
units per minute #ccel is in units per second
-
The acceleration values is also given in Ks
to give +ou a subAective impression of the forces that #ill be applied to a massive table or
#or$piece
The ma>imum velocit+ +ou can displa+ #ill be limited b+ the ma>imum pulse rate of
Mach3 Duppose +ou have configured this to -0,... N? and -... steps per unit then
the ma>imum possible <elocity is J0. units per minute
This ma>imum is, ho#ever, not necessaril+ safe for +our motor, drive mechanism or
machinee it is Aust Mach3 running Sflat outS `ou can ma$e the necessar+ calculations or
do some practical trials Metas Aust tr+ it out first
]
00- !efinir a velocidade m>ima do motor
"T gLc ter acesso a comandos de acionamento do motor pelo teclado por vria teclase
,ssim, setas para cima e para bai>o acionam o motor do ei>o Y, as setas para esBuerda e
direita para o motor do ei>o ` e 3ageUp e 3age!o#n o ei>o V
"o teclado num8rico, :,-,/,1,6 e 3 possuem o mesmo efeito ou tamb8m vc pode nas telas,
clicar nos locais correspondentesh
,inda usando a 4ai>a de dialogo do Motor 4onfigo Tuning Motor, mova o controle desli?ante
de velocidade, e vocF ver uma grfico de velocidade contra o tempo para um movimento
imaginrio
= ei>o acelera, e talve? ande a toda velocidade e, em seguida, desacelera
!efina a velocidade m>ima agora
Use o controle desli?ante ,celerao para alterar a ta>a de acelerao ( desacelerao %estes
so sempre os mesmos como os dos outros&
Uuando vocF usa os controles desli?antes os valores de velocidade nas cai>as de ,ccel so
atuali?ados
, Lelocidade 8 de unidades por minuto ,ccel est em unidades por segundo%-& =s valores de
acelerao tamb8m so dados em Ks para dar a impresso subAetiva das foras Bue sero
aplicadas a uma mesa grande ou pea
, velocidade m>ima Bue vocF pode e>ibir ser limitado pela ta>a m>ima de pulso do
Mach3
Duponha Bue vocF tenha configurado isso a -0... N? e -... passos por unidade, em seguida,
o Lelocidade m>ima possCvel 8 de J0. rotaes por minuto
7sta m>ima, no entanto, no 8 necessariamente segura para o seu motor, mecanismo de
acionamento ou mBuina, tudo pode sair voando LocF pode fa?er os clculos necessrios ou
alguns testes prticos Lamos a seguir apenas e>perimentar'
"T g7m nosso caso a velocidade m>ima possCvel seria de %%-0...(-..& q 1.& ( - n 3J0.
93M
_
,.,.2.1 !ractica trias o" motor s%eed
`ou saved the a>is after setting the Dteps per unit =O the dialog and ma$e sure
that ever+thing is po#ered up 4lic$ the 9eset button so its M7! glo#s
continuousl+
Ko bac$ to 4onfigoMotor Tuning and select +our a>is Use the Lelocit+ slider to have the
graph about -.m of ma>imum velocit+ 3ress the cursor Up $e+ on +our $e+board The
a>is should move in the 3lus direction Ef it runs a#a+ then choose a lo#er velocit+ Ef it
cra#ls then choose a higher velocit+ The cursor !o#n $e+ #ill ma$e it run the other #a+
%ie the Minus direction&
Ef the direction is #rong then, Dave the a>is and either %a& change the Mo# ,ctive setting
for the !ir pin of the a>is in 4onfigo3orts and 3inso=utput 3ins tab %and #pply it& or %b&
chec$ the appropriate bo> in 4onfigoMotor 9eversals for the a>is that +ou are using
`ou can a$so, of course, Aust s#itch off and reverse one pair of ph+sical connections to
the motor from the drive electronics
Ef a stepper motor hums or screams then +ou have #ired it incorrectl+ or are tr+ing to drive
it much too fast The -:abeling of stepper #ires %especiall+ : #ire motors& is sometimes
ver+
confusing `ou #ill need to refer to the motor and driver electronics documentation
Ef a servo motor runs a#a+ at full speed or flic$s and indicates a fault on its driver then
its armature %or encoder& connections need reversing %see +our servo electronics
documentation for more details& Ef +ou have an+ troubles here then +ou #ill be pleased
if +ou follo#ed the advice to bu+ current and properl+ supported products d bu+ right,
bu+ onceb
Most drives #ill #or$ #ell #ith a 5 microsecond minimum pulse #idth Ef +ou have
problems #ith the test moves %eg motor seems too nois+& first chec$ that +our step pulses
are not inverted %b+ Lo" active being set incorrectl+ for Dtep on the =utput 3ins tab of
3orts and 3ins& then +ou might tr+ increasing the pulse #idth to, sa+, 0 microseconds The
Dtep and !irection interface is ver+ simple but, because it gsort of #or$sh #hen configured
badl+, can be difficult to faultHfind #ithout being ver+ s+stematic and(or loo$ing at the
pulses #ith an oscilloscope
]
00-5 testes prticos da velocidade do motor
LocF salvou o ei>o depois de definir os passos por unidade
=O com os dilogos e certifiBueHse Bue tudo est ligado "T hlembre Bue no nosso caso 8 /..h
4liBue no boto 9eset para Bue seu M7! brilhe continuamente
Lolte para a 4onfigo Tuning Motor e selecione o seu ei>o
Use o controle desli?ante de velocidade para Bue o marBue sobre o grfico em torno de -. da
velocidade m>ima %3... 93M&
3ressione no teclado a tecla de seta para cima
= ei>o deve se mover na direo 3lus
De ele foge em seguida, escolha a menor velocidade %acho Bue ?unir define melhor&
De ele rasteAa em seguida, escolha uma velocidade maior %acho Bue engasgar define melhor&
= cursor para bai>o chave far correr para o outro lado %ou seAa, o sentido Menos&
De a direo est invertida isto se corrige na configurao de !ireo trocando alto por bai>o
!ir para o pino do ei>o em 4onfigo 3ortos eo pinos de saCda guia 3ins %e aplicHla& ou %b&
marBue a cai>a apropriada em 4onfigo Motor 9everses para o ei>o Bue vocF est usando
LocF pode, naturalmente, apenas desligar e inverter um par de cone>es fCsicas para o motor
para alterar o sentido de rotao
De um motor de passo ?umbe ou grita, ento vocF tem os fios incorretamente ligados ou est
esto sendo acionados para uma velocidade muito rpida
, fiao dos motores %especialmente motores : fios& 8 as ve?es muito confusa LocF vai
precisar do motor e documentao para ligaHlos corretamente ao driver
De vc no teve nenhum problema at8 aBui, ento vocF esta feli? vocF seguiu o conselho de
compra' comprar bem, comprar uma nica ve?b
, maioria das unidades iro funcionar bem com uma largura de pulso de 5 microssegundo
mCnimo
De vocF tem problemas com os movimentos no teste %por e>emplo, motor parece demasiado
ruidoso& verifiBue primeiro se os pulsos de sua etapa no esto invertidos %Dituao em ativo,
Gai>o ou ,lto sendo definido incorretamente na guia DaCda 3ins das 3ortas e 3inos&, ento vocF
pode tentar aumentar a largura de pulso para, digamos, 0 microssegundos
, 7tapa !ireo e interface so muito simples, mas ateno Bue pode parecer Bue esta
trabalhando bem ntretanto se estiver mal configurado, pode ser muito difCcil de encontrar
falhas
DeAa muito sistemtico nesta fase e seria bom conferir os pulsos com um osciloscIpio
_
,.,.2.2 Motor ma9imum s%eed cacuations
Ef +ou feel that +ou #ant to calculate the ma>imum motor speed then read this
section There are man+ things #hich define the ma>imum speed of an a>is'
Ma>imum allo#ed speed of motor %perhaps /... rpm for servo or 5... rpm
for stepper&
Ma>imum allo#ed speed of the ballscre# %depends on length, diameter, ho#
its ends are supported
Ma>imum speed of belt drive or reduction gearbo>
Ma>imum speed #hich drive electronics #ill support #ithout signalling a fault
Ma>imum speed to maintain lubrication of machine slides
The first t#o in this list are most li$el+ to affect +ou `ou #ill need to refer to the
manufacturersa specifications, calculate the permitted speeds of scre# and motor and
relate these to units per second of a>is movement Det this ma>imum value in the <elocity
bo> of Motor Tuning for the a>is involved
The Mach5(Mach- `ahoob online forum is a useful place to get advice from other
Mach3 users, #orldH#ide, on this sort of topic
]
00-- 4lculos de velocidade m>ima do motor
De vocF Buiser calcular a velocidade m>ima do motor, leia a seo a seguir
N muitas coisas Bue definem a velocidade m>ima de um motor'
j = m>imo permitido de velocidade do motor %talve? /... rpm para um motor de passos e
5... rpm para um servo motor&
j = m>imo permitido de velocidade do fuso de esferas %depende do comprimento, diRmetro, e
como as suas e>tremidades so fi>adas
j , velocidade m>ima de transmisso por correia ou a reduo da cai>a de velocidades
j , velocidade m>ima da unidade eletr^nica Bue ir apoiar o sistema sem causar uma falha
j , velocidade m>ima para manter a lubrificao da mBuina
=s dois primeiros nesta lista so os mais susceptCveis de afetar vocF
LocF vai precisar consultar os fabricantes para ter id8ia das especificaes destes elementos
!efina ento esse valor m>imo na cai>a de velocidade Tuning Motor para o ei>o em causa, de
forma Bue atinAa seu obAetivo de proAeto
= Mach5(Mach- `ahoob *Irum onHline 8 um lugar til para obter conselhos de outras Mach3
usurios, em todo o mundo, sobre este tipo de assunto
_
,.,.2.3 Automatic setting o" -te%s %er Unit `ou might not be able to
measure the gearing of +our
a>is drive or $no# the e>act pitch of
a scre# 3rovided +ou can accuratel+ measure
the distance moved b+ an a>is, perhaps using
a dial test indicator and gage bloc$s, then
+ou can get Mach3 to calculate the steps per
unit that should be configured
*igure 05- sho#s the button on the
settings screen to initiate this process `ou
#ill be prompted for the a>is that +ou #ish
to calibrate
Then +ou must enter a nominal move
distance Mach3 #ill ma$e this move Ge
read+ to press the 7Dtop button if it seems to
be going to crash because +our e>isting
settings are too far out
#igure ,.12 ) Automatic ste%s %er unit
*inall+ after the move +ou #ill be prompted to measure and enter the e>act distance
that #as moved This #ill be used to calculate the actual Dteps per Unit of +our machine
a>is
]
00-3 configurao automtica de 3assos por Unidade
LocF pode no ser capa? de medir a movimentao do seu ei>o de acionamento ou saber o
tamanho e>ato de um passo da rosca
De vocF conseguir medir com preciso a distRncia percorrida por um ei>o, talve? usando um
padro de medio e blocos de medio, ento vocF pode comear a calcular as medidas das
unidade Bue devem ser configurados
*igura 05- mostra o boto das configuraes tela para dar inCcio a este processo
LocF ser solicitado em indicar o ei>o Bue vocF deseAa calibrar
7nto vocF deve entrar com a distancia do movimento nominal
Mach3 vai fa?er esse movimento
*iBue atento para pressionar o boto obstruir se parecer falhas porBue a sua atual configurao
ainda esta muito longe de ficar correta
*inalmente, apIs o movimento faa a medio e informe a distRncia e>ata Bue se moveu
Esso ser usado para calcular os passos por Unidade de ei>o da sua mBuina
5.5.3 Deciding on acceleration
,.,.3.1 Inertia and "orces
"o motor is able to change the speed of a mechanism instantl+ , torBue is needed to give
angular momentum to the rotating parts %including the motor itself& and torBue converted
to force b+ the mechanism %scre# and nut etc& has to accelerate the machine parts and the
tool or #or$piece Dome of the force also goes to overcome friction and, of course, to
ma$e the tool cut
Mach3 #ill accelerate %and decelerate& the motor at a given rate %ie a straight line speed
time curve& Ef the motor can provide more torBue than is needed for the cutting, friction
and inertia forces to be provided at the given acceleration rate then all is #ell Ef the torBue
is insufficient then it #ill either stall %if a stepper& or the servo position error #ill increase
Ef the servo error gets too great then the drive #ill probabl+ signal a fault condition but
even if it does not then the accurac+ of the cutting #ill have suffered This #ill be
e>plained in more detail shortl+
]
003 !ecidir sobre a acelerao
0035 in8rcia e as foras
"enhum motor 8 capa? de alterar a velocidade de um mecanismo instantaneamente
= torBue 8 necessrio para dar momentum angular para as partes Bue rodam %incluindo o
motor em si& e o torBue 8 convertido para fora nos mecanismos %parafuso e porca, etc& e tem
de acelerar a peas de mBuinas e ferramentas ou pea
,lguma fora vai tamb8m para superar o atrito e, naturalmente, para empurrar a ferramenta
de corte
Mach3 vai acelerar %e desacelerar& o motor a uma determinada ta>a %ou seAa, uma linha reta de
velocidade na curva de tempo&
De o motor pode fornecer mais torBue do Bue o necessrio para o corte, frico e foras de
in8rcia a serem fornecidos com a ta>a de acelerao dada, ento est tudo bem
De o torBue 8 insuficiente, ento ele vai Buerer parar %se for um desli?ante& ou o erro de
posicionamento servo ir acontecer
De o erro do servo ficar muito grande, ento a unidade provavelmente enviar um sinal de uma
condio de falha, mas mesmo se no, ento a preciso do corte ter sofrido Esso vai ser
e>plicado em mais detalhes em breve
_
,.,.3.2 $esting di""erent acceeration vaues
Tr+ starting and stopping +our machine #ith different settings of the ,cceleration slider in
the Motor Tuning dialog ,t lo# accelerations %a gentle slope on the graph& +ou #ill be
able to hear the speed ramping up and do#n
]
003- Teste de diferentes valores de acelerao
Tente iniciar e parar a sua mBuina com configuraes diferentes usando o controle desli?ante
,celerao de Tuning Motor de dilogo
7m aceleraes bai>a %um declive suave no grfico&, vocF ser capa? de ouvir a velocidade de
rampa para cima e para bai>o
_
,.,.3.3 6hy you 'ant to avoid a /ig servo error
Most moves made in a part program are coHordinated #ith t#o, or more, a>es moving
together Thus in a move from Yn., `n. to Yn-, `n5, Mach3 #ill move the Y a>is at
t#ice the speed of the ` a>is Et not onl+ coHordinates the movements at constant speed but
ensures that the speed reBuired relationship applies during acceleration and deceleration
but accelerating all motions at a speed determined b+ the Sslo#estS a>is
Ef +ou specif+ too high an acceleration for a given a>is then Mach3 #ill assume it can use
this value but as, in practice, the a>is lags behind #hat is commanded %ie the servo error
is big& then the path cut in the #or$ #ill be inaccurate
]
0033 3or Bue vocF Buer evitar um grande erro no servo motor
, maioria dos movimentos reali?ados em um programa da pea so coordenados com dois ou
mais ei>os de movimento trabalhando Auntos
,ssim, em um movimento de Y n ., ` n . e Y n -, ` n 5, Mach3 mover o ei>o Y em o dobro
da velocidade do ei>o `
7la no sI coordena os movimentos em velocidade constante, mas assegura Bue a velocidade
necessria para a relao seAa aplicada durante a acelerao e desacelerao, mas acelerar todos
os movimentos em uma velocidade determinada pelas Smais lentaS do ei>o
De vocF especificar uma acelerao muito alta para um determinado ei>o, em seguida, Mach3
vai assumir Bue ele pode usar este valor, mas como, na prtica, o ei>o est aBu8m do Bue 8
comandado %ou seAa, o erro 8 servo grande&, ento o caminho de corte no trabalho vai ser
impreciso
_
,.,.3.4 Choosing an acceeration vaue
Et is Buite possible, $no#ing all the masses of parts, moments of inertia of the motor and
scre#s, friction forces and the torBue available from the motor to calculate #hat
acceleration can be achieved #ith a given error Gallscre# and linear slide
manufacturersa catalogues often include sample calculations
Unless +ou #ant the ultimate in performance from +our machine, #e recommend setting
the value so that test starts and stops sound ScomfortableS Dorr+ itas not ver+ scientific but
it seems to give good resultsb
]
003/ 7scolhendo um valor de acelerao
Z bem possCvel agora Bue sabendo de todas as massas de peas, momentos de in8rcia do motor
e dos fusos, as foras de atrito e o torBue disponCvel do motor vc possa calcular a acelerao a
ser alcanada com um determinado erro
4atalogos de *usos de esferas e fabricantes de guias lineares geralmente incluem e>emplos de
clculos
, menos Bue vocF Bueira o m>imo em desempenho de sua mBuina, recomendamos Bue
defina um valor com o teste da seguinte forma'
Enicie o teste e procure um o som SconfortvelS de funcionamento do motor !esculpe, no 8
muito cientCfico, mas parece dar bons resultadosb
_
5.5.4 1aving and testing a0is
*inall+ donat forget to clic$ Save #5is Settings to save the acceleration rate before +ou
move on
`ou should no# chec$ +our calculations b+ using the M!E to ma$e a defined K. move
*or a rough chec$ +ou can use a steel rule , more accurate test can be made #ith a !ial
Test Endicator %!TE&(4loc$ and a slip gage bloc$ Dtrictl+ this should be mounted in the
toolholder but for a conventional mill +ou can use the frame of the machine as the spindle
does not move relative to the frame in the YH` plane
Duppose +ou are testing the Y a>is and have a /S gage bloc$
Use the M!E screen to select inch units and absolute coordinates %K-. K6.& Det up a
clamp on the table and 2og the a>is so the !TE probe touches it 7nsure +ou finish b+ a
move in
the minus Y direction
9otate the be?el to ?ero the reading This is illustrated in figure 053
"o# use the Mach3 M!E
screen and clic$ the K6-Y.
button to set an offset and
hence ?ero the Y a>is
!9=
Move the table to Y n /0
b+ K. Y/0 The gap
should be about half an
inch Ef it is not then there
is something badl+ #rong
#ith +our calculations of
the Dteps per Unit value
4hec$ and correct this
#igure ,.13 - :sta/ishing a 7ero %osition
Ensert the gage bloc$ and move to Y n /. b+ K. Y/ This move is in the Y minus
direction as #as the Aog so the effects of bac$lash in the mechanism #ill be eliminated
The reading on the !TE #ill give +our positioning error Et should onl+ be up to a thou or
so *igure 05/ sho#s the gage in position
9emove the gage and K. Y. to chec$ the ?ero value 9epeat the /S test to get an set of,
perhaps, -. values and see ho# reproducible the positioning is Ef +ou get big variations
then there is something #rong mechanicall+ Ef +ou get consistent errors then +ou can
fine tune the Dteps per Unit value to achieve ma>imum accurac+
#igure ,.14 - 8age /oc4 in %osition
"e>t +ou should chec$ that the a>is does not lose steps in repeated moves at speed
9emove the gage bloc$ Use M!E to K. Y. and chec$ the ?ero on the !TE
Use the editor to input the follo#ing program'
%1000 &i.e. faster t'an p(ssible b)t *ac'3 +ill li$it spee,-
G20 G.0 &/nc' an, 0bs(l)te-
*.# 1123" 250 &r)n s)br()tine 50 ti$es-
*30 &st(p-
O123"
G1 X"
G1 X0 &,( a fee, rate $(ve an, $(ve bac3-
*.. &ret)rn-
4lic$ ,ycle Start to run it 4hec$ that the motion sounds smooth
@hen it finishes the !TE should of course read ?ero Ef +ou have problems then +ou
#ill need to fine tune the ma>imum velocit+ of acceleration of the a>is
]
00/ Dalvando e testando o ei>o
*inalmente, no se esBuea de clicar em Dalvar ,>is Dettings para salvar a ta>a de acelerao
antes de passar para outro ei>o
,gora Bue todos os ei>os A esto configurados e se movendo a contento, vocF deve verificar
seus clculos usando o Mach3' faa um movimento definindo K.
3ara um teste grosseiro vocF pode usar uma r8gua de ao pois o obAetivo 8 verificar se os ei>os
esto trabalhando nas unidades de medida configuradas anteriormente e se as escalas esto
sendo obedecidas pela mBuina
Um teste mais preciso pode ser feito com um relIgio comparador de disco %!TE&
"ormalmente ele deve ser montado no portaHferramenta, mas para uma mBuina convencional
vocF pode usar a estrutura da mBuina com o ei>o fi>o em relao T estrutura no plano Y`
Duponha Bue vocF est testando o ei>o Y e para isso vocF usa um bloco padro e fi>o de /
3olegadas
Use a tela para selecionar as unidades M!E em 3olegadas e coordenadas absolutas %K-. K6.&
4oloBue uma braadeira sobre a mesa e mova o ei>o para Bue o !TE toBue a sonda
*aa o movimento terminar na direo Menos Y
*aa uma leitura em ?ero Esso 8 ilustrado na figura 053
,gora use a tela do Mach3 M!E e cliBue no boto K6-Y. para fa?er um deslocamento para
?ero no !9= do ei>o Y
Mova a tabela para Y n /,0 colocando K. Y/,0
, folga, dever ser de cerca de meia polegada
De no for esta medida, h algo muito errdo com os clculos do Lalor Unitrio dos 3assos
LerifiBue e corriAa isso
Ensira o bloco *i>o e passe para Y n /. por K. Y/
7ste movimento 8 na direo menos Y ,foi o movimento para Bue a folga anterior seAa
eliminada
, leitura no !TE ir dar o seu erro de posicionamento
7le sI deve ser mCnimo
*igura 05/ mostra o medidor na posio
9emova o calibre e faa K. Y. para verificar o valor ?ero
9epita o teste de / polegadas, fa?endo umas -. ve?es para ver como est a reproduo do
posicionamento
De vocF perceber grandes variaes ento h algo errado mecanicamente
De vocF obter erros constantes, ento vocF pode aAustar no Mach3 o valor unitrio etapa por
etapa at8 atingir a m>ima preciso
7m seguida, vocF deve verificar Bue o ei>o no perca os passos em movimentos repetidos e em
alta velocidade
9emover o bloco padro
Use M!E para K. Y. e verifiBue se ?ero no !TE
Use o editor para introdu?ir o seguinte programa'
*5... %ou seAa, mais rpido Bue possCvel, mas Mach3 vai limitar esta velocidade&
K-. K6. %3olegadas e ,bsoluto&
M6: 35-3/ M0. %7>ecuta a subHrotina 0. ve?es&
M3. %stop&
=5-3/
K5 Y/
K5 Y. %faa um movimento de avano e movimento de volta&
M66 %retorno&
4liBue em ,ycle Start para iniciar a e>ecuo
LerifiBue se o movimento de sons esto suaves
Uuando termina o !TE devem, naturalmente estar em ?ero
De vocF tiver problemas, ento vocF vai necessidade de aAustar a velocidade m>ima de
acelerao do ei>o
_
5.5.5 )epeat conig%ration o other a0es
@ith the confidence +ou #ill have gained #ith the first a>is +ou should be able to
Buic$l+ repeat the process for the other a>es
000 9epita a configurao de outros ei>os
4om a confiana Bue vocF ganhou com o primeiro ei>o, vocF deve ser capa? de rapidamente
repitir o processo para os outros ei>os
_
5.5.6 1pindle $otor set%p
Ef the speed of +our spindle motor is fi>ed or controlled b+ hand then +ou can ignore this
section Ef the motor is s#itched on and off, in either direction, b+ Mach3 then this #ill
have been setup #ith the rela+ outputs
Ef Mach3 is to control the spindle speed either b+ a servo drive that accepts Dtep and
!irection pulses or b+ a 3ulse @idth Modulated %3@M& motor controller then this
section tells +ou ho# to configure +our s+stem
]
001 configurao do motor do Dpindle
De a velocidade de seu motor spindle 8 *i>o ou controlado manualmente, ento vocF pode
ignorar esta seo
De o motor 8 ligado e desligado, em BualBuer direo, por Mach3, ento A ter sido
configurado com as saCdas de rel8
De o Mach3 vai controlar a velocidade do Dpindle, Buer seAa por uma unidade de servo Bue
aceita pulsos de passos e de direo ou por um um sistema de largura de pulso modulada
%3@M&, como controlador do motor, ento esta seo descreve como configurar o seu sistema
_
,.,...1 Motor s%eed? s%inde s%eed and %ueys
The Dtep and !irection and
3@M both allo# +ou to
control the speed of the
motor @hen +ou are
machining #hat +ou and
the part program %the D
#ord& are concerned #ith
is the speed of the spindle
The motor and spindle
speed are, of course,
related b+ the pulle+s or
#igure ,.1, - !uey s%inde drive
gears connecting them @e #ill use the term Spulle+S to cover both sorts of drive in
this manual
Ef +ou do not have motor speed control the choose 3ulle+ / #ith a high ma>imum speed
li$e 5.,.... rpm and This #ill prevent Mach3 complaining if +ou run a program #ith a
D #ord as$ing for sa+ 1... rpm
Mach3 cannot $no# #ithout being told b+ +ou, the machine operator, #hat pulle+ ratio is
selected at an+ given time so +ou are responsible for this ,ctuall+ the information is
given in t#o steps @hen the s+stem is configured %ie #hat +ou are doing no#& +ou
define up to
/ available pulle+ combinations These are set b+ the ph+sical si?es of the pulle+s or ratios
in the geared head Then #hen a part program is being run the operator defines
#hich pulle+ %5 to /& is in use
The machineas pulle+ ratios are set on the 4onfigo3orts and 3ins dialog %figure 01& #here
the ma>imum speed of the four pulle+ sets is defined together #ith the default one to be
used The ma>imum speed is the speed at #hich the spindle #ill rotate #hen the motor is
at full speed *ull speed is achieved b+ 5..m pulse #idth in 3@M and at the set <el value
on Motor Tuning Sspindle ,>isS for Dtep and !irection
,s an e>ample, suppose the position #e #ill call S3ulle+ 5S is a step do#n of 0'5 from
motor to spindle and the ma>imum speed of the motor is 31.. rpm 3ulle+ 5 ma>imum
speed on 4onfigoMogic #ill be set to J-. rpm %31.. 0& 3ulle+ / might be a step up of
/'5 @ith the same motor speed its ma>imum speed #ould be set to 5/,/.. rpm %31.. x /&
The other pulle+s #ould be intermediate ratios The pulle+s do not need to be defined in
increasing speeds but the numbers should relate in some logical #a+ to the controls on
the machine tool
The Minim$m Speed value applies eBuall+ to all pulle+s and is e>pressed as a percentage
of the ma>imum speed and is, of course, also the minimum percentage 3@M signal ratio
Ef a speed lo#er than this is reBuested %b+ the D #ord etc& then Mach3 #ill reBuest +ou to
change the pulle+ ratio give a lo#er speed range *or e>ample, #ith a ma>imum speed of
5.,... rpm on pulle+ / and a minimum percentage of 0m then D/66 #ould reBuest a
different pulle+ This feature is to avoid operating the motor or its controller at a
speed belo# its minimum rating
Mach3 uses the pulle+ ratio information as follo#s'
@hen the part program e>ecutes an D #ord or a value is entered into the set speed
!9= then the value is compared #ith the ma>imum speed for the currentl+
selected pulle+ Ef the reBuested speed is greater than the ma>imum then an
error occurs
=ther#ise the percentage of the ma>imum for the pulle+ that has been reBuested
and this is used to set the 3@M #idth or Dtep pulses are generated to produce
that percentage of the ma>imum motor speed as set in Motor Tuning for the
SDpindle ,>isS
,s an e>ample suppose the ma> spindle speed for 3ulle+ s5 is 5... rpm D55.. #ould be
an error D1.. #ould give a pulse #idth of 1.m Ef the ma>imum Dtep and !irection
speed is 31.. rpm then the motor #ould be SsteppedS at -51. rpm %31.. x .1&
]
0015 Lelocidade do motor, velocidade do Dpindle e polias
= 3asso e !ireo e 3@M ambos,permitem Bue vocF controle a velocidade do motor do
spindle
Uuando vocF est usinando vocF e parte do programa esto preocupados com a velocidade do
spindle %= cIdigo D comanda a velocidade do spindle&
, velocidade do motor e do spindle esto naturalmente relacionados pelas polias ou a forma
de conectHlos
Usaremos o termo polia para cobrir os dois tipos de unidade neste manual
De vocF no tem controle de velocidade do motor e escolher a polia / com uma velocidade
m>ima de 5.... rpm e como isto ir prevenir ao Mach3 reclamando Bue vocF esta
e>ecutando um programa com um cIdigo D di?endo 1... rpm
Mach3 no pode conhecer isto se no for informado por vocF, o operador da mBuina
, relao de polias 8 selecionado em um determinado momento e vocF 8 responsvel por isso
"a verdade, a informao 8 dada em duas etapas
Uuando o sistema est configurado %isto 8, o Bue vocF est fa?endo agora&, vocF define at8
Uuatro combinaes disponCveis de polias Esto 8 definido pelo tamanho fCsico das polias ou
Buantidade de dentes das engrenagens 7nto, Buando uma parte do programa est sendo
e>ecutado o operador deve indicar a polia Bue esta em uso %5H/&
,s relaes de polia so definidas nao 4onfig 3ortas e dilogo 3inos %figura 01& onde a
velocidade m>ima dos Buatro conAuntos de polia so definidos em conAunto com o padro a
ser um utili?ado
, velocidade m>ima 8 a velocidade com Bue o ei>o ir girar Buando o motor est em
velocidade m>ima
Lelocidade m>ima 8 atingida Buando a largura de pulso do 3@M esta com 5..m e com o
valor definido em' set <el value on Motor Tuning Sspindle ,>isS for Dtep and !irection
4omo e>emplo, suponha Bue a posio Bue chamaremos de S3olia 5S 8 uma reduo no spindle
de 0 para 5 no ei>o do spindle e a velocidade m>ima do spindle 8 de 31.. rpm
, velocidade m>ima 3olia 5 em 4onfigo Mogic ser definido a J-. rpm %31.. u 0&
, 3olia / pode ser um passo para cima de /'5
4om a mesma velocidade do motor a sua velocidade m>ima seria definida como 5//.. rpm
%31.. > /& ,soutras polias poderiam ter ra?es intermedirias
,s polias no precisam ser definida em aumento da velocidade, mas os nmeros devem estar
ligados de alguma forma lIgica para os controles na mBuinaHferramenta
= valor da velocidade mCnima aplicaHse igualmente a todas as polias e 8 e>presso como uma
percentagem da velocidade m>ima e, 8 claro, tamb8m o percentual mCnimo de relao do sinal
do 3@M
De uma velocidade inferior a isto 8 solicitada %pelo cIdigo D etc&, ento Mach3 vai pedirHlhe
para alterar a relao de polias para uma gama de velocidade inferior
3or e>emplo, com uma velocidade m>ima de 5.... rpm usando a polia / e um mCnimo
percentual de 0m, indicado por D/66 ento vai ser reBuerido uma polia diferente
7sse recurso 8 para evitar o funcionamento do motor ou de seu controlador, a uma velocidade
abai>o do seu mCnimoefetivo
Mach3 usa a informao de ra?o de polias do seguinte modo'
H Uuando o programa e>ecuta parte do cIdigo D ou um valor 8 inserido no conAunto de
velocidade !9= ento o valor 8 comparado com a velocidade m>ima para o momento da
polia selecionado
De a velocidade reBuerida 8 maior Bue o m>imo, um erro ocorre
j 4aso contrrio, a percentagem do valor m>imo para a polia Bue esta sendo solicitada
8 usada para definir a largura do 3@M
4omo e>emplo, suponha Bue a velocidade m>ima do ei>o de polia s 5 8 de 5... rpm D55..
seria um erro D1.. daria uma largura de pulso de 1.m
De a etapa m>ima velocidade e direo 8 de 31.. rpm, em seguida, o motor teria um SreforoS
em -51. rpm %31.. > .,1&
_
,.,...2 !use 'idth moduated s%inde controer
To configure the spindle motor for 3@M control, chec$ the Dpindle ,>is 7nabled and
3@M 4ontrol bo>es on the 3ort and 3ins, 3rinter 3ort and ,>is Delection 3age tab %figure
05& !onat forget to #pply the changes !efine an output pin on the =utput Dignals
Delection 3age tab %figure 01& for the Dpindle Dtep This pin must be connected to +our
3@M motor control electronics `ou do not need one for Dpindle !irection so set this
pin to . #pply the changes
!efine 7>ternal ,ctivation signals in 3orts and 3ins and 4onfigureo=utput !evices
to s#itch the 3@M controller on(off and, if reBuired, to set the direction of rotation
"o# move to the 4onfigureo3orts l 3ins Dpindle =ptions and locate the +WM-ase Fre6
bo> The value in here is the freBuenc+ of the sBuare#ave #hose pulse #idth is modulated
This is the signal #hich appears on the Dpindle Dtep pin The higher the freBuenc+ +ou
choose here the faster +our controller #ill be able to respond to speed changes but the
lo#er the SresolutionS of chosen speeds The number of different speeds is the Engine
p$lse %re6$ency +WM-ase %re6 Thus for e>ample if +ou are running at 30,...
N? and
set the 3@MGase to 0. N? there are J.. discrete speeds available This is almost
certainl+ sufficient on an+ real s+stem as a motor #ith ma>imum speed of 31..
rpm could, theoreticall+, be controlled in steps of less than 1 rpm
]
001- , largura de pulso modulada controlador de ei>o
3ara configurar o motor do spindle para ser controlado por 3@M, verifiBue se as ligaes da
porta e dos pinos esto ativadas e selecionadas na pgina correspondente %figura05&
"o se esBuea de aplicar as alteraes
!efina um pino para o sinal de saCda Deleo guia 3age %figura 01& para o 3asso do spindle
7ste pino deve ser conectado a eletr^nica de controle 3@M do motor
LocF no precisa de um pino para a !ireo, portanto coloBue este pino em Vero ,pliBue as
alteraes
!efina os sinais e>terenos de ativao de saCda na porta e 3inos 4onfiguraro !ispositivos de
interruptor do controlador 3@M, ligue e desligue e, se necessrio, defina o sentido de rotao

,gora, passe para o 4onfigurar 3ortas l 3ins =pes de Dpindle e locali?e a cai>a *reB
3@MGase = valor aBui 8 a freBQFncia de =nda Uuadrada cuAa largura de pulso 8 modulada

7ste 8 o sinal Bue aparece no pino de 3asso do Dpindle
Uuanto maior a freBQFncia Bue vocF escolher mais rpido o controlador ser capa? de
responder Ts mudanas de velocidade, mas diminue a resoluo das velocidades escolhidas

= nmero de diferentes velocidades disponCveis esta em' Engine p$lse %re6$ency 8 +WM-ase
%re6
,ssim, por e>emplo, se vocF estiver e>ecutando a 30... N? e definir o 3@MGase a 0. N? h
J.. velocidades diferentes disponCveis
Esto 8 certamente o suficiente em BualBuer sistema real pois com um motor com velocidade
m>ima de 31.. rpm poderia, teoricamente ser controlado em intervalos de menos de 1 rp m
_
,.,...3 -te% and *irection s%inde controer
To configure the spindle motor for Dtep and !irection control, chec$ the Dpindle ,>is
7nabled bo>es on the 3ort and 3ins, 3rinter 3ort and ,>is Delection 3age tab %figure 05&
Meave 3@M 4ontrol unchec$ed !onat forget to #pply the changes !efine output pins on
the =utput Dignals Delection 3age tab %figure 01& for the Dpindle Dtep and Dpindle
!irection These pins must be connected to +our motor drive electronics #pply the
changes
!efine 7>ternal ,ctivation signals in 3orts and 3ins and 4onfigureo=utput !evices to
s#itch the spindle motor controller on(off if +ou #ish to ta$e po#er off the motor #hen
the spindle is stopped b+ M0 Et #ill not be rotating an+#a+ of course as Mach3 #ill not
be sending step pulses but, depending on the driver design, ma+ still be dissipating po#er
"o# move to 4onfigureoMotor Tuning for the SDpindle ,>isS The units for this #ill be
one revolution Do the Dteps per Unit are the number of pulses for one rev %eg -... for
a
5. times microHstepping drive or / x the line count of a servomotor encoder or
the eBuivalent #ith electronic gearing&
The <el bo> should be set to the number of revs per second at full speed Do a 31.. rpm
motor #ould need to be set to 1. This is not possible #ith a high line count encoder on
account of the ma>imum pulse rate from Mach3 %eg a 5.. line encoder allo#s :J0
revs per second on a 30,... N? s+stem& The spindle #ill generall+ reBuire a po#erful
motor #hose drive electronics is li$el+ to include electronic gearing #hich overcomes
this constraint
The #ccel bo> can be set b+ e>periment to give a smooth start and stop to the spindle
"ote' that if +ou #ant to enter a ver+ small value in the ,ccel bo> +ou do this b+ t+ping
rather than using the ,ccel slider , spindle runHup time of 3. seconds is Buite possible
]
0013 4ontrolando a direo do Dpindle por pulsos
3ara configurar o motor spindle para 3ulsos e controle de direo, marBue a cai>a do ei>o do
Dpindle ativando na 3orta e 3ino %figura 05&
!ei>e 3@M 4ontrol desmarcada
"o se esBuea de aplicar as alteraes
!efina os 3inos de DaCda em 4onfigureo=utput !evices %figura 01& para o 3asso e !ireo
7stes pinos deve ser ligado ao seu comando eletronico do motor ,pliBue as alteraes
!efina os sinais de ativao na 3orta e 3ins em 4onfiguraro !ispositivos para mudar o
controlador do motor do Dpindle em =n ( =ff, se Buiser desligar o motor Buando o Dpindle for
parado por M0 Esto no vai girar de nenhuma maneira 8 claro pois o Mach3 no estar
enviando pulsos de passo, mas, dependendo do proAeto do driver, o mesmo poder estar
consumindo e dissipando energia
,gora, v para 4onfiguraro Tuning Motor para o S7i>o do DpindleS , unidade para isso ser
uma revoluo ,ssim, os pulsos de cada Unidade devero ser o nmero de pulsos para uma
rev %por e>emplo, -... para 5. ve?es em microHstepping %7m meio passo, seria /..& ou / >
contagem de linha de um codificador ou o servomotor eBuivalente com engrenagem
eletr^nica&
, cai>a Lel deve ser definido como o nmero de rotaes por segundo na velocidade m>ima
,ssim, um motor em 31.. rpm precisaria ser aAustado para 1.
Esso no 8 possCvel com um codificador de linha de alta contagem Bue conta a ta>a de pulso
m>ima de Mach3 %3or e>emplo, um codificador de 5.. linhas, permite :J,0 revs por segundo
em um sistema de 30... N?& = Dpindle geralmente reBuer um poderoso motor cuAa unidade
eletr^nica provvel inclua um engrenagem eletr^nica Bue supera esta restrio
, cai>a de acelerao pode ser definida pela e>periFncia de dar um arranBue suave e parar o
Dpindle "ota' De vocF Buiser inserir um valor muito peBueno na cai>a ,ccel vc pode fa?FHlo,
digitando no lugar de usar o controle desli?ante ,ccel
*a?er o Dpindle chegar em rotao levando 3. segundos 8 bastante possCvel
_
,.,...4 $esting the s%inde drive
Ef +ou have a tacNometer or stroboscope then +ou can measure the spindle speed of
+our machine Ef not +ou #ill have to Audge it b+ e+e and using +our e>perience
=n Mach3 Dettings screen, choose a pulle+ that #ill allo# 6.. rpm Det the belt or
gearbo> on the machine to the corresponding position =n the 3rogram 9un screen set the
spindle speed reBuired to 6.. rpm and start it rotating Measure or estimate the speed Ef it
is #rong +ou #ill have to revisit +our calculations and setup
`ou might also chec$ the speeds on all the pulle+s in the same #a+ but #ith suitable
set speeds
]
001/ Teste da unidade spindle
De vocF tem um tac^metro estroboscIpio vocF pode medir a velocidade do ei>o de
seu Dpiindle De no vocF ter Bue AulgHlo pelo olho e usando sua e>periFncia

"a tela 4onfiguraes do Mach3, escolha uma polia para girar 6.. rpm
!efina a correia ou cai>a de velocidades na mBuina para a posio correspondente
"a tela 7>ecutar programa posicione o spindle para 6.. rpm e faaHo girar
Mea ou estime a velocidade De estiver errado vocF ter Bue rever seus clculos e
configurao

LocF tamb8m pode verificar a velocidade de todas as polias da mesma forma, mas
cada uma com a sua velocidade
_
,.. (ther con"iguration
5.6.1 Conig%re ho$ing and sotli$its
,...1.1 Re"erencing s%eeds and direction
The 4onfigoNome(Doftlimits dialog allo#s +ou to define #hat happens #hen a
reference operation %K-:5
or a screen button&
is performed
*igure 051 sho#s
the dialog The
Speed > is used to
avoid crashing into
the stop of an a>is
at full speed #hen
loo$ing for the
reference s#itch
@hen +ou are
referencing, Mach3
has no idea of the
position of an a>is
The direction it
#igure ,.1. ) &oming 3re"erencing5
moves in depends on the !ome 1eg chec$ bo>es Ef the relevant bo> is chec$ed then the
a>is #ill move in the minus direction until the Nome input becomes active Ef the
Nome input is alread+ active then it #ill move in the plus direction Dimilarl+ if the bo>
is unchec$ed then the a>is moves in the plus direction until the input is active and the
minus direction if it is alread+ active
]
01 =utras configuraes'
015 4onfigurar N=M7 e MEMET7D 3=9 D=*T@,97
0155 9eferenciando velocidades e direo
= dialogo' 4onfig oNome ( D=*TMEMETD permite Bue vocF defina o Bue acontece Buando
uma operao %K-:5 ou um boto na tela& 8 e>ecutada
, figura 051 mostra o dilogo
, Speed > 8 utili?ada para evitar uma parada total de um ei>o Bue esta a toda velocidade
Buando o interruptor de referFncia 8 acionado
Uuando vocF tem est referFncia, Mach3 no tem id8ia do posio de um ei>o
, direo do movimentos depende do cai>as de seleo Nome "eg
De a cai>a estiver marcada, ento o referido ei>o ir se mover na direo negatia at8 a entrada
de Nome torneHse ativa
De a entrada Nome A est ativa, ento ele ir se mover no sentido positivo
!a mesma forma, se a cai>a est desmarcada, ento o ei>o se move na direo positiva at8 Bue
a entrada fiBue ativa e negativa o sentido se ele A est ativo
_
,...1.2 !osition o" &ome s'itches
Ef the #$to ?ero chec$bo> is chec$ed then the a>is !9=s #ill be set to the
9eference(Nome D#itch location values defined in the !ome O%%. column %rather than
actual Vero& This can be useful to minimise homing time on a ver+ large and slo#
a>is
Et is, of course, necessar+ to have separate limit and reference s#itches if the
reference s#itch is not at the end of an a>is
]
015- 3osio dos interruptores Nome
De a opo #$to ?ero est marcada, ento o ei>o em !9= estar mostrando o Bue foi definido
como locali?ao em 9eferFncia ( Nome D#itch valores definidos na coluna !ome O%% %ao
inv8s de Vero reais&
Esso pode ser til para minimi?ar tempo em Bue um ei>o muito grande e lento v chegar em
Nome
Z, obviamente, necessrio ter chaves de referFncia separados se a chave de referFncia no est
no fim de um ei>o
_
,...1.3 Con"igure -o"t ;imits
,s discussed above most implementations of limit s#itches involve some compromises
and hitting them accidentall+ #ill reBuire intervention b+ the operator and ma+ reBuire
the s+stem to be reset and reHreferenced Doft limits can provide a protection against this
sort of inconvenient accident
The soft#are #ill refuse to allo# the a>es to move outside the declared range of the
soft limits of the Y, ` and V a>es These can be set in the range H666666 to k 666666
units for each a>is @hen Aogging motion gets near to the limit then its speed #ill be
reduced #hen inside an Slo" ?one #hich is defined in the table
Ef the Slo" ?one is too big then +ou #ill reduce the effective #or$ing area of the
machine Ef the+ are set too small then +ou ris$ hitting the hard#are limits
The defined limits onl+ appl+ #hen s#itched on using the So%t"are Limits toggle button
H see Mimits and Miscellaneous control famil+ for details
Ef a part program attempts to move be+ond a soft limit then it #ill raise an error
The softlimits values are also used to define the cutting envelope if Machine is selected for
the toolpath displa+ `ou ma+ find them useful for this even if +ou are not concerned
about actual limits
]
0153 4onfigurando Mimites em Doft#are
4omo discutido acima maioria das implementaes de chaves de limite envolvem alguns
compromissos pois se for acidentalmente acionado vai e>igir a interveno do operador e pode
e>igir Bue o sistema seAa restaurado e reHreferenciados
Mimites em Doft#are pode fornecer uma proteo contra esse tipo de acidente inconveniente
= soft#are no ir permitir Bue os ei>os se movimentem fora do intervalo declarado no soft
para Y, ` e V
7stes limites podem ser definidos na fai>a de k H666666 666666 unidades para cada ei>o
Uuando a movimentao fica perto do limite, ento a sua velocidade ser redu?ida dentro de
uma Vona Dlo# Bue 8 definido em tabela
De a ?ona Dlo# 8 muito grande, ento vocF vai redu?ir a rea efetiva de trabalho da mBuina
De eles forem muito peBuenas, ento vocF corre o risco de bater nos limites fCsicos
=s limites definidos apenas se aplicam Buando ligado utili?ando o boto Doft#are Mimites H
veAa a famClia de Mimites e controle !iversos para mais detalhes
De um programa da pea tenta ultrapassar um limite de soft, ento ele ir gerar um erro
=s valores D=*TMEMETD tamb8m so usados para definir o envelope de corte da mBuina se
for selecionado para a e>ibio do caminho da ferramenta LocF pode achaHlos teis para isso,
mesmo Bue vocF no est preocupado com limites reais
_
,...1.4 828 &ome ocation
The 3*B coordinates define the position in absolute coordinates to #hich the a>es #ill
move #hen a G2# is e>ecuted The+ are interpreted in the current units %K-.(K-5& and
not automaticall+ adAusted if the units s+stem is changed
]
015/ K-: local do Nome
, coordenadas K-: define a posio em coordenadas absolutas para Bue os ei>os sero
movimentadas Buando um comando K-: 8 e>ecutado
7les so interpretados nas unidades de corrente %K-.(K-5& e "<= so automaticamente
aAustado, se o sistema de unidades 8 alterado
_
5.6.2 Conig%re 1&ste$ 4otke&s
Mach3 has a set of
global hot$e+s that can
be used for Aogging or
to enter values into the
M!E line etc These
$e+s are configured in
the D+stem Not$e+s
Detup dialog %figure
05J& 4lic$ on the
button for the reBuired
function and then press
the $e+ to be used as
hot$e+ Ets value #ill
be displa+ed on the
dialog Ta$e care to
avoid duplicate use of
a code as this can cause
serious confusion
#igure ,.10) &ot4eys and (:M trigger con"iguration
This dialog also enables the codes for e>ternal buttons used as =7M Triggers to be defined
]
01- 4onfigurando teclas de acesso
Mach3 tem um conAunto de hot$e+s global Bue pode ser usado para movimentar ou
para inserir valores na M!E etc 7stes linha de teclas so configuradas em Distema Not$e+s
Detup dialog %figura 05J&
4liBue na boto para a necessria funo e pressione a tecla para ser usada como hot$e+ Deu
valor ser ser apresentado no dilogo Tome cuidado para evitar a duplicao de utili?ao de
um cIdigo, isto pode causar s8rias confuses
7ste dilogo tamb8m permite definir cIdigos para os botes e>ternos usados como gatilhos
=7M a serem definidos
_
5.6.3 Conig%re :acklash
Mach3 #ill attempt to compensate for
bac$lash in a>is drive mechanisms b+
attempting to approach each reBuired
coordinate from the same direction @hile
this is useful in applications li$e drilling
or
boring, it cannot overcome problems #ith
the machine in continuous cutting
The 4onfigoGac$lash dialog allo#s +ou to
give an estimate of the distance #hich the
a>is must bac$ up b+ to ensure the bac$lash
is ta$en up #hen the final Sfor#ardS
movement is made The speed at #hich this
movement is
to be made is also specified Dee figure 05:
%ote$ %a& These settings are onl+ used
#hen bac$lash compensation is enabled b+
the chec$bo>
%b& Gac$lash compensation is a Slast resortS
#hen the mechanical design of +our
machine
#igure ,.18 - Dac4ash con"iguration
cannot be improvedb Using it #ill generall+ disable the gconstant velocit+h features ar
gcornersh
%c& Mach3 is not able to full+ honour the a>is acceleration parameters #hen compensating
for bac$lash so stepper s+stems #ill generall+ have to be detuned to avoid ris$ of lost
steps
]
013 4onfigurando as *=MK,D
Mach3 vai tentar compensar a folga e>istente no ei>o de acionamento do mecanismos tentando
aAustar cada Ctem reBuerido coordenados a partir de uma mesma direo
7nBuanto Esso 8 til em aplicaes como perfurao, no se consegue ultrapassar os problemas
com a mBuina de corte contCnuo
= dilogo 4onfigo Gac$lash permite Bue vocF informe uma estimativa da distRncia Bue o ei>o
deva voltar para eliminar a folga Buando voltar do final do movimento
, velocidade com Bue esse movimento 8 a ser feita 8 tamb8m especificado
LeAa a figura 0,5: "otas'
$*) 7stas configuraes so usadas apenas Buando a compensao da folga 8 ativado pelo
chec$bo>
$5) , compensao Gac$lash 8 um Sltimo recursoS para corrigir folgas da sua mBuina
UsandoHo, isto dever desabilitar a velocidade constante no corte dos cantos
$.) Mach3 no 8 capa? de honrar plenamente os parRmetros de acelerao dos motores pois tem
Bue fa?er uma reduo de velocidade para compensao Bue tFm Bue ser feita para evitar o
risco de perder passos
_
5.6.4 Conig%re 1laving
Marge machines such as gantr+ routers or mills often need t#o drives, one on each side
of the gantr+ itself Ef these become out of step then the gantr+ #ill Srac$S and its cross
a>is not be perpendicular to the long a>is
`ou can use 4onfigoDlaving to configure Mach3 so one drive %sa+ the Y a>is& is the main
drive and can slave another to it %perhaps the 4 a>is configured as linear rather than
rotar+& Dee figure 056
!uring normal use the same number of step pulses #ill be sent to the master and slave
a>es #ith the speed and acceleration being determined b+ the Sslo#erS of the t#o
@hen a reference operation is reBuested the+ #ill move together until the Nome s#itch of
one is detected This drive #ill position Aust off the s#itch in the usual #a+ but the other
a>is #ill continue until its s#itch is detected #hen it #ill be positioned off it Thus the
pair of a>es #ill be SsBuared upS to the Nome s#itch positions and an+ rac$ing #hich has
occurred be eliminated
,lthough Mach3 $eeps the master and
slaves a>es in step, the !9= of the slave
a>is #ill not displa+ offsets applied b+ the
Tool table, fi>ture offsets etc Ets values
ma+ thus be confusing to the operator
@e therefore recommend that +ou use the
Dcreen !esigner to remove the a>is !9=
and related controls from all the screens
e>cept !iagnostics Dave ,s the ne# design
#ith a name other than the default and use
the Lie#oMoad Dcreen menu to load it into
Mach3
#igure ,.11 - -aving con"iguration
01/ 4onfigurao dos 7scravos
MBuinas de grande porte, tais como routers de pIrtico ou fre?adoras, muitas ve?es precisam de
duas unidades, uma em cada lado da do pIrtico
De estes ficarem fora de passo, o pIrtico ficar torto e seu ei>o transversal no ser perpendicular
ao ei>o longitudinal
LocF pode usar configurar em 4onfigo Dlaving uma unidade do Mach3 %digamos, o ei>o Y ser
a principal unidade e poder ter um ei>o escravo %talve? o ei>o 4 configurado como linear ou
rotativo&
LeAa a figura 0,56
!urante a utili?ao normal um mesmo nmero de pulsos para os passos sero enviado para os
ei>os Mestre e o 7scravos cuAa velocidade e a acelerao 8 determinada pelo mais lento dos dois
Uuando uma operao de Nome 8 solicitada eles vo caminhar Auntos at8 a chave Nome de um
deles seAa detectada
7sta unidade ser posicionada pela chave da maneira usual, mas o outro ei>o vai continuar at8
Bue o seu interruptor seAa detectado ,ssim, a par de ei>os sero S7nBuadradosS para mudar as
posies de origem corrigindo BualBuer desvio Bue eventualmente tenha acontecido
7mbora Mach3 corriAa o mestre e escravo nesta etapa, o visuali?ador do ei>o escravo
no ir e>ibir deslocamentos aplicados pela mesa, etc 7stes valores pode assim ficar confuso
para o operador 3or isso, recomendamos Bue vocF use o proAeto de telas para remover o !9=
dos ei>os e controles relacionados de todas as telas e>ceto !iagnostics
Dalvar como um novo proAeto com um nome diferente do padro e usar Ler o Moado menu da
tela para carregHlo em Mach3
_
5.6.5 Conig%re Toolpath
4onfigoToolpath allo#s +ou to define ho# the toolpath is displa+ed The dialog is sho#n
in figure 0-.
Origin sphere2 #hen chec$ed, displa+s a blob at the point of the toolpath
displa+ representing Yn., `n.,
Vn.
3D ,ompass2 #hen
chec$ed, sho#s arro#s
depicting the directions of
positive Y, ` and V in the
toolpath displa+
Machine /o$ndaries, #hen
chec$ed displa+s a bo>
corresponding to the
settings of the Doftlimits
%#hether or not the+ are
s#itched on&
Tool +osition, #hen
chec$ed, sho#s the current
position of the tool on the
displa+
#igure ,.2+ Con"igure $oo%ath
0og Follo" Mode, #hen chec$ed, causes the lines representing the toolpath to move
relative to the #indo# as the tool is Aogged En other #ords the tool position is fi>ed in the
toolpath displa+ #indo#
Sho"Tool as a/ove centerline in T$rn relates to Mach3Turn %to handle front and
rear toolposts&
Sho" Lathe O/Cect enables the 3! rendering of the obAect that #ill be produced b+
the toolpath %Mach3Turn onl+&
,olors for different elements of the displa+ can be configured The brightness of each of
the primar+ colors 9ed Kreen Glue are set on a scale . to 5 for each t+pe of line. 8int$ Use
a program li$e 3hotoshop to ma$e a color #hich +ou li$e and divide its 9KG values b+ -00
%it uses the scale . to -00& to get the values for Mach3
The #7a5is values allo# +ou to specif+ the position and orientation of the ,Ha>is if it
is configured as rotar+ and the displa+ is enabled b+ the # 4otations chec$bo>
4eset +lane on 4egen reverts the displa+ of the toolpath displa+ to the current
plane #henever it is regenerated %b+ double clic$ or button clic$&
-o5ed 3raphic displa+s a bo> at the boundaries of the tool movement
]
010 4onfigurando o caminho da ferramenta
4onfigo caminho da ferramenta permite Bue vocF defina como o caminho da ferramenta 8
e>ibido
, cai>a de dilogo 8 mostrada na *igura 0-.
Origin sphere, Buando marcada, mostra um ponto na tela do caminho da ferramenta %toolpath&
9epresentando Y n ., ` n ., V n .
3D ,ompass, Buando marcada, mostra setas representando as direes do
3ositivos Y, ` e V na tela de acompanhamento da ferramenta
Machine /o$ndaries2& limites da mBuina&, Buando marcada e>ibe uma cai>a correspondente ao
configuraes do D=*TMEMETD %Endependentemente de estarem ligados ou no&
Tool +osition&+osiDEo da *erramenta&, Buando marcada, mostra o atual posio da ferramenta
na tela de acompanhamento
*igura 056 H Dlaving configurao
*igura 0-. 4onfigurar o caminho da ferramenta
0og Follo" Mode %Modo de acompanhamento do movimento&, Buando marcada, fa? com Bue as
linhas Bue representam as traAetIrias do movimento relativo apaream na Aanela enBuanto a
ferramenta est movimentado
7m outras palavras, a posio da ferramenta 8 fi>ada na tela de acompanhamento
Sho"Tool as a/ove centerline in T$rn &# Ferramenta 8 mostrada com um circulo em volta&cima
da linha central em Turn refereHse a Mach3Turn %para lidar com frente e traseira toolposts&
Mostrar em Torno do obAeto permite a renderi?ao em 3! do obAeto Bue ser produ?ido pela
toolpath %Mach3Turn apenas&
4ores para os diferentes elementos do displa+ podem ser configurados
= brilho de cada uma das cores primrias Lermelho Lerde ,?ul so definidos em uma escala
de .H5 para cada tipo de linha
!ica' Use uma programa como o 3hotoshop para fa?er uma cor Bue vocF goste e divida seus
valores 9KG em -00 partes %7le usa a escala de . a -00& para obter os valores para Mach3
=s valores de um ei>o, permitem Bue vocF especifiBue a posio e a orientao do ei>o se , 8
configurado como o 9otar+ e a tela 8 ativada pela opo rotaes em um
9eset 3lano em 9egen reverte a e>ibio da tela toolpath ao plano atual
sempre Bue 8 regenerado %por cliBue duplo ou cliBue no boto&
4ai>a grfico, e>ibe uma cai>a nos limites do movimento da ferramenta
_
5.6.6 Conig%re Initial 1tate
4onfigoDtate opens a dialog #hich allo#s +ou to define the modes #hich are active #hen
Mach3 is loaded %ie the initial state of the s+stem& Et is sho#n in figure 0-5
Motion mode$ ,onstant velocity sets K1/, E5act Stop sets K15 *or details of these
option see 4onstant Lelocit+ and 7>act Dtop in chapter 5.
Distance mode$ #/sol$te sets K 6., Inc sets K65
.ctive plane$ YH` sets K5J, `HV sets K56, YHV sets K5:
&;D Mode$ En addition +ou can set the interpretation to be placed on E l 2 in arc moves
This is provided for compatibilit+ #ith different 4,M postHprocessor and to emulate other
machine controllers En Inc I0 mode E and 2 %the center point& are interpreted as relative to
#igure ,.21 - Initia -tate con"iguration
the starting point of a center format arc This is compatible #ith "EDT 7M4 En #/sol$te
I0 mode E and 2 are the coordinates of the center in the current coordinate s+stem %ie after
application of #or$, tool and K6- offsets& Ef circles al#a+s fail to displa+ or to cut
properl+ %especiall+ obvious b+ them being too big if the+ are far from the origin& then the
E2 mode is not compatible #ith +ou part program
.n error in this setting is the most fre'uent cause of 'uestions from users when
trying to cut circles.
&nitialiEation String$ is a set of valid KH4odes to set the desired initial state of Mach3
#hen it is started These are applied after the values set in the radio buttons above so ma+
override them Use the radio buttons #herever possible to avoid confusion Ef =se Init
on #LL F4esetsF is chec$ed then these codes #ill be applied ho#ever Mach3 is reset d
eg after an 7Dtop condition
0ther check bo(es$
+ersistent 0og Mode, if chec$ed, #ill remember the 2og Mode +ou have chosen
bet#een runs of Mach3Mill
+ersistent O%%sets, if chec$ed, #ill save the #or$ and tool offsets in the permanent
tables +ou have selected bet#een runs of Mach3Mill Dee also Optional O%%set Save.
Optional O%%set Save, if chec$ed, #ill prompt to chec$ that +ou #ant to actuall+ do an+
save reBuested in +ersistent O%%sets
,opy 3G; %rom 3GH.*G3 on startup, if chec$ed, #ill reHinitiaise the K0/ offset %ie #or$
offset 5& values from the #or$ offset -03 values #hen Mach3 is started 4hec$ this if +ou
#ant to start up K0/ to al#a+s be a fi>ed coordinate s+stem %eg the machine coordinate
s+stem& even if a previous user might have altered it and saved a nonHstandard set of
values
, further discussion of these options is given in chapter J
1o F4O on I$e$e2 if chec$ed, #ill dela+ the application of feed rate override until the
Bueue of commands #aiting to be implemented is empt+ This is sometimes necessar+ to
avoid e>ceeding permitted sppeds or accelerations #hen increasing the *9= above
5..m
!ome S" Sa%ety, if chec$ed, #ill prevent motion of a a>is during homing if the Nome
s#itch is alread+ active This is useful to prevent mechanical damage on a machine
#hich shares limit s#itches at both ends of an a>is #ith Nome
Shortest 4ot, if chec$ed, ma$es an+ rotar+ a>is treat the position given as an angle modulo
31. degrees and move b+ the shortest route to that position
De/$g this r$n, if chec$ed, gives e>tra diagnostics to the program designer =n use it on
,rt\s special reBuest
=se Watchdogs, if chec$ed, triggers and 7Dtop is Mach3 seems not to be running
correctl+ `ou ma+ need to unchec$ it if +ou get spurious 7Dtops on slo#er computers
#ith operations li$e loading @i?ards
Enhanced +$lsing, if chec$ed, #ill ensure the greatest accurac+ of timing pulses %and
hence smoothness of stepper drives& at the e>pense of additional central processor time
`ou should generall+ select this option
4$n Macrop$mp, if chec$ed, #ill on stattup loo$ for a file Macro3umpm5s in the
macro folder for the current profile and #ill run it ever+ -.. milli seconds
#$to Screen Enlarge, if chec$ed, #ill cause Mach3 to enlarge an+ screen, and all the
obAects on it, if it has fe#er pi>els than the current 34 screen mode so ensuring that it
fills the entire screen area
,harge p$mp On in EStop, if chec$ed, retains the charge pump output %or outputs&
even #hen 7Dtop is detected This is reBuired for the logic of some brea$out boards
? is *.GD on o$tp$t :J, if chec$ed, controls =utput s1 depending on the current position
in the program coordinate s+stem of the V a>is Ef V o .. then =utput s1 #ill be active
`ou must have a V a>is configured to use this feature but its Dtep and !irection outputs
can be configured to a nonHe>istent pin, for e>ample 3in ., 3ort .
Shuttle .ccel controls the responsiveness of Mach3 to the M3K #hen it is being used
to control the e>ecution of lines of KH4ode
-ookahead determines the number of lines of KH4ode that the interpreter can buffer
for e>ecution Et does not normall+ reBuire tuning
Dog &ncrements in #ycle Mode' The ,ycle 0og Step button #ill load the values in the
list into the Step !9= in turn This is often more convenient than t+ping into the Step
!9= 4ode the special value 666 to s#itch to 4ont 2og Mode
/eference Switch -oc' These values define the machine coordinate position to be set
on referencing, after hitting the Nome s#itch %if provided& for each a>is The values are
absolute positions in the setup units
"
011 4onfigurando o 7stado inicial
4onfigoDtate abre uma Aanela Bue permite definir os modos em Bue se ativa o Mach3 Buando 8
carregado %ou seAa, o estado inicial do sistema&
Z mostrado na figura 0-5
Motion mode$ FModo de Movimento' & !efine a velocidade constante K1/,e define parada e>ata
K153ara mais detalhes sobre duas opes veAa capCtulo 5.
Distance mode$ FModo de !istRncia'& Modo de distancia absoluta KH6., modo de distancia
incremental K65
.ctive plane$ F plano ativo'& define o plano Y` K5J, define o plano `V K56, define o plano
YV K5:
&;D Mode$ FM7do E ( 2'& ,l8m disso, vocF pode definir a interpretao a ser seguida em
movimentos de arco E l 2
Esto 8 fornecido para compatibilidade com diferentes 4,M pIsHprocessadores ou para emular
outros controladores da mBuina
7m Enc modo E2 Modo E e 2 %o ponto central& so interpretados como relativos para um
ponto de partida ao formatar um arco central
Esto 8 compatCvel com o "EDT 7M4 7m E2 modalidade absoluta E e 2 so as coordenadas do
centro do atual sistema de coordenadas %ou seAa, apIs aplicao do trabalho, ferramentas e
deslocamentos K6-&
De cCrculos sempre falham ao serem mostrados ou no corte correto %7specialmente Ibvio se eles
so muito grandes e se eles estiverem longe da origem&, o modo de E2 no esta compatCvel com
seu caso
*igura 0-5 H 7stado inicial de configurao
Um erro nesse cenrio 8 a causa mais freBQente de perguntas dos usurios ao tentar
cortar cCrculos
&nitialiEation String$ FDtring de Eniciali?ao& 8 um conAunto de cIdigos K vlidos para definir o
estado deseAado inicial do Mach3 Buando ele 8 iniciado
7stes so aplicados depois Bue os valores fi>ados nos botes acima, e vai substituiHlos
Use os botes de rdio, sempre Bue possCvel para evitar confuses

De g=se Init on #LL F4esetsF estiver marcada, ento esses cIdigos sero aplicadas sempre Bue
for acionado o 97D7T no Mach3 H por e>emplo, apIs uma condio de emergencia
0utras cai(as de sele=>o$
+ersistent 0og Mode, % Modo de Movimento 3ersistente&, se marcada, vai lembrar o modo 2og
escolhido entre e>ecues do Mach3Mill
+ersistent O%%sets,.&Deslocamentos persistentes&, se marcada, vai salvar o trabalho e
compensaes da ferramenta em tabelas selecionado entre as e>ecues de Mach3Mill
LeAa tamb8m opcional offset Dave
Optional O%%set Save, %Dalvar opcionalmente o deslocamento&, se marcada, ir pedir para verificar se
vocF Buer realmente fa?er economia de movimentos salvando os deslocamentos
,opy 3G; %rom 3GH.*G3 on startup, %4Ipia K0/ do K06-03 na iniciali?ao&, se marcada, ir reH
iniciali?ar o K0/ deslocado %e>emplo' trabalho offset 5& os valores do trabalho offset -03
Mach3 valores Buando 8 iniciado MarBue esta opo se vocF deseAa iniciar o K0/ a usar
sempre um sistema de coordenadas fi>o %por e>emplo, um sistema de coordenadas &, mesmo
Bue o usurio anterior possa ter alterado isso e salvou um conAunto noHpadro de valores
Uma discusso mais aprofundada dessas opes 8 dada no capCtulo J
1o F4O on I$e$e2 &" u *9= na fila&, se marcada, ir atrasar a aplicao da ta>a de
alimentao at8 Bue a fila de espera de comandos a serem implementadas fiBue va?ia Esso Ts
ve?es 8 necessrio para evitar ou superar a maior velocidade de acelerao permitida Buando
se aumenta a *9= acima de 5..m
!ome S" Sa%ety, %4have de Degurana Nome&, se marcada, vai impedir o movimento de um
ei>o durante homing se a chave A estiver ativo Esso 8 til para evitar danos mecRnicos em
uma mBuina Bue compartilham os mesmos interruptores em ambas as e>tremidades de um
ei>o com o Nome

Dhortest 9ot, %9ota 4urta&, se marcada, fa? todo o ei>o de rotao tratar a posio informada
como um Rngulo de 31. graus e vai se mover pelo caminho mais curto para essa posio

!ebug presente na e>ecuo, se marcada, d um diagnIstico e>tra para o criador do
programa Use apenas em condies especiais de ,rtas

=se Watchdogs%4es de guarda&, se marcado, De 7mergencias acionadas parecem no estarem
funcionando corretamente
LocF pode precisar desmarcarHlo se vocF comear emergFncias esprias em computadores
mais lentos com operaes em modo assistentido
Enhanced +$lsing, %3ulsao reforada&, se marcada, ir garantir o m>imo de preciso dos
pulsos de tempori?ao %e, portanto, suavidade das unidades de passo&, a e>pensas do tempo
do processador central adicional LocF geralmente deve selecionar essa opo
Macrop$mp, %7>ecutar Macro 9otinas&, se marcada, vai procurar por uma partida no arBuivo
Macro3umpm5s na pasta atual e ir e>ecutHlo a cada -.. milisegundos
#$to Screen Enlarge,%aumentar a tela automticamente&, se marcada, far com Bue Mach3 mplie
toda a tela, e todos os obAetos sobre ela, se tiver menos pi>els do Bue o atual modo de tela do
34 de forma a assegurar Bue ele preenche a rea da tela inteira

,harge p$mp On in EStop, Gomba ligada mesmo em emergencia&, se marcado, mant8m a saCda
da bomba de carga %ou saCdas&, mesmo Buando uma emergFncia 8 detectada Esso 8
necessrio para a lIgica de algumas placas G=G
? is *.GD on o$tp$t :J %V 8 -0! na saCda n u 1&, se marcada, os controles de saCda n u 1,
dependendo da posio atual no programa de sistema de coordenadas do ei>o V
De a saCda V o .,. s 1 em seguida, ficar ativo
LocF deve ter um ei>o V configurado para usar este recurso, mas o seu passo e saCda de
direo pode ser configurado para um pino ine>istente, por e>emplo 3in ., 3orta .

Shuttle .ccel FDhuttle ,ccel&, controla a resposta do Mach3 para a M3K, Buando ele est
sendo usado para controlar a e>ecuo das linhas de KH4ode
-ookaheadFMoo$ahead&, determina o nmero de linhas de KH4ode Bue o int8rprete pode
arma?enar para e>ecuo 7le normalmente no e>ige aAuste

Dog &ncrements in #ycle Mode F&incrementos no Modo de 4iclos do Movimento&' = 4iclo
do boto etapa de movimento, ir carregar os valores da lista !9= um 3asso de cada ve?
Esso 8 muitas ve?es mais conveniente do Bue digitar na !9= Dtep
4Idigo do valor especial 8 666 para alternar para 4ont 2og Mode
/eference Switch -oc F9eferFncia D#itch Moc&' 7stes valores definem na mBuina a
coordenada de posio a ser definido em referFncia, depois de bater na chave Nome %se
disponCvel& para cada ei>o =s valores so posies absolutas nas unidades de instalao
_
5.6." Conig%re other .ogic ite$s
The functions of the 4onfigoMogic dialog %figure 0--& are described belo#
#igure ,.22 - ;ogic Con"iguration diaog
31G;31+ #ontrol' Ef Moc$ !9=s to set up units is chec$ed then even though K-. and
K-5 #ill alter the #a+ Y, `, V etc #ords are interpreted %inch or millimetre& the !9=s
#ill al#a+s displa+ in the Detup Unit s+stem
Tool change$ ,n M1 tool change reBuest can be ignored or used to call the M1 macros
%Bv& Ef ,uto Tool 4hanger is chec$ed then the M1Dtart(M17nd macros #ill be called
but 4+cle Dtart does not need to be pressed at an+ stage
.ngular properties$ ,n a>is defined as angular is measured in degrees %that is to sa+
K-.(K-5 do not alter the interpretation of ,, G, 4 #ords&
6rogram end or MG or /ewind' defines action%s& to ta$e place at end or a re#ind of
+our part program 4hec$ the reBuired functions Caution: Gefore chec$ing the items to
remove offsets and to perform K6-5 +ou should be absolutel+ clear on ho# these features
#or$ or +ou ma+ find that the current position has coordinates ver+ different from #hat
+ou e>pect
at the end of a program
Debounce interval;&nde( Debounce$ Es the number of Mach - pulses that a s#itch must
be stable for its signal to be considered valid Do for a s+stem running at 30,... N? , 5..
#ould give about a 3 millisecond debounce %5.. 30... n ...-6 secs& The Ende> pulse
and the other inputs have independent settings
6rogram safety$ @hen chec$ed enables Enput s5 as a safet+ cover interloc$
!ditor$ The filename of the e>ecutable of the editor to be called b+ the KH4ode edit
button The Gro#se button allo#s a suitable file %eg 4'c#indo#scnotepade>e& to be
found
Serial output$ !efines the 4=M port number to be used for the serial output channel
and the baud rate at #hich it should output This port can be #ritten to from LG script in
a
macro and can be used to control special functions of a machine %eg M4! displa+,
toolH changers, a>is clamps, s#arf conve+or etc,&
0ther checkbo(es$
+ersistent D4Os, if chec$ed, then the a>is !9=s #ill have the same values on startup as
#hen Mach3 is closed do#n "ote that the positions of the ph+sical a>es are unli$el+ to
be preserved if the machine tool is po#ered do#n, especiall+ #ith microHstepper drives
Disa/le 3o$ge),oncavity chec.s, if unchec$ed, then, during cutter compensation %K/5
and K/-&, Mach3 #ill chec$ if the tool diameter is too large to cut ginsider cornersh
#ithout gouging the #or$ 4hec$ the bo> to disable the #arning
+lasma Mode, if chec$ed, this controls Mach3as implementation of constant velocit+
moves to suit the characteristics of plasma cutters
1o #ng$lar Discrimination' This is also onl+ relevant to constant velocit+ #or$ing
@hen unchec$ed Mach3 treats changes of direction #hose angle is greater than the
value set in the ,< #ng$lar Limit !9= as e>act stop %even if 4L mode is set& to avoid
e>cessive rounding of sharp corners *ull details of 4onstant Lelocit+ mode are given in
chapter 5.
FeedOveride +ersists, if chec$ed, then the selected feed override #ill be retained at the
end of a part program run
#llo" Wave %iles, if chec$ed, allo#s @indo#s @,L sound clips to be pla+ed b+
Mach3 This can be used, for e>ample to signal errors or attention reBuired b+ the
machine
#llo" Speech, if chec$ed, allo#s Mach3 to use the Microsoft Dpeech ,gent for s+stem
information messages and Sright buttonS Nelp te>t Dee the Dpeech option on the
@indo#s 4ontrol 3anel to configure the voice to be used, speed of spea$ing etc
3K; D"ell param in Milliseconds, if chec$ed then the command K/ 0... #ill give a
!#ell in running of 0 seconds Ef the control is unchec$ed it gives a d#ell of 5 hour -3
minutes -. secondsb
Set charge p$mp to G.! %or laser stand/y level' En this setting charge pump output or
output%s& are a 0 $N? signal %for compatibilit+ #ith some lasers& rather than the
standard
5-0$N? signal
=se Sa%eL?M Ef chec$ed then Mach3 #ill ma$e use of the Dafe V position defined
%ote$ Ef +ou use a machine #ithout referencing as the initial operation then it is safer
to leave this option unchec$ed as #ithout referencing the machine coordinate s+stem
is arbitrar+
Tool Selections +ersistent, if chec$ed, remembers the selected tool at shutdo#n of Mach3
custom macros into the ne# profile
]
01J 4onfigurando outros itens MIgicos
,s funes da cai>a de dilogo 4onfig Mogico %figura 0--& esto descritas abai>o
K-.(K-5 4ontrol' De Moc$ !9= 8 marcada para criar unidades, ento, apesar do
K-. e K-5 alterar a forma de Y, `, V, etc palavras so interpretadas %polegadas ou
milCmetros& e sero visuali?ados em !9= a unidade de medida
*erramenta de mudana' Um M1 pedido de mudana de ferramenta pode ser
ignorado ou usado para chamar o M1 macros %Uv& De ,uto Tool 4hanger esta
marcada, ento as macros M1Dtart(M17nd sero chamados, mas o 4+cle Dtart no
precisa ser pressionado em BualBuer fase
propriedades ,ngular' Um ei>o definido como angular 8 medido em graus %isto 8,
K-.(K-5 no alteram a interpretao de ,, G palavras, 4&
final do 3rograma, ou M3. ou 9e#ind' define a ao %s& a ter lugar no final ou um
retrocesso de sua programa da pea
LerifiBue as funes necessrias ,teno' ,ntes de verificar os itens para remover
deslocamentos e reali?ar K6-5 vocF deve estar absolutamente certo sobre como
esses recursos funcionam ou vocF pode achar Bue a situao atual tem coordenadas
muito diferente do Bue vocF espera no final de um programa

intervalo debounce ( Ende> debounce' Z o nmero de pulsos a se considerar para Bue
um interruptor deva ser considerado para ser estvel para o sinal ser considerado
vlido
,ssim, para um sistema rodando a 30... N?, 5.. daria cerca de um debounce 3
milissegundos %5.. v 30... n .,..-6 s& = pulso Ende> e as outras entradas tFm
configuraes independentes
3rograma de segurana' Uuando marcada estabelece a entrada s 5 para acionar o
bloBueio de segurana
7ditor' = nome do arBuivo Bue e>ecuta o editor a ser chamado para editar o KH4ode
= boto 3rocurar permite encontrar um arBuivo adeBuado %e>' 4' c #indo#s c
notepade>e&
DaCda serial' !efine o nmero da porta 4=M a ser utili?ada para o canal de saCda
serial e a ta>a de transmisso
7sta porta pode ser escrita a partir de um script em Macro de LG pode ser usado
para controlar as funes especiais de uma mBuina %por e>emplo, displa+ M4!,
carregadores de ferramentas, grampos fi>adores, transportador de aparas, etc&,
=utras cai>as'
3ersistencia nos !9=s, se observado em seguida, o ei>o visuali?adores tero os
mesmos valores na iniciali?ao como Buando Mach3 8 encerrado
"ote Bue as posies dos ei>os fCsicos no so susceptCveis de ser preservadas, se a
mBuinaHferramenta 8 desligada, especialmente com unidades de microHpasso
!esativar Kouge ( se desmarcada, ento, durante a compensao do cortador %K/5 e
K/-&, Mach3 ir verificar se o diRmetro da ferramenta 8 muito grande para Scortar
cantos internosS sem alargar o trabalho MarBue a cai>a para desativar o aviso
3lasma Mode, se marcada, a implementao deste controle de movimentos para uma
velocidade constante Bue atende as caracterCsticas dos cortadores de plasma
Dem !iscriminao ,ngular' 7ste tamb8m 8 relevante apenas para trabalhar em
velocidade constante
Uuando desmarcada, trata mudanas de direco, cuAo Rngulo 8 maior Bue o valor
fi>ado no o 4L ,ngular Mimite !9= como parar e>atamente %mesmo se o modo de
4L 8 definido& para evitar um e>cessivo arredondamento dos cantos afiados Todos
os detalhes do modo de velocidade constante so dadas no capCtulo 5.
*eed=veride persistencia, se marcada, ento a substituio da alimentao
selecionada ser retida no final da e>ecuo do programa da pea
3ermitir arBuivos @ave, se marcada, permite Bue o @indo#s use arBuivos de @,L
por Mach3

Esso pode ser usado, por e>emplo, para sinali?ar erros ou reBuerer ateno pela
mBuina
3ermitir fala, se marcada, Mach3 permite usar o Microsoft Dpeech ,gent para o
sistema mensagens de informao e de Ste>tos de aAuda o boto direitoS
LeAa a opo Lo? no painel de controle do @indo#s configurar a vo? a ser usada,
velocidade de fala etc
K./ !@ell 3aram em milissegundos, se marcada, ento o comando K/ 0... vai
dar uma parada na corrida de 0 segundos
De o controle for desmarcada ele d uma parada de 5 hora -3 minutos -. segundosb
3osiciona a bomba de carga em 0$N? para nCvel laser de espera' "este cenrio de
saCda da bomba de carga ou saCda %s& so um sinal de 0 $N? %para compatibilidade
com alguns lasers& em ve? do padro 5-0$N? sinal
Use DafeWV' De marcada, ento Mach3 vai usar segurana na posio V
"ota' De vocF usar uma mBuina, sem referFncia na sua operao inicial, ser mais
seguro dei>ar esta opo desmarcada, pois sem referFncia o sistema de coordenadas
da mBuina fica arbitrrio
*erramenta Delections persistente, se marcado, relembra a ferramenta selecionada no
desligamento do Mach3
_

,.0 &o' the !ro"ie in"ormation is stored
@hen the Mach3e>e program is run it #ill prompt +ou for the 3rofile file to use This #ill
generall+ be in the Mach3 folder and #ill have the e>tension YMM `ou can vie# and
print the contents of 3rofile files #ith Enternet 7>plorer %as YMM is a mar$Hup language
used on #eb pages&
Dhortcuts are set up b+ the s+stem installer to run Mach3e>e #ith default 3rofiles for a
Mill and for Turning %ie Mach3Mill and Mach3Turn& `ou can create +our o#n shortcuts
each #ith a different 3rofile so one computer can control a variet+ of machine tools
This is ver+ useful if +ou have more than one machine and the+ reBuire different values
for the motor tuning, or have different limit and Nome s#itch arrangements
`ou can either run Mach3e>e and choose from the list of available profiles or +ou can
set up e>tra shortcuts that specif+ the profile to use
En a shortcut, the profile to load is given in the S(pS argument in the Target of the shortcut
properties ,s an e>ample +ou should inspect the 3roperties of the Mach3Mill shortcut
This can be done, for e>ample, b+ right clic$ing the shortcut and choosing 3roperties
from the menu
,n YMM file for a profile can be edited b+ an e>ternal editor but +ou are very strongly
advised not to do this unless +ou are full+ conversant #ith the meaning of each entr+ in the
files as some users have encountered ver+ strange effects #ith misHformatted files "otice
that some tags %eg the screen la+out& are onl+ created #hen a builtHin default value is
overridden using Mach3 menus &t is much safer to use MachBs configuration menus
to update the HM- profiles.
@hen a ne# profile is created then a folder for storing its macros #ill be created Ef +ou
are gcloningh from a profile #ith custom macros then +ou must ta$e care to cop+ an+ such
]
0J 4omo as informaes de perfil so arma?enadas
Uuando o programa 8 e>ecutado Mach3e>e ir verificar no arBuivo de perfil de uso
7le fica geralmente na pasta Mach3 e ter a e>tenso YMM
LocF pode visuali?ar e imprimir o contedo dos arBuivos de perfil com Enternet
7>plorer %pois o YMM 8 uma linguagem de marcao utili?ada no pginas #eb&
=s atalhos so criados pela instalao do sistema para e>ecutar Mach3e>e com
perfis padro para uma fresa e de giro %ou seAa, Mach3Mill e Mach3Turn&
LocF pode criar seus prIprios atalhos de cada com um perfil diferente para um
computador pode controlar uma variedade de ferramentas de mBuina
Esto 8 muito til se vocF tiver mais de uma mBuina e Bue e>igem valores diferentes
para a afinao do motor, ou tem limite de diferentes modalidades e mudar de Nome
LocF pode e>ecutar Mach3e>e e escolha da lista de perfis disponCveis ou vocF pode
definir de atalhos e>tra Bue especificar o perfil de uso
7m um atalho, o perfil de carga 8 dada em Sp (S = argumento do alvo do atalho
propriedades 4omo e>emplo, vocF deve inspecionar as propriedades do atalho Esso
pode ser feito, por e>emplo, com o boto direito no atalho e escolha 3ropriedades
do menu
Um ,rBuivo YMM para um perfil pode ser editado por um editor e>terno, mas vocF
8 muito fortemente aconselhado a no fa?er isso a menos Bue esteAa completamente
familiari?ado com o significado de cada entrada na arBuivos pois alguns usurios se
depararam com efeitos muito estranho em arBuivos mal formatados
=bserve, Bue algumas marcas %por e>emplo, o la+out da tela& sI so criados Buando
construCdos com o valor padro substituCdo Buando do uso dos menus do Mach3
Z muito mais seguro usar menus de configurao para atuali?ar os perfis do YMM
Uuando um novo perfil 8 criado, em seguida, uma pasta para arma?enar suas macros
sero criados
De vocF est S4lonandoS um perfil personali?ado com macros, ento vocF deve
tomar cuidado para copiar tais macros personali?adas para o novo perfil
_
Mach3 contros and running a %art %rogram
Using Mach3Mi .-2 Rev 1.84-A2
.. Mach3 contros and running a %art %rogram
This chapter is intended for reference to e>plain the screen controls
provided kb+ Mach3 for setting up and running a Aob on the machine Et is
of relevance to machine operators and for partHprogrammers #ho are going
to prove their programs on Mach3
]
1 4ontroles do Mach3 e e>ecuo de um programa da pea
7ste capCtulo destinaHse como referFncia para e>plicar a tela de controles previstos
por Mach3 para a criao e e>ecuo de um trabalho com a mBuina Z relevante
para operadores de mBuinas e de programadores Bue esto indo para usar a sua
programao em Mach3
_
..1 Introduction
This chapter covers a lot of detail `ou ma+ #ish to s$im section 1- and then loo$ at
the sections for inputting and editing part programs before returning to the details of all
the screen controls
]
15 Entroduo
7ste capCtulo aborda um monte de detalhes LocF pode Buerer ver o ponto 1- e, em seguida
olhar para o sees de introduo e parte de programas de edio antes de retornar para os
detalhes de todas os controles de tela
_
..2 &o' the contros are e9%ained in this cha%ter
,lthough at first sight +ou ma+ feel daunted b+ the range of options and data displa+ed b+
Mach3, this is actuall+ organised into a fe# logical groups @e refer to these as *amilies
of 4ontrols G+ #a+ of e>planation of the term ScontrolS, this covers both buttons and
their associated $e+board shortcuts used to operate Mach3 and the information displa+ed
b+ !9=s %digital readHouts&, labels or M7!s %light emitting diodes&
The elements of each control famil+ are defined for reference in this chapter The
families are e>plained in order of importance for most users
`ou should, ho#ever, note that the actual screens of +our Mach does not include
every control of a famil+ #hen the famil+ is used This ma+ be to increase readabilit+ of
a
#igure ..1 - -creen s'itching contro "amiy
particular screen or to avoid accidental changes to the part being machined in a
production environment
, Dcreen !esigner is provided that allo#s controls to be removed or added from the
screens of a set of screens `ou can modif+ or design screens from scratch so that +ou can
add an+ controls to a particular screen if +our application reBuires this *or details see the
Mach3
,$stomisation #i$i
Mach3 contros and running a %art %rogram
Rev 1.84-A2 .-1 Using Mach3Mi
]
1- 4omo os controles so e>plicadas neste capCtulo
7mbora T primeira vista, vocF pode se sentir intimidado com a gama de opes e dados
apresentados por Mach3, este 8 realmente organi?ado em alguns grupos lIgicos
"Is nos referimos a eles como famClias de 4ontroles
, tCtulo de e>plicao do termo ScontroleS, isto abrange ambos os botes e os atalhos de
teclado usados para operar Mach3 e as informaes apresentadas pelo Lisuali?adores %digital
readHouts !9=&, etiBuetas ou M7!s %diodos emissores de lu?&
=s elementos de cada famClia de controle so definidos por referFncia neste capCtulo
,s famClias so e>plicadas por ordem de importRncia para a maioria dos usurios
LocF deve, no entanto, notar Bue as telas reais do seu Mach3 no incluem todos os
controles de uma famClia Buando a famClia 8 usada
Esto foi feito para aumentar a legibilidade de uma tela em particular ou para evitar alteraes
acidentais na parte Bue est sendo usinada em um ambiente de produo
, proAeto de tela permite Bue os controles possam ser removidos ou adicionado nestas telas ou
a um conAunto de telas LocF pode modificar ou reproAetar as telas a partir do ?ero de modo Bue
vocF pode adicionar BualBuer controles para uma tela especial se a sua aplicao e>ige isso
3ara mais informaes, consulte o Mach3 #i$i Tunning
_
6.2.1 1creen switching controls
These controls appear on each screen The+ allo# s#itching bet#een screens and
also displa+ information about the current state of the s+stem
]
1-5 4ontroles de 4omutao de telas
7sses controles aparecem em cada tela 7les permitem alternar entre telas e tamb8m
e>ibir informaes sobre o estado atual do sistema
]
..2.1.1 Reset
This is a toggle @hen the s+stem is 9eset the M7! glo#s steadil+, the charge pump pulse monitor
%if enabled& #ill output pulses and the 7nable outputs chosen #ill be active
]
1-55 9eset
Z uma alternRncia Buando clicado Uuando o sistema esta resetado o M7! brilha fi>o e ativa o
monitor de pulsos %se estiver marcado& para as saCdas e as saCdas habilitadas se escolhidas
estaro ativas
F
..2.1.2 ;a/es
The Sintelligent labelsS displa+ the last SerrorS message, the current modes, the file name of the
currentl+ loaded part program %if an+& and the 3rofile that is in use
_
1-5- Mabels
,s SetiBuetas inteligentesS mostram a Sltima mensagemS de erro, o modo atual, o nome do
Mach3 contros and running a %art %rogram
Using Mach3Mi .-2 Rev 1.84-A2
arBuivo atualmente carregado %se houver& e o perfil Bue est em uso
_
Rev 1.84-A2 .-1 Using Mach3Mi
Mach3 contros and running a %art %rogram
#igure ..2 - A9is contro "amiy
..2.1.3 -creen seection /uttons
These buttons s#itch the displa+ from screen to screen The $e+board shortcuts are
given after the names *or clarit+ in all cases #hen the+ are letters the+ are in upperH
case `ou should not, ho#ever, use the shift $e+ #hen pressing the shortcut
]
1-53 botes de seleo de tela
7stes botes mudam o visual de tela em tela
=s atalhos de teclado so mostrados depois os nomes
3ara maior clare?a em todos os casos as letras esto em maisculas
LocF no deve, entretanto, usar a tecla Dhift enBuanto pressionando o atalho
_
6.2.2 20is control a$il&
This famil+ is concerned #ith the current position of the tool %or more precisel+,
the controlled point&
The a>es have the follo#ing controls'
]
1-- *amClia de 4ontrole dos 7i>os
7sta famClia est preocupada com a posio atual da ferramenta %ou mais precisamente, o
ponto de controle&
=s ei>os tFm os seguintes comandos'
_
..2.2.1 Coordinate vaue *R(
These are displa+ed in the current units %K-.(K-5& unless loc$ed to the setup units on the
4onfigoMogic dialog The value is the coordinate of the controlled point in the displa+ed
coordinate s+stem This #ill generall+ be the coordinate s+stem of the current @or$
=ffset %initiall+ 5 H ie K0/& together #ith an+ K6- offsets applied Et can ho#ever be
s#itched to displa+ ,bsolute Machine 4oordinates
Using Mach3Mi .-2 Rev 1.84-A2
Mach3 contros and running a %art %rogram
`ou can t+pe a ne# value into an+ ,>is !9= This #ill modif+ the current @or$ =ffset
to ma$e the controlled point in the current coordinate s+stem be the value +ou have set
`ou are advised to set up @or$ =ffsets using the =ffsets screen until +ou are full+
familiar #ith #or$ing #ith multiple coordinate s+stems
]
1--5 Lalor de 4oordenadas !9=
7stes so e>ibidos nas unidades atuais %K-.(K-5&, salvo se trocadas para as unidades de
instalao no 4onfigo dilogo Mogic
= valor 8 das coordenadas do ponto controlado na e>ibio do sistema de coordenadas
Esso geralmente 8 o sistema de coordenadas do deslocamento no trabalho em reali?ao
%Enicialmente 5 H ou seAa, K0/&, Auntamente com BuaisBuer compensaes K6- aplicada
Todavia, pode ser transferido para mostrar 4ordenadas ,bsolutas da MBuina
LocF pode digitar um novo valor em BualBuer !9=
Esso vai modificar o atual trabalho e deslocar o ponto de controle no sistema de coordenadas
corrente para o valor Bue vocF definiu
LocFs so aconselhados a criar compensaes no trabalho usando a tela de compensaes at8
Bue esteAa completamente familiari?ado com o uso de mltiplos sistemas de coordenadas
_
..2.2.2 Re"erenced
The M7! is green if the a>is has been referenced %ie is in a $no#n actual position&
7ach a>is can be referenced using the 4e% #ll button Endividual a>es can be referenced
on the Diagnostics screen
Ef no Nome(reference s#itch is defined for the a>is, then the a>is #ill not actuall+
be moved but, if #$to ?ero D4O "hen !omed is chec$ed in
4onfigo9eferencing, then the absolute machine coordinate of the current
position of the a>is #ill be set to the value defined for the a>is in the
Nome(9eference s#itch locations table in the 4onfigoDtate dialog This is most
often ?ero
Ef there is a Nome(reference s#itch defined for the a>is and it is not providing
an active input #hen the 9ef is reBuested, then the a>is #ill be moved in the
Rev 1.84-A2 .-3 Using Mach3Mi
Mach3 contros and running a %art %rogram
direction defined in 4onfigo9eferencing until the input does become active Et
then bac$s off a short distance so that the input is inactive Ef the input is
alread+ active then the a>is Aust moves the same short distance into the inactive
position Ef #$to ?ero D4O "hen !omed is chec$ed in 4onfigo9eferencing
then the absolute machine coordinate of the current position of the a>is #ill be
set to the value defined for the a>is in the Nome(9eference s#itch locations
table in the 4onfigoDtate dialog
The De74e% #ll button does not move the a>es but stops them being in the referenced state
]
1--- 9eferenciamento
= M7! fica verde Buando o ei>o foi referenciado %ou seAa, est em uma posio conhecida &
4ada ei>o pode ser referenciado utili?ando o boto 9ef ,MM
7i>os individuais podem ser vistos na tela de !iagnIsticosj
De nenhum parRmetro de 9eferFncia(Nome foi definido para o ei>o, o ei>o no ir realmente ser
movido, mas se g,uto Vero !9= Buando Nomedh 8 posicionada em 4onfigo referenciar,ento a
coordenada absoluta da posio atual do ei>o ser definido com o valor definido para o ei>o em
Nome(referencia em 4onfigo Dtate dialog Esso geralmente 8 ?ero
j De houver uma chave de 9eferencia ( Nome definida para o ei>o e no est fornecendo uma
entrada ativa Buando o 9ef 8 solicitado, ento o ei>o ser movido na direo definida em
4onfigo referenciar, at8 a entrada se tornar ativa
7le em seguida, recua a uma curta distRncia de modo Bue a entrada fiBue em inativo
De a entrada A est ativo, apenas o ei>o se move a mesma distRncia curta para a posio
inativa
De ,uto Vero !9= Buando Nome 8 verificada em 4onfigo referencing, ento a coordenada
absoluta da mBuina ser definida com o valor definido para o ei>o da referFncia Nome da
tabela s#itch ( locais da 4onfigo dilogo do 7stado
= boto g !eH9ef ,llh no movimentam os ei>os, mas dei>aHos no estado de referFncia
_
..2.2.3 Machine coordinates
The Machine,oords button displa+s absolute machine coordinates The M7! #arns
that absolute coordinates are being displa+ed
]
1--3 coordenadas de mBuinas
= boto Machine4oords mostra as coordenadas absolutas da mBuina
= M7! adverte Buando as coordenadas absolutas esto sendo e>ibidas
]
..2.2.4 -cae
Dcale factors for an+ a>es can be set b+ K05 and can be cleared b+ K0. Ef a scale factor
%other than 5.& is set then it is applied to coordinates #hen the+ appear in KH4ode %eg as
Y #ords, ` #ords etc& The Dcale M7! #ill flash as a reminder that a scale is set for an
a>is The value defined b+ K05 #ill appear, and can be set, in the Dcale !9= "egative
values mirror the coordinates about the relevant a>is
]
Using Mach3Mi .-4 Rev 1.84-A2
Mach3 contros and running a %art %rogram
1--/ 7scala
*atores de escala para BualBuer dos ei>os pode ser definido por K05 e pode ser cancelada por
K0.
De um fator de escala %outro Bue 5.& seAa definido, em seguida, 8 aplicado para as
coordenadas Buando eles aparecem no KH4ode %por e>emplo, Y te>to, ` te>to `, etc&
, escala M7! pisca como um lembrete Bue uma escala foi definida para um ei>o
= valor definido pelo K05 vai aparecer e pode ser definido na escala !9=
=s valores negativos representam as coordenadas sobre o ei>o em causa
_
..2.2., -o"timits
The So%tlimits button enables the softlimits values defined in 4onfigoNoming(Mimits
]
1--0 Mimites por Doft#are
= boto permite Bue os valores seAam definidos em' Mimits ( 4onfigo Noming
_
..2.2.. Geri"y
The <eri%y button, #hich is onl+ applicable if +ou have Nome s#itches, #ill move to
them to verif+ if an+ steps might have been lost during preceding machining operations
]
1--1 Lerificao
= boto Lerificar, Bue sI 8 aplicvel se vocF tiver chaves de Nome, vai passar por elas
para verificar se as medidas poderiam ter sido perdidas durante operaes de usinagem
anterior
_
..2.2.0 *iameterHRadius correction
9otar+ a>es can have the appro>imate si?e of the #or$piece defined using the 9otational
!iameter control famil+ This si?e is used #hen ma$ing blended feedrate calculations
for coHordinated motion including rotational a>es The M7! indicates that a nonH?ero
value is defined
]
1--J !iRmetro ( 9aio de correo
7i>os rotativos, podem ter o seu tamanho definido utili?ando o controle da famClia de
!iRmetro7sse tamanho 8 usado para fa?er clculos coordenando ,vano e Movimento,
incluindo os ei>os de rotao
= M7! indica Bue um valor diferente de ?ero 8 definido
1-3 4ontrole de movimento para' SMove to S
7>istem muitos botes em telas diferentes, destinados a fcilitar o movimento da ferramenta
%ponto de controle& para um determinado local %por e>emplo, mudana de ferramenta&
7stes botes incluem' Koto Vs para movimentar todos os ei>os para ?ero,
Koto Mudana de *erramenta,
Koto Dafe V
Koto Nome
Rev 1.84-A2 .-, Using Mach3Mi
Mach3 contros and running a %art %rogram
,l8m disso Mach3 pode se lembrar de dois conAuntos diferentes de coordenadas e vo para
eles sobre demanda
7les so acionados por' Det 9eference 3oint %!efinir 3onto de 9eferFncia& e Koto 9ef 3oint
%L para o ponto de referencia&
1-/ M!E e *amilia de 7nsino
Minhas de KH4ode %Glocos& podem ser inseridos, para imediata e>ecuo, na
M!E %Manual !ata 7ntrada de linha&
Esto 8 selecionado clicando nele ou por M!E hot$e+ %7ntre na configurao padro&
Uuando a linha ficar ativa sua cor muda de cor e uma cai>a flutuante mostrando os comandos
Bue entraram recentemente 8 e>ibido
Um e>emplo 8 mostrado na figura 10
Teclas de setas para cima e teclas de seta para bai>o podem ser usado para selecionar a linhal
de modo Bue vocF pode reutili?ar uma linha Bue A tenha usado
, tecla 7nter causa a e>ecuo da linha atual do M!E e ele permanece ativo para a entrada de
outro conAunto de comandos
, tecla 7sc cancela a linha e a desmarca
Z preciso lembrar Bue, Buando 8 selecionadas todas as entradas do teclado e entrada de um
emulador de teclado 8 escrito na linha de M!E em ve? de controlar Mach3
7m particular, teclas de movimentao no sero reconhecidas' vocF deve teclar 7sc depois de
usar M!E
Mach3 pode lembrar de todas as linhas digitadas em M!E como ele 8 e>ecutado e arma?enH
los em um arBuivo usando o Teach Mode% modo de 7nsinar&
4liBue em Eniciar Teach, digite os comandos necessrios e, em seguida, cliBue em 3arar
ensinar = M7! pisca para lembrar Bue vocF est no modo de programao
=s comandos so grsvsdos no arBuivo com o nome convencional'
S4'(Mach3(KH4ode(M!ETeachtapS
4licandoHse em Moad ( 7ditar ir carregar este arBuivo em Mach3 onde ele pode ser e>ecutado
ou editado da forma habitual
LocF precisa 7>ecutar o programa para o ver na tela
De deseAar manter um determinado conAunto de comandos gravados, vocF deve editar o arBuivo
e usar Dalvar como no editor e dar ao arBuivo um nome e colocHlo em uma pasta conveniente
1-0 *amClia de 4ontrole de Movimentos
4ontroles de Movimento so agrupados em uma tela especial, Bue entra e sai Buando a tecla
Tab 8 pressionada no teclado 7scondeHse Buando Tab 8 novamente acionada

Dempre Bue o 2og ="X =** 8 e>ibido na tela atual, em seguida, os ei>os da mBuina podem
ser movimentados utili?ando'
%a& as teclas de atalho Aog H incluindo um M3K ligados atrav8s de uma emulador de teclado' as
teclas de atalho so definidas em hot$e+s 4onfigure ,>is,
Using Mach3Mi .-. Rev 1.84-A2
Mach3 contros and running a %art %rogram
%b& o volante M3K %D& conectada a um codificador na porta paralela, ou um dispositivo
Modbus
%c& Ao+stic$s interface como UDG Numan Enterface !evices, ou
%e& como uma caracterCstica de legado, um anlogo compatCvel com @indo#s Ao+stic$ De a
2og boto =" ( =** no 8 e>ibida ou 8 alternado para =**, ento , movimentao no 8
permitida por ra?es de segurana
1-05 Aogging Not$e+
7>istem trFs modos' 4ontCnuo, Dtep e M3K, Bue so selecionados pelo boto 2og Mode
e indicado pelos M7!s
Modo contCnuo move o ei>o ou ei>os, "a [Ta>a Menta A definida\ , Buando as teclas de atalho
so apertadas
, movimentao em alta velocidade pode ser usada com teclas de atalho no modo contCnuo e 8
definida como uma porcentagem do contido no !9= [Dlo# 2og 3ercentage
Esso pode ser configurado %no intervalo entre .,5m a 5..m& digitandoHse no !9=
3odem ser alterados em incrementos de 0m, com os botes ou as suas hot$e+s
7ste percentual Dlo# 2og pode ser substituCdo por apertar Dhift com a correspondente tecla de
atalho %s&
Um M7! ao lado do 4ont M7! indica Bue a velocidade m>ima esta selecionada
Modo de 3asso move o ei>o em um incremento %conforme definido pelo incremento 2og !9=&
para cada tecla pressionada
, corrente ta>a de avano %como definido com o cIdigo *& 8 usado para esses movimentos
= tamanho do incremento pode ser definido, digitando em Dtep !9= ou valores podem ser
fi>ados no presente !9= em ciclos atrav8s de um conAunto de 5. valores definidos pelo
usurio utili?ando o boto 4+cle 3asso 2og
= Modo incremental 8 selecionado pelo boto de alternRncia ou, se em modo contCnuo
temporariamente selecionadas pressionando 4trl antes de e>ecutar o movimento
1-0- porta paralela ou Modbus movimentao M3K
,t8 trFs codificadores de Buadratura ligados Ts portas paralelas ou ModGus pode ser
configurado como M3Ks para movimentao usando o 2og Mode para selecionar M3K 2og
Mode
= ei>o Bue vai do M3K Aogs 8 indicado pelos M7!s e os ei>os so instalados ciclados
atrav8s da tecla ,ltH, para M3K5, ,ltHG para M3K- e ,ltH4 para M3K3
Dobre o grfico da M3K ala so um conAunto de botes para selecionar o modo M3K
7m M3K Lelocit+ Mode a velocidade do movimento do ei>o est relacionado com a
velocidade de rotao do M3K com Mach3 ara garantir Bue a acelerao do ei>o e velocidade
m>ima seAa honrada
Esso d uma sensao muito natural ao ei>o de movimento Modo 3asso modo M3K (
Lelocidade atualmente trabalha como modo de velocidade
"o modo Dingle Dtep cada Sclic$S de pedidos M3K um encoder incremental passo Aog
%4om o conAunto de distRncia, para fa?er Aogging 3asso hot$e+&
Rev 1.84-A2 .-0 Using Mach3Mi
Mach3 contros and running a %art %rogram
,penas um pedido a um tempo ser permitido 7m outras palavras, se o ei>o A est se
movendo, em seguida, um ScliBueS ser ignorado
7m modo multiHpasso, os cliBues sero contabili?ados e em fila para a ao
"ote Bue isto significa Bue para passos largos rpido movimento da roda pode significar Bue o
ei>o movimenta uma considervel distRncia e por algum tempo apIs o movimento da roda
parar
,s etapas so implementado com um dado avano estabelecido em !9= M3K
7stes modos de passo so de uso particular em fa?endo muito bem os movimentos controlados
Buando a criao de trabalho em uma mBuina
LocF so aconselhados a comear a usar o Lelocit+ Mode
1-03 famClia de controle de velocidade do Dpindle
!ependendo do proAeto de sua mBuina, o ei>o da mBuina pode ser controlado de trFs
maneiras'
%a& , velocidade 8 fi>a ( ligado e desligado a mo,
%b& , Lelocidade 8 fi>a ( ligada e desligada por MHcodes via saCdas de ativao e>terna,
%c& !efinio de velocidade por 3@M usando Mach3 ou passo ( direo unidade
7sta famClia de controle 8 importante apenas para o caso %c&
= visuali?ador D tem o seu valor definido Buando uma palavra D 8 usado em um programa da
pea
Z o deseAado na velocidade do Dpindle
Tamb8m pode ser definido, posicionando no !9=
Mach3 no permitir Bue vocF definaHo de outra maneira Bue a uma velocidade menor do Bue
o fi>ado na Minima Lelocidade ou maior do Bue o definido no guia Ma> Dpeed em 4onfigo
3ort l 3ins 7i>o de instalao para a polia escolhida
De a entrada de Cndice est configurado e um sensor Bue gera pulsos como o ei>o gira
est ligado ao seu pino, em seguida, a velocidade atual ser e>ibida no visuali?ador 93M =
93M !9= no pode ser definida por vocF H use o visuali?ador D para comandar uma
velocidade
1-1 *amClia de 4ontrole de alimentao
1-15 Unidades de ,limentao por minuto
= 3rog *eed !9= mostra a ta>a de alimentao na unidade selecionada atualmente
%polegadas ( milCmetros por minuto&
7le 8 definido pela palavra * em um programa da pea ou digitando na * !9=
Mach3 dever usar esta ta>a, como a velocidade de e>ecuo em um programa da pea como a
ta>a real da coordenada movimento da ferramenta atrav8s do material
De esta ta>a no 8 possCvel devido T velocidade m>ima permitida de BualBuer ei>o, a ta>a de
alimentao real ser o maior possCvel
1-1- Unidades de ,limentao por rev
Using Mach3Mi .-8 Rev 1.84-A2
Mach3 contros and running a %art %rogram
4omo cortadores modernos so muitas ve?es especificados para cortar com SpontasS, pode ser
conveniente para especificar o avano por rotao %ou seAa' alimentao por ponta > nmero de
pontas da ferramenta&
= visuali?ador *eed 3rog d a ta>a de alimentao em unidades de corrente %3olegadas (
milCmetros& por rev do spindle
Esto 8 definido pela palavra * em um programa da pea ou digitando no !9=
, revoluo do spindle pode ser determinado pela !9= D ou da medida de contagem de
velocidade de pulsos de Cndice 4onfigo Mogic tem uma opo para definir Bual Mach3 vai
adotar
3ara empregar *eed Units ( rev, Mach3 deve saber o valor da medida da velocidade escolhida
do spindle Bue deve ter sido por'
%a& definida em um cIdigo D ou dados inseridos no D !9= na famClia de controle de
velocidade do ei>o ou
%b& o Cndice deve estar conectado para medir a real velocidade do spindle&
]=bserve Bue os valores num8ricos no controle ser muito diferente a no ser Bue a velocidade
do spindle fiBue perto de 5 rpmb 7nto, usando uma figura de alimentao por minuto, com
alimentao por rev modo provavelmente produ?ir uma Buebra desastrosa _
1-13 Mostrando a ,limentao
, alimentao atual em funcionamento para permitir o movimento coordenado de todos os
ei>os 8 e>ibido na Unidades ( min e Unidades ( rev De a velocidade do ei>o no est definida e
a velocidade do ei>o real no 8 medida em seguida, o valor de *eed por rev ficar sem sentido
1-1/ ,limentao Bue prevalesce
,o menos Bue M/6 est sendo usada, a velocidade de avano pode ser substituCdo
manualmente, na fai>a de -.m a -66m, atrav8s da introduo de uma percentagem da !9=
7ste valor pode ser atingido %7m passos de 5.m& com os botes ou seus atalhos de teclado e
sero redefinidos para 5..m = M7! alerta para uma substituio est em operao
= *9= !9= e>ibe o resultado da aplicao do calculo do percentual do avano
1-J 7>ecuo do programa
7sses controles lidam com a e>ecuo de um programa carregado ou parte dos comandos em
uma linha M!E
1-J5 inCcio do ciclo
Degurana aviso' "ote Bue o boto 4+cle Dtart, em geral vsi iniciar o movimento do spindle
!eve sempre ser configurado para e>igir as Sduas mosS na operao e se vocF estiver
atribuindo o seu prIprio hot$e+s, no deve ser apenas uma nica tecla
1-J- 3arada da ,limentao
= boto *eedhold ir parar a e>ecuo do programa da pea, o mais rapidamente possCvel, mas
de forma controlada para Bue ele possa ser reiniciado 4+cle Dtart
= ei>o e refrigerao perrmanecero ligados, mas podem ser parados manualmente, se
necessrio
Uuando em *eedNold vocF pode movimentar os ei>os, substituir uma ferramenta Buebrada etc
Rev 1.84-A2 .-1 Using Mach3Mi
Mach3 contros and running a %art %rogram
De vocF parou o spindle ou a refrigerao, vocF geralmente deve ligHlos antes de continuar a
e>ecuo de um programa de pea, contudo, lembreHse das posies do ei>o no momento da
*eedNold e retornar a eles antes de continuar o programa da pea
1-J3 Dtop
Dtop, pra o movimento do ei>o o mais rapidamente possCvel 3ode resultar em passos
perdidos %especialmente em ei>os desli?antes motori?ados& e a reiniciali?ao pode no ser
vlida
1-J/ 9e#ind
9ecua o programa carregado Bue esta em e>ecuo
1-J0 Dimples GMO
DingleGMO 8 um Miga(!esliga %com indicador M7!&
"o modo de um nico bloco de inCcio do ciclo ser e>ecutar a prI>ima linha nica parte do
programa e digite *eedNold
1-J1 7>ecuo 9eversa
9everse 9un 8 Miga(!esliga %com indicador M7!&
!eve ser usado apIs uma *eed Nold ou Dingle Gloco e o prI>imo 4+cle Dtart dever fa?er Bue
programa seAa e>ecutado em sentido inverso
Esto 8 particularmente til na recuperao de uma condio perdida do arco de corte de plasma
ou uma ferramenta Buebrada
1-JJ Minha "mero
Minha !9= 8 um nmero ordinal da linha atual no visor do KW4ode %Eniciando de .&
"ote Bue isto no est relacionado com a palavra S"S nmero da linha S
LocF pode escrever no !9= para definir a linha atual
1-J: 7>ecutar daBui
7>ecutar a partir daBui, fa? uma simulao de parte do programa para estabelecer Bue o estado
modal %K-.(K-5, K6.(K65 etc& deve ser, e ento pede um movimento para colocar o ponto de
controle na posio correta para o inCcio da linha
LocF no deve tentar 7>ecutar a partir de aBui, no meio de uma subHrotina
1-J6 !efinir prI>ima linha
7>ecutar a partir de aBui, mas sem a definio do modo de preparao ou de movimento
1-J5. Gloc$ !elete
= boto 7>cluir alterna a chave de Gloc$ !elete De ativado, em seguida, as linhas de KH4ode
Bue comeam com uma barra H ou seAa, ( H no ser e>ecutado
1-J55 parada opcional
= boto *im alterna a chave de parada opcional De ativado, o comando M.5
ser tratado como M..
1-: *amClia de 4ontrole de ,rBuivo
Using Mach3Mi .-1+ Rev 1.84-A2
Mach3 contros and running a %art %rogram
7sses controles, figura 16, esto envolvidos com o arBuivo do seu programa da pea 7les
devem ser autoHevidente na operao
1-6 !etalhes da *erramenta
"o grupo de detalhes da ferramenta figura 16, os controles e>ibem a ferramenta atual, os
deslocamentos para o seu comprimento e diRmetro e, em sistemas com entradas !igitali?adas,
permitem Bue seAa automaticamente ?erado o plano V
, menos Bue os pedidos de mudana de ferramenta esto sendo ignoradas %4onfigo Mogic&, ao
se deparar com um M1 Mach- vai se mover para Dafe V e parare vai piscar o Med de alterar
ferramenta
LocF poder continuar %depois de trocar a ferramenta&, clicando em EnCcio do ciclo
= tempo decorrido para este trabalho 8 e>ibido em horas, minutos e segundos
1-5. KH4ode e a famClia de controle do caminho da ferramenta
= programa e>ecutando atualmente um pea 8 e>ibido na Aanela do KH4ode
, linha atual 8 destacada e pode ser movid usando a barra de rolagem na Aanela
, e>ibio do caminho da ferramenta, figura 15., mostra o caminho Bue o ponto controlado
seguir no plano Y, `, V
Uuando um programa est sendo e>ecutado o caminho 8 pintado na cor selecionado em
4onfigo toolpath
7sta sobrepintura 8 dinRmica e no 8 preservada Buando alterna entre telas ou alterar pontos de
vista dos toolpath
7m certas ocasies vocF ver Bue a tela no seguir e>atamente o caminho previsto
Esto ocorre pela seguinte ra?o, Mach3 priori?a as tarefas Bue est fa?endo
7nviando pulsos de passo e>atamente para a mBuinaHferramenta, esta 8 a sua primeira
prioridade !esenhar o caminho da ferramenta 8 uma prioridade mais bai>a
Mach3 vai colocar os pontos na tela do caminho da ferramenta sempre Bue tiver o tempo livre
e unir esses pontos por linhas retas ,ssim, se o tempo 8 curto, apenas alguns pontos sero
escolhidos e os cCrculos durante e>ecuo de um programa de peas tendem a aparecer como
polCgonos onde os lados retos so muito visCveis Esso no 8 nada para se preocupar
, 7>ecuo do 3rograma de Dimulao ir e>ecutar o KH4ode, mas sem nenhum movimento
da ferramenta, e permitir Bue o tempo para fa?er a pea possa ser estimado
=s dados de limite do programa permitem verificar a e>curso m>ima do ponto controlado de
forma a ficar dentro do ra?ovel %por e>emplo, no moer a sua mesa&
, imagem tamb8m mostra visuali?adores ei>os !9=s e alguns controles de e>euo do
3rograma
De vocF tiver definido D=*TMEMETD Bue correspondem ao tamanho da sua mesa da mBuina,
ento 8 muitas ve?es til usar o boto 7>ibir para alternar entre o modo de trabalho para
mostrar o Buadro com o caminho da ferramenta em relao a sua mesaLeAa figura 155
=s dados na tela, podem movidos para a esBuerda clicando e arrastando o mouse nele
7le pode ser ampliado por shiftHesBuerda clicando e arrastando e pode ser deslocado arrastando
com um cliBue direito
Rev 1.84-A2 .-11 Using Mach3Mi
Mach3 contros and running a %art %rogram
= boto Kerar vai regenerar o caminho da ferramenta e mostrar a partir do KH4ode Bue esta
atualmente habilitado com o deslocamentos em K6-
"ota' Z muito importante em regenerar o toolpath depois de alterar os valores das
compensaes, tanto para obter o efeito visual correto e porBue 8 utili?adas para e>ecutar
clculos Buando se utili?a K/- e K/3 para a compensao do cortador
1-55 Trabalho offset e uma ferramenta de controle de tabela de famClia
Trabalho =ffset e tabelas ferramenta pode ser acessada a partir do menu do operador e,
evidentemente, no um programa da pea, mas muitas ve?es 8 mais conveniente para manipulH
los atrav8s dessa famClia 9emeter para o 4apCtulo J para obter informaes sobre as tabelas e
t8cnicas, como STocandoS
3or causa das definies subAacentes KW4ode de trabalho =ffset e tabelas ferramenta de
trabalho em pouco maneiras diferentes
,viso' , alterao do Trabalho e deslocamentos ferramenta em uso nunca realmente move a
ferramenta a mBuina, embora, naturalmente alterar as leituras ei>o !9=
"o entanto, um movimento K.,K5 etc&, apIs aAuste offsets novos ser no novo sistema de
coordenadas
LocF tem Bue entender o Bue vocF est fa?endo se vocF deseAo de evitar falhas no sua mBuina
1-555 !eslocamento de Trabalho
Mach3 por padro utili?a para seu deslocamento de Trabalho o nmero 5
7scolha BualBuer valor de 5H-00, e coloBue no =ffset !9= e este ser o seu deslocamento de
trabalho %Ts ve?es so chamado de !eslocamentos fi>os
!igitando no !9= eBuivalente a uma parte do programa de emisso K00 a 06 ou K0:5 para
K06-03
%Uv&
LocF tamb8m pode definir o actual sistema offset usando os botes de fi>ao
LocF pode alterar o valor dos valores de deslocamento, escrevendo no !9= em 3art =ffset
%!eslocamento de 3ea 8 outro nome para a fi>ao do trabalho&
=s valores tamb8m podem ser definidas nestes !9=s movendo os ei>os para um local
deseAado e clicar em !efinir ou boto Delect =s ei>os Y e ` e V so definidos de forma
ligeiramente diferente
V 8 mais fcil de entender isso vamos descrevFHlo primeiro
= deslocamento de V geralmente 8 criado com uma ferramenta de SmestreS no spindle
o V para outras ferramentas sero corrigidas pela mesa de ferramentas
Um bloco de calibre ou at8 mesmo um pedao de papel alumCnio ou papel 8 desli?ado entre a
ferramenta e a parte superior do trabalho %se este for a V n .,.& ou a mesa %se 7sta 8 a V n .,.&
= ei>o V ento 8 movimentado muito suavemente para bai>o at8 Bue o medidor fiBue preso
apenas pela ferramenta
, espessura da bitola 8 inserido no bloco no !9= ,ltura V se boto for clicado
Esto ir definir o valor V do deslocamento para o trabalho atual para uma ferramenta Bue esta
em uma determinada altura
Using Mach3Mi .-12 Rev 1.84-A2
2
Mach3 contros and running a %art %rogram
= processo de Y e ` 8 similar, e>ceto Bue o toBue pode ser feito em BualBuer um dos Buatro
lados da pea e tem Bue ter levado em conta o diRmetro da ferramenta %ou sonda& e a
espessura de um gabarito do Bue foi usado para dar a SsensaoS de tocar na pea
3or e>emplo, para definir a borda inferior de uma pea de material a ter ` n .. com uma
ferramenta de diRmetro de .,0 Se um bloco padro de .,5S, vocF deve digitar .,J de !iametro
no !9= %diRmetro da ferramenta mais duas ve?es o calibre& e cliBue no boto Delecionar do
Bue foi selecionado, dependendo da configurao do deslocamento persistente e Dalvar =ffsets
em 4onfigo o 7stado novos valores sero lembrados a partir daBui
1-55- *erramentas
,s ferramentas so numeradas de . a -00
= nmero da ferramentas 8 selecionado pelo cIdigo T em um programa de pea ou
digitando o nmero T no !9= correspondente
Deus deslocamentos so considerados somente se estiver ligado no boto =ffset Tool
=n ( =ff %ou ainda o K/3 e K/6 eBuivalente na parte do programa&
7m Mach3Mill sI o V offset de !iRmetro 8 utili?ado para a ferramenta
= diRmetro pode ser inseridos no !9= e VHoffset %ou seAa, a compensao para o
comprimento da ferramenta& ser inserido diretamente ou por cliBues
1-553 ,cesso direto aos deslocamentos por Tabela
,s tabela podem ser abertos e editados diretamente e depois salvadas
_
6.2.3 ;!ove to; controls
There are man+ buttons on different screens designed
to ma$e it eas+ to move the tool %controlled point& to a
particular location %eg for a tool change& These
buttons include' 3oto ?s to move all a>es to ?ero, 3oto
Tool ,hange, 3oto Sa%e ?2 3oto !ome.
En addition Mach3 #ill remember t#o different sets
of coordinates and go to them on demand These are
controlled /y Set 4e%erence +oint and 3oto 4e% +oint,
and b+ Set <aria/le +osition and 3oto <aria/le
+osition
6.2.4 !DI and Teach control a$il&
KH4ode lines
%bloc$s& can be
entered, for
immediate
e>ecution, into the
M!E %Manual !ata
Enput& line This is
selected b+
#igure ..4 ) Controed %oint
memories A $each
clic$ing in it or the
#igure .., ) M*I ine
M!E hot$e+ %7nter in the default configuration& @hen
the M!E line is active its color changes and a fl+out
bo> sho#ing the recentl+ entered commands is
displa+ed
,n e>ample is sho#n in figure 10 The cursor up and
do#n arro# $e+s can be used to select from the fl+out
so that +ou can reuse a line that +ou have alread+
entered The Enter $e+ causes Mach3 to e>ecute the
current M!E line and it remains active for input of
another set of commands The Esc $e+ clears the line
and deHselects it `ou need to remember that #hen it
is selected all $e+board input %and input from a
$e+board
emulator or custom $e+board& is #ritten in the M!E
line rather than controlling Mach3 En particular,
Aogging $e+s #ill not be recognised' +ou must Esc after
entering M!E
Mach3 can remember all the M!E lines as it
e>ecutes them and store them in a file b+ using the
Teach
facilit+ 4lic$ Start Teach, enter the reBuired
commands
and then clic$ Stop Teach The M7! blin$s to remind
+ou that +ou are in Teach Mode The commands are
#ritten in the file #ith the conventional name
S4'(Mach3(KH4ode(M!ETeachtapS 4lic$ing
Moad(7dit #ill load this file into Mach3 #here it can be
run or edited in the usual #a+ d +ou need to go to the
3rogram 9un screen to see it Ef +ou #ish to $eep a
given set of taught commands then +ou should 7dit the
file and use Save #s in the editor to give it +our o#n
name and put it in a convenient folder
6.2.5 <ogging control a$il&
2ogging controls are collected on a special screen
#hich fl+sHout into use #hen the Ta/ $e+ is pressed on
the $e+board Et is hidden b+ a second press of Ta/
This is illustrated in figure 11(
#igure ... - 2ogging contro
"amiy
@henever the 0og O1NOFF button is displa+ed on the current screen then the a>es of the
machine can be Aogged using %a& the Aog hot$e+s d including an M3K connected via a
$e+board emulator' the hot$e+s are defined in 4onfigure ,>is hot$e+se %b& M3K
hand#heel %s& connected to an encoder on the parallel porte or a Modbus device %c&
Ao+stic$s interfaced as UDG Numan Enterface !evicese or %e& as a legac+ feature, a
@indo#s compatible analog Ao+stic$
Ef the 0og O1)OFF button is not displa+ed or it is toggled to =** then Aogging is
not allo#ed for safet+ reasons
..2.,.1 &ot4ey Iogging
There are three modes 4ontinuous, Dtep and M3K #hich are selected b+ the 0og Mode
button and indicated b+ the M7!s
4ontinuous mode moves the a>is or a>es at the defined slo# Aog rate #hile the hot$e+s
are depressed
The Aogging speed used #ith hot$e+s in 4ontinuous mode is set as a percentage of the
rapid traverse rate b+ the Slo" 0og +ercentage !9= This can be set %in the range .5m to
5..m& b+ t+ping into the !9= Et can be nudged in 0m increments b+ the buttons or their
hot$e+s
This Slo" 0og +ercentage can be overridden b+ depressing Shi%t #ith the hot$e+%s& ,n
M7! beside the 4ont M7! indicates this full speed Aogging is selected
Dtep mode moves the a>is b+ one increment %as defined b+ the 0og Increment !9=&
for each $e+press The current feedrate %as defined b+ the * #ord& is used for these
moves
The si?e of increment can be set b+ t+ping it into the Step !9= or values can be set in this
!9= b+ c+cling through a set of 5. user definable values using the ,ycle 0og Step button
Encremental mode is selected b+ the toggle button or, if in 4ontinuous Mode
temporaril+ selected b+ holding do#n 4trl before performing the Aog
..2.,.2 !arae %ort or Mod/us M!8 Iogging
Up to three Buadrature encoders connected to the parallel ports or ModGus can be
configured as M3Ks for Aogging b+ using the 0og Mode button to select M+3 0og
Mode
The a>is that the M3K #ill Aogs is indicated b+ the M7!s and the installed a>es are
c+cled through b+ the ,ltH, button for M3K5, ,ltHG for M3K- and ,ltH4 for M3K3
=ver the graphic of the M3K handle are a set of buttons for selecting the M3K mode
En M+3 <elocity Mode the velocit+ of the a>is movement is related to the rotational
speed of the M3K #ith Mach3 ensuring that the acceleration of the a>is and top speed if
honoured This gives a ver+ natural feel to a>is movement M+3 Step)<elocity mode
currentl+ #or$s li$e velocit+ mode
En Single Step mode each Sclic$S from the M3K encoder reBuests one incremental Aog
step %#ith the distance set as for hot$e+ Dtep Aogging& =nl+ one reBuest at a time #ill be
allo#ed En other #ords if the a>is is alread+ moving then a gclic$h #ill be ignored En
M$lti7step mode, clic$s #ill be counted and Bueued for action "ote that this means that
for large steps rapid movement of the #heel ma+ mean that the a>is moves a considerable
distance and for some time after the #heel movement has stopped The steps are
implemented #ith the federate given b+
the M+3 Feedrate !9=
These step modes are of particular use in
ma$ing ver+ fine controlled movements
#hen setting up #or$ on a machine
`ou are advised to start using Lelocit+
Mode
..2.,.3 -%inde -%eed contro "amiy
!epending on the design of +our
machine, the machine spindle can be
controlled in three #a+s' %a& Dpeed is
fi>ed(set b+ hand, s#itched on and off
b+ hande %b& Dpeed fi>ed(set b+ hand,
s#itched on and off b+ MHcodes via
e>ternal activation outputs, %c& Dpeed set
b+ Mach3 using 3@M or step(direction
drive
#igure ... - -%inde s%eed contro "amiy
This control famil+ is onl+ important for case %c&
The S !9= has its value set #hen an D #ord is used in a part program Et is the
desired spindle speed Et can also be set b+ t+ping into the !9=
Mach3 #ill not allo# +ou to tr+ to set it %in either #a+& to a speed less than that set in
Min Speed or greater than that set in Ma5 Speed on 4onfigo3ort l 3ins Dpindle Detup
tab for the chosen pulle+
Ef the Inde5 input is configured and a sensor #hich generates pulses as the spindle revolves
is connected to its pin, then the current speed #ill be displa+ed in the 4+M !9= The 4+M
!9= cannot be set b+ +ou d use the S !9= to command a speed
6.2.6 =eed control a$il&
..2...1 #eed Units %er minute
The +rog Feed !9= gives the feed rate in current units %inches(millimetres per minute&
Et is set b+ the * #ord in a part program or b+ t+ping into the F !9= Mach3 #ill aim to
use
this speed as the actual rate of the coH
ordinated movement of the tool through the
material Ef this rate is not possible because of
the ma>imum permitted speed of an+ a>is
then the actual feed rate #ill be the highest
achievable
..2...2 #eed Units %er rev.
,s modern cutters are often specified b+ the
permitted cut per StipS it ma+ be convenient to
specif+ the feed per revolution %ie feed per
tip x number of tips on tool& The +rog Feed
!9= gives the feed rate in current units
%inches(millimetres& per rev of the spindle Et
is
set b+ the * #ord in a part program or b+
t+ping into the !9=
#igure ..0 #eed contro "amiy
, revolution of the spindle can either be determined b+ the S !9= or from the measured
speed b+ counting inde> pulses 4onfigoMogic has a chec$bo> to define #hich Mach3
#ill adopt
To emplo+ *eed units(rev, Mach3 must $no# the value of the chosen measure of the
speed of the spindle %ie it must have been %a& defined in an D #ord or b+ data entered to
S !9=
in the Dpindle speed control famil+ or %b& the Ende> must be connected up to measure
actual spindle speed&
%otice that the numeric values in the control will be very different unless spindle
speed is near to + rpm* So using a feed per minute figure with feed per rev mode will
probably produce a disastrous crash.
..2...3 #eed dis%ay
The actual feed in operation allo#ing for the coHordinated motion of all a>es is displa+ed
in =nits)min and =nits)rev. Ef the spindle speed is not set and the actual spindle speed is
not measured then the Feed per rev value #ill be meaningless
..2...4 #eed override
Unless M/6 %!isable feedrate override& is in use, the feedrate can be manuall+
overridden, in the range -.m to -66m, b+ entering a percentage in the !9= This value
can be nudged %in steps of 5.m& #ith the buttons or their $e+board shortcuts and be reset
to 5..m The M7! #arns of an override is in operation
The F4O !9= displa+s the calculated result of appl+ing the percentage override to the
set feedrate
6.2." ,rogra$ )%nning control a$il&
These controls handle the e>ecution of a loaded part program or the commands on an M!E
line
..2.0.1 Cyce -tart
Safety warning$ "ote that the ,ycle Start button #ill, in general, start the spindle and
a>is movement Et should al#a+s be configured to reBuire St#o handS operation and if +ou
are assigning +our o#n hot$e+s it should not be a single $e+stro$e
..2.0.2 #eed&od
The *eedhold button #ill stop the e>ecution of the part program as Buic$l+ as possible
but in a controlled #a+ so it can be restarted b+ 4+cle Dtart The spindle and coolant #ill
remain on but can be stopped manuall+ if reBuired
@hen in *eedNold +ou can Aog the a>es, replace a bro$en tool etc Ef +ou have stopped
the spindle or coolant then +ou #ill generall+ #ant to turn them on before continuing
Mach3
#ill ho#ever, remember the a>is positions at the time of the *eedNold and return to
them before continuing the part program
#igure ..8 - !rogram running "amiy
..2.0.3 -to%
Stop halts a>is motion as Buic$l+ as possible Et ma+ result in lost steps %especiall+
on stepper motor driven a>es& and restarting ma+ not be valid
..2.0.4 Re'ind
9e#inds the currentl+ loaded part program
..2.0., -inge D;C
Single-LO is a toggle %#ith indicator M7!& En Dingle Gloc$ mode a 4+cle Dtart
#ill e>ecute the ne>t single line of the part program and then enter *eedNold
..2.0.. Reverse Run
4everse 4$n is a toggle %#ith indicator M7!&. Et should be used after a *eed Nold or Dingle
Gloc$ and the ne>t 4+cle Dtart #ill cause the part program to run in reverse This is
particularl+ useful in recovering from a lost arc condition in plasma cutting or a bro$en
tool
..2.0.0 ;ine Num/er
Line !9= is the ordinal number of the current line in the KH4ode displa+ #indo#
%starting from .& "ote that this is not related to the S" #ordS line number
`ou can t+pe into this !9= to set the current line
..2.0.8 Run "rom here
4$n %rom here performs a dumm+ run of the part program to establish #hat the modal state
%K-.(K-5, K6.(K65 etc& should be and then prompts for a move to put the controlled
point in the correct position to for the start of the line in Line 1$m/er. `ou should not
attempt to 4$n %rom here in the middle of a subroutine
..2.0.1 -et ne9t ine
Mi$e 4$n %rom here but #ithout the preparator+ mode setting or move
..2.0.1+ Doc4 *eete
The Delete button toggles the Gloc$ !elete Ss#itchS Ef enabled then lines of KH4ode
#hich start #ith a slash H ie ( H #ill not be e>ecuted
..2.0.11 (%tiona -to%
The 7nd button toggles the =ptional Dtop Ss#itchS Ef enabled then the M.5 command
#ill be treated as M..
6.2.9 =ile control a$il&
These controls, figure 16, are involved #ith the file of +our part program The+ should
be selfHevident in operation
6.2.> Tool details
En the Tool !etails group, figure 16, controls displa+
the current tool, the offsets for its length and
diameter and, on s+stems #ith a !igities input, allo#
it to be automaticall+ ?ero to the V plane
Unless tool change reBuests are being ignored
%4onfigoMogic&, on encountering an M1 Mach3
#ill move to Dafe V and stop, flashing the Tool
,hange
M7! `ou continue %after changing the tool& b+ clic$ing
,ycle Start
The elapsed time for the current Aob is displa+ed
in hours, minutes and seconds
6.2.1? @-Code and Toolpath control
a$il&
#igure ..1 ) $oo *etais
The currentl+ loaded part program is displa+ed in the KH4ode #indo# The current line
is highlighted and can be moved using the scroll bar on the #indo#
The Toolpath displa+, figure 15., sho#s the path that the controlled point #ill follo# in
the Y, `, V planes @hen a part program is e>ecuting the path is overpainted in the color
selected in 4onfigoToolpath This overpainting is d+namic and is not preserved #hen +ou
change screens or indeed alter vie#s of the toolpath
=n occasions +ou #ill find that the displa+ does not e>actl+ follo# the planned path Et
occurs for the follo#ing reason Mach3 prioritises the tas$s it is doing Dending accurate
step pulses to the machine tool is the first priorit+ !ra#ing the tool path is a lo#er
priorit+
Mach3 #ill dra# points on the toolpath displa+ #henever it has spare time and it Aoins
these points b+ straight lines Do, if time is short, onl+ a fe# points #ill be dra#n and
circles #ill
#igure ..1+ - $oo%ath "amiy
tend to appear as pol+gons #here the straight sides are ver+ noticeable This is nothing
to #orr+ about
The Sim$late +rogram 4$n button #ill e>ecute the KH4ode, but #ithout an+ tool
movement, and allo# the time to ma$e the part to be estimated
The +rogram Limits data allo# +ou to chec$ the ma>imum e>cursion of the
controlled point to be reasonable %eg not milling the top off the table&
The screenshot also sho#s a>is !9=s and some 3rogram 9un controls
Ef +ou have defined softlimits #hich correspond to the si?e of +our machine table then it
is often useful to use the Display Mode button to toggle from 2ob to Table mode to sho#
the toolpath in relation to the table Dee figure 155
The toolpath displa+ can be
rotated b+ left clic$ing and
dragging the mouse in it Et
can be ?oomed b+ shiftHleft
clic$ing and dragging and
can be panned b+ dragging
a right clic$
The 4egenerate button #ill
regenerate the toolpath
displa+ from the KH4ode
#ith the currentl+ enabled
fi>ture and K6- offsets
%ote$ Et is ver+ important
to regenerate the toolpath
#igure ..11 ) $oo%ath in reation to ta/e
after changing the values of offsets both to get the correct visual effect and because it
is used to perform calculations #hen using K/- and K/3 for cutter compensation
6.2.11 5ork oset and tool table control a$il&
@or$ =ffset and Tool tables can be accessed from the =perator menu and, of course,
#ithin a part program but it is often most convenient to manipulate them through this
famil+ 9efer to chapter J for details of the tables and techniBues li$e STouchingS
Gecause of the underl+ing KH4ode definitions @or$ =ffset and Tool tables #or$ in
slightl+ different #a+s
<arning$ 4hanging the @or$ and Tool offsets in use #ill never actuall+ move the tool
on the machine although it #ill of course alter the a>is !9= readings No#ever, a move
K., K5 etc& after setting
ne# offsets #ill be in the
ne# coordinate s+stem
`ou must understand
#hat +ou are doing if +ou
#ish to avoid crashes on
+our machine
..2.11.1 6or4 (""sets
Mach3 b+ default uses
@or$ =ffset number 5
4hoosing an+ value from
5 to -00, and entering it
in the ,$rrent Wor.
O%%set !9=, #ill ma$e
that @or$ =ffset current
@or$ offsets are
sometimes called *i>ture
=ffsets
#igure ..12 ) 6or4 o""sets "amiy
T+ping into the !9= is eBuivalent to a part program issuing K00 to 06 or K0:5 to
K06-03 %Bv&
`ou can also set the current offset s+stem using the Fi5t$re buttons
`ou can change the value of the offset values for the current offset s+stem b+ t+ping
into the relevant +art O%%set !9=s %3art =ffset is +et another name for @or$ and
*i>ture offsetsb&
Lalues can also be set in these !9=s b+ moving the a>es to a desired place and clic$ing
as Set or Select /$tton. The Y and ` a>es and V a>is are set in slightl+ different #a+s V is
easier to understand so #e #ill describe it first
The V offset #ill usuall+ be set up #ith a gmaster toolh in the spindle The V for other tools
#ill then be corrected b+ the tool table , gage bloc$ or sometimes even a piece of foil or
paper is slid bet#een the tool and the top of the #or$ %if this is to be V n ..& or the table
%if this is to be V n ..& The V a>is is ver+ gentl+ Aogged do#n until the gage is Aust
trapped b+ the tool The thic$ness of the gage is entered into the 3age -loc. !eight !9=
and the Set ? /$tton is clic$ed This #ill set up the V value of the current #or$ offset so
that the tool is at the given height
The process for Y and ` is similar e>cept the touching might be done on an+ of four
sides of the part and account has to be ta$en of the diameter of the tool %or probe& and the
thic$ness of an+ gage being used to give gfeelh to the touching process
*or e>ample to set the bottom edge of a piece of material to be ` n .. #ith a tool of
diameter .0h and a .5h gage bloc$, +ou #ould enter .J in the Edge Finder Dia !9=
%ie the diameter of the tool plus t#ice the gage& and clic$ the Delect button that is ringed
in figure 15-
!epending on +our configuration of 3ersistent =ffsets and =ffsets Dave in 4onfigoDtate
the ne# values #ill be remembered from one run of Mach3 to another
..2.11.2 $oos
Tools are numbered from . to -00
The tool number is selected b+ the
T #ord in a part program or
entering the number in the T !9=
Ets offsets are onl+ applied if the+
are s#itched =n b+ the Tool O%%set
On)O%% toggle button %or the
eBuivalent K/3 and K/6 in the part
program&
En Mach3Mill onl+ the ? o%%set and
Diameter are used for tools The
diameter can be entered in the
!9= and the VHoffset %ie
compensation
#igure ..13 ) $oo (""set
for tool length& be entered directl+ or b+ Touching The Det Tool =ffset feature #or$s
e>actl+ as set V #ith #ith @or$ =ffsets
Tool =ffset data is made persistent bet#een runs in the same #a+ as @or$ =ffset data
..2.11.3 *irect access to (""set $a/es
The tables can be opened and edited directl+
using the Save Wor. O%%sets and Save Tool
O%%sets buttons or the =peratoro*i>tures %ie
@or$ =ffsets& and =peratoroTooltable
menus
6.2.12 )otational Dia$eter control
a$il&
,s described in the *eedrate
control famil+, it is possible to
define the appro>imate si?e of
a
#igure ..14 - Rotationa diameters
rotated #or$piece so the rotational a>is speed can be correctl+ included in the
blended feedrate The relevant diameters are entered in the !9=s of this famil+
The ,>is control *amil+ has #arning M7!%s& to indicated the setting of nonH?ero
values here
Lalues are not reBuired if rotar+ movement is not to be coordinated #ith linear a>es En
this case a suitable * #ord for degrees per minute or degrees per rev should be
programmed
]
1-5- *amilia dos controles de !iametro do 7i>o 9otativo
4onforme descrito na famClia de controle do avano, 8 possCvel definir o tamanho apro>imado
de uma ferramenta de trabalho rotativa nos controles do Mach3 para Bue seAam combinados na
e>ecuo de um programa de pea para poder ser considerados nos procedimentos Auntamente
com o ,vano
=s diRmetros relevantes so escritos no !9= desta famClia
, famClia de controle dos ei>os, possuem M7!s de advertFncia indicando Buando os valores
so diferentes de ?ero
=s valores no so necessrios se a rotao no deve ser coordenada com ei>os lineares
"este caso, um cIdigo * adeBuado para graus por minuto ou graus por rev deve ser
programado
_
6.2.13 Tangential control a$il&
=n a machine to cut vin+l or fabric it is ver+ useful
to use a rotar+ a>is to control the direction that the
$nife points Et #ill cut best if tangential to the
direction in #hich the Y and ` a>es are moving at
an+ time
Mach3 #ill control the , a>is li$e this for K5 moves
4learl+ the point of the $nife should be as near to the
a>is about #hich a turns and this a>is must be
parallel to the V a>is of the machine
The feature is enabled b+ the Tangential ,ontrol
#igure ..1, ) $angentia contro
"amiy
button En most applications there is a limit to the angle through #hich the $nife can be
turned at a corner #hile it is in the material This value is defined in Mift ,ngle ,n+
corner #here the change in angle reBuired is greater than Mift ,ngle #ill cause the V a>is
to rise b+ the value in Mift V, the $nife #ill turn and then V #ill drop so it reHenters the
material in the ne# direction
]
1-53 famClia de 4ontrole Tangencial
7m uma mBuina de cortar vinil ou tecido 8 muito til utili?ao de um ei>o rotativo para
controlar a direo Bue a faca fica direcionada *icar melhor se o corte for tangencial T
direo em Bue os ei>os Y e ` esto se movendo a BualBuer momento
Mach3 vai controlar o ei>o , desta forma, como se estivesse com o comando K5
Z evidente Bue o ponto da faca deve ser to prI>imo ao ei>o sobre o Bual este ei>o gira e este
deve ser paralelo ao ei>o V da mBuina
= recurso 8 ativado pelo boto de controle tangencial
"a maioria das aplicaes, h um limite para o Rngulo atrav8s do Bual a faca pode ser
transformada em um canto enBuanto ele est no material 7ste valor 8 definido no wngulo de
Mevante
UualBuer canto onde a mudana no Rngulo for maior Bue Mift ,ngle far com Bue o ei>o V vai
aumentar o valor da elevao V, vai virar a faca e depois V vai bai>ar e assim vai reHentrar no
material na nova direo
_
6.2.14 .i$its and $iscellaneo%s
control a$il&
..2.14.1 In%ut Activation 4
Enput activation signal / can be configured to
give a hard #ired Dingle Dtep function
eBuivalent to the Single button in the 3rogram
9unning control famil+
..2.14.2 (verride imits
Mach3 can use soft#are to override
limit s#itches connected to its inputs #igure ..1. - ;imits contro "amiy
This can be automatic ie the Aogging performed immediatel+ after a reset #ill not
be subAect to limits until the a>is is Aogged off the
limit s#itches The Toggle button and #arning
M7! for #$to Limit Override controls this
,s an alternative limits ma+ be loc$ed out
using the =ver9ide Mimits toggle Ets use is
indicated b+ the M7!
%otice that these controls do not appl+ if limit
s#itches are #ired to the drive electronics or
to activate 7Dtop En this case an e>ternal
electrical override s#itch #ill be needed to
disable the s#itch circuit #hile +ou Aog off
them
6.2.15 1&ste$ 1ettings control
a$il&
ote: The controls in this %amily are not
in one place on the screens released
"ith
#igure ..10 ) -ystem -ettings? -a"e J
contros etc.
Mach3. Po$ "ill need to h$nt %or them on +rogram 4$n2 Settings and
Diagnostics screens.
]
1-5/ *amilia de 4ontroles de Mimites e miscelRnea
1-5/5 ,tivao de / entradas
Uuatro entradas de ativao de sinal podem ser configuradas como uma nica para dar uma
funo de simples ligao eBuivalente a um boto nico na e>ecuo do programa
1-5/- limites =verride
Mach3 pode usar o soft#are para substituir limite conectados para estas entradas
Esso pode ser automtico, por e>emplo, a movimentao reali?ada imediatamente apIs um reset
no ser suAeitas aos limites at8 Bue o ei>o seAa movimentado fora dos interruptores
Um boto liga e desliga o ,uto Mimite, e 8 sinali?ado pelo M7! correspondente
!a mesma forma limites alternativos podem ser bloBueado Deu uso 8 indicado pelo M7!
=bserve Bue esses controles no so aplicveis se o interrupor de limite esto ligados T
eletr^nica ou a unidade de emergFncia esta acionada
"este caso, um interruptor e>terno de ultrapassagem el8trica 8 necessrio para
desativar o circuito comutador, enBuanto vocF se movimenta fora deles
_
..2.1,.1 Units
This toggle implements the K-. and K-5 codes to change the current measurement
units `ou are strongly advised not to do this e>cept in small fragments of part program
on account of the fact that @or$ =ffset and Tool =ffset tables are in one fi>ed set of
units
..2.1,.2 -a"e J
This famil+ allo#s +ou to define the V value #hich is clear of clamps and parts of
the #or$piece Et #ill be used for homing and changing the tool
..2.1,.3 CG ModeHAnguar ;imit
This M7! is lit #hen the s+stem is running in S4onstant Lelocit+S mode This #ill give
smoother and faster operation than S7>act stopS mode but ma+ cause some rounding at
sharp corners depending on the speed of the a>is drives 7ven #hen the s+stem is in 4L
mode a corner #ith a change of direction more acute than the value given in the
#ng$lar Limit !9= #ill be performed as if 7>act Dtop #as selected *ull details of this
are given under ,onstant <elocity in chapter 5.
..2.1,.4 (""ine
This toggle and #arning
M7! SdisconnectsS all the
output signals of Mach3
This is intended for
machine setup and testing
Ets use during a part
program #ill cause +ou all
sorts of positioning
problems
#igure ..18 - :ncoder contro "amiy
[
1-50 *amilia dos controles de 4onfigurao do Distema
"ota' =s controles dessa famClia no se encontram nas telas do Mach3
LocF ter Bue procurar por eles Buando o programa estiver em e>ecuo nas telas de !efinies
e !iagnIstico
1-505 Unidades
7sta alternRncia implementa o K-. e K-5 cIdigos para alterar as unidades correntes de medida
Lc est fortemente aconselhado a no alterar isto, e>ceto em peBuenos fragmentos de programa
da pea
1-50- Dafe V
7ssa famClia permite definir o valor de V 7le ser usado para posicionaHlo e mudar a
ferramenta
1-503 Mode 4L ( Mimite ,ngular
7ste M7! acende Buando o sistema est funcionando em modo de Svelocidade constanteS
Esto vai ter um funcionamento mais suave e mais rpido do Bue Sparar o modo e>atoS, mas pode
causar algum arredondamento cantos afiados, dependendo da velocidade dos ei>os
Mesmo Buando o sistema est em modo 4L, um canto com uma mudana de direo mais
aguda do Bue o valor dado no !9= do Mimite ,ngular ser reali?ada como se uma parada
imediata tenha sido acionada
Todos os detalhes so apresentados em velocidade constante em capCtulo 5.
1-50/ =ffline
7sta alternRncia e alerta M7! SdesconectaS todos os sinais de saCda do Mach3
Esto se destina a configurao da mBuina e teste
= seu uso durante a e>ecuo de uma pea trar problemas de posicionamento
]
6.2.16 /ncoder control a$il&
This famil+ displa+s the values from the a>is encoders and allo#s them to be transferred
to and from the main a>is !9=s
The ?ero button #ill reset the corresponding encoder !9= to ?ero
The To D4O button copies the value into the main a>is !9= %ie applies this values as a
K6- offset&
The Load D4O button loads the encoder !9= from the corresponding main a>is !9=
]
1-51 famClia de controle de 7ncoder
7sta famClia mostra os valores dos encoders dos ei>os e permite Bue eles seAam transferidos para
os !9=s do ei>o principal
= boto de Vero ir ?erar o !9= do correspondente encoder
= boto To !9= copia o valor dele para o !9= do ei>o principal %ou seAa, aplicaHse estes
valores como um K6- offset&
= boto de carga no !9= carrega no !9= o codigo e>istente no ei>o principal correspondente
_
6.2.1" 2%to$atic - control a$il&
Mach3 has the
facilit+ to set a lo#er
limit for moves in the
V a>is Dee
4onfigoMogic dialog
for the static setting
of this EnhibitHV
value
#igure ..11 ) Automatic J contro
There is also a control famil+ #hich allo#s this Inhi/it ? value to be set #hile
preparing and before running a KH4ode program This is sho#n in figure 156
4ode the program, #hich might often be a !Y* or N3KM import, so that it ma$es a
single cut or set of cuts at the finall+ desired V depth %perhaps V n H.1 inch assuming top
of #or$piece is V n .& The last command should be an M3. %9e#ind&
Using the ,utomatic V 4ontrol controls %a& set the ?7inhi/it value to the V for depth for
the first roughing cut %perhaps Vn H..0& %b& the Lo"er ?7Inhi/it to the successive cut
depths %#e might allo# .5 as the tool has some side support& The #hole Aob #ill need
seven passes to get to V n H.1, so %c& enter J in L %Moop& =n pressing 4+cle Dtart the
machine #ill automaticall+ ma$e the series of cuts at increasing V depth The !9=s trac$
the progress decrementing L as the+ are performed and updating the VHinhibit value Ef the
given number of L does not reach the part programas reBuested V depth then +ou can
update the L !9= and restart the program
]
1-5J *amilia do controle automtico de V
Mach3 tem uma facilidade para estabelecer um limite inferior de movimento do ei>o V
Ler 4onfigo dilogo Mogic para a configurao esttica deste valor de EnibirHV
7>iste tamb8m uma famClia de controle Bue permite Bue este valor de inibio V seAa definido
durante a preparao e antes de e>ecutar um programa KH4ode
Esso 8 mostrado na figura 156 4Idigo do programa, Bue pode muitas ve?es ser a importao
de um !Y* ou N3KM, de modo Bue ele fa? um nico corte ou conAunto de cortes na
profundidade deseAada V %talve? V n H.,1 polegadas assumindo topo da pea 8 V n .&
= ltimo comando deve ser uma M3. %9e#ind& na e>ecuo de um programa da pea
Usando os controles ,utomatic 4ontrol V %um Aogo&, o VHinibir valor para o V para a
profundidade de cortar primeiro desbaste %talve? V n H.,.0& %b& da Gai>aHV Enibir ao corte
sucessivos profundidades %3odemos permitir Bue .,5 como a ferramenta tem algum suporte
lateral&
= trabalho em seu conAunto ter sete passes para chegar ao V n H.,1, ento %c& entrar em M J
%Moop& ,o pressionar 4+cle Dtart da mBuina ir automaticamente fa?er a s8rie de cortes para
aumentar a profundidade V
=s !9=s acompanham o progresso decrementando em M T medida Bue vo sendo e>ecutadas
e atuali?am o valor de VHinibir
De o determinado nmero de M no atingir o programa pedido para a profundidade da pea
pedido em V, ento vocF pode atuali?ar !9= M e reiniciar o programa
_
6.2.19 .aser Trigger o%tp%t a$il&
Mach3 #ill output a pulse on the !igitise Trigger =ut
3in %if defined& #hen the Y or ` a>es pass through
trigger points
The Maser Trigger group of controls allo#s +ou to
define the grid points in the current units and relative to
an arbitrar+ datum
4lic$ Laser 3rid ?ero #hen the controlled point is at the
desired grid origin !efine the positions of the grid lines
in Y and ` a>es and clic$ Toggle to enable the output of
pulses #henever an a>is crosses a grid line
This feature is e>perimental and subAect to change in
later releases
#igure ..2+ ) *igitise !use
"amiy
]
1-5: *amilia saCda Trigger para Maser
Mach3 dever ter um pulso de saCda digital %se definido&, Buando os ei>os Y ou ` passar pelos
pontos
= Maser Trigger grupo de controles permite Bue vocF defina os pontos de grade na unidade
atual e em relao a uma coordenada arbitrria
4liBue em [Maser Krid Vero\ Buando o ponto de controle estiver na origem da grade deseAada
!efina as posies das linhas de grade em 7i>os Y e ` e cliBue em ,lternar para permitir a
saCda de pulsos, sempre Bue um ei>o cru?a uma linha de grade
7sse recurso 8 e>perimental e suAeita a mudanas apIs o lanamento
]
6.2.1> C%sto$ controls a$ilies
Mach3 allo#s a machine builder, #hich could be +ou or +our supplier, to add a #hole
range of features b+ custom screens #hich can have !9=s, M7!s and buttons #hich are
used b+ LG Dcript programs %either attached to the buttons or run from macro files&
7>amples of such facilities are given in the Mach3 ,$stomisation manual These e>ample
also sho# ho# different Mach3 screens can loo$ to suit different applications even though
the+ perform essentiall+ the same function reBuired b+ a milling machine or router
]
1-56 famClias controles personali?ados
Mach3 permite Bue um construtor da mBuina, Bue poderia ser vocF ou o seu fornecedor, para
adicionar um conAunto de recursos em telas personali?adas Bue podem ter visuali?adores, M7!s
e botes Bue so usados por programas LG Dcript %Buer ligados aos botes ou e>ecutar
arBuivos de macro& 7>emplos destas instalaes no so indicados no manual Tunning Mach3
7stes e>emplos mostram tamb8m como diferentes telas Mach3 pode olhar para diferentes
aplicaes, apesar de reali?ar essencialmente a mesma funo reBuerida por uma fresadora ou
router
_
..3 Using 6i7ards
Mach3 @i?ards are
an e>tension to the
Teach facilit+ #hich
allo#s +ou to define
some machining
operations using one
or more special
screens The @i?ard
#ill then generate KH
code to ma$e the
reBuired cuts
7>amples of @i?ards
include machining a
circular poc$et,
drilling an arra+ of
holes and engraving
te>t
The Load Wiards
#igure ..21 ) Choosing a 6i7ard
button displa+s a table of @i?ards installed on +our s+stem `ou choose the one reBuired
and clic$ 4$n The @i?ard screen %or sometimes one of several screens& #ill be displa+ed
4hapter 3 includes an e>ample for milling a poc$et *igure 1-- is the @i?ard for
engraving te>t
#igure ..22 ) $he 6rite 6i7ard screen
@i?ards have been contributed b+ several authors and depending on their purpose there are
slight differences in the control buttons 7ach @i?ard #ill ho#ever have a means of
posting the KH4ode to Mach3 %mar$ed @rite in figure 1--& and a means of returning to
the main Mach3 screens Most @i?ards allo# +ou to save +our settings so that running the
@i?ard again gives the same initial values for the !9=s etc
*igure 1-3 sho#s a section of the Toolpath screen after the Write button is pressed
on figure 1--
#igure ..23 ) A"ter running the 6rite 'i7ard
The Last Wiard buttons runs the #i?ard +ou most recentl+ used #ithout the trouble
of selecting it from the list
The ,onversational button runs a set of #i?ards designed b+ "e#fangled Dolutions These
are supplied #ith Mach3 but reBuire a separate license for them to be used to generate
code
]
Usando 1,3 @i?ards
TrataHse de uma e>tenso para facilitar o aprendi?ado e permite Bue vocF defina alguns
operaes de usinagem em uma ou mais telas apropriadas
= ,ssistente ir gerar KH4ode para fa?er o cortes necessrios
7>emplos de assistente de usinagem inclui um circulo, perfurao de um conAunto de
furos e gravura de um te>to
, e>ecuo do assistente por um boto e>ibe um Buadro dos ,ssistentes instalado em seu
sistema
LocF escolhe o reBuerido e cliBue em 7>ecutar , tela do assistente %ou Ts ve?es uma das
vrias telas& sero e>ibidas
4apCtulo 3 inclui um e>emplo para moagem de um sulco de te>to
,ssistentes, so contribuies de vrios autores e dependendo da sua finalidade, e>istem
ligeiras diferenas nos botes de controle
4ada assistente no entanto, tem um meio de postagem do KH4ode para Mach3 %gravado em
1--& e um meio de voltar para a tela principal do Mach3 , maioria dos @i?ards permite Bue
vocF salve suas configuraes para Bue a e>ecuo do ,ssistente possa mais uma ve?
posicionar os mesmos valores iniciais para a visuali?adores etc
= boto [4onversational\ carrega uma s8rie de assistentes especiais proAetados por "e#fangled
Dolutions, mas vc necessitaB de lincensa especial para gerar o cIdigo
_
..4 ;oading a 8-Code %art %rogram
Ef +ou have an
e>isting part program
#hich #as #ritten b+
hand or a 4,!(4,M
pac$age then +ou
load it into Mach3
using the Load 37
,ode button `ou
choose the file from
a standard @indo#s
file open dialog
,lternativel+ +ou can
choose from a list of
recentl+ used files
#hich is displa+ed
b+ the 4ecent Files
screen button
#igure ..24 ) ;oading 8-Code
@hen the file is chosen, Mach3 #ill load and anal+se the code This #ill generate a
toolpath for it, #hich #ill be displa+ed, and #ill establish the program e>trema
The loaded program code #ill be displa+ed in the KH4ode list #indo# `ou can
scroll through this moving the highlighted current line using the scroll bar
_
1,/ 4arregando um programa parte do KH4ode
De vocF tem um programa da pea Bue foi escrito a mo ou um pacote de 4,! ( 4,M
, ento vocF pode carregHlo em Mach3 usando o boto Moad KH4ode
LocF escolha o arBuivo a partir de um dialogo no padro do @indo#s
,lternativamente, vocF pode escolher de entre uma lista de arBuivos utili?ados recentemente
Bue 8 e>ibido pelos ,rBuivos 9ecentes na tela
Uuando o arBuivo for escolhido, Mach3 vai carregar e analisar o cIdigo
Esso ir gerar um caminho da ferramenta para ele, e ser e>ibido, e ir estabelecer os e>tremos
do programa
= cIdigo do programa carregado ser e>ibido na Aanela de KH4ode
LocF pode rolar atrav8s deste movimento e destacar a linha atual usando a barra de rolagem
7 e>ecutar um programa da pea
_
Mach3 contros and running a %art %rogram
.., :diting a %art %rogram
3rovided +ou have defined a program to be used as the KH4ode editor %in 4onfigoMogic&,
+ou can edit the code b+ clic$ing the Edit button `our nominated editor #ill open in a
ne# #indo# #ith the code loaded into it
@hen +ou have finished editing +ou should save the file and e>it the editor This is
probabl+ most easil+ done b+ using the close bo> and repl+ing `es to the S!o +ou #ant
to save the changesXS dialog
@hile editing, Mach3 is suspended Ef +ou clic$ in its #indo# it #ill appear to be
loc$ed up `ou can easil+ recover b+ returning to the editor and closing it
,fter editing the revised code #ill again be anal+sed and used to regenerate the
toolpath and e>trema `ou can regenerate the toolpath at an+ time using the
4egenerate button
]
1,0 7ditando parte de um programa
!esde Bue vocF tenha definido um programa para ser usado com o editor de KH4ode %em
4onfigo Mogic&, vocF pode editar o cIdigo clicando no boto 7ditar Deu editor vai renomeaHlo
e ser aberto em uma nova Aanela com o cIdigo carregado
Uuando vocF terminar a edio vocF deve salvar o arBuivo e saia do editor
!urante a edio, o Mach3 8 suspenso
LocF pode facilmente recuperar, voltar ao editor e fechHlo
!epois de editar, o cIdigo revisado ser novamente analisado e utili?ado para gerar o toolpath
e limites e>ternos LocF pode regenerar o toolpath a BualBuer momento, usando o boto Kerar
_
... Manua %re%aration and running a %art %rogram
6.6.1 Inp%tting a hand-written progra$
Ef +ou #ant to #rite a program Sfrom scratchS then +ou can either do so b+ running
the editor outside Mach3 and saving the file or +ou can use the Edit button #ith no
part
program loaded En this case +ou #ill have to Dave ,s the completed file and e>it the editor
En both cases +ou #ill have to use *ileoMoad KH4ode to load +our ne# program into
Mach3
<arning$ 7rrors in lines of code are generall+ ignored `ou should not rel+ on being
given a detailed s+nta> chec$
Mach3 contros and running a %art %rogram
6.6.2 :eore &o% r%n a part progra$
Et is good practice for a part program to ma$e no assumptions about the state of the
mach #hen it starts Et should therefore include K5J(K5:(K56, K-.(K-5, K/., K/6,
K15(K1-
K6.(K65, K63(K6/
ine
,
Mach3 contros and running a %art %rogram
`ou should ensure that the a>es are in a $no#n reference position H probabl+ b+ using the
4e% #ll button
`ou need to decide #hether the program starts #ith an D #ord or if +ou need to set
the spindle speed b+ hand or b+ entering a value in the S !9=
`ou #ill need to ensure that a suitable feedrate is set before an+ K.5(K.-(K.3
commands are e>ecuted This ma+ be done b+ an * #ord or entering data into the F
!9=
"e>t +ou ma+ need to select a Tool and(or @or$ =ffset
*inall+, unless the program has been proved to be valid +ou should attempt a dr+
run, cutting SairS to see that nothing terrible happens
6.6.3 )%nning &o%r progra$
`ou should monitor the first run of an+ program #ith great care `ou ma+ find that +ou
need to override the feed rate or, perhaps, spindle speed to minimise chattering or to
optimise production @hen +ou #ant to ma$e changes +ou should either do this on the
Sfl+S or use the +a$se button, ma$e +our changes and the clic$ ,ycle Start
]
1,1 3reparao manual e e>ecuo de um programa de pea
115 Entroduo de um programa escrito T mo
De vocF Buiser escrever um programa Sdo ?eroS, ento vocF pode fa?FHlo, e>ecutando o
editor fora do Mach3 e salvando o arBuivo, ou vocF pode usar o boto 7ditar, sem o programa
estar carregado "este caso, vocF ter Bue salvar o arBuivo preenchido e sair do editor
7m ambos os casos, vocF ter Bue usar o Moad *ileo KW4ode para carregar o novo programa
em Mach3
,teno' os erros em linhas de cIdigo so geralmente ignorados LocF no deve confiar e faa
uma checagem de sinta>e bem detalhada
11- ,ntes de e>ecutar um programa da pea
Z uma boa prtica para um programa da pea em no fa?er suposies sobre o estado da
mBuina Buando se inicia
!eve, portanto, incluir K5J(K5:(K56, K-.(K-5, K/., K/6, K15(K1-,
K6.(K65, K63(K6/
LocF deve garantir Bue os ei>os esto em uma posio de referFncia conhecido H
provavelmente usando o boto 9ef ,ll
LocF precisa decidir se o programa comea com uma palavra D ou se vocF precisa definir o
velocidade do ei>o com a mo ou digitando um valor na !9= D
LocF vai precisar se assegurar Bue um avano adeBuado seAa definido antes de BualBuer
comando K.5(K.-(K.3 serem e>ecutados Esso pode ser feito por uma palavra * ou inserir
dados na !9= *
7m seguida, vocF pode precisar selecionar uma ferramenta e ( ou trabalho =ffset
*inalmente, a menos Bue o programa tem provado ser vlido, vocF deve tentar uma corrida
seca, gcorte do ar S para ver Bue nada terrCvel acontece
113 7>ecutando o programa
LocF deve acompanhar a primeira e>ecuo de BualBuer programa com grande cuidado
Mach3 contros and running a %art %rogram
LocF pode achar Bue haAa necessidade de alterar a ta>a de alimentao ou, talve?, a velocidade
do ei>o para minimi?ar a vibrao ou otimi?ar a produo
Uuando vocF Buiser fa?er as alteraes vocF deve fa?er isso, S S ou use o boto de pausa, faa
as alteraes e cliBue em 4+cle Dtart
_
..0 Duiding 8-Code /y im%orting other "ies
Mach3 #ill convert files in !Y*, N3KM or 237K
format into KH4ode #hich #ill cut a
representation of them
This is done using the *ileoEmport
N3KM(GM3(23K or the *ileoEmporto!Y* menu
Naving chosen a file t+pe +ou have to load the
original file `ou are prompted for parameters to
define the conversion and feed and coolant
commands to be included in the part program
`ou
#igure ..20 Choosing im%ort "iter
the import the data Mach3 has to create a T,3 #or$ing file #hich contains the generated
KH4ode, so +ou #ill be prompted b+ a file save dialog for a name and folder for this
The T,3 file is then loaded into Mach3 and +ou can run it as #ith an+ other part
program *ull details of the conversion processes and their parameters are given in
chapter :
]
1,J 4onstruindo KH4ode importado de outros arBuivos
Mach3 vai converter arBuivos nos formatos !Y*, N3KM ou 237K para o formato em KH4ode
Esso 8 feito usando o ,rBuivoo Emportar N3KM ( GM3 ( 23K ou ,rBuivoo Emportaro menu
!Y*
Tendo escolhido o tipo de arBuivo de origem Bue vocF Buer carregar, vocF ser solicitado a
definir os parRmetros para a converso e ento outros dados podem ser incluCdos no programa,
como por e>emplo a refrigerao
,o importar os dados, Mach3 tem Bue criar um arBuivo T,3 de trabalho Bue cont8m os KH
4ode gerados, assim, vocF vai ser solicitado por um processo de dilogo fornecer um nome e
uma pasta para salvar o arBuivo
= arBuivo T,3 8 ento carregado para Mach3 e vocF pode e>ecutHlo como acontece com
BualBuer outro programa
Maiores detalhes sobre os processos de converso e seus parRmetros so apresentados no
capCtulo :
_
Coordinate systems? too ta/e and "i9tures
Using Mach3Mi 0-2 Rev 1.84-A2
2
0. Coordinate systems? too ta/e and "i9tures
This chapter e>plains ho# Mach3 #or$s out #here e>actl+ +ou mean
#hen +ou as$ the tool to move to a given position Et describes the idea of
a coordinate s+stem, defines the Machine 4oordinate D+stem and sho#s
ho# +ou can specif+ the lengths of each Tool, the position of a #or$piece
in a *i>ture and, if +ou need to, to add +our o#n variable =ffsets
`ou ma+ find it heav+ going on the first read @e suggest that +ou tr+
out the techniBues using +our o#n machine tool Et is not eas+ to do this
Aust Sdes$S running Mach3 as +ou need to see #here an actual tool is and
+ou #ill need to understand simple KH4ode commands li$e K.. and
K.5
Mach3 can be used #ithout a detailed understanding of this chapter but
+ou #ill find that using its concepts ma$es setting up Aobs on +our machine
is ver+ much Buic$er and more reliable
]
J =s sistemas de coordenadas, tabela de ferramentas e utensClios
7ste capCtulo e>plica como Mach3 funciona e para onde e>atamente a ferramenta vai Buando
vocF mandar a ferramenta se mover para uma posio determinada
7le descreve a id8ia de um sistema de coordenadas, define o sistema de coordenadas da
mBuina e mostra como vocF pode especificar o tamanho de cada ferramenta, e a posio de
fi>ao da pea e, se for necessrio, para adicionar uma varivel com o seu deslocamento
LocF pode achar Bue esta leitura seAa suficiente
Dugerimos Bue vocF tente as t8cnicas aBui descritas usando a sua prIpria mBuina
"o 8 fcil fa?er isso apenas usando a sua SMesaS
Z necessrio e>ecutar o Mach3 pois vocF precisa ver onde como uma ferramenta real se
comporta e vocF ter de compreender comandos simples do KH4ode como K.. e K.5
Mach3 pode ser usado sem um entendimento detalhado do presente capCtulo, mas vocF
vai achar Bue com seus conceitos usando a sua mBuina 8 muito mais rpido e mais confivel
_
0.1 Machine coordinate system
6en,holder
Table
Coordinate systems? too ta/e and "i9tures
Rev 1.84-A2 0-1 Using Mach3Mi
#igure 0.1 - Dasic *ra'ing Machine
`ou have seen that most Mach3 screens have !9=s labelled SY ,>isS, S` ,>isS etc Ef
+ou are going to ma$e parts accuratel+ and minimise the chance of +our tool crashing into
an+thing +ou need to understand e>actl+ #hat these values mean at all times #hen +ou are
setting up a Aob or running a part program
This is easiest to e>plain loo$ing at a machine @e have chosen an imaginar+ machine
that ma$es it easier to visualise ho# the coordinate s+stem #or$s *igure J5 sho#s #hat
it is li$e
Et is a machine for producing dra#ings #ith a ballpoint or felt tipped pen on paper or
cardboard Et consists of a fi>ed table and a c+lindrical penHholder #hich can move left
and right %Y direction&, front and bac$ %` direction& and up and do#n %VHdirection& The
figure sho#s a sBuare #hich has Aust been dra#n on the paper
*igure J- sho#s the Machine 4oordinate D+stem #hich measures %lets sa+ in inches&
from the surface of the table at its bottom left hand corner ,s +ou #ill see the bottom left
corner of the paper is at Yn-, `n5 and Vn. %neglecting paper thic$ness& The point of the
pen is at Yn3, `n- and it loo$s as though Vn53
Ef the point of the pen #as at the corner of the table then, on this machine, it #ould be in
its 8ome or referenced position This position is often defined b+ the position of Nome
s#itches #hich the machine moves to #hen it is s#itched on ,t an+ event there #ill be a
Using Mach3Mi 0-2 Rev 1.84-A2
Coordinate systems? too ta/e and "i9tures
<J
<@
#igure 0.2 Machine coordinate system
?ero position for each a>is called the absolute machine Eero @e #ill come bac$ to #here
Nome might actuall+ be put on a real machine
The point of the pen, li$e the end of a cutting tool, is #here things happen and is called the
#ontrolled 6oint The ,>is !9=s in Mach3 always displa+ the coordinates of the
4ontrolled 3oint relative to some coordinate s+stem The reason +ou are having to read
this chapter is that it is not al#a+s convenient to have the ?eros of the measuring
coordinate s+stem at a fi>ed place of the machine %li$e the corner of the table in our
e>ample&
, simple e>ample #ill sho# #h+ this is so
The follo#ing part program loo$s, at first sight, suitable for dra#ing the 5S sBuare in *igure
J5'
410 G20 %10 G.0 &set )p i$perial )nits5 a sl(+ fee, rate etc.-
420 G0 62.0 &lift pen-
430 G0 X0.# Y0.3 &rapi, t( b(tt($ left (f s7)are-
4"0 G1 60.0 &pen ,(+n-
450 Y1.3 &+e can leave ()t t'e G1 as +e 'ave !)st ,(ne (ne-
460 X1.#
480 Y0.3 &g(ing cl(c3+ise r()n, s'ape-
4#0 X0.#
4.0 G0 X0.0 Y0.0 62.0 &$(ve pen ()t (f t'e +ay an, lift it-
4100 *30 &en, pr(gra$-
7ven if +ou cannot +et follo# all the code it is eas+ to see #hat is happening *or e>ample
on line "3. the machine is told to move the 4ontrolled 3oint to Yn.:, `n.3 G+ line
"1. the 4ontrolled 3oint #ill be at Yn5:, `n53 and so the !9=s #ill read'
= A9is 1.8+++ @ A9is 1.3+++ J A9is +.++++
The problem, of course, is that the sBuare has not been dra#n on the paper li$e in figure
J5 but on the table near the corner The part program #riter has measured from the corner
of the paper but the machine is measuring from its machine ?ero position
]
Rev 1.84-A2 0-1 Using Mach3Mi
Coordinate systems? too ta/e and "i9tures
J,5 sistema de coordenadas da mBuina
LocF viu Bue as telas do Mach3 tem !9=s chamados de Sei>o YS, Sei>o ` etcS
De vamos fa?er as peas com preciso e minimi?ar a chance de bater em BualBuer coisa na sua
4"4 ento vocF precisa entender e>atamente o Bue estes valores significam em todas as ve?es
Bue vocF est na criao de um trabalho ou e>ecutando um programa da pea
Z mais fcil de e>plicar olhando para um mBuina =ptamos por uma mBuina imaginria Bue
torna mais fcil visuali?ar como funciona o sistema de coordenadas
Z uma mBuina para a produo de desenhos com uma caneta esferogrfica ou caneta de feltro
sobre papel ou papelo
Z constituCda por um tabuleiro fi>o e um portaHcaneta, Bue pode mover para a esBuerda e
direita %direo Y&, frente e verso %direo `& para cima e para bai>o %direo V&
, figura mostra um Buadrado sendo desenhado sobre o papel
, *igura J- Mostra o sistema de coordenadas da mBuina com medidas na superfCcie da mesa
em seu canto inferior esBuerdo %estamos falando em polegadas&
4omo vocF ver no canto inferior esBuerdo do papel est em Y n -, ` n 5 e V n .
%despre?ando a espessura do papel&
= ponto da caneta esta em Y n 3, ` n - e digamos Bue V n 53
De a ponta da caneta estava no canto da mesa, em seguida, nesta mBuina, eu diria Bue ela esta
na sua Nome ou posio de referFncia
7sta posio 8 geralmente definida pela posio da chave de Nome pois a mBuina se move e
para Buando ela estiver ligada
7m BualBuer caso, dever haver uma posio . para cada um dos ei>os Bue 8 chamada de ?ero
absoluto
Lamos ver agora onde Nome pode ser realmente colocado em uma mBuina real
= ponto da caneta, assim como uma ferramenta de corte, 8 onde as coisas acontecem e 8
chamado de 3onto controlado
=s !9=s dos ei>os no Mach3 sempre mostram as coordenadas do controlado em relao a
algum sistema de coordenadas
, ra?o de vocF ter Bue ler esse capCtulo 8 Bue nem sempre 8 conveniente ter os ?eros das
coordenadas do sistema em um lugar fi>o da mBuina %como o canto da mesa, no nosso
e>emplo&
Um e>emplo simples ir mostrar por Bue deve ser assim
, parte seguinte do programa parece, T primeira vista, adeBuados para a elaborao de um
Buadrado de 5S na *igura J5'
"5. K-. K6. *5. %conAunto de unidades imperiais, uma ta>a de avano lento, etc&
"-. K. V-. %caneta elevador&
"3. K. fundo Y.: `.3 %rpido para a esBuerda do Buadrado&
"/. K5 V.. %caneta&
`53 "0. %podemos dei>ar de fora o K5 como temos feito apenas um&
Y5: "1.
"J. `.3 %indo forma redonda horrio&
Using Mach3Mi 0-2 Rev 1.84-A2
Coordinate systems? too ta/e and "i9tures
Y.: ":.
"6. K. Y.. `.. V-. %pena sair do caminho e levantHla&
"5.. M3. %final do programal&
Mesmo se vc no acompanhar todo o cIdigo 8 fcil ver o Bue est acontecendo
3or e>emplo' "a linha "3. a mBuina 8 instruCda a mover o ponto para Y n .: ` n .3
,trav8s da linha "1. 3onto vai para Y n 5:, ` n 53 e assim os !9= vo apresentar'
7i>o Y 5:... 7i>o ` 53... 7i>o V .....
= problema, 8 claro, Bue o Buadrado no tenha sido desenhado no papel como na figura J5
mas sobre a mesa perto do canto
, parte do programa considera a partir do canto do papel, mas a mBuina esta medindo da
posio ?ero da mBuina
_
0.2 6or4 o""sets
Mach3, li$e all machine controllers, allo#s +ou to move the origin of the coordinate
s+stem or, in other #ords #here it measures from %ie #here on the machine is to
considered to be ?ero for moves of Y, ` V etc&
This is called offsetting the coordinate s+stem
Rev 1.84-A2 0-3 Using Mach3Mi

Coordinate systems? too ta/e and "i9tures


<J <@
6en,holder
Table
#igure 0.3 - Coordinate system origin o""set to corner o" %a%er
*igure J3 sho#s #hat #ould happen if #e could offset the 4urrent 4oordinate s+stem
to the corner of the paper /emember the KH4ode al#a+s moves the 4ontrolled 3oint to
the numbers given in the 4urrent 4oordinate s+stem
,s there #ill usuall+ be some #a+ fi>ing sheets of paper, one b+ one, in the position
sho#n, this offset is called a @or$ offset and the ., ., . point is the origin of this
coordinate
s+stem.
This offsetting is so useful that there are several #a+s of doing it using Mach3 but the+
are all organised using the =ffsets screen %see ,ppendi> 5 for a screenshot&
".2.1 1etting 5ork origin to a given point
The most obvious #a+ consists of t#o steps'
5 !ispla+ the =ffsets screen Move the 4ontrolled 3oint %pen& to #here +ou #ant the
ne# origin to be This can be done b+ Aogging or, if +ou can calculate ho# far it is
from the current position +ou can use K.s #ith manual data input
- 4lic$ the To$ch button ne>t to each of the a>es in the 4urrent @or$ =ffset part of the
screen =n the first Touch +ou #ill see that the e>isting coordinate of the Touched
a>is is put into the 3art =ffset !9= and the a>is !9= reads ?ero DubseBuent
Touches on other a>es cop+ the 4urrent 4oordinate to the offset and ?ero that a>is
!9=
Ef +ou #onder #hat has happened then the follo#ing ma+ help The #or$ offset values are
al#a+s added the numbers in the a>is !9=s %ie the current coordinates of the controlled
point& to give the absolute machine coordinates of the controlled point Mach3 #ill displa+
the absolute coordinates of the controlled point if +ou clic$ the Machine ,oords button
The M7! flashes to #arn +ou that the coordinates sho#n are absolute ones
There is another #a+ of setting the offsets #hich can be used if +ou $no# the position
of #here +ou #ant the ne# origin to be
The corner of the paper is, b+ e+e, about -1S right and 5/S above the Nome(9eference
point at the corner of the table Metas suppose that these figures are accurate enough to
be used
5 T+pe -1 and 5/ into the Y and ` =ffset !9=s The ,>is !9=s #ill change %b+
having the offsets subtracted from them& 9emember +ou have not moved the
actual position of the 4ontrolled point so its coordinates must change #hen +ou
move the origin
Using Mach3Mi 0-4 Rev 1.84-A2
Coordinate systems? too ta/e and "i9tures
- Ef +ou #ant to +ou could chec$ all is #ell b+ using the M!E line to K.. Y. `. V.
The pen #ould be touching the table at the corner of the paper
@e have described using #or$ offset number 5 `ou can use an+ numbers from 5 to -00
=nl+ one is in use at an+ time and this can be chosen b+ the !9= on the =ffsets screen
or b+ using KH4odes %K0/ to K06 3-03& in +our part program
The final #a+ of setting a #or$ offset is b+ t+ping a ne# value into an a>is !9= The
current #or$ offset #ill be updated so the controlled point is referred to b+ the value no#
in the a>is !9= "otice that the machine does not movee it is merel+ that the origin of
coordinate s+stem has been changed The VeroHY, VeroH` etc buttons are eBuivalent to
t+ping . into the corresponding a>is !9=
`ou are advised not to use this final method until +ou are confident using #or$ offsets
that have been set up using the =ffsets screen
Do, to recap the e>ample, b+ offsetting the 4urrent 4oordinate s+stem b+ a #or$ offset
#e can dra# the sBuare at the right place on the paper #herever #e have taped it do#n to
the table
".2.2 4o$e in a practical $achine
,s mentioned above, although it loo$s tid+ at first sight, it is often not a good idea to
have the Nome V position at the surface of the table Mach3 has a button to 4e%erence all
the a>es %or +ou can 9eference them individuall+& *or an actual machine #hich has
Nome s#itches installed, this #ill move each linear a>es %or chosen a>is& until its s#itch
is operated then move slightl+ off it The absolute machine coordinate s+stem origin %ie
machine ?ero& is then set to given Y, `, V etc values H freBuentl+ .. `ou can actuall+
define a nonH?ero value for the Nome s#itches if +ou #ant but ignore this for no#b
The V Nome s#itch is generall+ set at the highest V position above the table =f course if
the reference position is machine coordinate Vn.. then all the #or$ing positions are
lo#er and #ill be negative V values in machine coordinates
,gain if this is not totall+ clear at present do not #orr+ Naving the 4ontrolled 3oint
%tool& out of the #a+ #hen Nomed is obviousl+ practicall+ convenient and it is eas+ to use
the #or$ offset%s& to set a convenient coordinate s+stem for the material on the table
]
J,- !eslocamento do Trabalho
Mach3, como todos os controladores da mBuina, permite Bue vocF mova a origem do sistema
de coordenadas ou, em outras palavras, onde partir com as medidas %ou seAa, Buando a mBuina
8 considerada ?ero para os movimentos de Y, `, V, etc&
Esso 8 chamado de deslocamento do sistema de coordenadas
, *igura J3 mostra o Bue aconteceria se pud8ssemos deslocar o atual sistema de coordenadas
para o canto do papel
MembreHse Bue o KH4ode sempre move o ponto de controle para os nmeros apresentados no
atual sistema de coordenadas
4omo normalmente haver alguma forma de fi>ao das folhas de papel, uma por uma, na
posio indicada, 7sse deslocamento 8 chamado de trabalho a deslocar para o ponto ., ., .
7sta compensao 8 to til Bue e>istem vrias maneiras de fa?FHlo usando Mach3, mas eles
so todos organi?ados usando a tela de deslocamentos %ver ,pFndice 5 para ver a tela&
J-5 3osicionando a origem do Trabalho para um determinado ponto
, maneira mais Ibvia consiste em duas etapas'
Rev 1.84-A2 0-, Using Mach3Mi
Coordinate systems? too ta/e and "i9tures
1. 7>ibir a tela de deslocamentos Mover o ponto %caneta& para onde vc deseAa Bue a
nova origem deva ficar Esso pode ser feito pelas setas de movimento ou, vocF pode
calcular Buanto esta da posio atual e vocF pode usar como entrada de dados manual
em K.D
2. 4liBue no boto ao lado de cada um dos ei>os de trabalho para deslocar a pea da tela
"o primeiro toBue, vocF ver a coordenada e>istente do ei>o 8 colocado na parte =ffset
!9= e o ei>o lF ?ero 3osteriormente cliBue no outros ei>os e copie a coordenada
atual para o deslocamento e ?ere o !9= do ei>o
6. De vocF Buer saber o Bue aconteceu em seguida, isto pode aAudar' = trabalho de valores
de compensao so sempre adicionados os nmeros no ei>o dos !9=D %ou seAa, a
coordenadas atual de controle ponto& para dar a mBuina coordenadas absolutas do
ponto de controle = Mach3 vai mostrar a coordenada absoluta do ponto controlado se
vocF clicar no boto da mBuina 4oords
= M7! pisca para avisar Bue as coordenadas so mostradas como absolutas
7>iste outra maneira de definir os deslocamentos Bue podem ser utili?ados se vocF souber a
posio do onde vocF Buer a nova origem fiBue
= canto do papel esta apro>imadamente a cerca de -1 S a direita e 5/ S acima da 9eferFncia (
Nome ponto no canto da mesa
Lamos supor Bue estes nmeros so precisos o suficiente para serem utili?ados
1. !igite -1 e 5/ nos !9=s de deslocamento para o Y e ` =s !9=s dos ei>os, vo se
alterar %por conta os deslocamentos subtraCdo deles& MembreHse vocF no moveu a real
posio do ponto controlado, as suas coordenadas devem mudar Buando vocF mover a
origem
2. De vocF Buiser, vocF pode verificar se tudo est bem usando a linha de M!E para
K.. Y. `. V.
, caneta devera tocar a mesa no canto do papel
"Is descrevemos utili?ando o deslocamento nmero 5 LocF pode usar BualBuer
nmero 5H-00
,penas um fica em uso a BualBuer momento e isso pode ser escolhido pelo !9= na
tela ou deslocando usando o KH4ode %K0/ para K06 3-03& no seu programa da pea
, forma final da fi>ao de um trabalho de deslocamento 8, digitando um novo valor
em um ei>o !9= = trabalho atual deslocamento ser atuali?ado para o ponto de
controle referido pelo valor atual no ei>o do !9=
=bserve Bue a mBuina no se move, isto 8 simplesmente porBue a origem da sistema de
coordenadas foi alterado
= VeroHY, botes etc VeroH` so eBuivalentes a digitando . para o !9= do ei>o
correspondente
LocFs so aconselhados a no utili?arem este m8todo final at8 Bue vocF esteAa confiante com o
trabalho Bue compensa foram criados usando a tela de deslocamentos
7nto, para recapitular o e>emplo, pelo deslocamento da corrente coordenada,nos poderemos
desenhar o Buadrado no lugar certo no papel
J-- Um 4aso prtico de Nome
Using Mach3Mi 0-. Rev 1.84-A2
Coordinate systems? too ta/e and "i9tures

4omo mencionado acima, embora parea T primeira vista Bue tudo esteAa certo,
muitas ve?es no 8 uma boa id8ia ter o Nome do ei>o V na posio de superfCcie da
mesa
Mach3 tem um boto de referFncia para todos os ei>os %ou vocF pode referenciH
los individualmente&
3ara uma mBuina real Bue tem chaves instaladas nas Nomes, este ir mover cada
ei>o linear %o ei>o escolhido& at8 a chave ser acionada em seguida vai lentamente
retornar at8 a chave ficar aberta

, origem da coordenada absoluta da mBuina origem do sistema %e>emplo'
mBuina em ?ero& 8 ento definido como Y, `, V, fiBuem muitas ve?es em ..
LocF pode realmente se Buiser definir um valor noH?ero para a Nome, mas ignore
isso por enBuantob
, chave do Nome V 8 geralmente fi>ada na mesa em posio mais elevada, acima
do V
Z claro Bue se a posio de referFncia 8 a mBuina coordenada V n .,., em
seguida, todos os postos de trabalho so mais bai>os e sero valores negativos de V
na coordenada da mBuina
"ovamente, se isto no 8 totalmente claro no momento, no se preocupe

Tendo o ponto 4ontrolado %ferramenta& Buando chave Nome esta desligada 8,
conveniente e 8 fcil de usar para o trabalho de deslocamento %s& para definir um
sistema de coordenadas conveniente para o material Bue esta sobre a mesa
_
0.3 6hat a/out di""erent
engths o" tooK
Ef +ou are feeling confident so far then
it is time to see ho# to solve another
practical problem
Duppose #e no# #ant to add a red
rectangle to the dra#ing
@e Aog the V a>is up and put the red
pen in the holder in place of the blue
one Dadl+ the red pen is longer than
<J <@
Table
#igure 0.4 - No' 'e 'ant another coor
the blue one so #hen #e go to the 4urrent 4oordinate D+stem origin the tip smashes into
the table %*igure J0&
Mach3, li$e other 4"4 controllers,
has a #a+ for storing information
about the tools %pens in our s+stem&
This Tool Table allo#s +ou to tell the
s+stem about up to -01 different tools
=n the =ffsets screen +ou #ill see
space for a Tool number and
information about the tool The !9=s
are labelled ?7o%%set, Diameter and T
Egnore the !9= Touch 4orrection and
<J <@
Table
#igure 0., - *isaster at +?+?+L
its associated button mar$ed =n(=ff for no#
G+ default +ou #ill have Tool s. selected but its offsets #ill be s#itched =**
Enformation about the tool diameter is also used for 4utter 4ompensation
%Bv&
]
J3 = Bue fa?er com ferramentas de tamanhos diferentes
De vc esta se sentindo confiante, agora esta na hora de se envolver em outro problema prtico
Dupondo Bue agora Bueremos adicionar um retRngulo vermelho no desenho
Movemos o ei>o V para cima e vamos colocar a caneta vermelha no lugar da caneta a?ul
Mas acontece Bue a caneta vermelha tem um comprimento maior Bue a caneta a?ul
7nto, nesta situao Buando posicionar na origem do trabalho, a ponta vai se Buebrar Buando
tocar na mesa
Mach3 tem uma maneira de arma?enar estas informaes sobre cada ferramenta
N uma tabela Bue permite cadastrarmos at8 -01 ferramentas diferentes
"esta Tabela h espao para identificarmos o nmero da ferramenta e suas caracterCsticas,
como por e>emplo VH=ffset, !iametro e Touch, Bue por enBuanto vamos ignorar
3or padro vocF dever ter a ferramenta s . selecionada mas vc poder desligaHla
Enformaes do diamentro da ferramenta so usadas tamb8m para compensao dos cortes
".3.1 ,resettable tools
@e #ill assume +our machine has a toolH
holder s+stem #hich lets +ou put a tool in
at e>actl+ the same position each time
This might be a mill #ith lots of chuc$s
or something li$e an ,utoloc$ chuc$
%figures J5. and J55 H #here the
centreH hole of the tool is registered
against a
pin& Ef +our tool position is different each
time then +ou #ill have to set up the
offsets each time +ou change it This
#ill be described later
En our dra#ing machine, suppose the
pens register in a blind hole that is 5S
deep in the pen holder The red pen is
/-S long and the blue one 3JS long
]
J35 3r8Hconfigurao das *erramentas
Lamos supor Bue sua mBuina possue um porta
ferramenta Bue permite Bue vc coloBue a ferramenta
sempre posicionada no mesmo lugar todas as ve?es
Esto poderia ser usado para vc usinar um lote de
buchas figura J5. e J55
=nde o centro da ferramenta para o furo, pode ser
definido por pinos
De a posio da ferramenta se altera a cada tempo
ento vc ter Bue reali?ar compensaes todas as
ve?es Bue ocorrer a mudana Esto ser descrito mais
tarde
7m nossa mBuina de desenho, vamos supor Bue a
caneta vai fa?er um furo de 5g de profundidade ,
caneta vermelha possue /-h de
comprimento e a a?ul tem 3Jh de
comprimento
#igure 0.. ) :ndmi in a %resetta/e hoder
5 H Duppose the machine has Aust been referenced(Nomed and a #or$ offset defined for the
corner of the paper #ith V n .. being the table using the bottom face of the empt+ pen
holder

`ou #ould Aog the V a>is up sa+ to 0S and fit the blue pen 7nter S5S %#hich #ill be the
blue pen& in the Tool number !9= but do not clic$ O%%set On)O%% to =" +et 2og the V
do#n to touch the paper
The V a>is !9= #ould read -J as the pen stic$s -JS out of the holder
Then +ou clic$ the Touch button b+ the V offset This #ould load the %-JS& into the V
offset of Tool s5
4lic$ing the O%%set On)O%% toggle #ould light the M7! and appl+ the tool offset and so the
V a>is !9= #ill read .. `ou could dra# the sBuare b+ running the e>ample part program
as before
5 d Duponha Bue a mBuina acaba de ser posicionada em Nome e o trabalho foi definido
para um deslocamento para o canto do papel em V n ..
Lc poderia mover o ei>o V para 0h e colocar a caneta a?ul entre com 5 no !9=
correspondente ao nmero da ferramenta na tela de T==M mas no cliBue em !eslocamento
ainda para a posio ="
Mova o ei>o V para bai>o at8 tocar o papel
= !9= do ei>o V dever apresentar -Jh com a caneta fora do seu suporte
7nto cliBue no Goto Touch para deslocar o ei>o VEsto dever posicionar em -Jh no
deslocamento do ei>o V da ferramenta s5
4licando no O%%set On)O%% toggle o M7! vai acender e o deslocamento da ferramenta e
tamb8m o !9= do ei>o dever apresentar ..
Lc 3oder desenhar o Buadrado e>ecutando o programa anterior de e>emplo
_
"e>t to use the red pen +ou #ould Aog the V a>is up %sa+ to V n 0. again& to ta$e out the blue
pen and put in the red
3h+sicall+ s#apping the pens obviousl+ does not alter the a>is !9=s
"o# +ou #ould, s#itch =ff the tool offset M7!, select Tool s- , Aog and To$ch at the corner of
the paper
This #ould set up tool -as V offset to 3-S D#itching =n the offset for Tool s- again #ill displa+
V n .. on the a>is !9= so the part program #ould dra# the red sBuare %over the blue one&
]
7m seguida, para usar a caneta vermelha, mova o ei>o V para cima %digamos 0.& para tirar
a caneta a?ul e colocar a vermelha
*Csicamente a troca das canetas no altera os !9=s ,gora desligue a ferramenta Tool
offset M7!, selecione a s- mova e toBue no canto do papel
Esto dever colocar esta ferramenta nmero - com um deslocamento de 3-h, e ligando
novamente devera "o !9= do ei>o estar .. para Bue o programa de pea desenhe um
Buadrado vermelho % sobre um a?ul&
_
3 "o# that tools 5 and - are set up +ou can change them as often as +ou #ish and get
the correct 4urrent 4oordinate s+stem b+ selecting the appropriate tool number and
s#itching its offsets on This tool selection and s#itching on and off of the offsets can
be done in the part program %T #ord, M1, K/3 and K/6& and there are !9=s on the
standard 3rogram 9un screen
,gora Bue vc criou as ferramentas 5 e -, vc poder alterar Buantas ve?es Bui?er e obter a
coordenada atual correta clicando no nmero da ferramenta adeBuada e mudando o seu
deslocamento
7stas mudanas de seleo e ligar e desligar, podem ser feitas no programa de
pea% 4Idigo T, M1, K/3, e K/6& e clicar no e>ecutar nos !9=s
_
".3.2 #on-presettable tools
Dome tool holders do not have a #a+ of refitting a given tool in e>actl+ the same place
each time *or e>ample the collet of a router is usuall+ bored too deep to bottom the tool
En this case it ma+ still be #orth setting up the tool offset %sa+ #ith tool s5& each time it is
changed Ef +ou do it this #a+ +ou can still ma$e use of more than one #or$ offset %see -
and 3 pin fi>tures illustrated belo#& Ef +ou do not have a ph+sical fi>ture it ma+ be Aust
as eas+ to redefine the V of the #or$ offsets offsets each time +ou change the tool
]
J3- *erramentas no pr8Hdefinidas
,lguns fi>adores de ferramenta no possuem uma forma de dei>ar a ferramenta sempre na
mesma posio a cada mudana7nto, seria bom vc estabelecer um ponto de regulagem
fi>o para aAustar a ferramenta
_
0.4 &o' the o""set vaues are stored
The -0/ #or$ offsets are stored in one table in Mach3 The -00 tool offsets and
diameters are stored in another table `ou can vie# these tables using the Wor. O%%sets
Ta/le and Tool O%%sets Ta/le buttons on the offsets screen These tables have space for
additional information #hich is not at present used b+ Mach3
Mach3 #ill generall+ tr+ to remember the values for all #or$ and tool offsets from one
run of the program to another but #ill prompt +ou on closing do#n the program to chec$
that +ou do #ant to save an+ altered values 4hec$ bo>es on the 4onfigoDtate dialog
%Bv& allo# +ou to change this behaviour so that Mach3 #ill either automaticall+ save the
values #ithout bothering to as$ +ou or #ill never save them automaticall+
No#ever the automatic saving options are configured, +ou can use the Save button on
the dialogs #hich displa+ the tables to force a save to occur
]
J/ 4omo os valores de deslocamento so arma?enados
=s -0/ deslocamentos de trabalho, so arma?enados em uma tabela em Mach3
=s deslocamentos de -00 ferramentas e seus diRmetros so arma?enados em outra tabela
LocF pode visuali?ar estas tabelas usando os botes de =ffsets Wor. O%%sets Ta/le and Tool
O%%sets Ta/les
7stes Buadros tFm espao para outras informaes Bue ainda no so atualmente utili?adas por
Mach3
Mach3 geralmente vai tentar lembrar os valores de todo o trabalho e os deslocamentos de um
instrumento de e>ecuo do programa para outro, mas lhe perguntar no encerramento do
programa para verificar se vocF Buer salvar todos os valores alterados
,s cai>as de seleo na cai>a de dilogo 4onfig 7stadoo %Bv& permitem Bue vocF alterar esse
comportamento para Bue o Mach3 salve automaticamente os valores sem maiores
preocupaes
"o entanto se a opo de salvamento automtico est configurada, vocF pode usar o boto
Dalvar no dilogos Bue mostram as tabelas para forar um salvamento
_
0., *ra'ing ots o" co%ies - #i9tures
"o# imagine #e #ant to dra# on man+ sheets
of paper Et #ill be difficult to tape each one in
the same place on the table and so #ill be
necessar+ to set the #or$ offsets each time
Much better #ould be to have a plate #ith pins
stic$ing out of it and to use preHpunched paper to
register on the pins `ou #ill probabl+ recognise
this as an e>ample of a t+pical fi>ture #hich has
long been used in machine shops *igure JJ
sho#s the
Table
Ii(ture
machine so eBuipped Et #ould be common for
the fi>ture to have do#els or something similar
so that it al#a+s mounts in the same place on the
table
@e could no# move 4urrent 4oordinate s+stem
b+ setting the #or$ offsets s5 to the corner of the
paper on the actual fi>ture 9unning the e>ample
program #ould dra# the sBuare e>actl+ as before
This #ill of course ta$e care of the difference in
V coordinates caused b+ the thic$ness of the
fi>ture @e can put ne# pieces of paper on the
pins and
get the sBuare in e>actl+ the right place on
each #ith no further setting up
@e might also have another fi>ture for threeHhole
#igure 0.0 - Machine 'ith t'o %in
"i9ture
Ii(ture
Table
#igure 0.8 - $hree %in "i9ture
paper %*igure J:& and might #ant to s#ap bet#een the t#o and three pin fi>tures
for different Aobs so
#or$ offset s-
could be defined
for the corner of
the paper on the
three pin fi>ture
`ou can, of course
define an+ point on
the fi>ture as the
origin of its offset
coordinate s+stem
*or the dra#ing
machine #e #ould
#ant to ma$e the
bottom left corner
<J <@
Ii(ture
Table
of the paper be
Yn. l `n. and
the top surface of the fi>ture be Vn.
#igure 0.1 - A dou/e "i9ture
Et is common for one ph+sical fi>ture to be able to be used for more than one Aob *igure J6
sho#s the t#o and three hole fi>tures combined `ou #ould of course have t#o entries in
the #or$ offset corresponding to the offsets to be used for each En figure J: the 4urrent
4oordinate s+stem is sho#n set for using the t#oHhole paper option
J0 *a?endo Muitas 4Ipias H *i>ao
,gora imagine Bue Bueremos desenhar em muitas folhas de papel Lai ser difCcil colocar cada
folha mesmo lugar na mesa de trabalho e por isso seria necessrio definir os deslocamentos a
cada ve?
Muito melhor seria se ter uma placa com os pinos saindo dela e usar papel pr8Hperfurado Bue se
encai>em no pinos LocF provavelmente vai reconhecer isso como uma e>emplo tCpico de um
dispositivo de fi>ao Bue tem sido usado por muito tempo em oficinas mecRnicas
*igura JJ mostra isto
Deria comum para o dispositivo ter passadores ou algo semelhante, assim sempre se monta a
pea no mesmo lugar na mesa
3oderCamos agora mover para o sistema de coordenadas atual com o deslocamento definido em
s 5 para o canto do documento 7>ecutando o e>emplo programa vai fa?er o desenho do
Buadrado e>atamente como antes
Esto, naturalmente cuidandoHse da diferena da coordenada em V causada pela espessura do
papel no nosso caso 3odemos colocar novas peas de papel sobre os pinos e obter o Buadrado
no lugar certo em cada e>ecuo
3odemos tamb8m ter um outro suporte para trFs furos papel %*igura J:& se pretendermos
trocar entre os dois e trFs Aogos de pinos para trabalhos diferentes, de modo Bue o trabalho com
o deslocamento offset s - poderia ser definido para o canto do papel na fi>ao com trFs pinos
LocF pode, 8 claro definir BualBuer ponto do dispositivo como o origem de seu deslocamento no
sistema de coordenadas
3ara o nosso desenho a mBuina o canto inferior esBuerdo do papel ser Y n ., e ` n ., e a
superfCcie superior do dispositivo V n .
Esto 8 comum para um suporte fCsico, para poder usaHlo para mais de um us como mostra os
dois e trFs Aogos de buracos Bue podem ser combinados LocF teria, naturalmente, duas entradas
para compensar o trabalho correspondente T compensao a ser utili?ado para cada um
"a *igura J: 4orrente sistema de coordenadas 8 mostrado conAunto para usar a opo de papel
de dois furos
_
0.. !racticaities o" M$ouchingM
".6.1 /nd $ills
=n a manual machine tool it is Buite eas+ to
feel on the handles #hen a tool is touching
the #or$ but for accurate #or$ it is better to
have a feeler %perhaps a piece of paper or
plastic from a cand+ bar& or slip gage so
+ou can tell #hen it is being pinched This
is illustrated on a mill in figure J5.
=n the =ffset screen +ou can enter the
thic$ness of this feeler or slip gage into the
!9= beside the Set Tool O%%set
button @hen +ou use Sret Tool
O%%set to set an offset !9= for a
too, then the thic$ness of the
gage #ill be allo#ed for
*or e>ample suppose +ou had
the a>is !9=
V n H305: #ith the .5..-S slip
lightl+ held
4hoose Tool s3 b+ t+ping 3 in
the Tool !9= 7nter .5..- in the !9= in
Kage Gloc$ Neight and clic$ Set Tool O%%set
,fter
the touch the a>is !9= reads V n .5..-
%ie the 4ontrolled 3oint is .5..-& and
tool 3 #ill have has V offset H.5..-
*igure J55 sho#s this process Aust
before clic$ing Set Tool O%%set
Ef +ou have an accurate c+lindrical gage
and a reasonable si?ed flat surface on the
top of the #or$piece, then using it can be
even better than Aogging do#n to a feeler
or slip gage 2og do#n so that the roller
#igure 0.1+ - Using a si% gage 'hen
touching J o""set on a mi
#igure 0.11 ) :ntering J o""set data
#ill not pass under the tool "o# ver+ slo#l+ Aog up until +ou can Aust roll it under the
tool Then +ou can clic$ the To$ch button There is an obvious safet+ advantage in that
Aogging a bit too high does no harme +ou Aust have to start again 2ogging down to a feeler
or gage ris$s damage to the cutting edges of the tool
]
J1 3rticas de ,Auste
J15 *inal do Dpindle
7m uma ferramenta manual, 8 muito fcil sentir Buando a ferramenta est encostando no
trabalho a ser e>ecutado, mas para trabalhos com um a 4"4, 8 necessrio se ter uma e>atido
muito melhor
Talve? usar um sensor ou ainda um pedao de papel ou embalagem de plstico de um
chocolate, ou um bloco de medida Bue informe Buando ele estiver sendo comprimido
Esto 8 ilustrado na figura J5.
"a tela =ffset vocF pode digitar o espessura da folga ou desli?amento padro no !9= ao lado
do boto Det =ffset Tool
Uuando usar Dret Tool =ffset para definir um !9= offset para isso, tamb8m a espessura da
bitola ser ser permitido
3or e>emplo, suponha Bue vocF tem no ei>o o !9= em V n H3,05: com o .,5..- S
desli?ando levemente

7scolha a ferramenta digitando s 3 no !9= Tool
!igite .,5..- na !9= no Gloco padro de ,ltura e cliBue em Det Tool =ffset
!epois do toBue da !9= lF ei>o V n .,5..- %Ee 3onto controlada 8 .,5..-& e ferramenta 3
tero V tem offset H.,5..-
, *igura J55 mostra este processo antes conAunto de ferramentas clicando =ffset
De vocF tem um padro preciso de um cilCndrico e uma superfCcie plana de tamanho ra?ovel no
inCcio da pea, poder usHlo ser ainda melhor do Bue correr at8 um desli?amento
Mova para bai>o de modo Bue o rolo no passe sob a ferramenta ,gora, muito lentamente
mova at8 Bue simplesmente encoste na ferramenta
!epois, vocF pode clicar no boto Touch N uma vantagem evidente de segurana em Bue uma
corrida pouco alto demais no fa? mal, vocF sI tem Bue comear de novo
MovimentarHse para bai>o com uma folga ou padro sem riscos de danos Ts bordas de corte da
ferramenta
J1- 7dge encontrar
Z muito difCcil definir com preciso uma fresa para uma borda em Y ou `, devido
ao flutuar sobre a ferramenta
Uma ferramenta de pesBuisa de ponta especial aAuda aBui, *igura J5- mostra o
menos Y na parte de uma borda sendo encontrados
, 4orreo Touch pode ser usado aBui tamb8m
LocF vai precisar o raio do ponta da sonda e da espessura de um padro ou
desli?amento offsets J,J K0- e K6-
N duas outras formas de compensao 3onto K controlada usando cIdigos K0- e
K6-
Uuando vocF emitir um K0- di?er Mach3 Bue para BualBuer valor do ponto de
controle %3or e>emplo, Y n ., ` n .& Bue vocF deseAa Bue o real posio da mBuina
offset, adicionando o *igura J5. H Usando um desli?e Buando gage tocar V offset
em um moinho
*igura J5- H aresta em uso em uma usina
*igura J55 H Enserindo dados V offset
=s sistemas de coordenadas, tabela de ferramentas e utensClios
atribuCdos valores de Y, ` e ( ou V
Uuando vocF usa o K6- Mach3 diga o Bue vocF Buer as coordenadas do corrente
controlada 3onto a ser dada por valores Y, ` e ( ou V

"em K0- nem mover K6- a ferramenta se apenas de acrescentar um outro conAunto
de deslocamentos para a origem do ,tual sistema de coordenadas
_
".6.2 /dge inding
Et is ver+ difficult to accuratel+ set a
mill to an edge in Y or ` due to the
flutes of the tool , special edgeHfinder
tool helps here, *igure J5- sho#s the
minus Y edge of a part being found
The Touch 4orrection can be used here
as #ell `ou #ill need the radius of the
probe tip and the thic$ness of an+
feeler or slip gage
0.0 8,2 A 812 o""sets
There are t#o further #a+s of offsetting
the 4ontrolled 3oint using KH4odes
K0- and K6-
@hen +ou issue a K0- +ou tell Mach3
that for an+ value of the controlled
point %eg Yn., `n .& +ou #ant the
actual machine position offset b+
adding the
#igure 0.12 - :dge-"inder in use on a mi
given values of Y, ` and(or V
@hen +ou use K6- +ou tell Mach3 #hat +ou #ant the coordinates of the current 4ontrolled
3oint to be values given b+ Y, ` and(or V
"either K0- nor K6- move the tool the+ Aust add another set of offsets to the origin of the
4urrent 4oordinate s+stem
".".1 (sing @52
, simple e>ample of using K0- is #here +ou might #ish to produce t#o identical shapes
ate different places on the #or$piece The code #e loo$ed at before dra#s a 5S sBuare
#ith a corner at Y n .:, ` n .3'
G20 %10 G.0 &set )p i$perial )nits5 a sl(+ fee, rate etc.-
G0 62.0 &lift pen-
G0 X0.# Y0.3 &rapi, t( b(tt($ left (f s7)are-
G1 60.0 &pen ,(+n-
Y1.3 &+e can leave ()t t'e G1 as +e 'ave !)st ,(ne (ne-
X1.#
Y0.3 &g(ing cl(c3+ise r()n, s'ape-
X0.#
G0 X0.0 Y0.0 62.0 &$(ve pen ()t (f t'e +ay an, lift it-
Ef #e #ant another sBuare but the second one #ith its corner at Yn 3. and ` n -3 then
the above code can be used t#ice but using K0- to appl+ and offset before the second
cop+
G20 %10 G.0 &set )p i$perial )nits5 a sl(+ fee, rate etc.-
G0 62.0 &lift pen-
G0 X0.# Y0.3 &rapi, t( b(tt($ left (f s7)are-
G1 60.0 &pen ,(+n-
Y1.3 &+e can leave ()t t'e G1 as +e 'ave !)st ,(ne (ne-
X1.#
Y0.3 &g(ing cl(c3+ise r()n, s'ape-
X0.#
G0 62.0 &lift pen-
G52 X2.2 Y2 &te$p(rary (ffset f(r sec(n, s7)are-
G0 X0.# Y0.3 &rapi, t( b(tt($ left (f s7)are-
G1 60.0 &pen ,(+n-
Y1.3 &+e can leave ()t t'e G1 as +e 'ave !)st ,(ne (ne-
X1.#
Y0.3 &g(ing cl(c3+ise r()n, s'ape-
X0.#
G52 X0 Y0 &Get ri, (f te$p(rary (ffsets-
G0 X0.0 Y0.0 62.0 &$(ve pen ()t (f t'e +ay an, lift it-
4op+ing the code is not ver+ elegant but as it is possible to have a KH4ode subroutine %Dee
M6: and M66& the common code can be #ritten once and called as man+ times as +ou need
d t#ice in this e>ample
The subroutine version is sho#n belo# The pen up(do#n commands have been tidied up
and the subroutine actuall+ dra#s at .,. #ith a K0- being used for setting the corner of
both sBuares'
G20 %10 G.0 &set )p i$perial )nits5 a sl(+ fee, rate etc.-
G52 X0.# Y0.3 &start (f first s7)are-
*.# 1123" &call s)br()tine f(r s7)are in first p(siti(n-
G52 X3 Y2.3 &start (f sec(n, s7)are-
*.# 1123" &call s)br()tine f(r s7)are in sec(n, p(siti(n-
G52 X0 Y0 9/*1O:;04; < get ri, (f G52 (ffsets-
*30 &re+in, at en, (f pr(gra$-
O123"
&Start (f s)br()tine 123"-
G0 X0 Y0 &rapi, t( b(tt($ left (f s7)are-
G1 60.0 &pen ,(+n-
Y1 &+e can leave ()t t'e G1 as +e 'ave !)st ,(ne (ne-
X1
Y0 &g(ing cl(c3+ise r()n, s'ape-
X0
G0 62.0 &lift pen-
*.. &ret)rn fr($ s)br()tine-
"otice that each K0- applies a ne# set of offsets #hich ta$e no account of an+
previousl+ issued K0-
]
JJ5 Usando o K0-
Um e>emplo simples de uso do K0- 8 o lugar onde vocF pode optar pela apresentao de duas
formas idFnticas comendo lugares diferentes na pea
= cIdigo Bue a chamou, a olhou antes de 5S Buadrado com um canto em Y n .,: ` n .,3'
K-. K6. *5. %conAunto de unidades imperiais, uma ta>a de avano lento, etc&
K. V-. %caneta elevador&
K. Y.: `.3 %rpido ao canto inferior esBuerdo da praa&
K5 V.. %caneta&
`53 %podemos dei>ar de fora o K5 como temos feito apenas um&
Y5:
`.3 %indo forma redonda horrio&
Y.:
K. Y.. `.. V-. %pena sair do caminho e levantHla&
De Bueremos outro Buadrado, mas o segundo com o seu canto de Y n 3,. e ` n -,3, ento o
cIdigo acima pode ser usado duas ve?es, mas usando o K0- para aplicar e deslocamento antes
da segunda cIpia
K-. K6. *5. %conAunto de unidades imperiais, uma ta>a de avano lento, etc&
K. V-. %caneta elevador&
K. Y.: `.3 %rpido ao canto inferior esBuerdo da praa&
K5 V.. %caneta&
`53 %podemos dei>ar de fora o K5 como temos feito apenas um&
Y5:
`.3 %indo forma redonda horrio&
Y.:
K. V-. %caneta elevador&
K0- Y-- `- %temporria deslocamento para segundo Buadrado&
K. Y.: `.3 %rpido ao canto inferior esBuerdo da praa&
K5 V.. %caneta&
`53 %podemos dei>ar de fora o K5 como temos feito apenas um&
Y5:
`.3 %indo forma redonda horrio&
Y.:
K0- Y. `. %MivrarHse das compensaes temporrias&
K. Y.. `.. V-. %pena sair do caminho e levantHla&
4opiar o cIdigo no 8 muito elegante, mas como 8 possCvel ter uma subHrotina do KH4ode %ver
M6: e M66&, o cIdigo comum podem ser escritos uma ve? e chamar tantas ve?es Buantas
forem necessrias H !uas ve?es neste e>emplo

, verso subHrotina 8 mostrada abai>o
, caneta os comandos ( do#n foram arrumados e realmente chama a subHrotina em .,. com
um K0- a ser utili?ado para definir o canto de ambos os praas'
K-. K6. *5. %conAunto de unidades imperiais, uma ta>a de avano lento, etc&
`.3 Y.: K0- %inCcio do primeiro Buadrado&
M6: 35-3/ %subHrotina chamada de praa na primeira posio&
K0- Y3 `-
3 %inCcio do segundo Buadrado&
M6: 35-3/ %subHrotina chamada de praa na segunda posio&
K0- Y. `. %EM3=9T,"T7 H livrarHse das compensaes K0-&
M3. %re#ind no final do programa&
=s sistemas de coordenadas, tabela de ferramentas e utensClios
=5-3/
%EnCcio da subrotina 5-3/&
K. Y. `. %rpido ao canto inferior esBuerdo da praa&
K5 V.. %caneta&
`5 %podemos dei>ar de fora o K5 como temos feito apenas um&
Y5
`. %indo forma redonda horrio&
Y.
K. V-. %caneta elevador&
M66 %retorno de subrotina&
=bserve Bue cada K0- se aplica um novo conAunto de deslocamentos Bue no tFm em conta as
anteriormente K0- emitidos
_
".".2 (sing @>2
The simplest e>ample #ith K6- is, at a given point, to set Y l ` to ?ero but +ou can
set an+ values The easiest #a+ to cancel K6- offsets is to enter SK6-5S on the M!E
line
]
JJ- Usando o K6-
= e>emplo mais simples 8 com o K6-, em um determinado ponto, para definir Y l ` para
?ero, mas vocF pode definir BuaisBuer valores
, maneira mais fcil de anular as compensaes K6- 8 entrar SK6-5S na linha de M!E
_
".".3 Take care with @52 and @>2
`ou can specif+ offsets on as man+ a>es as +ou li$e b+ including a value for their
a>is letter Ef an a>is name is not given then its offset remains unaltered
Mach3 uses the same internal mechanisms for K0- and K6- offsetse it Aust does different
calculations #ith +our Y, ` and V #ords Ef +ou use K0- and K6- together +ou %and
even Mach3& #ill become so confused that disaster #ill inevitabl+ occur Ef +ou reall+
#ant to prove +ou have understood ho# the+ #or$, set up some offsets and move the
controlled point to a set of coordinates, sa+ Yn-3 and `n/0 3redict the absolute
machine coordinates +ou should have and chec$ them b+ ma$ing Mach3 displa+
machine coordinates #ith the SMachS button
!o not forget to clear the offsets #hen +ou have used them
<arning* ,lmost ever+thing that can be done #ith K6- offsets can be done better using
#or$ offsets or perhaps K0- offsets Gecause K6- relies on #here the controlled point is
as #ell as the a>is #ords at the time K6- is issued, changes to programs can easil+
introduce serious bugs leading to crashes
Man+ operators find it hard to $eep trac$ of three sets of offsets %@or$, Tool and K0-(K6-&
and if +ou get confused +ou #ill soon brea$ either +our tool or #orse +our machineb
]
JJ3 Tome cuidado com K0- e K6-

LocF pode especificar deslocamentos em muitos ei>os como vocF gosta, incluindo
um valor para o ei>o e a sua letra
De o nome do ei>o no 8 dado, em seguida, seu deslocamento permanece inalterado
Mach3 usa os mesmos mecanismos internos para deslocamentos K0- e K6-, Bue fa?
apenas diferentes clculos com o Y, ` e V palavras
De vocF usar o K0- e K6- Auntos, vocF %e mesmo Mach3& vo se tornar to confusos
Bue o desastre inevitavelmente ocorrer
De vocF realmente deseAa provar Bue vocF tenha entendido como eles funcionam,
configure algumas compensaes e mova o controle apontando para um conAunto de
coordenadas, por e>emplo Y n -,3 e ` n /0

!escubra a coordenada absoluta da mBuina Bue vocF deve ter e confira fa?endo a
mBuina mostrar no Mach3 com o boto de coordenadas no Mach3
"o se esBuea de limpar os deslocamentos Buando vocF utili?Hlos
,tenob Uuase tudo o Bue pode ser feito com offsets K6- pode ser feito melhor
com o uso de deslocamentos de trabalho ou talve? compense K0- K6- porBue
depende sempre do ponto de controle, e bem como as palavras no ei>o K6-
,s alteraes nos programas podem facilmente introdu?ir erros graves levando a
falhas
Muitos operadores acham difCcil manter o controle de trFs conAuntos de
compensaes %=bra, *erramenta e K0-(K6-& e se vocF ficar confuso em breve vocF
vai Buebrar tanto a ferramenta ou pior a sua mBuinab
_
0.8 $oo diameter
Duppose the blue sBuare dra#n using our machine is the outline for a hole in the lid of
a childas shapeHsorter bo> into #hich a blue cube #ill fit 9emember KH4odes move
the 4ontrolled 3oint The e>ample part
program dre# a 5S sBuare Ef the
tool is a thic$ felt pen then the hole
#ill be significantl+ smaller than
5S sBuare Dee figure J53
The same problem obviousl+
occurs #ith an endmill(slot drill
`ou ma+ #ant to cut a poc$et or
be leaving an island These need
different compensation
This sounds eas+ to do but in
practice there are man+ Sdevils in
the detailS concerned #ith the
#igure 0.13 - Using a arge diameter too 3"et %en5
beginning and end of the cutting Et is usual for a @i?ard or +our 4,!(4,M soft#are
to deal #ith these issues Mach3, ho#ever, allo#s a part program to compensate for the
diameter of the chosen tool #ith the actual cutting moves being specified as, sa+, the 5S
sBuare This feature is important if the author of the part program does not $no# the e>act
diameter of the cutter that #ill be used %eg it ma+ be smaller than nominal due to
repeated sharpening& The tool table lets +ou define the diameter of the tool or, is some
applications, the difference from the nominal tool diameter of the actual tool being used d
perhaps after multiple sharpening Dee 4utter 4ompensation chapter for full details
]
J,: de diRmetro da *erramenta
Duponhamos Bue o Buadrado a?ul desenhado com a nossa mBuina 8 o esboo de
um buraco na tampa de uma cai>a de brinBuedo de criana na Bual um cubo a?ul
vai poder ser inserido
MembreHse KH4ode mova o 3onto controlado
"o e>emplo o programa da pea desenhou um SBuadrado
De a ferramenta 8 uma caneta de ponta grossa de feltro, o buraco ser
significativamente menor do Bue 5S Buadrados
LeAa a figura J53
= mesmo problema, obviamente, ocorre com uma fresa de topo ( broca slot
LocF pode Buerer cortar um bolso ou dei>ar uma ilha
7les precisam de compensao diferente
Esso parece fcil de fa?er, mas na prtica, e>istem muitos Sdem^nios nestes
detalhes S Bue preocupam com o inCcio e final do corte
Z normal para um assistente ou do seu soft#are de 4,! ( 4,M em lidar com estas
Buestes
Mach3, por8m, permite Bue o programa parta para compensar a diRmetro da
ferramenta escolhida com os movimentos reais de corte a ser especificado como,
digamos, a 5S

*igura J53 H Usando uma ferramenta de grande diRmetro %caneta de feltro&
=s sistemas de coordenadas, tabela de ferramentas e utensClios Buadrados
7sta caracterCstica 8 importante se o autor do programa da pea, no sabe
e>atamente o diRmetro do cortador Bue ser usado %por e>emplo, pode ser menor
do Bue nominal devido a repetidas sharpening&
, tabela a ferramenta permite Bue vocF defina o diRmetro do instrumento ou, se
algumas aplicaes, a diferena entre o diRmetro da ferramenta nominal da
ferramenta real Bue est sendo utili?ada H talve? apIs vrios sharpening
LeAa capCtulo 4utter 4ompensao para obter mais detalhes
_
*=#? &!8; and image "ie im%ort
Using Mach3Mi 8-2 Rev 1.84-A2
8. *=#? &!8; and image "ie im%ort
This chapter covers importing files and their conversion to part programs b+
Mach3
Et assumes a limited understanding of simple KH4odes and their
function
]
: !Y*, N3KM e importao de arBuivo de imagem
7ste capCtulo aborda arBuivos de importao e sua converso em parte, por programas
Mach3
7le assume uma compreenso limitada de simples KH4odes e suas funes
_
8.1 Introduction
,s +ou #ill have seen Mach3Mill uses a part program to control the tool movement in
+our machine tool `ou ma+ have #ritten part programs b+ hand %spiralt>t is such an
e>ample& or generated them using a 4,!(4,M %4omputer ,ided !esign(4omputer
,ided Manufacturing& s+stem
Emporting files #hich define SgraphicsS in !Y*, N3KM, GM3 or 237K formats provides
an intermediate level of programming Et is easier than coding b+ hand but provides much
less control of the machine than a program output b+ a 4,!(4,M pac$age
The ,utomatic V control feature %Bv& and repetitive e>ecution decrementing the EnhibitH
V value is a po#erful tool for ma$ing a series of roughing cuts based on imported !Y*
and N3KM files
]
:5 Entroduo
4omo vocF vai ter visto Mach3Mill usa uma parte do programa para controlar o movimento da
ferramenta em sua mBuinaHferramenta
LocF pode ter escrito a mo por parte de programas %spiralt>t 8 um e>emplo&
ou geradasHlos usando um sistema 4,! ( 4,M %4omputer ,ided !esign ( 4omputer ,ided
Manufacturing D+stem&
Emportando arBuivos Bue definem SgrficosS em !Y*, N3KM, GM3 ou 237K fornece uma
nCvel intermedirio de programao
Z mais fcil de codificar com a mo, mas oferece muito menos controle da mBuina do Bue
uma saCda do programa gerado por um pacote de 4,! ( 4,M
, funcionalidade de controle automtico do V %Bv& e a sua e>ecuo repetitiva decrementando
o valor de EnibirHV 8 uma ferramenta poderosa para fa?er uma s8rie de cortes de desbaste
baseado e importado de arBuivos !Y* e N3KM
_
8.2 *=# im%ort
Most 4,! programs #ill allo# +ou to output a file in !Y* format even though the+ do
*=#? &!8; and image "ie im%ort
Rev 1.84-A2 8-1 Using Mach3Mi
not offer an+ 4,M features , file #ill contain the description of the start and finish of
lines and arcs in the dra#ing together #ith the la+er that the+ are dra#n on Mach3 #ill
import such a file and allo# +ou to assign a particular tool, feed rate and Sdepth of cutS to
each la+er The !Y* file must be in te(t format, not binar+, and Mach3 #ill onl+ import
lines: polylines: circles and arcs Fnot te(tJ
!uring import +ou can %a& optimise the order of the lines to minimise nonHcutting moves
%b& use the actual coordinates of the dra#ing or offset them so that the bottom leftmost
point is .,., %c& optionall+ insert codes to control the arc(beam on a plasma(laser cutter and
%d& ma$e the plane of the dra#ing be interpreted as V(Y for turning operations
The !Y* import is in the file menu The dialog in figure :5 is displa+ed
#igure 8.1 - *=# im%ort diaog
Using Mach3Mi 8-2 Rev 1.84-A2
*=#? &!8; and image "ie im%ort
9.2.1 =ile loading
This sho#s the four stages of importing the file Dtep 5 is to load the !Y* file 4lic$ing
the Load File button displa+s an open file dialog for this *igure :- sho#s a file #ith t#o
rectangles and a circle
#igure 8.2 - a dra'ing o" eight ines and one circe
9.2.2 Deining action or la&ers
The ne>t stage is to define ho# the lines on each la+er of the dra#ing are to be
treated 4lic$ the Layer ,ontrol button to displa+ the dialog sho#n in figure :3
Turn on the la+er or la+ers #hich have lines on them that +ou #ant to cut, choose the tool
to use, the depth of cut, the feedrate to use, the plunge rate, the spindle speed %onl+ used if
+ou have a step(direction or 3@M spindle controller& and the order in #hich +ou #ant the
la+ers cutting "otice that the S!epth of cutS value is the V value to be used in the cut so, if
the
#igure 8.3 - (%tions "or each ayer
Rev 1.84-A2 8-3 Using Mach3Mi
*=#? &!8; and image "ie im%ort
surface of the #or$ is V n ., #ill be a negative value The order ma+ be important for
issues li$e cutting holes out of a piece before it is cut from the surrounding material
9.2.3 Conversion options
"e>t +ou choose the options for the conversion process %see step 3 on figure :-&
!"# Information: Kives general details of +our file #hich are useful for
diagnostic purposes
$ptimise: Ef Optimise is not chec$ed then the entities %lines etc& #ill be cut in the order in
#hich the+ appear in the !Y* file Ef it is chec$ed then the+ #ill be reHordered to minimise
the amount of rapid traverse movement reBuired "ote that the cuts are al#a+s optimised
to minimise the number of tool changes reBuired
As !rawn: Ef ,s !ra#n is not chec$ed then the ?ero coordinates of the KH4ode #ill be the
Sbottom left cornerS of the dra#ing Ef it is chec$ed then the coordinates of the dra#ing
#ill be the coordinates of the KH4ode produced
%lasma Mode: Ef +lasma Mode is chec$ed then M3 and M0 commands #ill be produced
to turn the arc(laser on and off bet#een cuts Ef it is not chec$ed then the spindle #ill be
started at the beginning of the part program, stopped for tool changes and finall+ stopped
at the end of the program
Connection &ol. T#o lines on the same la+er #ill be considered to Aoin if the distance
bet#een their ends is less than the value of this control This means that the+ #ill be cut
#ithout a move to the S9apid 3laneS being inserted bet#een them Ef the original
dra#ing #as dra#n #ith some sort of SsnapS enabled then this feature is probabl+ not
reBuired
'apid plane: This control defines the V value to be adopted during rapid moves
bet#een entities in the dra#ing
(athe mode: Ef Mathe Mode is chec$ed then the hori?ontal %plus Y& direction of the
dra#ing #ill be coded as V in the KH4ode and the vertical % plus `& #ill be coded as minus
Y so that
a part outline dra#n #ith the hori?ontal a>is of the dra#ing as its centerline is displa+ed
and cut correctl+ in Mach3Turn
9.2.4 @eneration o @-Code
*inall+ clic$ 3enerate 37,ode to perform step / Et is conventional to save the generated
KH code file #ith a T,3 e>tension but this is not reBuired and Mach3 #ill not insert the
e>tension automaticall+
`ou can repeat steps - to /, or indeed 5 to / and #hen +ou have finished these clic$ Done.
Mach3 #ill load the last KH4ode file #hich +ou have generated "otice the
comments identif+ing its name and date of creation
%otes$
The generated KH4ode has feedrates depending on the la+ers imported Unless
+our spindle responds to the D #ord, +ou #ill have to manuall+ set up the spindle
speed and change speeds during tool changes
!Y* input is good for simple shapes as it onl+ reBuires a basic 4,! program
to generate the input file and it #or$s to the full accurac+ of +our original
dra#ing
!Y* is good for defining parts for laser or plasma cutting #here the
StoolS diameter is ver+ small
*or milling +ou #ill have to ma$e +our o#n manual allo#ances for the diameter
of the cutter The !Y* lines #ill be the path of the centreline of the cutter This is
not straightfor#ard #hen +ou are cutting comple>
shapes
The program generated from a !Y* file does not have multiple passes to rough
Using Mach3Mi 8-4 Rev 1.84-A2
*=#? &!8; and image "ie im%ort
out a part or clear the centre of a poc$et To achieve these automaticall+ +ou #ill
need to use a 4,M program
Rev 1.84-A2 8-, Using Mach3Mi
*=#? &!8; and image "ie im%ort
Ef +our !Y* file contains Ste>tS then this can be in t#o forms depending on the
program #hich generated it The letters ma+ be a series of lines These #ill be
imported into Mach3 The letters ma+ be !Y* Te>t obAects En this case the+ #ill
be ignored "either of these situations #ill give +ou KH4ode #hich #ill engrave
letters in the font used in the original dra#ing although the lines of an outline
font ma+ be satisfactor+ #ith a small vHpoint or bullnose cutter , plasma or
laser cutter #ill have a narro# enough cut to follo# the outline of the letters and
cut them out although +ou have to be sure that the centre of letters li$e SoS or SaS
is cut before the outlineb
]
:- Emportao de !Y*
, maioria dos programas 4,! permitir a saCda para um arBuivo no formato !Y*, embora
no oferea todas as caracterCsticas de 4,M
= arBuivo conter a descrio do inCcio e t8rmino das linhas e arcos no desenho Auntamente
com a camada Bue elas vo tirar e assim por diante
Mach3 vai importar um arBuivo e permite Bue vocF atribua a ele uma ferramenta especial, a
ta>a de alimentao e Sprofundidade de corteS para cada camada
= arBuivo !Y* deve estar no formato te>to e no binrio, e Mach3 vai importar apenas as
linhas, polilinhas, cCrculos e arcos %no te>to&
!urante a importao vocF pode'
%a& =timi?ar a fim de minimi?ar as linhas de movimentos noHcortante
%b& a utili?ao real das coordenadas do desenho ou compensHlos de modo Bue o ponto
inferior da esBuerda seAa .,.
%c&, opcionalmente, inserir cIdigos para controlar o fei>e ( arco em um plasma ( cortador de
laser e
%d& fa?er o plano do desenho ser interpretado como V ( Y para operaes de torneamento
, importao !Y* est no menu arBuivo , cai>a de dilogo da figura :5 8 e>ibida
:-5 4arregando arBuivos
Esso mostra os Buatro estgios de importar o arBuivo 7tapa 5 8 carregar o arBuivo de !Y*
,o clicar no boto Moad *ile e>ibe um dilogo de arBuivo aberto para isso
:-- !efinio de ao para as camadas
, prI>ima etapa 8 definir como as linhas em cada camada do desenho devero ser tratadas
4liBue no boto Ma+er 4ontrol para e>ibir o dilogo mostrado na figura :3
Migue a camada ou camadas, Bue tFm linhas sobre eles Bue vocF Buer cortar, escolha a
ferramenta a utili?ar, a profundidade de corte, o avano a usar, a ta>a de mergulho, a
velocidade do ei>o %usado somente se vocF tem um passo ( direo ou ei>o do controlador
3@M& e a ordem na Bual deseAa o corte das camadas
=bserve Bue a profundidade de corte de valor S8 o valor de V para ser usado no corte assim, se
o *igura :- H um desenho de oito linhas e um cCrculo *igura :3 H =pes para cada camada
Using Mach3Mi 8-. Rev 1.84-A2
*=#? &!8; and image "ie im%ort
!Y*, N3KM e importao de arBuivo de imagem superfCcie de trabalho 8 V n ., ser um valor
negativo
, ordem pode ser importante para as Buestes como cortar os buracos de um pedao antes de
ser cortado a partir do material circundante
:-3 opes de converso
7m seguida, vocF escolhe as opes para o processo de converso %ver passo 3 da figura :-&
!Y* Enformaes' ! informaes gerais do arBuivo Bue so teis para o diagnIstico
finalidades
=ptimi?e' De =ptimi?e no estiver marcada, ento as entidades %linhas, etc& sero cortados na
ordem em Bue aparecem no arBuivo de !Y*
De ela estiver marcada, ento eles vo voltar a ser reBuisitado para minimi?ar a Buantidade de
movimento transversal rpida necessrios
"ote Bue os cortes so sempre otimi?ado para minimi?ar o nmero de trocas de ferramentas
necessrias
4omo !ra#n' De, estabelecida no estiver marcada, ento as coordenadas ?ero do KH4ode ser
o S4anto inferior esBuerdoS do desenho
De ela estiver marcada, ento as coordenadas do desenho ser se as coordenadas do KH4ode
produ?ido
Modo de 3lasma, se estiver marcada, ento os comandos M3 e M0 sero produ?ido para
transformar a laser ( arc on e off entre os cortes
De no estiver marcada, ento o ei>o vai comear no inCcio do programa da pea, parar para
trocas de ferramentas e, finalmente, parar no fim do programa
Tol 4onnection !uas linhas na mesma camada sero consideradas para se Auntar, se a
distRncia entre as suas e>tremidades 8 menor Bue o valor desse controle
Esso significa Bue eles sero cortados sem passar para o S9apid 3laneS estar inserido entre eles
De o desenho original foi desenhado com uma esp8cie de SsnapS ativado, esse recurso no 8
provavelmente necessrio
3lano 9pido' 7ste controle define o valor de V a ser adotados durante movimentos rpidos
entre as entidades no desenho
Modo Torno' De Mode Torne 8 marcado, ento a hori?ontal %e Y& direo do desenho
ser codificado como V no KH4ode e vertical %` positivo& sero codificadas como Y negativo
assim Bue uma parte de contorno seAa desenhado com o ei>o hori?ontal do desenho como sua
linha central 8 e>ibido e cortado corretamente no Mach3Turn
:-/ Kerao de KH4ode
3or fim, cliBue em Kerar KH4ode para e>ecutar o passo /
Z convencional guardar o KH4ode gerados em arBuivo com uma e>tenso T,3 mas isso no 8
necessrio e Mach3 no ir inserir o sufi>o automaticamente
3ode repetir os passos -H/, ou mesmo 5H/ e Buando tiver terminado cliBue em 4oncluCdo
Mach3 vai carregar o ltimo arBuivo KH4ode Bue foi gerado
=bserve nos comentrios identificando seu nome e data de criao
Rev 1.84-A2 8-0 Using Mach3Mi
*=#? &!8; and image "ie im%ort
"otas' = KH4ode gerado tem Ta>as de ,limentao dependente das camadas importadas
, menos Bue seu spindle responda ao cIdigo D, vocF ter Bue configurar manualmente a
velocidade do ei>o e velocidades de mudana durante a troca de ferramenta
H 7ntrada em !Y* 8 bom para as formas mais simples Bue e>ige apenas um programa de 4,!
bsico para gerar o arBuivo de entrada e funciona e>atamente como o seu desenho original
H !Y* 8 bom para a definio de peas para corte a plasma ou laser, onde a SferramentaS tem
um diRmetro muito peBueno
H 3ara fresagem vocF ter Bue fa?er o seu prIprio manual com subsCdios para o diRmetro da
suas fresas ,s linhas do !Y* devero caminhar pelo ei>o central do cortador
Esto no 8 fcil Buando vocF est cortando formas comple>as
H = programa gerado a partir de um arBuivo !Y* no tem as vrias passagens e>ternas de
corte da parte em bruto ou para limpar o e>cesso de material
3ara atingir isto automaticamente vocF vai precisar usar um programa 4,M !Y*, N3KM e
importao de arBuivo de imagem
De o seu arBuivo !Y* cont8m Ste>tS, ento estes podem ser de duas formas, dependendo do
programa Bue a gerou
,s cIdigos podem estar em uma s8rie de linhas
7stas sero importados para Mach3
=s cIdigos no !Y* podem ser obAetos em te>to "este caso, sero ignorados
"enhuma destas situaes lhe dar KH4ode Bue gravam cIdigos fontes usados no desenho
original, embora as linhas de contorno de um fonte possam ser satisfatIrias,para um peBueno
ponto em L ou uma fresa de corte com formato irregular
Um plasma ou laser cortador ter um corte fino o suficiente para seguir o contorno das letras e
do contorno embora vocF tenha a certe?a de Bue o centro de letras como SoS ou SaS deva ser
cortado antes do corte do contorno
_
8.3 &!8; im%ort
N3KM files contain lines dra#n #ith one or more pens Mach3Mill ma$es the same cuts
for all pens N3KM files can be created b+ most 4,! soft#are and often have the
filename e>tension N3M or 3MT
Using Mach3Mi 8-8 Rev 1.84-A2
*=#? &!8; and image "ie im%ort
#igure 8.4 ) &!8; im%ort "iter
9.3.1 2bo%t 4,@.
,n N3KM file represents obAects to a lo#er precision than !Y* and uses straight
line segments to represent all curves even if the+ are circles
The import process for N3KM is similar to !Y* in that a T,3 file is produced
#hich contains the KH4ode produced from the N3KM
9.3.2 Choosing ile to i$port
The import filter is accessed from *ileoEmport N3KM(GM3(23K and the N3KM button
on the dialog *igure :/ sho#s the import dialog itself
*irst choose the Scale corresponding to that at #hich the N3KM file #as produced This is
usuall+ /. N3KM units per millimetre %5.51 units per inch& `ou can change this to suit
different N3KM formats or to scale +our KH4ode file *or e>ample, choosing -. %rather
than
/.& #ould double the si?e of the obAects defined
"o# enter the name of the file containing the N3KM data or SGro#seS for it The
default e>tension for bro#sing is 3MT so it is convenient to create +our files named
li$e this
Rev 1.84-A2 8-1 Using Mach3Mi
*=#? &!8; and image "ie im%ort
9.3.3 I$port para$eters
The +en =p control is the V values %in the current unit in #hich Mach3 is #or$ing& to
be used #hen ma$ing moves 3en Up #ill t+picall+ need to position the tool Aust above
the #or$
!ifferent depths of cut and feed rates can be programmed for each of the gpensh used to
produce the dra#ing `ou can alsi define the order in #hich +ou #ant cuts to be made
This allo#s cutting the inside of an oAbAect before +ou cut it from the stoc$b
Ef ,hec. only %or laser ta/le is chec$ed then the KH4ode #ill include an M3 %Dpindle
Dtart 4loc$#ise& before the move to the 3en !o#n V level and an M0 %Dpindle Dtop&
before the move to the 3en Up level to control the laser
9.3.4 5riting the @-Code ile
*inall+, having defined the import translations, clic$ Import File to actuall+ import the
data to Mach3Mill `ou #ill be prompted for the name to use for the file #hich #ill store
the generated code `ou should t+pe the full name including the e>tension #hich +ou #ish
to use or select an e>isting file to over#rite 4onventionall+ this e>tension #ill be T,3
,fter #riting the file clic$ OO to return to Mach3 `our KH4ode file #ill have been loaded
%otes$
The import filter is run b+ suspending Mach3 and running the filter program Ef
+ou s#itch to the Mach3Mill screen %for e>ample b+ accidentall+ clic$ing on it&
then it #ill appear to have loc$ed up `ou can easil+ continue b+ using the
@indo#s tas$ bar to return to the filter and completing the import process This
is similar to the #a+ the 7ditor for part programs is run
Ef +our T,3 file alread+ e>ists and is open in Mach3, then the import filter #ill
not be able to #rite to it Duppose +ou have tested an import and #ant to change
the translations b+ importing again, then +ou need to ma$e sure that +ou close
the
T,3 file in Mach3Mill before repeating the import
Et is generall+ easiest to #or$ in metric units throughout #hen importing N3KM
files
Ef +ou use the SMaser TableS option #ith a laser or plasma cutter then +ou need
to chec$ if the seBuence of M3(M0 and the moves in the V direction is
compatible #ith initiating and finishing a cut correctl+
*or milling +ou #ill have to ma$e +our o#n manual allo#ances for the diameter
of the cutter The N3KM lines #ill be the path of the centreline of the cutter This
allo#ance is not straightfor#ard to calculate #hen +ou are cutting comple>
shapes
The program generated from a N3KM file does not have multiple passes to rough
out a part or clear the centre of a poc$et To achieve these automaticall+ +ou
#ill need to use a 4,M program
]
:,3 importao N3KM
,rBuivos N3KM contFm linhas traadas com uma ou mais canetas
Mach3Mill fa? os mesmos cortes de todas as canetas
,rBuivos N3KM podem ser criados pela maioria dos soft#ares de 4,! e muitas ve?es tFm no
nome do arBuivo a e>tenso N3M ou 3MT
:35 Dobre N3KM
Um arBuivo de N3KM representa obAetos a uma menor preciso do Bue em !Y* e usa
segmentos de linha reta para representar todas as curvas, mesmo Bue seAam cCrculos
Using Mach3Mi 8-
1+
Rev 1.84-A2
*=#? &!8; and image "ie im%ort
= processo de importao de N3KM 8 semelhante ao !Y* em Bue um arBuivo T,3 8
produ?ido, e Bue cont8m o KH4ode produ?ido a partir da N3KM
:3- 7scolher arBuivo para importao
= filtro de importao 8 acessado a partir de ,rBuivoo Emportar N3KM ( GM3 ( 23K e no boto
de N3KM o dilogo *igura :/ mostra o dilogo de importao apropriado
3rimeiro, escolha a escala correspondente TBuele em Bue o arBuivo N3KM foi produ?ido
Esto 8 normalmente de /. unidades por milCmetro N3KM %5.51 unidades por polegada&
LocF pode mudar isto para se adeBuar diferentes formatos de N3KM ou a escala seu arBuivo de
KH4ode por e>emplo, a escolha de -. %em ve? de /.& seria o dobro do tamanho dos obAetos
definidos
,gora insira o nome do arBuivo contendo os dados N3KM ou cliBue nele
= padro e>tenso para a navegao 8 3MT por isso 8 conveniente criar seus arBuivos com este
nome
!Y*, N3KM e importao de arBuivo de imagem
:33 3arametros de Emportao
= controle de 3en Up 8 um valorde V %na unidade atual, em Bue est trabalhando Mach3&, a
ser usado para fa?er movimentos 3en Up normalmente necessidade de posicionar a ferramenta
logo acima do de trabalho
!iferentes profundidades de corte e de avano pode ser programado para cada uma das canetas
usadas para produ?ir o desenho
LocF pode definir a ordem em Bue vocF deseAa Bue os cortes seAam feitos Esto permite o corte
dentro de um obAeto antes de separaHlo
LerifiBue se 4hec$ onl+ laser table estassinalado poisassim o KH4ode ir incluir um M3
%Dpindle girando no sentido do relIgio&, antes da mudana para o nCvel 3en V !o#n e uma M0
%7i>o Dtop&, antes da passar para o nCvel 3en Up para controlar o laser
:3/ 7screvendo o arBuivo de KH4ode
*inalmente, depois de ter feito a importao, cliBue realmene em Emportar ,rBuivo para
importar os dados para Mach3Mill
LocF ser solicitado para o nome a ser usado para o arBuivo Bue ir arma?enar os cIdigo
gerado
LocF deve digite o nome completo, incluindo a e>tenso Bue deseAa utili?ao ou selecionar
um arBuivo e>istente para substituir
4onvencionalmente, esta e>tenso ser T,3
!epois de gravar o arBuivo, cliBue em =O para retornar T Mach3 Deu arBuivo KH4ode ter
sido carregado
Rev 1.84-A2 8-
11
Using Mach3Mi
*=#? &!8; and image "ie im%ort
"otas'
j = filtro de importao 8 e>ecutado pela chamada ao Mach3 Bue e>ecuta o programa de
filtragem De vocF alternar de tela no Mach3Mill %por e>emplo, acidentalmente, clicando sobre
ela& ento vai parecer Bue ficou trancado
LocF pode facilmente continuar usando o Garra de tarefas do @indo#s para retornar ao filtro e
completar o processo de importao Esto 8 semelhante T maneira como o editor de programas
de pea 8 e>ecutado
j De o seu arBuivo T,3 A e>iste e esta aberto no Mach3, o filtro de importao no ser capa?
de escrever sobre ele
Duponha Bue vocF tenha testado uma importao e deseAa modificar as tradues, importando
novamente, ento vocF precisa ter certe?a de Bue vocF fechou o ,rBuivo T,3 em Mach3Mill
antes de repetir a importao
j Z geralmente mais fcil para trabalhar em unidades m8tricas, Buando da importao de
arBuivos N3KM
j De utili?ar a opo SMaser TableS, com um cortador de laser ou plasma, ento vocF precisa
verificar se a seBQFncia de M3(M0 e se o movimento na direo V 8 compatCvel iniciando com
um corte e acabamento correto
H 3ara a fresagem, vocF ter Bue fa?er o seu prIprio manual de subsCdios para o diRmetro da
fresa
,s linhas em N3KM ser o caminho central do ei>o do cortador
7ste subsCdio no 8 fcil de calcular Buando vocF est cortando formas comple>as
j = programa gerado a partir de um arBuivo N3KM no possue vrias passagens para limpar
um centro de uma pea
3ara atingir isto automaticamente vocF necessidade de utili?ar um programa 4,M !Y*,
N3KM e importao de arBuivo de imagem
_
Using Mach3Mi 8-
12
Rev 1.84-A2
*=#? &!8; and image "ie im%ort
8.4 Ditma% im%ort 3DM! A 2!:85
This option allo#s +ou to import a
photograph and generate a KH4ode
program #hich #ill render different
shades of gre+ a different depths of
cut The result is a photoHrealistic
engraving
9.4.1 Choosing ile to
i$port
The import filter is accessed from
*ileoEmport N3KM(GM3(23K and
the 23K(GM3 button on the dialog
The first step is to define the file
containing the image using the
Load Image File button @hen the
file is loaded a dialog prompts +ou
for the area on the #or$piece into
#hich the image is to be fitted `ou
can use inch or metric units as +ou
#ish depending on the K-.(-5
#igure 8., ) -i7e o" %hotogra%hic im%ort
mode in #hich +ou #ill run the generated part program *igure :0 sho#s this dialog The
Maintain +erspective chec$bo> automaticall+ computes the `Hsi?e if a given YHsi?e is
specified and vice versa so as to preserve the aspect ratio of the original photograph Ef
the image is in colour it #ill be converted to monochrome as it is imported
9.4.2 Choose t&pe o rendering
"e>t +ou select
the method of
rendering the
image This is
defining the path
of the tool as it
SrasterisesS the
image 4aster
Q)P cuts along
the Y a>is
moving the `
a>is at the end of
each YHline
4aster P)Q
ma$es the raster
lines be in the `
direction
incrementing Y
for each line
Spiral starts at
the outside of a
circle bounding
the image and
moves in to the
centre 7ach
raster line is
made up of a
series of straight
#igure 8.. ) *e"ining the -te%-over
lines #ith the height of the V coordinates of the ends depending on the shade of gre+ of
that part of the picture
9.4.3 )aster and spiral rendering
,s +ou select one of these raster methods +ou #ill be prompted b+ a dialog for the step7
over values Dee figure :1 These define the distance bet#een raster lines and the length
of the short segments ma$ing up each line The total number of moves is the QSie Q7
Step7
Over x PSie P7Step7Over and, of course, increases as the sBuare of the si?e of the obAect
and the inverse sBuare of the si?e of stepHover `ou should start #ith a modest resolution
to avoid impossibl+ big files and long cutting times
9.4.4 Dot di%sion rendering
Ef +ou choose the !ot
!iffusion rendering
method then +ou #ill
be as$ed for a
different set of
details !ot diffusion
SdrillsS a series of
dots, in a regular
grid, in the #or$
T+picall+ these #ill
be formed b+ a LH
pointed or bullHnosed
tool The depth of
each dot is
determined b+ the
shade of gre+ at the
point on the image
The number of dots
reBuired to cover the
area is computed b+
the filter on the basis
of the shape of the
tool and the depth
%relief& of engraving
+ou select *igure 6J
illustrates the data
#igure 1.0 ) *ot di""usion %arameters
reBuired 7ach dot consists of a move to its location, a V move to its depth and a V move
to above the #or$ `ou must prepare +our image #ith a suitable photo editor to have a
reasonable number of pi>els to control the computation load #hen diffusing the dots The
statistics obtained b+ the ,hec. Stats button #ill give +ou an idea of ho# sensible +our
choice of parameters has been
"o# having defined the rendering techniBue +ou set the Sa%e ? at #hich moves over
the #or$ #ill be done and choose if blac$ or #hite is to be the deepest cut
9.4.5 5riting the @-Code ile
*inall+ clic$ ,onvert to actuall+ import the data into Mach3Mill `ou #ill be prompted
for the name to use for the file #hich #ill store the generated code `ou should t+pe the
full name including the e>tension #hich +ou #ish to use or select an e>isting file to
over#rite 4onventionall+ this e>tension #ill be T,3
%otes$
The import filter is run b+ suspending Mach3 and running the filter program Ef
+ou s#itch to the Mach3Mill screen %for e>ample b+ accidentall+ clic$ing on
it& then it #ill appear to have loc$ed up `ou can easil+ continue b+ using the
@indo#s tas$ bar to return to the filter and completing the import process This
is similar to the #a+ the 7ditor for part programs is run
Ef +our T,3 file alread+ e>ists and is open in Mach3, then the import filter #ill
not be able to #rite to it Duppose +ou have tested an import and #ant to change
the translations b+ importing again, then +ou need to ma$e sure that +ou close
the
T,3 file in Mach3Mill before repeating the import
`ou #ill need to define the feedrate to be used using M!E or b+ editing the
part program before it is run
!ot !iffusion places big demands on the performance of +our V a>is `ou must
set the Sa%e ? as lo# as possible to minimise the distance travelled and have the V
a>is motor tuning ver+ carefull+ set Most steps part of the #a+ through
an engraving #ill ruin the Aobb
]
:,/ importao de bitmap %GM3 e 237K&
7sta opo permite a importao de fotografiaa e permite se gerar um KH4ode Bue ir
processar diferentes tons de cin?a e em diferentes profundidades de corte = resultado 8 uma
gravura fotoHrealistas
:/5 7scolhendo arBuivo importao
= filtro de importao 8 acessado a partir do boto na cai>a de dilogo N3KM Emport *ileo
GM3 ( 23K e o 23K ( GM3
= primeiro passo 8 definir o arBuivo contendo a imagem usando o 4arregar a imagem no boto
do ,rBuivo
Uuando o arBuivo 8 carregado uma cai>a de dilogo solicita Bue vocF marBue a rea sobre a
pea em Bual a imagem deve ser usada
LocF pode usar unidades de polegada ou m8trica como vocF deseAo, dependendo do K-.(-5
modo em Bue vocF ir e>ecutar o programa da pea produ?ida
*igura :0 mostra este dilogo
, cai>a, Manter 3erspectiva, calcula automaticamente o tamanho de `HY, se um determinado
tamanho 8 especificados e viceHversa, de modo a preservar a relao de tamanho da fotografia
original , imagem e a cor ser convertida em monocromtico, como 8 o importado
:/- 7scolha o tipo de processamento
7m seguida, vocF selecione o m8todo de renderi?ar a imagem
Esto 8 definindo o caminho da ferramenta como S9asterisesS a imagem
9aster Y ( ` corta ao longo do ei>o Y movendo o ` ei>o no final de cada YHline
9aster ` ( Y fa? a varredura das linhas na direo` incrementando Y para cada linha
, 7spiral comea pelo e>terior de uma cCrculo delimitando a imagem e moveHse para o centro
4ada linha de varredura 8 composta por um s8rie de retas
:/3 Larredura e espiral de renderi?ao
r medida Bue vocF selecionar um desses m8todos de varredura vocF ser solicitado por um
dilogo para definir os valores
LeAa a figura :1
Esto vai definir a distRncia entre as linhas de varredura e o tempo dos segmentos Bue compem
cada linha
= nmero total de movimentos 8 o >Tamanho j Y DtepH Mais > `Di?e j `HDtepH=ver e, claro,
aumenta com o Buadrado do tamanho do obAeto eo inverso do Buadrado do tamanho do passoH
over
LocF deve comear com uma resoluo modesta e faa o possCvel para evitar arBuivos grandes
para evitar longos perCodos de corte
:// !ot difuso de renderi?ao
De vocF escolheu a renderi?ao por difuso do ponto, ento vocF vai ser solicitado para um
conAunto diferente de detalhes

, profundidade da cada ponto 8 determinada pelo tom de cin?a no ponto na imagem
= nmero de pontos necessrias para cobrir a rea 8 calculada pelo o filtro com base da forma
do ferramenta e a profundidade %9elevo& da gravura Bue vocF selecionar
*igura 6J ilustra os dados necessrio
4ada ponto consiste em uma mudana na sua locali?ao, e um movimento de V na
profundidade para cima e para bai>o do trabalho
LocF deve preparar a sua imagem com um editor de fotografia adeBuada para ter um ra?ovel
nmero de pi>els para controlar a carga de computao, Buanto aos pontos de difuso
, estatCsticas obtidas pelo boto 4hec$ Dtats lhe dar uma id8ia de Buo sensCvel foi a
escolha de seus parRmetros
,gora, tendo definido a t8cnica de renderi?ao vocF deve configurar a segurana com Bue o V
se move sobre a trabalho e escolher Buanto do preto ou branco seAa o mais profundo corte
:/0 7screvendo o arBuivo de KH4ode
3or fim, cliBue em 4onvert para realmente importar os dados para Mach3Mill
LocF ser solicitado para usar o nome para o arBuivo Bue ir arma?enar o cIdigo gerado
LocF deve digitar o nome completo, incluindo a e>tenso Bue vocF deseAa utili?ar ou selecione
um arBuivo e>istente para substituir 4onvencionalmente, esta e>tenso ser T,3
"otas'
j = filtro de importao 8 e>ecutado pela chamada so Mach3 e e>ecutao do programa de
filtragem
De vocF alternar para a tela Mach3Mill %por e>emplo, acidentalmente, clicando sobre ela& ento
vai parecer ter trancado LocF pode facilmente continuar usando o !Y*, N3KM e importao
de arBuivo de imagem
4liBue na barra de tarefas do @indo#s para retornar ao filtro e completar o processo de
importao
Esto 8 semelhante T maneira como o editor de programas de pea 8 e>ecutado
j De o seu arBuivo T,3 A e>iste e 8 aberto no Mach3, em seguida, o filtro de importao no
ser capa? de escrever sobre ele
Duponha Bue vocF tenha testado uma importao e deseAa modificar as tradues, importando
novamente, ento vocF precisa ter certe?a de Bue fechou o ,rBuivo T,3 em Mach3Mill antes
de repetir a importao
H LocF precisar definir o ,vano para ser usado com M!E ou editando a parte programa antes
Bue ele seAa e>ecutado
H !ot !iffusion, cria grandes e>igFncias sobre o desempenho de seu ei>o V
LocF deve definir o V de segurana to bai>o Buanto possCvel para minimi?ar a distRncia
percorrida
7tapas perdidas em parte do caminho atrav8s de uma gravura vai estragar o trabalho
_
8 and M-code re"erence
Rev 1.84-A2 1-1 Using Mach3Mi
1. Cutter com%ensation
4utter compensation is a feature of Mach3 #hich +ou man+ never have
to use Most 4,!(4,M programs can be told the nominal diameter of
+our
mill and #ill output part programs #hich cut the part outline or poc$et
#hich
+ou have dra#n b+ themselves allo#ing for the tool diameter Gecause the
4,!(4,M soft#are has a better overall vie# of the shapes being cut it
ma+ be able to do a better Aob than Mach3 can #hen avoiding gouges at
sharp internal corners
Naving compensation in Mach3 allo#s +ou to' %a& use a tool different in
diameter from that programmed %eg because it has be reground& or %b& to
use a part program that describes the desired outline rather than the path
of the center of the tool %perhaps one #ritten b+ hand&
No#ever, as compensation is not trivial, it is described in this
chapter should +ou need to use it
This feature is under development and ma+ change significantl+ in the
final release of Mach3
]
6 4ompensao de 4orte
4ompensao de4orte 8 uma caracterCstica do Mach3, mas Bue vocF provavelmente usar
muito pouco
Esto, porBue na maioria dos programas de 4,! ( 4,M vocF pode informar o diRmetro
nominal da sua fresa e os programas de saCda da pea Bue vai se cortar permitindoHse
considerar no contorno o diRmetro da ferramenta
3orBue o Doft#are 4,! ( 4,M tem uma melhor viso global das formas do corte, pode
ser capa? de fa?er um trabalho melhor para poder evitar Buando cavar em cantos internos de
forma acentuada
Tendo isto em compensao, Mach3 permite'
%a& Usar uma ferramenta de diRmetro diferente do Bue, por e>emplo a programada %porBue tem
ser retificadas&, ou
%b& usar um programa da pea, Bue descreve o contorno deseAado ao inv8s do caminho do
o centro da ferramenta %talve? um escrito T mo&
"o entanto, como a compensao no 8 trivial, 8 descrito neste capCtulo se vocF precisar usHlo
7ste recurso est em desenvolvimento e pode mudar bastante no lanamento final do Mach3
_
1.1 Introduction to com%ensation
,s #e have seen Mach5
controls the movement
of the 4ontrolled 3oint
En practice no tool
%e>cept perhaps a LH
engraver& is a point so
8 and M-code Re"erence
Using Mach3Mi 1-
1+
Rev 1.84-A2
cuts #ill be made at a
different place to the
4ontrolled 3oint
depending on the radius
of the cutter
Et is generall+ easiest to
allo# +our 4,!(4,M
soft#are to ta$e account
#igure 1.1 - $'o %ossi/e too%aths to cut triange
of this #hen cutting out poc$ets or the outline of shapes
Mach3 does, ho#ever, support calculations to compensate for the diameter %radius& of the
cutter En industrial applications this is aimed at allo#ing for a cutter #hich, through
regrinding, is not e>actl+ the diameter of the tool assumed #hen the part program #as
#ritten The compensation can be enabled b+ the machine operator rather than reBuiring
the production of another part program
=f the face of it, the problem should be eas+ to solve ,ll +ou need to do is to offset the
controlled point b+ an appropriate Y and ` to allo# for the tool radius Dimple
trigonometr+ gives the distances depending on the angle the direction of cut ma$es to the
a>es
En practice it is not Buite so eas+ There are several issues but the main one is that the
machine has to set a V position before it starts cutting and at that time it does not $no# the
direction in #hich the tool is going to be moving This problem is solved b+ providing
SpreH entr+ movesS #hich ta$e place in #aste material of the part These ensure that the
compensation calculations can be done before the actual part outline is being cut 4hoice
of a path #hich runs smoothl+ into the partas outline also optimises the surface finish ,n
e>it move is sometimes used to maintain the finish at the end of a cut
]
65 Entroduo para a 4ompensao
4omo vimos, o Mach controla o movimento de um ponto Bue chamamos de ponto controlado
"a prtica, nenhuma ferramenta %7>ceto, talve?, um cortador em L& faa um corte to certo e
dependendo do raio do corte os mesmos sero feitos em local diferente
Z geralmente mais fcil permitir Bue o programa 4,! ( 4,M tome conta deste item dei>ando
ele cortar as bolsas ou fa?er o contorno das formas
Mach3, no entanto, far os clculos de apoio para compensar o diRmetro %raio& do cortador
"as aplicaes industriais isto visa permitir um aAuste a um cortador para Buando a ferramenta
de corte no mais tenha o mesmo diRmetro original por causa das vrias afiaes
, compensao pode ser habilitado pelo operador da mBuina ao inv8s de e>igir a produo de
um outro programa da pea
*icando na cara do operador, o problema fica fcil de resolver
Tudo Bue vocF precisa fa?er 8 compensar o ponto controlado Y e ` adeBuando o mesmo para
permitir o aAuste do raio da ferramenta
trigonometria simples d a distRncia, dependendo do Rngulo da direco de corte Bue se fa?
com os ei>os
"a prtica, no 8 to fcil N vrias Buestes, mas o principal 8 Bue o mBuina tem Bue definir
uma posio V antes de comear a cortar e na 8poca ela no sabe a direo em Bue a ferramenta
vai se mover
8 and M-code re"erence
Rev 1.84-A2 11-
1
Using Mach3Mi
7ste problema 8 resolvido atrav8s de Spr8H movimentos Spara Bue ocorram nos e>cessos da
pea
Esto assegura Bue os clculos de compensao possam ser feito antes do contorno real da pea
Bue est sendo cortada
, escolha de um caminho Bue corra sem problemas em contornar a pa, tamb8m otimi?a o
acabamento da superfCcie
Uma saCdado movimento 8 algumas ve?es usado para terminar no final de um corte
*igura 65 H !ois percursos possCveis para cortar triRngulo K e MHcIdigo de referFncia
_
1.2 $'o Cinds o" Contour
Mach3 handles compensation for t#o t+pes of contour'
The contour given in the part program code is the edge of material that is not to
be machined a#a+ @e #ill call this t+pe a Smaterial edge contourS This is the
sort of code that might be Shand #rittenS
The contour given in the "4 code is the tool path that #ould be follo#ed b+ a
tool of e>actl+ the correct radius @e #ill call this t+pe a Stool path contourS
This is the sort of code that a 4,!(4,M program might produce if it is a#are of
the intended cutter diameter
The interpreter does not have an+ setting that determines #hich t+pe of contour is used,
but the numerical description of the contour #ill, of course, differ %for the same part
geometr+& bet#een the t#o t+pes and the values for diameters in the tool table #ill be
different for the t#o t+pes
>.2.1 !aterial /dge Conto%r
@hen the contour is the edge of the material, the outline of the edge is described in the
part program *or a material edge contour, the value for the diameter in the tool table is
the actual value of the diameter of the tool The value in the table must be positive The
"4 code for a material edge contour is the same regardless of the %actual or intended&
diameter of the tool
!(ample+'
Nere is an "4 program #hich cuts material a#a+ from the outside of the triangle in figure
5.5 above En this e>ample, the cutter compensation radius is the actual radius of the tool
in use, #hich is .0, The value for the diameter in the tool table is t#ice the radius, #hich
is
5.
40010 G"1 G1 X2 Y2 &t)rn c($pensati(n (n an, $a3e entry $(ve-
40020 Y1 &f(ll(+ rig't si,e (f triangle-
40030 X2 &f(ll(+ b(tt($ si,e (f triangle-
400"0 X2 Y2 &f(ll(+ 'yp(ten)se (f triangle-
40050 G"0 &t)rn c($pensati(n (ff-
This #ill result in the tool follo#ing a path consisting of an entr+ move and the path sho#n
on the left going cloc$#ise around the triangle "otice that the coordinates of the triangle
of material appear in the "4 code "otice also that the tool path includes three arcs #hich
are not e>plicitl+ programmede the+ are generated automaticall+
>.2.2 Tool ,ath Conto%r
@hen the contour is a tool path contour, the path is described in the part program Et is
e>pected that %e>cept for during the entr+ moves& the path is intended to create some part
geometr+ The path ma+ be generated manuall+ or b+ a 4,!(4,M program, considering
the part geometr+ #hich is intended to be made *or Mach3 to #or$, the tool path must
be such that the tool sta+s in contact #ith the edge of the part geometr+, as sho#n on the
left side of figure 5.5 Ef a path of the sort sho#n on the right of figure 5.5 is used, in
#hich the tool does not sta+ in contact #ith the part geometr+ all the time, the interpreter
#ill not be able to compensate properl+ #hen undersi?ed tools are used
*or a tool path contour, the value for the cutter diameter in the tool table #ill be a
small positive number if the selected tool is slightl+ oversi?ed and #ill be a small
negative number if the tool is slightl+ undersi?ed ,s implemented, if a cutter
diameter value is negative, the interpreter compensates on the other side of the contour
from the one programmed and uses the absolute value of the given diameter Ef the
actual tool is the correct si?e, the value in the table should be ?ero
Tool 6ath #ontour e(ample$
Duppose the diameter of the cutter currentl+ in the spindle is .6J, and the
diameter assumed in generating the tool path #as 5. Then the value in the tool
table for the
Using Mach3Mi 1+-1+ Rev 1.84-A2
diameter for this tool should be H..3 Nere is an "4 program #hich cuts material
a#a+ from the outside of the triangle in the figure
40010 G1 X1 Y".5 &$a3e align$ent $(ve-
40020 G"1 G1 Y3.5 &t)rn c($pensati(n (n an, $a3e first entry
$(ve-
40030 G3 X2 Y2.5 /1 &$a3e sec(n, entry $(ve-
400"0 G2 X2.5 Y2 =0.5 &c)t al(ng arc at t(p (f t((l pat'-
40050 G1 Y1 &c)t al(ng rig't si,e (f t((l pat'-
40060 G2 X2 Y1.5 /0.5 &c)t al(ng arc at b(tt($ rig't (f t((l
pat'-
40080 G1 X2 &c)t al(ng b(tt($ si,e (f t((l pat'-
400#0 G2 X2.3 Y0.6 =0.5 &c)t al(ng arc at b(tt($ left (f
t((l pat'-
400.0 G1 X1.8 Y2." &c)t al(ng 'yp(ten)se (f t((l pat'-
40100 G2 X2 Y2.5 /0.3 =0." &c)t al(ng arc at t(p (f t((l
pat'-
40110 G"0 &t)rn c($pensati(n (ff-
This #ill result in the tool ma$ing an alignment move and t#o entr+ moves, and then
follo#ing a path slightl+ inside the path sho#n on the left in figure 5.5 going cloc$#ise
around the triangle This path is to the right of the programmed path even though K/5
#as programmed, because the diameter value is negative
>.2.3 ,rogra$$ing /ntr& !oves
En general, an alignment move and an entr+ moves are needed to begin compensation correctl+ The
tool should be at least a diameter a#a+ from the finished cut before the entr+ move is made
]
6- !ois tipos de curvas de 4ontorno
Mach3 cuida de compensao para dois tipos de contorno'
H = contorno Bue determinado no cIdigo do programa cuAa parte da borda do material Bue
pode ser usinada
Lamos chamar esse tipo de Sborda de contorno pelo materialS 7ste 8 o tipo de cIdigo Bue
pode ser Sescrito T moS
H = contorno Bue vem determinado no cIdigodo programa 8 o caminho da ferramenta Bue seria
seguido por uma ferramenta e>atamente no raio correto
Lamos chamar esse tipo de Scontorno pelo caminho da ferramentaS
Esto 8 o tipo de cIdigo Bue um programa 4,! ( 4,M pode produ?ir se ele estiver ciente do
diRmetro da fresa
= interpretador, no tem nenhuma configurao Bue determina Bual o tipo de contorno 8
utili?ado, mas a descrio dos valores do contorno, naturalmente, diferentes %para a mesma
geometria da pea& entre os dois tipos e os valores de diRmetro na tabela de ferramenta ser
diferente para o dois tipos
6-5 4ontornar pelo tipo de material
Uuando o contorno 8 a borda do material, o contorno da borda 8 descrita na parte programa
3ara um contorno pelo material, o valor para o diRmetro da ferramenta 8 o mesmo valor do
diRmetro real da ferramenta
= valor na tabela deve ser positivo
Rev 1.84-A2 1-3 Using Mach3Mi
= cIdigo "4 para uma borda pelo contorno no material 8 o mesmo independentemente do
diRmetro %real ou pretendido& da ferramenta

7>emplo 5'
,Bui est um programa de "4 Bue corta material pelo lado de fora do triRngulo na figura 5.5
supra
"este e>emplo, o raio de uma compensao do cortador 8 o raio real da ferramenta em uso,
Bue 8 de .,0, o valor para o diRmetro na tabela de ferramentas 8 o dobro do raio, Bue 8 5.
"..5. K/5 K5 Y- `- %indeni?ao por sua ve? e faa movimento de entrada&
"..-. `H5 %siga lado direito do triRngulo&
"..3. YH- %siga parte inferior do triRngulo&
"../. Y- `- %siga hipotenusa do triRngulo&
"..0. K/. %compensao desligar&
Esso resultar Bue a ferramenta vai seguir um caminho Bue consiste em um movimento de
entrada e mostra o caminho nosentido horrioe a esBuerda indo em torno do triRngulo
=bserve Bue as coordenadas do triRngulo de material aparecem no cIdigo "4
=bserve tamb8m Bue o caminho de ferramenta inclui trFs arcos Bue no esto e>plicitamente
programado, pois eles so gerados automaticamente
6-- 4ontour 3ath Tool
Uuando o contorno 8 um contorno pelo caminho da ferramenta, o caminho 8 descrito no
programa da pea
7speraHse Bue %e>ceto durante os movimentos de entrada& o caminho seAa destinado a criar
alguma parte geometrica
= caminho pode ser gerado manualmente ou por um programa de 4,! ( 4,M, considerandoH
se a geometria da pea Bue se destina a ser feita
3ara o trabalho do Mach, o caminho da ferramenta deve ser de tal forma Bue a ferramenta
permanea em contato com a borda da geometria da pea, como mostrado T esBuerda ao lado
da figura 5.5
De um caminho do tipo mostrado no lado direito da figura 5.5 8 utili?ado, em Bue a
ferramenta no fiBue em contato com a geometria da pea todo o tempo, o int8rprete no ser
capa? de compensar adeBuadamente Buando so utili?adas ferramentas subdimensionadas
3ara um contorno pelo caminho da ferramenta, o valor para o diRmetro da fresa na tabela
ferramenta ser um peBueno nmero positivo se a ferramenta selecionada 8 ligeiramente sobre
dimensionada e ser um peBueno nmero negativo , se a ferramenta 8 um pouco menor
4onforme implementado, se um valor de diRmetro de corte 8 negativo, o int8rprete compensa
no outro lado do contorno daBuele programado Bue usa um valor do diRmetro absoluto
De a ferramenta real 8 o tamanho correto, o valor na tabela deve ser ?ero
7>emplode contorno para o caminho pela ferramenta'
Duponha Bue o diRmetro do cortador atualmente no ei>o seAa de .,6J e o diRmetro assumidas
para gerar o caminho da ferramenta foi de 5,.
7nto o valor na tabela de ferramentas para o de diRmetro, essa ferramenta deve ser H.,.3
Using Mach3Mi 1+-1+ Rev 1.84-A2
,Bui est um programa de "4 Bue corta material pelo lado de fora do triRngulo na figura

"..5. K5 Y5 `/0 %fa?er mover o alinhamento& K5 `30 "..-. K/5 %compensao por sua
ve? e fa?er a primeira entrada movimento&
`-0 Y- "..3. K3 E5 %a moveremHse segunda entrada&
"../. K- Y-0 `- 2H.0 %corte ao longo do arco na parte superior da ferramenta path&
"..0. K5 `H5 %corte ao lado direito da ferramenta path&
"..1. K- Y- `H50 EH.0 %corte ao longo do arco na parte inferior direita da ferramenta
caminho&
"..J. K5 YH- %corte ao longo do lado inferior da ferramenta path&
"..:. K- YH`H-,3 .,1 2.0 %corte ao longo do arco na parte inferior esBuerda da
caminho da ferramenta&
"..6. K5 Y5J `-/ %corte ao longo da hipotenusa ferramenta path&
`-0 Y- ".5.. K- E.3 2H./ %corte ao longo do arco na parte superior da ferramenta
caminho&
".55. K/. %compensao desligar&
Esso resultar Bue a ferramenta faa um movimento de alinhamento e dois movimentos de
entrada e, em seguida seguindo um caminho um pouco dentro do caminho mostrado T
esBuerda na figura 5.5 indo no sentido horrio em torno do triRngulo
7sse caminho 8 para a direita do caminho programado ainda K/5 foi programado, porBue o
valor de diRmetro 8 negativo
6-3 3rogramao de Movimento de 7ntrada
7m geral, um movimento de alinhamento e um movimento de entrada so necessrios para
iniciar o contorno corretamente
, ferramenta deve ter um diRmetro apropriado para um movimento de entrada na pea antes
do corte a ser feito
Rev 1.84-A2 1-3 Using Mach3Mi
1+. Mach 2 8- and M-code anguage re"erence
This section defines the language %KH4odes etc& that are understood
and interpreted b+ Mach3
4ertain functionalit+ #hich #as defined for machines in the "EDT "M4
%"e>t Keneration 4ontroller& architecture but is not presentl+ implemented
m+ Mach3 is given in gre+ t+pe in this chapter Ef this functionalit+ is
important for +our application then please let ,rtDoft 4orporation $no#
+our needs and the+ #ill be included in our development planning c+cle
]
5. 9eferFncias das Minguagens KH4ode e MH4ode
7sta seo define a lCngua %etc KH4odes& Bue so entendidas e interpretado pelo Mach3
,lgumas funcionalidades Bue foram definidas para as mBuinas na arBuitetura "EDT "M4
%"e>t Keneration 4ontroller& , mas no esta atualmente implementada no Mach3 8 dado nas
partes cin?as deste capCtulo
De esta funcionalidade 8 importante para a sua aplicao, ento por favor dei>e ,rtDoft
4orporation conhecer o sua necessidades e Bue sero incluCdos no nosso ciclo de planeAamento
do desenvolvimento
_
1+.1 -ome de"initions
1?.1.1 .inear 20es
The Y, `, and V a>es form a standard rightHhanded coordinate s+stem of orthogonal
linear a>es 3ositions of the three linear motion mechanisms are e>pressed using
coordinates on these a>es
]
5.,5 ,lgumas definies
5.55 ei>os lineares
7i>os Y, ` e V formam um padro de sentido da mo direita de coordenadas ortogonais de
ei>os lineares
3osies dos trFs mecanismos de movimento linear so e>pressos usando coordenadas sobre
estes ei>os
3
1?.1.2 )otational 20es
The rotational a>es are measured in degrees as #rapped linear a>es in #hich the
direction of positive rotation is countercloc$#ise #hen vie#ed from the positive end of
the corresponding Y, `, or VHa>is G+ S#rapped linear a>is,S #e mean one on #hich the
angular position increases #ithout limit %goes to#ards plus infinit+& as the a>is turns
countercloc$#ise and decreases #ithout limit %goes to#ards minus infinit+& as the a>is
turns cloc$#ise @rapped linear a>es are used regardless of #hether or not there is a
mechanical limit on rotation
4loc$#ise or countercloc$#ise is from the point of vie# of the #or$piece Ef the
#or$piece is fastened to a turntable #hich turns on a rotational a>is, a countercloc$#ise
turn from the point of vie# of the #or$piece is accomplished b+ turning the turntable in a
Using Mach3Mi 1+-1+ Rev 1.84-A2
direction that %for most common machine configurations& loo$s cloc$#ise from the point
of vie# of someone standing ne>t to the machine
]
5.5- 7i>os 9otacionais
, rotao dos ei>os, so medidas em graus, envolvendo ei>os lineares em Bue a direo de
rotao Buando em sentido horrio 8 positivo Buando visto a partir do final positivo dos ei>os
correspondentes Y , ` ou V
3or S4orrida do ei>o linear,S entendeHse ao movimento em Bue o aumento da posio angular
sem limite %vai para o infinito& como o ei>o gira no sentido horrio e diminuir sem limite %vai
para menos infinito& como o ei>o gira ao contrriodo sentido horrio
7i>os lineares so utili?ados, independentemente da e>istFncia ou no de um limite mecRnico
de rotao
Dentido horrio ou antiHhorrio 8 a partir do ponto de vista da pea
De a pea est presa a uma plataforma giratIria Bue gira em torno de um ei>o de rotao, um
giro antiHhorrio a partir do ponto de vista da pea 8 feito girando o prato em uma direo Bue
%3ara configuraes de mBuina 8 a mais comum& olhar no sentido horrio a partir do ponto de
vista da algu8m de p8 ao lado da mBuina
_
1?.1.3 1caling inp%t
Et is possible to set up scaling factors for each a>is These #ill be applied to the values of
Y, `, V, ,, G, 4, E, 2 and 9 #ords #henever these are entered This allo#s the si?e of
features machined to be altered and mirror images to be created H b+ use of negative scale
factors
The scaling is the first thing done #ith the values and things li$e feed rate are al#a+s
based on the scaled values
The offsets stored in tool and fi>ture tables are not scaled before use Dcaling ma+,
of course, have been applied at the time the values #ere entered %sa+ using K5.&
]
5.53 7scala de entrada
Z possCvel estabelecer fatores de escala para cada ei>o Dero aplicadas Metras para os valores
de Y, `, V, ,, G, 4, E, 2 e 9 Buando estes so inseridos
Esso permite Bue o tamanho de recursos possam ser alterados e imagens invertidas possam ser
criadas pelo uso de fatores com escala negativa
, escala 8 a primeira coisa feita com os valores e coisas como ta>as de alimentao so sempre
baseadas sobre escala de valores
=s deslocamentos arma?enado na ferramenta e tabelas de apoio no so escalados antes de
serem usados !imensionamento pode, naturalmente, serem aplicados no momento dos
valores serem inseridos %por e>emplo usando K5.&
_
1?.1.4 Controlled ,oint
The controlled point is the point #hose position and rate of motion are controlled @hen
the tool length offset is ?ero %the default value&, this is a point on the spindle a>is %often
called the gauge point& that is some fi>ed distance be+ond the end of the spindle, usuall+
near the end of a tool holder that fits into the spindle The location of the controlled point
Rev 1.84-A2 1-3 Using Mach3Mi
can be moved out along the spindle a>is b+ specif+ing some positive amount for the tool
length offset This amount is normall+ the length of the cutting tool in use, so that the
controlled point is at the end of the cutting tool
Using Mach3Mi 1+-. Rev 1.84-A2
1?.1.5 Co-ordinated .inear !otion
To drive a tool along a specified path, a machining s+stem must often coHordinate the
motion of several a>es
@e use the term ScoHordinated linear motionS to describe the situation in #hich, nominall+,
each a>is moves at constant speed and all a>es move from their starting positions to their
end positions at the same time
Ef onl+ the Y, `, and V a>es %or an+ one or t#o of them& move, this produces motion in a
straight line, hence the #ord SlinearS in the term
En actual motions, it is often not possible to maintain constant speed because acceleration
or deceleration is reBuired at the beginning and(or end of the motion
Et is feasible, ho#ever, to control the a>es so that, at all times, each a>is has completed the
same fraction of its reBuired motion as the other a>es This moves the tool along the same
path, and #e also call this $ind of motion coHordinated linear motion
4oHordinated linear motion can be performed either at the prevailing feed rate, or at
rapid traverse rate Ef ph+sical limits on a>is speed ma$e the desired rate unobtainable,
all a>es are slo#ed to maintain the desired path
]
5.50 Movimentao Minear de 4oordenadas
3ara condu?ir uma ferramenta ao longo de um caminho especificado um sistema de maBuina
deve coordenar a movimentao de vrios ei>os
"Is usamos o termo Smovimento linear de coordenadasS para descrever o situao em Bue,
nominalmente, cada ei>o se move a uma velocidade constante e todos os outros ei>os se
movimentam de uma posio inicial para suas posies posies finais, ao mesmo tempo
De apenas os ei>os Y, ` e V %=u BualBuer um ou dois deles se movendo&, isso produ? um
movimento em linha reta, daC a palavra SMinearS do termo
7m movimentos reais, muitas ve?es no 8 possCvel manter a velocidade constante porBue a
acelerao ou desacelerao 8 necessria no inCcio e ( ou no final do movimento
7le 8 vivel, no entanto, para controlar os ei>os de modo Bue, em todos os momentos, cada
ei>o tenha concluCdo uma frao de seu movimento e>igido como os outros ei>os Esso move a
ferramenta ao longo do mesmo caminho, e tamb8m chamamos esse tipo de movimento
movimento linear coordenado
7ste movimento linear pode ser reali?ado tanto na ta>a de alimentao estabelecida , ou em
uma ta>a de travessia
De os limites fCsicos de velocidade de um dos ficar com um ritmo deseAado inalcanvel, todos
os ei>os so retardados para manter a traAetIria deseAada
_
1?.1.6 =eed )ate
The rate at #hich the controlled point or the a>es move is nominall+ a stead+ rate
#hich ma+ be set b+ the user En the Enterpreter, the interpretation of the feed rate is as
follo#s unless inverse time feed rate %K63& mode is being used'
*or motion involving one or more of the linear a>es %Y, `, V and optionall+ ,,
G, 4&, #ithout simultaneous rotational a>is motion, the feed rate means length units
per minute along the programmed linear Y`V%,G4& path
*or motion involving one or more of the linear a>es %Y, `, V and optionall+ ,,
G, 4&, #ith simultaneous rotational a>is motion, the feed rate means length units per
minute along the programmed linear Y`V%,G4& path combined #ith the angular
velocit+ of the rotar+ a>es multiplied b+ the appropriate a>is 4orrection !iameter
multiplied b+ pi % ie the declared ScircumferenceS of the part
Rev 1.84-A2 1+-, Using Mach3Mi
*or motion of one rotational a>is #ith Y, `, and V a>es not moving, the feed
rate means degrees per minute rotation of the rotational a>is
*or motion of t#o or three rotational a>es #ith Y, `, and V a>es not moving, the
rate is applied as follo#s Met d,, dG, and d4 be the angles in degrees through #hich
the ,, G, and 4 a>es, respectivel+, must move Met ! n sBrt %d,
-
k dG
-
k d4
-
&
4onceptuall+, ! is a measure of total angular motion, using the usual 7uclidean
metric
Met T be the amount of time reBuired to move through ! degrees at the current feed
rate in degrees per minute The rotational a>es should be moved in coHordinated linear
motion so that the elapsed time from the start to the end of the motion is T plus an+
time reBuired for acceleration or deceleration
]
5.51 Ta>a de ,limentao
Z ta>a na Bual o controle ou o movimento dos ei>os 8 um ritmo cuAa constante pode ser
nominalmente definida pelo usurio "o interpretador, a interpretao da ta>a de alimentao 8
a Bue segue a menos Bue o o modo inverso do tempo %K63& esteAa sendo usado'
3ara o movimento Bue envolve um ou mais dos ei>os lineares %Y, `, V e, opcionalmente, ,,
G, 4&, sem movimento simultRneo do ei>o de rotao, a ta>a de alimentao significa unidades
de comprimento por minutos ao longo do caminho Y`V %,G4&
3ara o movimento Bue envolve um ou mais dos ei>os lineares %Y, `, V e, opcionalmente, ,, G,
4&, com o movimento do ei>o de rotao simultRnea, a ta>a de alimentao, as unidades de
comprimento por minutos ao longo da Y`V programada linear %,G4&, combinado com o
caminho angular velocidade do ei>o rotativo multiplicado pelo ei>o adeBuado 4orreo
!iRmetro multiplicado por pi %p n 3,5/50- ou seAa, &e declaradas circunferFncia Sda parte p
3ara o movimento de um ei>o de rotao com Y, `, V e os ei>os no se deslocam, a ta>a de
alimentao graus de rotao por meio minuto do ei>o de rotao
3ara o movimento de dois ou trFs ei>os de rotao com Y, `, V e os ei>os no se deslocam, a
ta>a 8 aplicada da seguinte forma !ei>eH!,, !G e !4 ser os Rngulos em graus atrav8s dos
Buais ,, G, 4 e ei>os, respectivamente, deve moverHse DeAa ! n sBrt %!,- k k !G- !4-&
4onceitualmente, ! 8 uma medida de movimento angular total, usando a m8trica 7uclidiana
DeAa T o tempo necessrio para percorrer graus ! T ta>a de alimentao de corrente
em graus por minuto
=s ei>os de rotao deve ser movido em coordenadas lineares movimento de modo Bue o
tempo decorrido desde o inCcio at8 o fim do movimento 8 T bem como BualBuer tempo
necessrio para a acelerao ou desacelerao
_
_
1?.1." 2rc !otion
,n+ pair of the linear a>es %Y`, `V, YV& can be controlled to move in a circular arc in
the plane of that pair of a>es @hile this is occurring, the third linear a>is and the
rotational a>es can be controlled to move simultaneousl+ at effectivel+ a constant rate ,s
in coH ordinated linear motion, the motions can be coHordinated so that acceleration and
deceleration do not affect the path
Ef the rotational a>es do not move, but the third linear a>is does move, the traAector+ of
the controlled point is a heli>
Using Mach3Mi 1+-. Rev 1.84-A2
The feed rate during arc motion is as described in *eed 9ate above En the case of helical
motion, the rate is applied along the heli> Ge#are as other interpretations are used on
other s+stems
]
5.5J Movimento ,rco
UualBuer par de ei>os lineares %Y`, `V, YV& pode ser controlado para se mover em um arco
circular no plano do Bue o par de ei>os
7nBuanto isso est ocorrendo, o terceiro ei>o linear e rotacional ei>os pode ser controlada para
movimentar simultaneamente efetivamente uma ta>a constante
4omo em coordenadas movimento linear, os movimentos podem ser coordenadas de modo Bue
a acelerao e desacelerao no afetam o caminho
De os ei>os de rotao no se movem, mas o terceiro ei>o linear move 8, a traAetIria da
ponto de controle 8 uma h8lice
, ta>a de alimentao durante o movimento do arco 8 como descrito no *eed 9ate acima
"o caso de helicoidais movimento, a ta>a 8 aplicada ao longo da h8lice
Tenha em ateno Bue outras interpretaes so utili?ados em outros sistemas
_
1?.1.9 Coolant
*lood coolant and mist coolant ma+ each be turned on independentl+ The+ are turned
off
together
]
5.5: refrigerante
*luCdo refrigerante e lCBuido em n8voa pode ser ligado de forma independente 7les so
desligados Auntos
_
Rev 1.84-A2 1+-, Using Mach3Mi
1?.1.> Dwell
, machining s+stem ma+ be commanded to d#ell %ie, $eep all a>es unmoving& for a
specific amount of time The most common use of d#ell is to brea$ and clear chips or for
a spindle to get up to speed The units in #hich +ou specif+ !#ell are either seconds or
Milliseconds depending on the setting on 4onfigureoMogic
]
5.56 7spera
Um sistema de maBuina podem ser comandados a esperar %ou seAa, manter todos os ei>os
imIveis& por um determinado perCodo de tempo = uso mais comum 8 uma parada para
limpesa ou para Bue um spindle possa chegar at8 a sua velocidade de trabalho ,s unidades
em Bue vocF especificar !#ell so segundos e milissegundos, dependendo da configurao em
4onfigureo MIgica
]
1?.1.1? (nits
Units used for distances along the Y, `, and V a>es ma+ be measured in millimetres or
inches Units for all other Buantities involved in machine control cannot be changed
!ifferent Buantities use different specific units Dpindle speed is measured in revolutions
per minute The positions of rotational a>es are measured in degrees *eed rates are
e>pressed in current length units per minute or in degrees per minute, as described
above
<arning$ @e advise +ou to chec$ ver+ carefull+ the s+stemas response to changing units
#hile tool and fi>ture offsets are loaded into the tables, #hile these offsets are active
and(or #hile a part program is e>cecuting
"
5.55. Unidades
Unidades usadas para distRncias ao longo dos ei>os Y, ` e V podem ser medidos em
milCmetros ou polegadas Unidades para todas as Buantidades envolvidas no controle da
mBuina no pode ser mudado
Uuantidades diferentes usam diferentes unidades especCficas
Lelocidade do ei>o 8 medido em rotaes por minuto
,s posies dos ei>os de rotao so medidos em graus Ta>as de alimentao so e>presso
em unidades de comprimento atual por minuto, ou em graus por minuto, conforme descrito
acima
,teno' ,conselhamos a Bue verifiBue atentamente a resposta do sistema Ts unidades de
mudana enBuanto instrumentos de suporte e os deslocamentos so carregados nas tabelas,
enBuanto estes deslocamentos so ativos e ( ou enBuanto parte de um programa 8 e>ecutado
]
1?.1.11 C%rrent ,osition
The controlled point is al#a+s at some location called the Scurrent positionS and Mach3
al#a+s $no#s #here that is The numbers representing the current position are adAusted
in the absence of an+ a>is motion if an+ of several events ta$e place'
Mength units are changed %but see @arning
above& Tool length offset is changed
4oordinate s+stem offsets are changed
Using Mach3Mi 1+-. Rev 1.84-A2
]
5.555 3osio ,tual
= ponto de controle est sempre em algum lugar chamado de Sposio atualS e Mach3
sempre sabe onde 8
=s nmeros Bue representam a posio atual 8 aAustado mesmo na ausFncia de BualBuer
movimento do ei>o, se BualBuer um dos vrios eventos seguinte ocorrem'
j Unidades de comprimento so alterados %ver aviso acima&
j 4omprimento do tamanho da ferramenta 8 alterado
j 4oordenadas do sistema de compensaes so alteradas
_
1?.1.12 1elected ,lane
There is al#a+s a Sselected planeS, #hich must be the Y`Hplane, the `VHplane, or the YVH
plane of the machining s+stem The VHa>is is, of course, perpendicular to the Y`Hplane,
the YHa>is to the `VHplane, and the `Ha>is to the YVHplane
]
5.55- 3lano Delecionado
N sempre um plano SselecionadoS, Bue deve ser o plano Y`, o plano `V, ou o YVplane do
sistema de maBuinas
= ei>o V 8, naturalmente, perpendicular ao plano Y`, o YHei>o ao plano `V, e o ei>o ` para o
plano YV
_
1?.1.13 Tool Table
Vero or one tool is assigned to each slot in the tool table
]
5.553 Tabela das *erramentas
Vero ou um 8 indicado para cada espao na tabela de ferramenta
]
1?.1.14 Tool Change
Mach3 allo#s +ou to implement a procedure for implementing automatic tool
changes using macros or to change the tools b+ hand #hen reBuired
]
5.55/ ,lterar *erramenta
Mach3 permiteHlhe implementar um processo de implementao de mudanas automtica da
ferramenta utili?ando macros ou para alterar as ferramentas T mo Buando necessrio
_
1?.1.15 ,allet 1h%ttle
Mach3 allo#s +ou to implement a procedure for implementing pallet shuttle using macros
]
5.550 Dhuttle 3allet
Rev 1.84-A2 1+-, Using Mach3Mi
Mach3 permiteHlhe implementar um processo de e>ecuo de gpallet shuttlet utili?ando
macros
_
1?.1.16 ,ath Control !odes
The machining s+stem ma+ be put into an+ one of t#o path control modes' %5& e>act stop
mode, %-& constant velocit+ mode En e>act stop mode, the machine stops briefl+ at the
end of each programmed move En constant velocit+ mode, sharp corners of the path ma+
be rounded slightl+ so that the feed rate ma+ be $ept up These modes are to allo# the
user to control the compromise involved in turning corners because a real machine has a
finite acceleration due to the inertia of its mechanism
E5act stop does #hat it sa+s The machine #ill come to rest at each change of direction
and the tool #ill therefore precisel+ follo# the commanded path
,onstant velocity #ill overlap acceleration in the ne# direction #ith deceleration in the
current one in order to $eep the commanded feedrate This implies a rounding of an+
corner but faster and smoother cutting This is particularl+ important in routing and plasma
cutting
Rev 1.84-A2 1+-0 Using Mach3Mi
The lo#er the acceleration of the machine a>es, the greater #ill be the radius of the
rounded corner
En 3lasma mode %set on ,on%ig$re Logic dialog& the s+stem attempts to optimise
corner motion for plasma cutting b+ a proprietar+ algorithm
Et is also possible to define an limiting angle so that changes in direction of more than this
angle #ill al#a+s be treated as 7>act Dtop even though 4onstant Lelocit+ is selected
This allo#s gentle corners to be smoother but avoids e>cessive rounding of sharp corners
even on machines #ith lo# acceleration on one or more a>es This feature is enabled in
the ,on%ig$re Logic dialog and the limiting angle is set b+ a !9= This setting #ill
probabl+ need to be chosen e>perimentall+ depending on the characteristics of the
machine tool and, perhaps, the toolpath of an individual Aob
]
5.551 Modos de 4ontrole do 4aminho
= sistema da maBuina pode ser colocado em BualBuer um dos dois modos de controle do
caminho'
%5& Modo de 3arada Emediato
%-& Modo de Lelocidade 4onstante
"o modo de paragem imediato, a mBuina pra rpidamente no final de cada movimento
programado "o modo de velocidade constante, cantos afiados no caminho podem ser
ligeiramente arredondados de modo Bue a ta>a de alimentao possa ser mantida 7sses modos
so para permitir Bue o usurio controle o compromisso envolvido em transformar cantos
porBue uma mBuina real tem um nmero finito de acelerao devido T in8rcia de seu
mecanismo
3arar Emediatamente fa? o Bue di? , mBuina aguarda a cada mudana de direo e a
ferramenta, segue o caminho ordenado
, velocidade constante se sobrepem acelerao na nova direo com uma desacelerao
corrente, a fim de manter o avano ordenado
Esto implica um arredondamento de BualBuer canto mas o corte mais rpido e suave
Esto 8 particularmente importante no encaminhamento do corte a plasmaUuanto menor a
acelerao dos ei>os da mBuina, maior ser o raio do arredondamento
no canto"o modo de 3lasma %definido no dilogo 4onfigurar Mogic&, o sistema tenta otimi?ar
canto
3roposta de corte de plasma por um algoritmo proprietrio
Tamb8m 8 possCvel definir um Rngulo limite para Bue as mudanas na direo de mais do Bue
um Rngulo sempre seAa tratado como parada imediata, embora 4onstant Lelocit+ tenha sido
selecionado
7ste permite Bue cantos suaves seAam ainda mais suave, mas evita o arredondamento e>cessivo
de cantos afiados mesmo em mBuinas com bai>a acelerao em um ou mais ei>os
7sse recurso 8 ativado no !ilogo 4onfigurar Mogic e o Rngulo limite 8 definida por um !9=
7ssa configurao provavelmente deva ser escolhida e>perimentalmente em funo das
caracterCsticas da mBuina e, talve?, a traAetIrias de um trabalho individual
_
_
Using Mach3Mi 1+-8 Rev 1.84-A2
]
1+.2 Inter%reter Interaction 'ith contros
5.- Enterpretar Enteraes com os 4ontroles
1?.2.1 =eed and 1peed *verride controls
Mach3 commands #hich enable %M/:& or disable %M/6& the feed and speed override
s#itches Et is useful to be able to override these s#itches for some machining operations
The idea is that optimal settings have been included in the program, and the operator
should not change them
5.-5 controles de sobreposio de alimentao e velocidade
4omandos do Mach para ativar %M/:& ou desativar %M/6& a alimentao e substituir as chaves
de velocidade
Z til por serem capa?es de substituir essas opes em algumas operaes de usinagem
, id8ia 8 Bue os melhores aAustes esto incluCdos no programa, e Bue o operador no deva
alterHlos
1?.2.2 :lock Delete control
Ef the bloc$ delete control is =", lines of code #hich start #ith a slash %the bloc$
delete character& are not e>ecuted Ef the s#itch is off, such lines are e>ecuted
5.-- 4ontrole de ,ceitao de 4omentrios
De o controle de e>cluir bloco 8 =", linhas de cIdigo Bue se iniciam com uma barra
%4omentriosbbbb& no so e>ecutadas
De o chave estiver desligado, essas linhas so e>ecutadas
1?.2.3 *ptional ,rogra$ 1top control
The optional program stop control %see 4onfigureoMogic& #or$s as follo#s Ef this
control is =" and an input line contains an M5 code, program e>ecution is stopped at the
end on the commands on that line until the ,ycle Start button is pushed
5.-3 =po de 4ontrole de 3arada do 3rograma
7sta =po, %consulte 4onfiguraro Mogic& funciona da seguinte maneira' De este controle est
ligado e uma linha cont8m um cIdigo M5, a e>ecuo do programa 8 interrompido no final
dos comandos da linha at8 Bue o boto de 4+cle Dtart seAa pressionado
_
1+.3 $oo #ie
Mach3 maintains a tool file for each of the -0/ tools #hich can be used
7ach data line of the file contains the data for one tool This allo#s the definition of the
tool length %V a>is&, tool diameter %for milling& and tool tip radius %for turning&
]
5.3 ,rBuivo de *erramentas
Mach3 mant8m um arBuivo de ferramentas para cada um dos -0/ instrumentos Bue podem ser
usados
Rev 1.84-A2 1+-1 Using Mach3Mi
4ada linha de dados do arBuivo cont8m os dados para uma ferramenta Esso permite a definio
do comprimento da ferramenta %ei>o V&, diRmetro da ferramenta %para fresagem e raio da ponta
da ferramenta
_
1+.4 $he anguage o" %art %rograms
5./ , linguagem de programas de peas
1?.4.1 *verview
The language is based on lines of code 7ach line %also called a Sbloc$S& ma+ include
commands to the machining s+stem to do several different things Mines of code ma+
be collected in a file to ma$e a program
, t+pical line of code consists of an optional line number at the beginning follo#ed b+ one
or more S#ordsS , #ord consists of a letter follo#ed b+ a number %or something that
evaluates to a number& , #ord ma+ either give a command or provide an argument to a
command *or e>ample, G1 X3 is a valid line of code #ith t#o #ords SK5S is a
command meaning Smove in a straight line at the programmed feed rate,S and SY3S
provides an argument value %the value of Y should be 3 at the end of the move& Most
commands start #ith either K or M %for Keneral and Miscellaneous& The #ords for these
commands are called SK codesS and SM codesS
The language has t#o commands %M- or M3.&, either of #hich ends a program ,
program ma+ end before the end of a file Mines of a file that occur after the end of a
program are not to be e>ecuted in the normal flo# so #ill generall+ be parts of
subroutines
]
5./5 Liso Keral
, linguagem 8 baseada em linhas de cIdigo4ada linha %tamb8m chamado de SblocoS& podem
incluir comandos para o sistema de maBuinas para fa?er vrias coisas diferentesMinhas de
cIdigo pode ser arma?enadas em um arBuivo para fa?er um programa
Uma linha de cIdigo tCpica consiste opcionalmente de um nmero de linha no inCcio, seguido
de uma ou mais SpalavrasS , palavra 8 composta de uma letra seguida por um nmero %ou
algo Bue seAa avaliado como um nmero& , palavra pode, ser um comando ou fornecer um
argumento para um comando 3or e>emplo, K5 Y3 8 uma linha de cIdigo vlido com duas
palavras SK5S 8 um comando significando Smovimente em linha reta na velocidade de avano
programadaS e SY3S fornece uma valor do argumento %o valor de Y deve ser 3 no final do
movimento& , maioria dos comandos inCciam com K ou M %para Keral e MiscelRnea& ,s
palavras para esses comandos so chamados KH4ode e MH4ode
, linguagem tem dois comandos %M- ou M3.&, Bue servem para terminar o programa
Um programa pode terminar antes do final de um arBuivo
Minhas de um arBuivo Bue ocorrem apIs o t8rmino do programa no sero e>ecutados no flu>o
normal, geralmente sero peas de subHrotinas
Using Mach3Mi 1+-
1+
Rev 1.84-A2
6arameter
number
Meaning 6arameter
number
Meaning
0515
051-
0513
051/
0510
0511
05:5
05:-
05:3
05:/
05:0
05:1
0565
056-
0563
056/
0560
0561
0-55
0-5-
0-53
0-5/
0-50
0-51
0--.
0--5
0---
0--3
0--/
0--0
0--1
0-/5
0-/-
0-/3
0-//
0-/0
0-/1
K-: Nome Y
K-: Nome `
K-: Nome V
K-: Nome ,
K-: Nome G
K-: Nome 4
K3. Nome Y
K3. Nome `
K3. Nome V
K3. Nome ,
K3. Nome G
K3. Nome 4
Dcale Y
Dcale `
Dcale V
Dcale ,
Dcale G
Dcale 4
K6- offset Y
K6- offset `
K6- offset V
K6- offset ,
K6- offset G
K6- offset 4
4urrent @or$ offset
number
@or$ offset 5 Y
@or$ offset 5 `
@or$ offset 5 V
@or$ offset 5 ,
@or$ offset 5 G
@or$ offset 5 4
@or$ offset - Y
@or$ offset - `
@or$ offset - V
@or$ offset - ,
@or$ offset - G
@or$ offset - 4
0-15
0-1-
0-13
0-1/
0-10
0-11
0-:5
0-:-
0-:3
0-:/
0-:0
0-:1
03.5
03.-
03.3
03./
03.0
03.1
03-5
03--
03-3
03-/
03-0
03-1
5.-:5
5.-:-
5.-:3
5.-:/
5.-:0
5.-:1
5.3.5
5.3.-
5.3.3
5.3./
5.3.0
5.3.1
@or$ offset 3 Y
@or$ offset 3 `
@or$ offset 3 V
@or$ offset 3 ,
@or$ offset 3 G
@or$ offset 3 4
@or$ offset / Y
@or$ offset / `
@or$ offset / V
@or$ offset / ,
@or$ offset / G
@or$ offset / 4
@or$ offset 0 Y
@or$ offset 0 `
@or$ offset 0 V
@or$ offset 0 ,
@or$ offset 0 G
@or$ offset 0 4
@or$ offset 1 Y
@or$ offset 1 `
@or$ offset 1 V
@or$ offset 1 ,
@or$ offset 1 G
@or$ offset 1 4
#nd so on every *K
val$es $ntil
@or$ offset -0/ Y
@or$ offset -0/ `
@or$ offset -0/ V
@or$ offset -0/ ,
@or$ offset -0/ G
@or$ offset -0/ 4
@or$ offset -00 Y
@or$ offset -00 `
@or$ offset -00 V
@or$ offset -00 ,
@or$ offset -00 G
@or$ offset -00 4
#igure 1+.1 - -ystem de"ined %arameters
1?.4.2 ,ara$eters
, Mach3 machining s+stem maintains an arra+ of 5.,3-. numerical parameters Man+
of them have specific uses The parameter #hich are associated #ith fi>tures are
persistent over time =ther parameters #ill be undefined #hen Mach3 is loaded The
parameters are preserved #hen the interpreter is reset The parameters #ith meanings
defined b+ Mach3 are given in figure 5.5
Rev 1.84-A2 1+-11 Using Mach3Mi
]
5./- 3arRmetros
Um sistema de maBuinas com Mach3 mant8m uma matri? de 5.3-. parRmetros num8ricos
Muitos deles tFm usos especCficos =s parRmetros Bue esto associados com dispositivos so
persistentes todo o tempo
=utros parRmetros so definidos Buando Mach3 8 carregado
=s parRmetros so preservadas Buando o int8rprete 8 resetado
=s parRmetros com significados definidos pelo Mach3 so apresentados na figura
5.5
Using Mach3Mi 1+-
12
Rev 1.84-A2
1?.4.3 Coordinate 1&ste$s
The machining s+stem has an absolute coordinate s+stem and -0/ #or$ offset %fi>ture&
s+stems
`ou can set the offsets of tools b+ G10 21 1> X> 6>. The 3 #ord defines the
tool offset number to be set
`ou can set the offsets of the fi>ture s+stems using G10 22 1> X> Y> 6> 0> ?>
@> The 3 #ord defines the fi>ture to be set The Y, `, V etc #ords are the coordinates for
the origin of for the a>es in terms of the absolute coordinate s+stem
`ou can select one of the first seven #or$ offsets b+ using K0/, K00, K01, K0J, K0:,
K06 ,n+ of the -00 #or$ offsets can be selected b+ G5. 1> %eg G5. 123 #ould
select fi>ture -3& The absolute coordinate s+stem can be selected b+ G5. 10
`ou can offset the current coordinate s+stem using K6- or K6-3 This offset #ill then
applied on top of #or$ offset coordinate s+stems This offset ma+ be cancelled #ith
K6-5
]
5./3 Distemas de 4oordenadas

= sistema de maBuinas tem um sistema de coordenadas absoluto e de -0/
ferramentas para os trabalhos

LocF pode definir os deslocamentos de ferramentas por K5. M5 3 x Y x V x
, palavra 3 define o nmero da ferramenta a ser definido

LocF pode definir os deslocamentos dos sistemas de suporte utili?ando K5. M- 3 x
Y x ` x V x , x G x 4 x

, palavra 3 define o dispositivo a ser definido , Y, `, V etc so as coordenadas de
origem para os ei>os em termos da coordenada absoluta do sistema
LocF pode selecionar um dos sete primeiros offsets trabalho usando K0/, K00, K01,
K0J, K0:, K06
UualBuer um dos -00 deslocamentos de trabalho podem ser selecionados pelo K06
3 x %3-3 K06 por e>emplo, deve selecionar fi>ture -3&
= sistema de coordenadas absoluto pode ser selecionado pelo K06 3.

LocF pode deslocar o sistema de coordenadas atual usando K6- ou K6-3
7sse deslocamento ser ento aplicado em cima do trabalho no sistemas de
coordenadas 7ste deslocamento pode ser cancelada com K6-5 ou K6--
LocF pode fa?er movimentos em linha reta na mBuina absoluta sistema de
coordenadas usando com K03 ou K. ou K5
_
_
Rev 1.84-A2 1+-13 Using Mach3Mi
-etter Meaning
, ,Ha>is of machine
G GHa>is of machine
4 4Ha>is of machine
! tool radius compensation number
* *eedrate
K general function %see Table 0&
N tool length offset inde>
E YHa>is offset for arcs
Y offset in K:J canned c+cle
2 `Ha>is offset for arcs
` offset in K:J canned c+cle
O VHa>is offset for arcs
V offset in K:J canned c+cle
M number of repetitions in canned
c+cles(subroutines
$e+ used #ith K5.
M miscellaneous function %see Table J&
" line number
= Dubroutine label number
3 d#ell time in canned c+cles
d#ell time #ith K/
$e+ used #ith K5.
U feed increment in K:3 canned c+cle
repetitions of subroutine call
9 arc radius
canned c+cle retract level
D spindle speed
T tool selection
U D+non+mous #ith ,
L D+non+mous #ith G
@ D+non+mous #ith 4
Y YHa>is of machine
` `Ha>is of machine
V VHa>is of machine
#igure 1+.2 - 6ord initia etters
Using Mach3Mi 1+-
14
Rev 1.84-A2
or K6--
`ou can ma$e straight moves in the absolute machine coordinate s+stem b+ using K03
#ith either K. or K5
6arameter
number
Meaning 6arameter
number
Meaning
Rev 1.84-A2 1+-1, Using Mach3Mi
0515
051-
0513
051/
0510
0511
05:5
05:-
05:3
05:/
05:0
05:1
0565
056-
0563
056/
0560
0561
0-55
0-5-
0-53
0-5/
0-50
0-51
0--.
0--5
0---
0--3
0--/
0--0
0--1
0-/5
0-/-
0-/3
0-//
0-/0
0-/1
K-: Nome Y
K-: Nome `
K-: Nome V
K-: Nome ,
K-: Nome G
K-: Nome 4
K3. Nome Y
K3. Nome `
K3. Nome V
K3. Nome ,
K3. Nome G
K3. Nome 4
Dcale Y
Dcale `
Dcale V
Dcale ,
Dcale G
Dcale 4
K6- offset Y
K6- offset `
K6- offset V
K6- offset ,
K6- offset G
K6- offset 4
4urrent @or$ offset
number
@or$ offset 5 Y
@or$ offset 5 `
@or$ offset 5 V
@or$ offset 5 ,
@or$ offset 5 G
@or$ offset 5 4
@or$ offset - Y
@or$ offset - `
@or$ offset - V
@or$ offset - ,
@or$ offset - G
@or$ offset - 4
0-15
0-1-
0-13
0-1/
0-10
0-11
0-:5
0-:-
0-:3
0-:/
0-:0
0-:1
03.5
03.-
03.3
03./
03.0
03.1
03-5
03--
03-3
03-/
03-0
03-1
5.-:5
5.-:-
5.-:3
5.-:/
5.-:0
5.-:1
5.3.5
5.3.-
5.3.3
5.3./
5.3.0
5.3.1
@or$ offset 3 Y
@or$ offset 3 `
@or$ offset 3 V
@or$ offset 3 ,
@or$ offset 3 G
@or$ offset 3 4
@or$ offset / Y
@or$ offset / `
@or$ offset / V
@or$ offset / ,
@or$ offset / G
@or$ offset / 4
@or$ offset 0 Y
@or$ offset 0 `
@or$ offset 0 V
@or$ offset 0 ,
@or$ offset 0 G
@or$ offset 0 4
@or$ offset 1 Y
@or$ offset 1 `
@or$ offset 1 V
@or$ offset 1 ,
@or$ offset 1 G
@or$ offset 1 4
#nd so on every *K
val$es $ntil
@or$ offset -0/ Y
@or$ offset -0/ `
@or$ offset -0/ V
@or$ offset -0/ ,
@or$ offset -0/ G
@or$ offset -0/ 4
@or$ offset -00 Y
@or$ offset -00 `
@or$ offset -00 V
@or$ offset -00 ,
@or$ offset -00 G
@or$ offset -00 4
*igura 5.5 H Distema de parRmetros definidos
1+., #ormat o" a ;ine
, permissible line of input code consists of the follo#ing, in order, #ith the restriction
that there is a ma>imum %currentl+ -01& to the number of characters allo#ed on a line
an optional bloc$ delete character, #hich is a slash S(S
an optional line number
Using Mach3Mi 1+-
1.
Rev 1.84-A2
an+ number of #ords, parameter settings, and comments
an end of line mar$er %carriage return or line feed or
both&
,n+ input not e>plicitl+ allo#ed is illegal and #ill cause the Enterpreter to signal an error or
to ignore the line
Dpaces and tabs are allo#ed an+#here on a line of code and do not change the meaning
of the line, e>cept inside comments This ma$es some strangeHloo$ing input legal *or
e>ample, the line g0x A0. 12 3"y 8 is eBuivalent to g0 xA0.123" y8
Glan$ lines are allo#ed in the input The+ #ill be ignored
Enput is case insensitive, e>cept in comments, ie, an+ letter outside a comment ma+ be
in upper or lo#er case #ithout changing the meaning of a line
]
5.,0 *ormato de uma linha
Uma linha de cIdigo de entrada admissCvel consiste no seguinte, em ordem, com a restrio
Bue h um m>imo %atualmente -01& para o nmero de caracteres permitidos em uma linha
j Um bloco de carter opcional e>cluir, Bue 8 uma barra S(S
j Um nmero de linha opcional
j UualBuer nmero de palavras, definies de parRmetros e comentrios
j Um marcador de fim de linha %retorno de carro ou avano de linha ou ambos&
UualBuer entrada Bue no seAa e>plicitamente permitida 8 ilegal e vai levar o interpretador para
sinali?ar um erro ou para ignorar a linha
7spaos e Tabs so permitidos em BualBuer lugar em uma linha de cIdigo e no alteram o
sentido da da linha, e>ceto comentrios dentro Esso fa? algumas aparFncias estranhas
3ara e>emplo, o g.> linha . 5- 3/+ J 8 eBuivalente a .,5-3/ > g. `J
,s linhas em branco so permitidas 7les sero ignorados
"o so diferenciados maisculas das minsculas, e>ceto nos comentrios, ou seAa, BualBuer
letra fora de um comentrio pode ser maisculas ou minsculas, sem alterar o sentido de uma
linha
_
1?.5.1 .ine #%$ber
, line number is the letter " follo#ed b+ an integer %#ith no sign& bet#een . and 66666
#ritten #ith no more than five digits %.....6 is not =O, for e>ample& Mine numbers
ma+ be repeated or used out of order, although normal practice is to avoid such usage ,
line number is not reBuired to be used %and this omission is common& but it must be in
the proper place if it is used
]
5.05 "mero Mine
Um nmero de linha 8 a letra " seguida de um nmero inteiro %sem sinal& entre . e 66666
escrito com no mais de cinco dCgitos %.....6 no est =O, por e>emplo&
=s nmeros de linha podem ser repetidas ou usada fora de ordem, embora a prtica normal 8
para evitar essa utili?ao
, numerao de linha no 8 obrigatIria de ser usado %e esta omisso 8 comum&, mas deve ser
no lugar apropriado, se for utili?ado
_
Rev 1.84-A2 1+-10 Using Mach3Mi
1?.5.2 1%bro%tine labels
, subroutine label is the letter = follo#ed b+ an integer %#ith no sign& bet#een . and
66666 #ritten #ith no more than five digits %.....6 is not permitted, for e>ample&
Dubroutine labels ma+ be used in an+ order but must be uniBue in a program although
violation of this rule ma+ not be flagged as an error "othing else e>cept a comment
should appear on the same line after a subroutine label
]
5.0- 9Itulos de DubHroutinas
Um rItulo de subHrotina 8 a letra D, seguido de um nmero inteiro %sem sinal& entre . e
66666 escrito com no mais de cinco dCgitos %.....6 no 8 permitido, por e>emplo&
9Itulos de subHrotina podem ser usados em BualBuer ordem, mas deve ser nico em um
programa, embora violao desta regra no possa ser marcada como um erro
"ada, e>ceto um comentrio deve aparecem na mesma linha apIs a etiBueta subHrotina
_
1?.5.3 5ord
, #ord is a letter other than " or = follo#ed b+ a real value
@ords ma+ begin #ith an+ of the letters sho#n in figure 55- The table includes " and
= for completeness, even though, as defined above, line numbers are not #ords Deveral
letters %E, 2, O, M, 3, 9& ma+ have different meanings in different conte>ts
, real value is some collection of characters that can be processed to come up #ith a
number , real value ma+ be an e>plicit number %such as 3/5 or H.::.J&, a parameter
value, an e>pression, or a unar+ operation value !efinitions of these follo# immediatel+
3rocessing characters to come up #ith a number is called SevaluatingS ,n e>plicit
number evaluates to itself
]
5.03 @ord
, palavra 8 uma letra Bue no seAa " ou D seguida por um valor real
,s palavras podem comear com BualBuer uma das letras mostradas na figura 55-
, tabela inclui " e = para a integralidade, apesar de, conforme acima definido, os nmeros de
linha no so palavras
,lgumas letras como %E, 2, O, M, 3, 9& pode ter significados diferentes em conte>tos diferentes
Um valor real 8 algum conAunto de caracteres Bue podem ser processados para chegar a um
nmero
= valor real pode ser um nmero e>plCcito %como 3/5 ou H.::.J&, um parRmetro de valor,
uma e>presso ou um valor de operao unria
,s definies seguem em seguida
4aracteres de processamento para chegar a um nmero 8 chamado de SavaliaoS Um nmero
e>plCcito avalia a si mesmo
_
1+.,.3.1 Num/er
The follo#ing rules are used for %e>plicit& numbers En these rules a digit is a
single character bet#een . and 6
, number consists of %5& an optional plus or minus sign, follo#ed b+ %-& ?ero to
man+ digits, follo#ed, possibl+, b+ %3& one decimal point, follo#ed b+ %/& ?ero
Using Mach3Mi 1+-
18
Rev 1.84-A2
to man+ digits H provided that there is at least one digit some#here in the
number
Rev 1.84-A2 1+-11 Using Mach3Mi
There are t#o $inds of numbers' integers and decimals ,n integer does not have
a decimal point in ite a decimal does
"umbers ma+ have an+ number of digits, subAect to the limitation on line length
=nl+ about seventeen significant figures #ill be retained, ho#ever %enough for
all $no#n applications&
, nonH?ero number #ith no sign as the first character is assumed to be positive
"otice that initial %before the decimal point and the first nonH?ero digit& and trailing
%after
the decimal point and the last nonH?ero digit& ?eros are allo#ed but not reBuired ,
number #ritten #ith initial or trailing ?eros #ill have the same value #hen it is read as if
the e>tra ?eros #ere not there
"umbers used for specific purposes b+ Mach3 are often restricted to some finite set of
values or some to some range of values En man+ uses, decimal numbers must be close to
integerse this includes the values of inde>es %for parameters and carousel slot numbers, for
e>ample&, M codes, and K codes multiplied b+ ten , decimal number #hich is supposed
be close to an integer is considered close enough if it is #ithin ....5 of an integer
]
5.035 "mero
,s regras a seguir so utili?ados para %e>plCcitar& nmeros "estas regras um dCgito 8 um nico
caracteres em . e 6
j Um nmero 8 composto de' %5& um sinal opcional de mais ou menos, seguida por' %-& de ?ero
a muitos dCgitos, seguido, possivelmente, por' %3& um ponto decimal, seguido por' %/& de ?ero a
muitos dCgitos H desde Bue haAa pelo menos um dCgito em algum lugar do nmero
j 7>istem dois tipos de nmeros' nmeros inteiros e decimais Um inteiro no tem um ponto
decimal nelee um decimal tem
p =s nmeros podem ter BualBuer nmero de dCgitos, suAeita T limitao do comprimento da
linha
,penas cerca de de?essete valores significativos, sero mantidas, por8m %o suficiente para
todos aplicaes conhecidas&
j Um nmero diferente de ?ero, sem nenhum sinal como o primeiro caractere 8 assumido como
sendo positivo
=bserve Bue o inicial %antes do ponto decimal e no o primeiro dCgito diferente de ?ero& e final
%apIs o ponto decimal e ltimo algarismo no nulo& ?eros so permitidos, mas no 8
obrigatIrio
Um nmero escrito com ?eros iniciais ou finais tero o mesmo valor Buando ele 8 lido como se
os ?eros e>tras no estivessem l
=s nmeros utili?ados para fins especCficos, Mach3 so muitas ve?es restrito a algum conAunto
finito de valores para alguns ou algum intervalo de valores
7m muitos usos, os nmeros decimais devem ser inteiros, o Bue inclui os valores dos Cndices
%para os parRmetros e os nmeros de slot carrossel, por e>emplo&, os cIdigos M, K e cIdigos
multiplicado por de?
Um nmero decimal 8 considerado um inteiro se estiver perto de um inteiro consideradoHse
uma diferena de apenas ....5
_
1+.,.3.2 !arameter Gaue
, parameter value is the hash character s follo#ed b+ a real value The real value
Using Mach3Mi 1+-
2+
Rev 1.84-A2
must evaluate to an integer bet#een 5 and 5.3-. The integer is a parameter number,
and the value of the parameter value is #hatever number is stored in the numbered
parameter
The s character ta$es precedence over other operations, so that, for e>ample, B1A2
means the number found b+ adding - to the value of parameter 5, not the value found in
parameter
=f course, BC1A2D does mean the value found in parameter 3 The B character ma+ be
repeatede for e>ample BB2 means the value of the parameter #hose inde> is the %integer& value
of parameter -
]
5.03- Lalor de parRmetro
= valor do parRmetro 8 o cardinal s seguido de um valor real
= valor real deve 8 um nmero entre 5 e 5.3-.
= inteiro 8 um nmero de parRmetro, e o valor do valor do parRmetro 8 o Bue o nmero
8 arma?enado no parRmetro numerado
= caractere s tem precedFncia sobre outras operaes, de modo Bue, por e>emplo, s 5
k- significa o nmero encontrado por - a adicionar o valor do parRmetro 5, no o valor
encontrado no parRmetro 3
Mogicamente, s ]5k -_ significa o valor encontrado no parRmetro 3
= 4aracter s pode ser repetidoe por e>emplo ss -,significa o valor do parRmetro cuAo
Cndice 8 o %inteiro& valor do parRmetro -
_
1+.,.3.3 :9%ressions and Dinary (%erations
,n e>pression is a set of characters starting #ith a left brac$et ] and ending #ith a
balancing right brac$et _ En bet#een the brac$ets are numbers, parameter values,
mathematical operations, and other e>pressions ,n e>pression ma+ be evaluated to
produce a number The e>pressions on a line are evaluated #hen the line is read,
before an+thing on the line is e>ecuted ,n e>ample of an e>pression is'
C1Aac(sC0DCB3EEC".0F2DDD
Ginar+ operations appear onl+ inside e>pressions "ine binar+ operations are defined
There are four basic mathematical operations' addition %k&, subtraction %H&, multiplication
%q&, and division %(& There are three logical operations' nonHe>clusive or %=9&, e>clusive or
%Y=9&, and logical and %,"!& The eighth operation is the modulus operation %M=!&
The ninth operation is the Spo#erS operation %qq& of raising the number on the left of the
operation to the po#er on the right
The binar+ operations are divided into three groups The first group is' po#er The
second group is' multiplication, division, and modulus The third group is' addition,
subtraction, logical nonHe>clusive or, logical e>clusive or, and logical and Ef operations
are strung together %for e>ample in the e>pression C2.0F3E1.55.5F11.0D&,
operations in the first group are to be performed before operations in the second group
and operations in the second group before operations in the third group Ef an e>pression
contains more than one operation from the same group %such as the first ( and q in the
e>ample&, the operation on the left is performed first Thus, the e>ample is eBuivalent to'
C&&2.0F3-E1.5- &5.5F11.0-D #hich simplifies to C1.00.5D #hich is .0
The logical operations and modulus are to be performed on an+ real numbers, not Aust
on integers The number ?ero is eBuivalent to logical false, and an+ nonH?ero number is
eBuivalent to logical true
]
5.033 7>presses e =peraes Ginrias
Rev 1.84-A2 1+-21 Using Mach3Mi
Uma e>presso 8 um conAunto de caracteres comeando com um ] colchete esBuerdo e
terminando com um _ colchete direito
7ntre parFnteses esto os nmeros, os valores dos parRmetros, operaes matemticas, e outras
e>presses
Uma e>presso pode ser avaliada a produ?ir um nmero
,s e>presses em uma linha so avaliadas Buando a linha 8 lida, antes Bue BualBuer linha
seAa e>ecutada
Um e>emplo de uma e>presso'
]5 k acos ]._ H ]s 3 qq ]/. ( -___
=peraes binrias aparecem apenas dentro de e>presses
"ove operaes binrias so definidas
Do as Buatro operaes matemticas bsicas' adio %k&, subtrao %H&, multiplicao %q&, e
diviso %(&
7>istem trFs operaes lIgicas' noHe>clusivos ou %=9&, e>clusiva ou %Y=9&, e lIgico e
%,"!&
, operao 8 a oitava operao mIdulo %M=!&
= nona operao 8 a SpotenciaoS %qq& aumentar o nmero T esBuerda da operao para o
poder T direita
,s operaes binrias so divididas em trFs grupos
= primeiro grupo 8 potenciao
= segundo grupo 8' multiplicao, diviso e mIdulo
= terceiro grupo 8' adio, subtrao, lIgica noHe>clusivo =U 7>clusivo e lIgica =U, e ,"!
lIgica De as operaes so amarradas em conAunto %por e>emplo, na e>presso ]-. ( 3 q 50H
00(55._&, as operaes no primeiro grupo sero reali?adas antes das operaes do segundo
grupo e operaes no segundo grupo, antes das operaes do terceiro grupo
De uma e>presso contiver mais de uma operao do mesmo grupo %como a primeira e ( q no
e>emplo&, a operao em a esBuerda 8 reali?ada em primeiro lugar
,ssim, o e>emplo 8 eBuivalente a' ]%%-. ( 3& q 50& H %00(55.&_, Bue simplifica a ]5.H.0_, Bue
8 .0
,s operaes lIgicas e mIdulo podem ser reali?adas em BualBuer nmero real, e no apenas
em inteiros
= nmero ?ero 8 eBuivalente a lIgica *alsa, e BualBuer nmero diferente de ?ero
8 eBuivalente a MIgica Lerdade
_
Using Mach3Mi 1+-
22
Rev 1.84-A2
1+.,.3.4 Unary (%eration Gaue
, unar+ operation value is either S,T,"S follo#ed b+ one e>pression divided b+ another
e>pression %for e>ample 0;04C2DFC1A3D& or an+ other unar+ operation name follo#ed
b+ an e>pression %for e>ample S/4C.0D& The unar+ operations are' ,GD %absolute
value&, ,4=D %arc cosine&, ,DE" %arc sine&, ,T," %arc tangent&, 4=D %cosine&, 7Y3 %e
raised to the given po#er&, *EY %round do#n&, *U3 %round up&, M" %natural logarithm&,
9=U"! %round to the nearest #hole number&, DE" %sine&, DU9T %sBuare root&, and T,"
%tangent& ,rguments to unar+ operations #hich ta$e angle measures %4=D, DE", and
T,"& are in degrees Lalues returned b+ unar+ operations #hich return angle measures
%,4=D, ,DE", and ,T,"& are also in degrees
The *EY operation rounds to#ards the left %less positive or more negative& on a number
line, so that %/XC2.#DG2 and %/XC2.#DG3, for e>ample The *U3 operation
rounds to#ards the right %more positive or less negative& on a number linee %H1C2.#DG3
and %H1C2.#DG2, for e>ample
]
5.03/ ,valiao das =peraes Unrias
Um valor 8 BualBuer operao unria g,T," Sseguido por uma e>presso dividido por outra
e>presso %por e>emplo ,T," ]-_ ( ]5 3_& ou BualBuer outro nome da operao unria seguido
por uma e>presso %por e>emplo DE" ]6._& ,s operaes unrias so' ,GD %valor absoluto&,
,4=D %arco cosseno&, asin %arco seno&, ,T," %arco tangente&, 4=D %cosseno&, 7Y3 %e
aumentado para uma dada potencia&, *i> %arredondado para bai>o&, *U3 %arredondado para
cima&, M" %logaritmo natural&, 9=U"!
%Lolta para o nmero inteiro mais prI>imo&, DE" %seno&, sBrt %rai? Buadrada& e T,"
%tangente&
,rgumentos para operaes unrio Bue tomem medidas de Rngulo %4=D, DE", e T,"& esto
em graus
=s valores retornados pelas operaes unrio Bue retorna medidas de Rngulo %,4=D, ,DE", e
,T,"& tamb8m esto em graus
= *EY rodadas operao para a esBuerda %menos positivos ou mais negativos& de um nmero
linha, de modo Bue *EY ]-:_ n - e *EY ]H-,:_ nH 3, por e>emplo
, operao *U3 rodadas para a direita %mais positiva ou menos negativa& em um nmero de
linhae *U3 ]-:_ n 3 e *U3 ]H-:_ nH -, por e>emplo
_
1?.5.4 ,ara$eter 1etting
, parameter setting is the follo#ing four items one after the other'
a pound character s
a real value #hich evaluates to an integer bet#een 5 and
5.3-., an eBual sign n , and
a real value *or e>ample Ss3 n 50S is a parameter setting meaning Sset parameter
3 to 50S
, parameter setting does not ta$e effect until after all parameter values on the same
line have been found *or e>ample, if parameter 3 has been previousl+ set to 50 and
the line
B3G6 G1 xB3 is interpreted, a straight move to a point #here > eBuals 50 #ill occur
and the value of parameter 3 #ill be 1
]
5.0/ 4onfigurao da 3arametri?ao
Rev 1.84-A2 1+-23 Using Mach3Mi
, configurao do parRmetro so os seguintes Buatro itens um apIs o outro'
j Um caracter s
j Um valor real Bue avalia a um nmero inteiro entre 5 e 5.3-.,
j Um sinal de igual n, e
j Um valor real 3or e>emplo, Ss 3 n 50S 8 um parRmetro Bue significa SparRmetro 3 8 igual a
50 S
, configurao do parRmetro no ter efeito at8 Bue os valores dos parRmetros na mesma linha
foram encontrados
3or e>emplo, se o parRmetro 3 foi previamente definido para a linha 50 e s 3 n 1 > K5 s 3 8
interpretado, um movimento em linha reta a um ponto onde > 8 igual a 50 e ir ocorrer o valor
do parRmetro 3 ser 1
]
1?.5.5 Co$$ents and !essages
, line that starts #ith the percent character, I, is treated as a comment and not
interpreted in an+ #a+
3rintable characters and #hite space inside parentheses is a comment , left parenthesis
al#a+s starts a comment The comment ends at the first right parenthesis found thereafter
=nce a left parenthesis is placed on a line, a matching right parenthesis must appear before
the end of the line 4omments ma+ not be nestede it is an error if a left parenthesis is found
after the start of a comment and before the end of the comment Nere is an e>ample of a
line containing a comment' G#0 *5 &st(p $(ti(n-
,n alternative form of comment is to use the t#o characters FF The remainder of the
line is treated as a comment
4omments do not cause the machining s+stem to do an+thing
, comment that is included in parenthesese, contains a message if *SG5 appears after
the left parenthesis and before an+ other printing characters Lariants of *SG5 #hich
include #hite space and lo#er case characters are allo#ed "ote that the comma #hich is
reBuired The rest of the characters before the right parenthesis are considered to be a
message to the operator Messages are displa+ed on screen in the S7rrorS intelligent label
]
5.00 comentrios e mensagens
, linha Bue comea com o caractere de porcentagem, m, 8 tratada como um comentrio e no
ser interpretada de BualBuer forma
4aracteres imprimCveis e espaos em branco dentro dos parFnteses soconsiderados um
comentrio
Um parFntese esBuerdo comea sempre um comentrio
= comentrio termina no primeiro parFntese direito encontrado posteriormente
Uma ve? Bue um parFntese esBuerdo 8 colocado em uma linha, um parFntese direito
correspondente devem aparecer antes o fim da linha
4omentrios no podem ser aninhados, 8 um erro se um parFntese esBuerdo 8 encontrado apIs
o inCcio de um comentrio e antes do final do comentrio
,Bui est um e>emplo de uma linha contendo um comentrio'
M0 K:. %stop motion&
Using Mach3Mi 1+-
24
Rev 1.84-A2
Uma forma alternativa de comentrio 8 usar os dois caracteres ( ( = restante da linha
8 tratado como um comentrio
4omentrios no fa?em no tem influFncia no programa
Um comentrio Bue est incluCdo no parenthesese, cont8m uma mensagem se MDK, aparece
depois do parFntese esBuerdo e antes de BuaisBuer caracteres de impresso
Lariantes do MDK, Bue incluem espao em branco e minsculas so permitidos
"ote Bue a vCrgula 8 necessria
= resto dos personagens antes do parFntese de direito so considerados uma mensagem para o
operador
,s mensagens so e>ibidas na tela, no local reservado a mensagens de erro
_
1?.5.6 Ite$ )epeats
, line ma+ have an+ number of K #ords, but t#o K #ords from the same modal group
ma+ not appear on the same line
, line ma+ have ?ero to four M #ords T#o M #ords from the same modal group ma+
not appear on the same line
*or all other legal letters, a line ma+ have onl+ one #ord beginning #ith that letter
Ef a parameter setting of the same parameter is repeated on a line, B3G15 B3G6,
for e>ample, onl+ the last setting #ill ta$e effect Et is sill+, but not illegal, to set the
same parameter t#ice on the same line
Ef more than one comment appears on a line, onl+ the last one #ill be usede each of the
other comments #ill be read and its format #ill be chec$ed, but it #ill be ignored
thereafter Et is e>pected that putting more than one comment on a line #ill be ver+ rare
]
5.01 Etens 9epetidos
, linha pode ter BualBuer nmero de 4Idogos K, K, mas dois cIdigos do mesmo grupo modal
no podem aparecer na mesma linha
, linha pode ter de ?ero a Buatro cIdigos M
!ois cIdigos M do mesmo grupo modal no pode aparecem na mesma linha
3ara todos os outros cIdogos vlidos, a linha pode ter apenas um cIdigo com essa letra
De um parRmetro de aAuste dos parRmetros Bue se repete em uma linha, s 3 s 3 n 50 n 1, por
e>emplo, somente a ltima configurao ter efeito
Z bobagem, mas no ilegal, o mesmo conAunto parRmetro duas ve?es na mesma linha
De mais de um comentrio aparecer em uma linha, apenas o ltimo ser utili?adoe cada um dos
outros comentrios sero lidos e seu formato ser marcada, mas ser ignorado em seguida
7speraHse Bue colocar mais de um comentrio em uma linha seAa muito raro
_
1?.5." Ite$ order
The three t+pes of item #hose order ma+ var+ on a line %as given at the beginning of this
section& are #ord, parameter setting, and comment Emagine that these three t+pes of
item are divided into three groups b+ t+pe
The first group %the #ords& ma+ be reordered in an+ #a+ #ithout changing the meaning
of the line
Rev 1.84-A2 1+-2, Using Mach3Mi
Ef the second group %the parameter settings& is reordered, there #ill be no change in the
meaning of the line unless the same parameter is set more than once En this case, onl+ the
last setting of the parameter #ill ta$e effect *or e>ample, after the line B3G15 B3G6
has been interpreted, the value of parameter 3 #ill be 1 Ef the order is reversed to B3G6
B3G15 and the line is interpreted, the value of parameter 3 #ill be 50
Ef the third group %the comments& contains more than one comment and is reordered,
onl+ the last comment #ill be used
Ef each group is $ept in order or reordered #ithout changing the meaning of the line,
then the three groups ma+ be interleaved in an+ #a+ #ithout changing the meaning of
the line *or e>ample, the line g"0 g1 B3G15 &s( t'ereJ- B"G8.0 has five
items and means e>actl+ the same thing in an+ of the 5-. possible orders H such as
B"G8.0 g1
B3G15 g"0 &s( t'ereJ-H for the five items
]
5.0J =rdem dos Etens
=s trFs tipos de itens cuAa ordem podem variar em uma linha %como A citado no inCcio deste
seo&, so cIdigos, a definio de parRmetros e comentrio
Emagine Bue esses trFs tipos de item so divididos em trFs grupos, por tipo
= primeiro grupo %os cIdigos& podem ser reordenadas em BualBuer forma sem alterar o sentido
de da linha
De o segundo grupo %as definies de parRmetro& 8 reordenada, no haver nenhuma mudana
na significado da linha a menos Bue o mesmo parRmetro seAa definido mais de uma ve?
"este caso, apenas os ltima configurao do parRmetro ter efeito
3or e>emplo, apIs a linha s 3 s 3 n 50 n 1, sido interpretado, o valor do parRmetro 3 ser 1
De a ordem 8 invertida para s 3 n 1 s 3 n 50 ea linha 8 interpretado, o valor do parRmetro 3
ser de 50
De o terceiro grupo %os comentrios&, cont8m mais de um comentrio e 8 reordenada, apenas o
ltimo comentrio ser usado
De cada grupo 8 mantido em ordem ou reordenadas sem alterar o sentido da linha, em seguida,
os trFs grupos podem ser intercaladas de BualBuer forma, sem alterar o significado da linha
3or e>emplo, a linha g/. g5 s 3 n 50 %ento nob& s / nH J. tem cinco itens e significa
e>atamente a mesma coisa em BualBuer um dos 5-. possCveis ordens H como a s / nH J,. g5
s 3 n 50 K/. %ento nob& H 3ara os cinco itens_
1?.5.9 Co$$ands and !achine !odes
Mach3 has man+ commands #hich cause a machining s+stem to change from one mode to
another, and the mode sta+s active until some other command changes it implicitl+ or
e>plicitl+ Duch commands are called SmodalS *or e>ample, if coolant is turned on, it
sta+s on until it is e>plicitl+ turned off The K codes for motion are also modal Ef a K5
%straight move& command is given on one line, for e>ample, it #ill be e>ecuted again on
the ne>t line if one or more a>is #ords is available on the line, unless an e>plicit command
is given on that ne>t line using the a>is #ords or cancelling motion
S"onHmodalS codes have effect onl+ on the lines on #hich the+ occur *or e>ample,
K/ %d#ell& is nonHmodal
]
Using Mach3Mi 1+-
2.
Rev 1.84-A2

5.0: 4omandos e Modos de MBuina
Mach3 tem muitos comandos Bue fa?em com Bue o sistema de maBuinas possa mudar de um
modo para outro, e o modo permanece ativo at8 Bue algum outro comando altere
implicitamente ou e>plicitamente Tais comandos so chamados de SmodalS
3or e>emplo, se o refrigerante 8 ativado, ele permanece at8 Bue seAa e>plicitamente
desabilitado
=s cIdigos K para o movimento tamb8m so modais
De o K5 %Mover em linha reta& o comando 8 dado em uma linha, por e>emplo, ele ser
e>ecutado novamente na prI>ima linha
De uma ou mais cIdigo de ei>o estiverem na linha, a menos Bue uma ordem e>plCcita seAa dada
na prI>ima linha usando as palavras do ei>o de movimento ou cancelamento
S"onHmodalS cIdigos sI ter efeito sobre as linhas em Bue eles ocorrem 3or e>emplo, o K/
%d#ell& 8 noHmodal
_
1+.. Moda 8rou%s
Modal commands are arranged in sets called Smodal groupsS, and onl+ one member of a
modal group ma+ be in force at an+ given time En general, a modal group contains
commands for #hich it is logicall+ impossible for t#o members to be in effect at the
same time H li$e measure in inches vs measure in millimetres , machining s+stem ma+
be in man+ modes at the same time, #ith one mode from each modal group being in
effect The modal groups are sho#n in figure 5.3
]
]
5.1 Krupos Modais

4omandos Modais so comandos organi?ados em grupos chamados Sgrupos de
modalS, e apenas um membro de um grupo modal pode estar ativo em um dado
momento
7m geral, cont8m um grupo de comandos restrito para os Buais 8 logicamente
impossCvel Bue dois membros possam vigorar na mesma tempo H como medida em
polegadas vs medida em milCmetros
Um sistema de maBuina podem ter muitos modos, ao mesmo tempo, com um modo
de cada grupo modal estar em vigor
= grupos modal so mostrados na figura 5.3
_
Rev 1.84-A2 1+-20 Using Mach3Mi
The modal 3roups for 3 codes are
group 5 n yK.., K.5, K.-, K.3, K3:-, K:., K:5, K:-, K:/,
K:0, K:1, K:J, K::, K:6z motion
group - n yK5J, K5:, K56z plane
selection group 3 n yK6., K65z distance
mode
group 0 n yK63, K6/z feed rate mode
group 1 n yK-., K-5z units
group J n yK/., K/5, K/-z cutter radius
compensation group : n yK/3, K/6z tool length offset
group 5. n yK6:, K66z return mode in canned c+cles
group 5- n yK0/, K00, K01, K0J, K0:, K06, K06>>>z
coordinate s+stem selection
group 53 n yK15, K155, K1/z path control mode
The modal groups for M codes are$
group / n yM., M5, M-, M3.z stopping
group 1 n yM1z tool change
group J n yM3, M/, M0z spindle turning
group : n yMJ, M:, M6z coolant %special case' MJ and M: ma+
be active at the same time&
group 6 n yM/:, M/6z enable(disable feed and speed override controls
&n addition to the above modal groups: there is a group for non,modal
3 codes$
group . n yK/, K5., K-:, K3., K03, K6-, K6-5, K6--, K6-3z
#igure 1+.3 - Moda grou%s
*or several modal groups, #hen a machining s+stem is read+ to accept commands, one
member of the group must be in effect There are default settings for these modal
groups @hen the machining s+stem is turned on or other#ise reHinitiali?ed, the default
values are automaticall+ in effect
Kroup 5, the first group on the table, is a group of K codes for motion =ne of these
is al#a+s in effect That one is called the current motion mode
Et is an error to put a KH4ode from group 5 and a KH4ode from group . on the same line if
both of them use a>is #ords Ef an a>is #ordHusing KH4ode from group 5 is implicitl+ in
effect on a line %b+ having been activated on an earlier line&, and a group . KH4ode that
uses a>is #ords appears on the line, the activit+ of the group 5 KH4ode is suspended for
that line The a>is #ordHusing KH4odes from group . are K5., K-:, K3., and K6-
Mach3 displa+s the current mode at the top of each screen
]
3ara vrios grupos de modal, Buando um sistema est pronto para aceitar comandos,
um membro do grupo deve estar em vigor 7>istem configuraes padro para estes
grupos modal
Uuando o sistema 8 ligado ou reiniciali?ado, os valores padro so
automaticamente colocados em vigor

Krupo 5, o primeiro grupo referentes a mesa, 8 o grupo de KH4ode para o
movimento Um deles estar sempre em vigor Esso 8 chamado o modo de
movimento atual

Z um erro colocar um KH4ode do grupo 5 e um KH4ode do grupo ., na mesma linha
se ambos usam o mesmo cIdigo de ei>o De um cIdigo usando KH4ode do grupo 5 8
implicitamente em efeito sobre uma linha %por ter sido ativado em uma linha
anterior&, e um grupo . KH4ode Bue utili?a cIdigo do ei>o aparece na linha, a
atividade do grupo 5 KH4ode 8 suspenso por essa linha
Using Mach3Mi 1+-
28
Rev 1.84-A2

= ei>o palavra usando KH4odes so do grupo ., K5., K-:, K3., e K6-
Mach3 e>ibe o modo atual na parte superior de cada tela
_
1+.0 8 Codes
K codes of the Mach3 input language are sho#n in figure 5./ and are the described
in detail
The descriptions contain command protot+pes, set in c()rier t+pe
En the command protot+pes, the tilde %>& stand for a real value ,s described earlier, a real
value ma+ be %5& an e>plicit number, //, for e>ample, %-& an e>pression, ]-k-/_, for
e>ample, %3& a parameter value, s::, for e>ample, or %/& a unar+ function value, acos]._,
for e>ample
En most cases, if a>is #ords %an+ or all of X>5 Y>5 6>5 0>5 ?>5 @>5 H>5
K>5 L>& are given, the+ specif+ a destination point ,>is numbers relate to the
currentl+ active coordinate s+stem, unless e>plicitl+ described as being in the absolute
coordinate s+stem
@here a>is #ords are optional, an+ omitted a>es #ill have their current value ,n+ items
in
the command protot+pes not e>plicitl+ described as optional are reBuired Et is an error if
a reBuired item is omitted
U, L and @ are s+non+ms for ,, G and 4 Use of , #ith U, G #ith L etc is erroneous
%li$e using , t#ice on a line& En the detailed descriptions of codes U, L and @ are not
e>plicitl+ mentioned each time but are implied b+ ,, G or 4
En the protot+pes, the values follo#ing letters are often given as e>plicit numbers
Unless stated other#ise, the e>plicit numbers can be real values *or e>ample, G10 22
could eBuall+ #ell be #ritten GC2E5D 2C1A1D Ef the value of parameter 5.. #ere -,
G10 2B100 #ould also mean the same Using real values #hich are not e>plicit numbers
as Aust sho#n in the e>amples is rarel+ useful
Ef 2> is #ritten in a protot+pe the S>S #ill often be referred to as the SM numberS
Dimilarl+ the S>S in M> ma+ be called the SN numberS, and so on for an+ other letter
Ef a scale factor is applied to an+ a>is then it #ill be applied to the value of the
corresponding Y, `, V, ,(U, G(L, 4(@ #ord and to the relevant E, 2, O or 9 #ords
#hen the+ are used
]
5.J KH4odes

=s KH4ode da linguagem de entrada Mach3 so mostrados na figura 5./ e esto
descritos em detalhe
,s descries contFm protItipos de comando, em tipo c()rier
"os protItipos de comando, o til %x& representam um valor real
4onforme descrito anteriormente, um valor real pode ser'
%5& um nmero e>plCcito, //, por e>emplo,
%-& uma e>presso ]-k -/_, por e>emplo
%3&, um valor de parRmetro, s ::, por e>emplo, ou
%/& um valor de funo unrio, acos ]._, por e>emplo

"a maioria dos casos, se as palavras ei>o %alguns ou todos Y x, `x , V x, , x,Gx
, 4 x, Ux , L x, @ x& so dadas, e especificam um ponto de destino
"meros ,>iais, referemHse ao sistema de coordenadas ativo, a menos Bue
e>plicitamente descrito como sendo a coordenada absoluta do sistema
Rev 1.84-A2 1+-21 Using Mach3Mi
=nde as palavras ei>o so opcionais, BuaisBuer ei>os omitido ter o seu valor
atual
Using Mach3Mi 1+-
3+
Rev 1.84-A2
Summary of 3,#odes
K. 9apid positioning
K5 Minear interpolation
K- 4loc$#ise circular(helical interpolation
K3 4ountercloc$#ise circular(Nelical interpolation
K/ !#ell
K5. 4oordinate s+stem origin setting
K5- 4loc$#ise circular poc$et
K53 4ountercloc$#ise circular poc$et
K50(K51 3olar 4oordinate moves in K. and K5
K5J Y` 3lane select
K5: YV plane select
K56 `V plane select
K-.(K-5 Ench(Millimetre unit
K-: 9eturn Nome
K-:5 9eference a>8s
K3. 9eturn Nome
K35 Dtraight probe
K/. 4ancel cutter radius compensation
K/5(K/- Dtart cutter radius compensation left(right
K/3 ,ppl+ tool length offset %plus&
K/6 4ancel tool length offset
K0. 9eset all scale factors to 5.
K05 Det a>is data input scale factors
K0- Temporar+ coordinate s+stem offsets
K03 Move in absolute machine coordinate s+stem
K0/ Use fi>ture offset 5
K00 Use fi>ture offset -
K01 Use fi>ture offset 3
K0J Use fi>ture offset /
K0: Use fi>ture offset 0
K06 Use fi>ture offset 1 ( use general fi>ture number
K15(K1/ 7>act stop(4onstant Lelocit+ mode
K1:(K16 9otate program coordinate s+stem
KJ.(KJ5 Ench(Millimetre unit
KJ3 4anned c+cle H pec$ drilling
K:. 4ancel motion mode %including canned c+cles&
K:5 4anned c+cle H drilling
K:- 4anned c+cle H drilling #ith d#ell
K:3 4anned c+cle H pec$ drilling
K:/ 4anned c+cle H right hand rigid tapping
K:0(K:1(K
::(K:6
4anned c+cle H boring
K6. ,bsolute distance mode
K65 Encremental distance mode
K6- =ffset coordinates and set parameters
K6-> 4ancel K6- etc
K63 Enverse time feed mode
K6/ *eed per minute mode
K60 *eed per rev mode
K6: Enitial level return after canned c+cles
K66 9Hpoint level return after canned c+cles
#igure 1+.4 - $a/e o" 8 codes
Rev 1.84-A2 1+-31 Using Mach3Mi
,lguns itens em comando protItipos no e>plicitamente descrito como opcional
so obrigatIrios

U, L e @ so sin^nimos para ,, G e 4 = uso de , com U, G, com L etc est
errado %esta utili?ando , duas ve?es em uma linha&
"as descries detalhadas dos cIdigos U, L e @ no so e>plicitamente
mencionadas, mas cada ve? so implicados por ,, G ou 4
"os protItipos, os valores Bue seguem as letras, muitas ve?es so entendidos
como nmeros e>plCcito , menos Bue ao contrrio, os nmeros seAam e>plCcitos
em valores reais
3or e>emplo K5. M-, poderia muito bem ser escrito K ]- q 0_ M ]5 k5_
De o valor do parRmetro 5.. for -, K5. M s 5.. tamb8m significaria o mesmo
Usando os valores reais Bue no e>plicitam nmeros como A foi mostrado nos
e>emplos, raramente so usadosl

De M x 8 escrito em um protItipo o SxS ser muitas ve?es referido como o nmero
de SMS Dimilarmente o SxS em N x pode ser chamado de Snmero N, e assim por
diante para BualBuer outra letra

De um fator de escala 8 aplicado a BualBuer ei>o, em seguida, ser aplicado ao
valor do Y correspondente, `, V, , (U, G ( L, 4 ( @ e Buando relevantes E,2, O
ou 9 Buando so usados
_
1?.".1 )apid .inear !otion - @?
%a& *or rapid linear motion, program G0 X> Y> 6> 0> ?> @>, #here all the a>is
#ords are optional, e>cept that at least one must be used The K. is optional if the current
motion mode is K. This #ill produce coHordinated linear motion to the destination point
at the current traverse rate %or slo#er if the machine #ill not go that fast& Et is e>pected
that cutting #ill not ta$e place #hen a K. command is e>ecuting
%b& Ef K51 has been e>ecuted to set a 3olar =rigin then for rapid linear motion to a point
described b+ a radius and angle G0 X> Y> can be used X> is the radius of the line
from the K51 polar origin and Y> is the angle in degrees measured #ith increasing
values countercloc$#ise from the 3 oacloc$ direction %ie the conventional four Buadrant
conventions&
4oordinates of the current point at the time of e>ecuting the K51 are the polar
origin Et is an error if'
all a>is #ords are omitted
Ef cutter radius compensation is active, the motion #ill differ from the abovee see
4utter 4ompensation Ef K03 is programmed on the same line, the motion #ill also
differe see ,bsolute 4oordinates
]
Using Mach3Mi 1+-
32
Rev 1.84-A2
5.J5 Movimento Minear 9pido H K.
%a& 3ara o movimento linear rpido , o programa K. Y x ` x V x , x G x 4 x, onde todos os
ei>os so letras opcionais, com e>ceo de Bue pelo menos um deve ser usado
, K. 8 opcional, se o modo atual de movimento A 8 K.
Esto ir produ?ir um coordenado movimento linear diretamente e o mais rpido ao ponto de
destino
7speraHse Bue um corte no esteAa ocorrendo Buando um comando K. est sendo e>ecutado
%G& De o K51, foi e>ecutado de uma origem polar, em seguida, para um movimento rpido e
linear a um ponto descrito por um raio e Rngulo K. Y x ` x pode ser usado Y x 8 o raio da
linha da origem polar K51 x e ` 8 o Rngulo medido em graus, com valores crescentes no
sentido horrio das 3'.. direo %ou seAa, convencionalmente no Buadrante Buatro &
4oordenadas do ponto atual, no momento da e>ecuo do K51 esto na origem polar
Z um erro se'
j Todas as palavras ei>o so omitidos
De a compensao do raio de corte 8 ativa, o movimento ser diferente do anteriore
LeAa 4ompensao de 4orte De K03 est programado na mesma linha, o movimento dever
tamb8m diferir, ver 4oordenadas absolutas
_
1?.".2 .inear !otion at =eed )ate - @1
%a& *or linear motion at feed rate %for cutting or not&, program G1 X> Y> 6> 0> ?>
@>, #here all the a>is #ords are optional, e>cept that at least one must be used The K5 is
optional if the current motion mode is K5 This #ill produce coHordinated linear motion to
the destination point at the current feed rate %or slo#er if the machine #ill not go that
fast&
%b& Ef K51 has been e>ecuted to set a polar origin then linear motion at feed rate to a
point described b+ a radius and angle G0 X> Y> can be used X> is the radius of the
line from the K51 polar origin and Y> is the angle in degrees measured #ith increasing
values countercloc$#ise from the 3 oacloc$ direction %ie the conventional four Buadrant
conventions&
4oordinates of the current point at the time of e>ecuting the K51 are the polar
origin Et is an error if'
all a>is #ords are omitted
Ef cutter radius compensation is active, the motion #ill differ from the abovee see
4utter 4ompensation Ef K03 is programmed on the same line, the motion #ill also
differe see ,bsolute 4oordinates
]
5.J- Movimentao Minear na Ta>a de ,limentao H K5
%,& 3ara o movimento linear na ta>a de alimentao %para o corte ou no&, o programa K5 Y x
` x V x , x G x 4 x, onde todas as letras de ei>o so opcionais, com e>ceo de Bue pelo
menos um deve ser usado
= K5 8 opcional, se o modo de movimento atual 8 K5
Esto ir produ?ir uma coordenada de movimento linear para o ponto de destino na ta>a de
alimentao atual %ou mais lento se a mBuina no vai to rpido&
Rev 1.84-A2 1+-33 Using Mach3Mi
%G& De o K51, foi e>ecutado setado para uma origem polar, em seguida, o movimento linear na
ta>a de alimentao a um ponto descrito por um raio e Rngulo K. Y x ` x pode ser usado Y x
8 o raio da linha de a origem polar K51 x e ` 8 o Rngulo medido em graus, com valores
crescentes no sentido horrio das 3'.. direo %ou seAa, no Buadrante Buatro nas convencionais
convenes&
4oordenadas do ponto atual, no momento da e>ecuo do K51 esto na origem polar
Z um erro se'
j Todas as palavras ei>o so omitidos
De a compensao do raio de corte 8 ativo, o movimento ser diferente do anteriore ver
compensao de corte
De K03 est programado na mesma linha, o movimento tamb8m difere, ver 4oordenadas
absolutas
_
1?.".3 2rc at =eed )ate - @2 and @3
, circular or helical arc is specified using either K- %cloc$#ise arc& or K3
%countercloc$#ise arc& The a>is of the circle or heli> must be parallel to the Y, `, or VH
a>is of the machine coordinate s+stem The a>is %or, eBuivalentl+, the plane perpendicular
to the a>is& is selected #ith K5J %VHa>is, Y`Hplane&, K5: %`Ha>is, YVHplane&, or K56 %YH
a>is,
`VHplane& Ef the arc is circular, it lies in a plane parallel to the selected plane
Ef a line of code ma$es an arc and includes rotational a>is motion, the rotational a>es turn
at a constant rate so that the rotational motion starts and finishes #hen the Y`V motion
starts and finishes Mines of this sort are hardl+ ever programmed
Ef cutter radius compensation is active, the motion #ill differ from the abovee see 4utter
4ompensation
T#o formats are allo#ed for specif+ing an arc @e #ill call these the center format and
the radius format En both formats the K- or K3 is optional if it is the current motion
mode
]
5.J3 ,rc no *eed 9ate H K- e K3
Um arco circular ou helicoidal 8 especificado usando o K- %,rco no sentido horrio& ou K3
%,rco sentido antiNorrio& = ei>o do cCrculo ou do h8lice deve ser paralelo ao ei>o Y, ` ou V
do sistema de coordenadas da mBuina= ei>o %ou, eBuivalentemente, o plano perpendicular ao
ei>o& 8 selecionada com K5J %plano ei>o V, Y` &, K5: %ei>o `, plano YV&, ou K56 %ei>o Y,
3lano `V& De o arco 8 circular, Bue se situa num plano paralelo ao plano selecionado
De uma linha de cIdigo fa? um arco e inclui um movimento de rotao no ei>o, os ei>os de
rotao em volta uma ta>a constante de modo Bue o movimento de rotao comea e termina
Buando o movimento comea Y`V e termina ,s linhas deste tipo dificilmente so
programadas
De a compensao do raio de corte 8 ativo, o movimento ser diferente do anteriore ver
compensao de corte
!ois formatos so permitidos para a especificao de um arcoLamos chamar estes formatos
de centro e de formato de raio
7m ambos os formatos K- e K3 so opcionais, se for o modo do movimento atual
_
Using Mach3Mi 1+-
34
Rev 1.84-A2
1+.0.3.1 Radius #ormat Arc
En the radius format, the coordinates of the end point of the arc in the selected plane are
specified along #ith the radius of the arc 3rogram G2 X> Y> 6> 0> ?> @> :>
%or use K3 instead of K-& 9 is the radius The a>is #ords are all optional e>cept that at
least one of the t#o #ords for the a>es in the selected plane must be used The 9 number
is the radius , positive radius indicates that the arc turns through 5:. degrees or less,
#hile a negative radius indicates a turn of 5:. degrees to 306666 degrees Ef the arc is
helical, the value of the end point of the arc on the coordinate a>is parallel to the a>is of
the heli> is also specified
Et is an error if'
both of the a>is #ords for the a>es of the selected plane are
omitted,
the end point of the arc is the same as the current point
Et is not good practice to program radius format arcs that are nearl+ full circles or are
semicircles %or nearl+ semicircles& because a small change in the location of the end point
#ill produce a much larger change in the location of the center of the circle %and, hence,
the middle of the arc& The magnification effect is large enough that rounding error in a
number can produce outHofHtolerance cuts "earl+ full circles are outrageousl+ bad,
semicircles %and nearl+ so& are onl+ ver+ bad =ther si?e arcs %in the range tin+ to 510
degrees or 560 to 3/0 degrees& are =O
Nere is an e>ample of a radius format command to mill an arc'
G18 G2 x 10 y 15 r 20 z 5
That means to ma$e a cloc$#ise %as vie#ed from the positive VHa>is& circular or helical
arc #hose a>is is parallel to the VHa>is, ending #here Yn5., `n50, and Vn0, #ith a radius
of
-. Ef the starting value of V is 0, this is an arc of a circle parallel to the Y`Hplanee
other#ise it is a helical arc
]
5.J35 *ormato de ,rco 9adial
"o formato arco radial, as coordenadas do ponto final do arco no plano so selecionados e
especificado Aunto com o raio do arco 3rograma K- Y ` V x x x , x G x 4 x 9 x %ou
use K- em ve? de usar K-& 9 8 o raio ,s palavras do ei>o so opcionais, e>ceto Bue, pelo
menos uma das duas palavras para os ei>os do plano selecionado deve ser usado = nmero 9
8 o raio Um raio positivo indica Bue as curvas do arco de 5:. graus ou menos, enBuanto um
raio negativo indica um giro de 5:. graus para 306666 graus De o arco 8 helicoidal, o valor do
ponto final do arco da coordenada do ei>o paralelo ao ei>o da h8lice 8 tamb8m especificado
Z um erro se'
Uma letra de ei>o do plano selecionado so omitidos,
j = ponto final do arco 8 o mesmo Bue o ponto atual
"o 8 uma boa prtica para o programa arcos formato de raio Bue so cCrculos completos ou
semicCrculos %ou Buase semicCrculos&, porBue uma peBuena mudana na locali?ao do ponto
final vai produ?ir uma mudana muito maior na locali?ao do centro do cCrculo %e, portanto, a
meio do arco& = efeito de ampliao 8 grande o suficiente para Bue o erro de arredondamento
em um nmero possam produ?ir cortes fora de tolerRncia
Uuase cCrculos completos so escandalosamente ruim, semicCrculos %e Buase isso& sI so muito
ruins
=utros arcos de tamanho %no intervalo peBueno de 510 graus e 560H3/0 graus& esto =O
Rev 1.84-A2 1+-3, Using Mach3Mi
,Bui est um e>emplo de um comando de uso de raio formatado'
K5J K- > 5. + 50 r -. ? 0
Esso significa Bue para fa?er um circulo no sentido horrio %visto o lado positivo do ei>o V&,
circular ou helicoidal arco cuAo ei>o 8 paralelo ao ei>o V, terminando onde Y n 5., ` n 50 e V
n 0, com um raio de -.
De o valor inicial de V 8 de 0, este 8 um arco de cCrculo paralelo ao plano Y`e caso contrrio, 8
um arco de h8lice
_
1+.0.3.2 Center #ormat Arc
En the center format, the coordinates of the end point of the arc in the selected plane are
specified along #ith the offsets of the center of the arc from the current location En this
format, it is =O if the end point of the arc is the same as the current point Et is an error
if'
#hen the arc is proAected on the selected plane, the distance from the current
point to the center differs from the distance from the end point to the center b+
more than ....- inch %if inches are being used& or ...- millimetre %if
millimetres are being used&
The center is specified using the E and 2 #ords There are t#o #a+s of interpreting them
The usual #a+ is that E and 2 are the center relative to the current point at the start of the
arc This is sometimes called Incremental I0 mode. The second #a+ is that E and 2 specif+
the center as actual coordinates in the current s+stem This is rather misleadingl+ called
#/sol$te I0 mode. The E2 mode is set using the 4onfigureoDtatei menu #hen Mach3 is
setup The choice of modes are to provide compatibilit+ #ith commercial controllers `ou
#ill probabl+ find Encremental to be best En ,bsolute it #ill, of course usuall+ be necessar+
to use both E and 2 #ords unless b+ chance the arcas centre is at the origin
@hen the Y`Hplane is selected, program G2 X> Y> 6> 0> ?> @> /> => %or use
K3 instead of K-& The a>is #ords are all optional e>cept that at least one of Y and `
must be used E and 2 are the offsets from the current location or coordinates H depending
on E2 mode %Y and ` directions, respectivel+& of the center of the circle E and 2 are
optional e>cept that at least one of the t#o must be used Et is an error if'
Y and ` are both omitted,
E and 2 are both omitted
@hen the YVHplane is selected, program G2 X> Y> 6> 0> ?> @> /> N> %or use
K3 instead of K-& The a>is #ords are all optional e>cept that at least one of Y and V must
be used E and O are the offsets from the current location or coordinates H depending on E2
mode %Y and V directions, respectivel+& of the center of the circle E and O are
optional e>cept that at least one of the t#o must be used Et is an error if'
Y and V are both omitted,
E and O are both omitted
@hen the `VHplane is selected, program G2 X> Y> 6> 0> ?> @> => N> %or use
K3 instead of K-& The a>is #ords are all optional e>cept that at least one of ` and V must
be used 2 and O are the offsets from the current location or coordinates H depending on E2
mode %` and V directions, respectivel+& of the center of the circle 2 and O are
optional e>cept that at least one of the t#o must be used Et is an error if'
` and V are both omitted,
2 and O are both omitted
Nere is an e>ample of a center format command to mill an arc in Encremental E2 mode'
G18 G2 x10 y16 i3 !" z.
That means to ma$e a cloc$#ise %as vie#ed from the positive ?Ha>is& circular or helical
arc #hose a>is is parallel to the VHa>is, ending #here Yn5., `n51, and Vn6, #ith its
center offset in the Y direction b+ 3 units from the current Y location and offset in the `
Using Mach3Mi 1+-
3.
Rev 1.84-A2
direction b+ / units from the current ` location Ef the current location has YnJ, `nJ at
the outset, the center #ill be at Yn5., `n55 Ef the starting value of V is 6, this is a
circular arce other#ise it is a helical arc The radius of this arc #ould be 0
The above arc in ,bsolute E2 mode #ould be'
G18 G2 x10 y16 i10 !11 z.
En the center format, the radius of the arc is not specified, but it ma+ be found easil+ as
the distance from the center of the circle to either the current point or the end point of the
arc
]
5.J3- *ormato pelo 4entro do ,rc
"o formato de centro, as coordenadas do ponto final do arco no plano selecionado so
especificados, Auntamente com os deslocamentos do centro do arco a partir da locali?ao
atual "esta formato, esta certo, se o ponto final do arco 8 o mesmo Bue o ponto atual
Z um erro se'
Uuando o arco 8 proAetado sobre o plano escolhido, a distRncia entre o ponto atual
ao centro difere da distRncia entre o ponto final para o centro por mais de ....- polegadas %se
esto sendo usados polegadas& ou ...- milCmetros %milCmetro se esto sendo usado&
= centro 8 especificado usando as letras E e 2 N duas maneiras de interpretHlas, maneira
usual 8 Bue a E e 2 so o centro relativo em relao ao ponto atual, no inCcio do arco Esto 8 Ts
ve?es chamado de modo incremental de E 2 , segunda maneira 8 Bue E e 2 especificam o centro
das atuais coordenadas do sistemal Esto 8 bastante enganador e 8 chamado modo absoluto em E
2 = modo de E2 8 definido usando o menu 4onfiguraro 7stado Buando Mach3 8 inicialmente
definido , escolha dos modos so para fornecer compatibilidade com controladores
comerciais LocF ir provavelmente usar Encremental por ser o melhor7m termos o absoluto 8,
naturalmente o mais necessrio as letras E e 2 no 8 por acaso o centro do arco est na origem
Uuando o plano >+ 8 selecionado, o programa K- Y x ` x V x , x G x 4 x E x 2 x %ou use K3
em ve? de K-& ,s palavras do ei>o so opcionais, e>ceto Bue pelo menos um dos Y e `
devem ser utili?adoE e 2 so os deslocamentos a partir da locali?ao atual ou coordenadas H
dependendo de E 2 Modo %Y e `, respectivamente& do centro do cCrculo E e 2 so opcionais
e>ceto Bue, pelo menos, um dos dois deve ser usado Z um erro se'
j Y e ` so omitidos,
j E e 2 so omitidos
Uuando o plano YV 8 selecionado, o programa K- Y x ` x V x , x G x 4 x E x O x %ou use
K3 K-, em ve? de&
,s palavras do ei>o so opcionais, e>ceto Bue pelo menos um de Y e V deve ser utili?ado
E e O so os deslocamentos a partir da locali?ao atual ou coordenadas H dependendo E2
Modo %Y e V, respectivamente& do centro do cCrculo E e O so opcionais e>ceto Bue, pelo
menos, um dos dois deve ser usado Z um erro se'
j Y e V so omitidos,
j E e O so omitidos
Uuando o plano +? 8 selecionado, o programa K- Y x ` x V x , x G x 4 x 2 x O x %ou use K3
K-, em ve? de&
,s palavras do ei>o so opcionais, e>ceto Bue pelo menos um de ` e V devem ser utili?ado 2 e
O so os deslocamentos a partir da locali?ao actual ou coordenadas H dependendo E2
mode %` e V, respectivamente& do centro do cCrculo 2 e O so opcionais e>ceto Bue, pelo
menos, um dos dois deve ser usado Z um erro se'
Rev 1.84-A2 1+-30 Using Mach3Mi
j ` e V so omitidos,
p 2 e O so omitidos
,Bui est um e>emplo de um comando central para fbrica de formato de um arco em modo
incremental E2'
K5J K- Y5. `51 i3 A/ ?6
Esso significa Bue para fa?er no sentido horrio %visto pela positiva ei>o ?& circular ou
helicoidal arco cuAo ei>o 8 paralelo ao ei>o V, terminando onde Y n 5., ` n 51 e V n 6, com
seu centro deslocamento na direo Y por 3 unidades a partir da locali?ao atual Y e
deslocamento na direo ` por / unidades de ` a partir do local atual
De a locali?ao actual Y n J ` n J no inCcio, o centro ser em Y n 5., ` n 55
De o valor inicial de V 8 de 6, este 8 um arco circulare
caso contrrio, 8 um arco de h8lice
= raio do arco seria 0
= arco acima de modo absoluto E2 seria'
K5J K- Y5. `51 i5. 255 ?6
"o formato de centro, o raio do arco no 8 especificado, mas pode ser facilmente encontrados
como distRncia do centro do cCrculo, Buer do ponto atual ou o ponto final do arco
_
1?.".4 Dwell - @4
*or a d#ell, program G" 1> This #ill $eep the a>es unmoving for the period of time in
seconds or milliseconds specified b+ the 3 number The time unit to be used is set up on
the 4onfigoMogic dialog *or e>ample, #ith units set to Deconds, K/ 3.0 #ill d#ell for
half a second Et is an error if'
the 3 number is negative
]
5.J/ 3arada H K/
3ara uma parada, o programa K/ 3 x Esto ir manter os ei>os imIvel para o perCodo de tempo
em segundos ou milissegundos especificado pelo nmero 3
, unidade de tempo a ser utili?ado 8 definido em cima da 4onfigo dilogo Mogic
3or e>emplo, com unidades definidas para Degundos, 3.0 K/ vai demorar meio segundo
Z um erro se'
j = nmero 3 8 negativo
_
1?.".5 1et Coordinate 1&ste$ Data Tool and work oset tables - @1?
Dee details of tool and #or$ offsets for further information on coordinate s+stems
To set the offset values of a tool, program
G10 21 1> X> 6> ,x, #here the 3 number must evaluate to an integer in the range .
to
-00 H the tool number H =ffsets of the tool specified b+ the 3 number are reset to the given
The , number #ill reset the tool tip radius =nl+ those values for #hich an a>is #ord is
Using Mach3Mi 1+-
38
Rev 1.84-A2
included on the line #ill be reset The Tool diameter cannot be set in this #a+
Rev 1.84-A2 1+-31 Using Mach3Mi
To set the coordinate values for the origin of a fi>ture coordinate s+stem, program
G10 22 1> X> Y> 6> 0> ?> @>, #here the 3 number must evaluate to an integer
in the range 5 to -00 H the fi>ture number H %Lalues 5 to 1 corresponding to K0/ to K06&
and
all a>is #ords are optional The coordinates of the origin of the coordinate s+stem specified
b+ the 3 number are reset to the coordinate values given %in terms of the absolute
coordinate s+stem& =nl+ those coordinates for #hich an a>is #ord is included on the line
#ill be reset
Et is an error if'
the 3 number does not evaluate to an integer in the range . to -00
Ef origin offsets %made b+ K6- or K6-3& #ere in effect before K5. is used, the+
#ill continue to be in effect after#ards
The coordinate s+stem #hose origin is set b+ a K5. command ma+ be active or inactive
at the time the K5. is e>ecuted
The values set #ill not be persistent unless the tool or fi>ture tables are saved using
the buttons on Tables screen
7>ample' G10 22 11 x3.5 y18.2 sets the origin of the first coordinate s+stem %the
one selected b+ K0/& to a point #here Y is 30 and ` is 5J- %in absolute coordinates&
The V coordinate of the origin %and the coordinates for an+ rotational a>es& are #hatever
those coordinates of the origin #ere before the line #as e>ecuted
]
5.J0 !efinir o Distema de 4oordenadas de !ados das ferramentas e deslocamento da mesas
de trabalho H K5.
LeAa os detalhes da ferramenta e os deslocamentos de trabalho para obter mais informaes
sobre sistemas de coordenadas
3ara definir os valores de deslocamento de uma ferramenta, o programa
K5. M5 3 x Y x V x , x, onde o nmero 3 deve ser avaliada como um inteiro na fai>a de . a
-00 H o nmero da ferramenta H !eslocamentos da ferramenta especificada pelo nmero 3 so
resetadadas para o dado = nmero , vai redefinir o raio de ponta da ferramenta ,penas os
valores para os Buais uma letra de ei>o incluCdos na linha ser ?erado = diRmetro da
ferramenta no pode ser definido dessa maneira
3ara definir os valores das coordenadas para a origem de uma instalao de sistema de
coordenadas, o programa K5. M- 3 x Y x ` x V x , x G x 4 x, onde o nmero 3 deve ser
avaliada como um inteiro em intervalo de 5 a -00 H o nmero el8trico H %Lalores 5H1
correspondente ao K0/ a K06& e todas as palavras ei>o so opcionais ,s coordenadas da
origem do sistema de coordenadas especificado pelo nmero 3 so redefinidas para os valores
das coordenadas dadas %em termos da coordenada absoluta sistema& ,penas essas coordenadas
para o Bual uma palavra 8 incluCdo no ei>o da linha ser ?erado Z um erro se'
j = nmero 3 no 8 um nmero na fai>a de . a -00
De o deslocamento da origem %feita por K6- ou K6-3& estavam em vigor antes do K5. 8
utili?ado, eles vo continuam a estar em vigor depois
= sistema de coordenadas cuAa origem 8 definida por um comando K5. pode ser ativo ou
inativo na momento em Bue o K5. 8 e>ecutado
=s valores fi>ados no sero persistentes a menos Bue ferramentas ou tabela de acessIrio so
salvos com o botes na tela
7>emplo' M- K5. 35 >30 +5J- define a origem da primeira coordenada do sistema %a
selecionado pelo K0/& a um ponto onde Y 8 de 3,0 e ` 8 de 5J- %em coordenadas absolutas&
Using Mach3Mi 1+-
4+
Rev 1.84-A2
= V coordenadas da origem %e as coordenadas para BualBuer dos ei>os de rotao& so o Bue os
coordenadas da origem eram antes da linha foi e>ecutada
_
1?.".6 ClockwiseAco%nterclockwise circ%lar pocket - @12 and @13
These circular poc$et commands are a sort of canned c+cle #hich can be used to produce a
circular hole larger than the tool in use or #ith a suitable tool %li$e a #oodruff $e+ cutter&
to cut internal grooves for S=S rings etc
3rogram G12 /> for a cloc$#ise move and G13 /> for a countercloc$#ise
move The tool is moved in the Y direction b+ the value if the E #ord and a circle
cut in the
direction specified #ith the original Y and ` coordinates as the centre The tool is
returned to the centre
Ets effect is undefined if the current plane is not Y`
]
5.J1 *urao no Dentido Norrio e ,ntiH Norrio H K5- e K53
7stes comandos para furos circulares so uma esp8cie de ciclos prontos Bue podem ser usados
para produ?ir um furo circular maior do Bue a ferramenta em uso ou com uma ferramenta
adeBuada %como um cortador de furos& cortar ranhuras internas para S=S rings etc
3rograma K5- E x para um movimento no sentido horrio e K53 E x para um movimento antiH
horrio
, ferramenta 8 movida na direo Y, por um valor de E e um cCrculo 8 cortado no direo
especificada com o original Y e ` e coordenadas do centro , ferramenta 8 devolvido para o
centro
Deu efeito 8 indefinido se o plano actual no 8 Y`
_
1?."." /0it and /nter ,olar $ode - @15 and @16
Et is possible for K. and K5 moves in the Y(` plane onl+ to specif+ coordinates as a radius
and angle relative to a temporar+ center point 3rogram G16 to enter this mode The
current coordinates of the controlled point are the temporar+ center
3rogram G15 to revert to normal 4artesian coordinates
G0 X10 Y10 FF n(r$al G0 $(ve t( 10510
G16 FFstart (f p(lar $(,e.
G10X10Y"5
& t'is +ill $(ve t( X 18.xxx5 Y 18.xxx +'ic' is a
sp(t (n a circle- &(f ra,i)s 10 at "5 ,egrees fr($
t'e initial c((r,inates (f 10510.-
This can be ver+ useful, for e>ample, for drilling a circle of holes The code belo# moves
to a circle of holes ever+ 5. degrees on a circle of radius 0. mm centre Y n 5., ` n 00
and pec$ drills to V n H.1
G21 FF $etric
G0 X10Y5.5
G16
G1 X50 Y0 FFp(lar $(ve t( a ra,i)s (f 50 angle 0,eg
G#3 60.6 FF pec3 ,rill
G1 Y10 FF ten ,egrees fr($ (riginal center...
G#3 60.6
G1 Y20 FF 20 ,egrees....etc...
G1 Y30
Rev 1.84-A2 1+-41 Using Mach3Mi
G1 Y"0
O ...etc....
G15 FFbac3 t( n(r$al cartesian
%otes$
%5& +ou must not ma$e Y or ` moves other than b+ using K. or K5 #hen K51 is active
%-& This K51 is different to a *anuc implementation in that it uses the current point
as the polar center The *anuc version reBuires a lot of origin shifting to get the
desired result for an+ circle not centred on .,.
]
5.JJ sair e entrar no modo 3olar H K50 e K51
Z possCvel para K. e K5 se mover no plano do Y ( ` apenas para especificar as coordenadas de
um raio e Rngulo em relao a um ponto central temporrio3rograma K51 para entrar neste
modo = actual coordenadas do ponto de controlo so o centro temporrio
3rograma K50 para reverter para o noirmal modo de coordenadas cartesianas
K. Y5. `5. ( ( move K. normal de 5.,5.
K51 ( inCcio de modo polar
K5.Y5.`/0
%Esto vai mudar para Y 5J>>>, 5J>>> `, Bue 8 um local em um cCrculo& %raio de 5. a /0
graus de as coordenadas inicial de 5.,5.&
Esto pode ser muito til, por e>emplo, para a perfurao de um cCrculo de furos = cIdigo
abai>o moveHse para um cCrculo de furos a cada 5. graus em um cCrculo de raio de 0.
milCmetros centro Y n 5., ` n 00 e pec$ brocas para V n H.,1
K-5 ( m8trica
K. Y5.`00
K51
K5 Y0. `. ( mover ( polar a um raio de 0. Rngulo .deg
K:3 VH.1 ( drill pec$
K5 `5. ( de? graus do centro original
K:3 VH.1
`-. K5 ( -. graus etc
K5 `3.
K e MHcIdigo de referFncia
Usando 9ev Mach3Mill 5:/H5.H-.H,-
K5 `/.
o 7tc
cartesiano K50 ( volta ao normal
"otas'
$1) vocF no deve fa?er Y ou ` se mover mais do Bue usar K. ou K5 Buando K51 est
ativo
%-& = K51 8 diferente em uma aplicao *anuc na medida em Bue usa o ponto atual como o
centro polar , verso *anuc reBuer muita mudana de origem para obter o deseAado
resultado de BualBuer cCrculo no est centrada em .,.
_
1?.".9 ,lane 1election - @1"B @19B and @1>
Using Mach3Mi 1+-
42
Rev 1.84-A2
3rogram K5J to select the Y`Hplane, K5: to select the YVHplane, or K56 to select the `VH
plane The effects of having a plane selected are discussed in under K-(3 and 4anned
c+cles
]
5.J: Deleo de 3lano H K5J, K5:, K56 e 3rograma K5J para selecionar o plano Y`, K5:
para selecionar o plano YV, ou K56 para selecionar o plano `V
=s efeitos de ter um plano selecionado so discutidas no Rmbito K- ( 3
_
1?.".> .ength (nits - @2? and @21
3rogram K-. to use inches for length units 3rogram K-5 to use millimetres
Et is usuall+ a good idea to program either K-. or K-5 near the beginning of a program
before an+ motion occurs, and not to use either one an+#here else in the program Et is
the responsibilit+ of the user to be sure all numbers are appropriate for use #ith the
current length units Dee also KJ.(KJ5 #hich are s+non+mous
]
5.J6 unidades de comprimento H K-. e K-5
3rograma K-. ao usar polegadas para as unidades de comprimento 3rograma K-5 usar
milCmetros
Z geralmente uma boa id8ia colocar os cIdigos de programa K-. ou K-5 no comeo de um
programa antes de BualBuer movimento ocorra, e no usar BualBuer um em BualBuer lugar do
programa
Z o responsabilidade do usurio certificarHse todos os nmeros so adeBuados para uso com o
atual unidades de comprimento
LeAa tamb8m KJ.(KJ5 Bue so sin^nimos
_
1?.".1? )et%rn to 4o$e - @29 and @3?
, Nome position is defined %b+ parameters 0515H0511& The parameter values are in
terms of the absolute coordinate s+stem, but are in unspecified length units
To return to Nome position b+ #a+ of the programmed position, program
G2# X> Y> 6> 0> ?> @> %or use K3.& ,ll a>is #ords are optional The path is
made b+ a traverse move from the current position to the programmed position, follo#ed
b+ a traverse move to the Nome position Ef no a>is #ords are programmed, the
intermediate
point is the current point, so onl+ one move is made
]
5.J5. 9etornar ao Nome H K-: e K3.
, posio inicial 8 definido %por meio de parRmetros 0515H0511& =s valores dos parRmetros
so, em termos do sistema de coordenadas absoluto, mas esto em unidades de comprimento
indeterminado
3ara retornar T posio inicial por meio da posio programada, o programa K-: Y ` V x x x
, x G x 4 %ou use K3.&
Todas as palavras ei>o so opcionais
Rev 1.84-A2 1+-43 Using Mach3Mi
= caminho 8 feito por um movimento transversal a partir da posio atual para a posio
programada, seguido por um movimento transversal T posio inicial
De no h letras de ei>o programadas, o ponto intermedirio 8 o ponto atual, portanto, apenas
uma mudana 8 feita
_
1?.".11 )eerence a0es @29.1
3rogram G2#.1 X> Y> 6> 0> ?> @> to reference the given a>es The a>es #ill
move at the current feed rate to#ards the Nome s#itch%es&, as defined b+ the
4onfiguration @hen the absolute machine coordinate reaches the value given b+ an a>is
#ord then the feed rate
is set to that defined b+ 4onfigureo4onfig 9eferencing
3rovided the current absolute position is appro>imatel+ correct, then this #ill give a soft
stop onto the reference s#itch%es&
]
5.J55 ei>os de referFncia K-:5
3rograma K-:5 Y x ` x V x , x G x 4 x relao aos ei>os dados
=s ei>os se mover a ta>a de alimentao para o chave de corrente de origem %es&, conforme
definido pela configurao Uuando coordenar a mBuina absoluta atinge o valor dado por uma
letra de ei>o, a ta>a de alimentao 8 definido como o definido em 4onfiguraro 4onfigurao
de referFncia
*ornecer uma posio corrente absoluta 8 correto, ento isso vai dar uma parada suave para a
chave%s& de referFncia
_
1?.".12 1traight ,robe C @31
[
5.J5- Donda de 3rova H K35
]
1+.0.12.1 $he -traight !ro/e Command
3rogram G31 X> Y> 6> 0> ?> @> to perform a straight probe operation The
rotational a>is #ords are allo#ed, but it is better to omit them Ef rotational a>is #ords
are used, the numbers must be the same as the current position numbers so that the
rotational a>es do not move The linear a>is #ords are optional, e>cept that at least one
of them must be used The tool in the spindle must be a probe
Et is an error if'
the current point is less than .-0/ millimetre or ..5 inch from the
programmed point
K35 is used in inverse time feed rate
mode, an+ rotational a>is is commanded
to move, no Y, `, or VHa>is #ord is used
En response to this command, the machine moves the controlled point %#hich should be
at the end of the probe tip& in a straight line at the current feed rate to#ard the
programmed point Ef the probe trips, the probe is retracted slightl+ from the trip point at
the end of command e>ecution Ef the probe does not trip even after overshooting the
programmed point slightl+, an error is signalled
,fter successful probing, parameters -... to -..0 #ill be set to the coordinates of the
location of the controlled point at the time the probe tripped and a triplet giving Y, ` and
V at the trip #ill be #ritten to the triplet file if it has been opened b+ the *"0
macro(OpenDig%ile&- function %Bv&
Using Mach3Mi 1+-
44
Rev 1.84-A2
]
5.J5-5 = comando de Donda de 3rova
3rograma K35 Y x ` x V x , x G x 4 x para e>ecutar uma operao de sonda,s letras dos
ei>os rotacionais so permitidos, mas 8 melhor omitiHlos De as letras de rotao do ei>o so
utili?ados, os nmeros devem ser os mesmos Bue os nmeros de posio atual de modo Bue a
rotao ei>os no se mova
,s palavras dos ei>os lineares so opcionais, com e>ceo de Bue pelo menos um deles deve
ser utili?ado , ferramenta Bue deve estar no ei>o 8 uma sonda
Z um erro se'
j = ponto atual 8 inferior a .,-0/ milCmetro ou .,.5 polegada do ponto programado
p K35 8 usado em modo inverso T ta>a do tempo de alimentao,
j UualBuer ei>o de rotao 8 comandado para se mover,
p "enhuma letra Y, ` ou V 8 usada
7m resposta a este comando, a mBuina move o ponto de controle %Bue deve estar no fim da
ponta da sonda& em uma linha reta na atual ta>a de alimentao para o programado ponto De
na viagem da sonda, a sonda 8 acionada o comando 8 encerrado De a sonda no se acionar
mesmo depois de ultrapassar o ponto programado, um erro 8 sinali?ado
,pIs o sucesso de sondagem, os parRmetros de -...H-..0 ser definido com as coordenadas
do locali?ao do ponto de controle no momento da sonda tropeou e um trio Bue d Y, ` e V
vai ser escrito para o trio de arBuivo se o mesmo foi aberto pelo M/.
macro ( =pen!ig*ile %& funo %Bv&
_
1+.0.12.2 Using the -traight !ro/e Command
Using the straight probe command, if the probe shan$ is $ept nominall+ parallel to the VH
a>is %ie, an+ rotational a>es are at ?ero& and the tool length offset for the probe is used,
so that the controlled point is at the end of the tip of the probe'
#ithout additional $no#ledge about the probe, the parallelism of a face of a part
to the Y`Hplane ma+, for e>ample, be found
if the probe tip radius is $no#n appro>imatel+, the parallelism of a face of a part
to the `V or YVHplane ma+, for e>ample, be found
if the shan$ of the probe is $no#n to be #ellHaligned #ith the VHa>is and the
probe tip radius is $no#n appro>imatel+, the center of a circular hole, ma+, for
e>ample, be found
if the shan$ of the probe is $no#n to be #ellHaligned #ith the VHa>is and the
probe tip radius is $no#n precisel+, more uses ma+ be made of the straight probe
command, such as finding the diameter of a circular hole
Ef the straightness of the probe shan$ cannot be adAusted to high accurac+, it is desirable to
$no# the effective radii of the probe tip in at least the kY, HY, k`, and H` directions
These Buantities can be stored in parameters either b+ being included in the parameter file
or b+ being set in a Mach3 program
Using the probe #ith rotational a>es not set to ?ero is also feasible !oing so is
more comple> than #hen rotational a>es are at ?ero, and #e do not deal #ith it
here
]
5.J5-- Usando o comando Donda de 3rova
Rev 1.84-A2 1+-4, Using Mach3Mi
Usando o comando sonda, se a haste da sonda 8 mantida nominalmente paralelo ao ei>o V %=u
seAa, BualBuer ei>os de rotao esto em ?ero& e o comprimento da ferramenta para compensar
a sonda 8 usada, assim Bue o ponto 8 controlado no final da ponta da sonda'
j Dem o conhecimento adicional sobre a sonda, o paralelismo de uma face de uma parte para
plano >+ pode, por e>emplo, ser encontrado
De o raio de ponta da sonda 8 conhecido, apro>imadamente, o paralelismo de uma face de uma
parte para o plano`V ou YV pode, por e>emplo, ser encontrado
De a haste da sonda 8 conhecida por ser bem alinhado com o ei>o V e a sonda
raio de ponta 8 conhecido, apro>imadamente, o centro de um furo circular, podem, por
e>emplo, ser encontrado
De a haste da sonda 8 conhecida por ser bem alinhado com o ei>o V e a sonda
raio de ponta 8 conhecido com preciso, usa mais pode ser feito do comando sonda reta,
como encontrar o diRmetro de um furo circular
De a retido da haste da sonda no pode ser aAustada para alta preciso, 8 deseAvel
conhecer os raios efetivos da ponta da sonda, pelo menos, a Y k, Y, k `, e ` direes
7stes Buantidades podem ser arma?enadas em parRmetros Buer ser incluCdo no arBuivo de
parRmetros ou sendo definida em um programa Mach3
Usando a sonda com ei>os de rotao no definida para ?ero tamb8m 8 vivel *a?er isso 8
mais comple>o do Bue Buando os ei>os de rotao so ?eros, e no vamos tratar disso aBui
_
1+.0.12.3 :9am%e Code
,s a usable e>ample, the code for finding the center and diameter of a circular hole is
sho#n in figure 550 *or this code to +ield accurate results, the probe shan$ must be
#ellH aligned #ith the VHa>is, the cross section of the probe tip at its #idest point must be
ver+ circular, and the probe tip radius %ie, the radius of the circular cross section& must
be $no#n precisel+ Ef the probe tip radius is $no#n onl+ appro>imatel+ %but the other
conditions hold&, the location of the hole center #ill still be accurate, but the hole
diameter #ill not
5.J5-3 7>emplo de cIdigo
4omo um e>emplo de utili?ao, o cIdigo para encontrar o centro e o diRmetro de um buraco
circular 8 mostrado na figura 550
3ara Bue este cIdigo possa produ?ir resultados precisos, a haste da sonda deve ser muito bem
alinhada com o ei>o V, a seo transversal da ponta da sonda em seu ponto mais largo deve
ser muito circular ao raio da ponta da sonda %ou seAa, o raio da seo circular& deve ser
conhecido com preciso
De o raio da ponta da sonda 8 conhecida apenas apro>imadamente %mas o outro condies de
espera&, a locali?ao do centro do furo ainda ser preciso, mas o diRmetro do orifCcio
no
Using Mach3Mi 1+-
4.
Rev 1.84-A2
4010 &pr(be t( fin, center an, ,ia$eter (f circ)lar '(le-
4020 &;'is pr(gra$ +ill n(t r)n as given 'ere. Y() 'ave t(-
4030 &insert n)$bers in place (f P,escripti(n (f n)$berO.-
40"0 &Delete lines 40205 40305 an, 40"0 +'en y() ,( t'at.-
4050 G0 6 P6val)e (f retracte, p(siti(nO % Pfee, rateO
4060 B1001GPn($inal Xval)e (f '(le centerO
4080 B1002GPn($inal Yval)e (f '(le centerO
40#0 B1003GPs($e 6val)e insi,e t'e '(leO
40.0 B100"GPpr(be tip ra,i)sO
4100 B1005GCPn($inal '(le ,ia$eterOF2.0 B100"D
4110 G0 XB1001 YB1002 &$(ve ab(ve n($inal '(le center-
4120 G0 6B1003 &$(ve int( '(le t( be ca)ti()s5 s)bstit)te G1 f(r G0 'ere-
4130 G31 XCB1001 A B1005D &pr(be AX si,e (f '(le-
41"0 B1011GB2000 &save res)lts-
4150 G0 XB1001 YB1002 &bac3 t( center (f '(le-
4160 G31 XCB1001 B1005D &pr(be X si,e (f '(le-
4180 B1021GCCB1011 A B2000D F 2.0D &fin, pretty g((, Xval)e (f '(le center-
41#0 G0 XB1021 YB1002 &bac3 t( center (f '(le-
41.0 G31 YCB1002 A B1005D &pr(be AY si,e (f '(le-
4200 B1012GB2001 &save res)lts-
4210 G0 XB1021 YB1002 &bac3 t( center (f '(le-
4220 G31 YCB1002 B1005D &pr(be Y si,e (f '(le-
4230 B1022GCCB1012 A B2001D F 2.0D &fin, very g((, Yval)e (f '(le center-
42"0 B101"GCB1012 B2001 A C2 E B100"DD &fin, '(le ,ia$eter in Y,irecti(n-
4250 G0 XB1021 YB1022 &bac3 t( center (f '(le-
4260 G31 XCB1021 A B1005D &pr(be AX si,e (f '(le-
4280 B1031GB2000 &save res)lts-
42#0 G0 XB1021 YB1022 &bac3 t( center (f '(le-
42.0 G31 XCB1021 B1005D &pr(be X si,e (f '(le-
4300 B10"1GCCB1031 A B2000D F 2.0D &fin, very g((, Xval)e (f '(le center-
4310 B102"GCB1031 B2000 A C2 E B100"DD &fin, '(le ,ia$eter in X,irecti(n-
4320 B103"GCCB101" A B102"D F 2.0D &fin, average '(le ,ia$eter-
4330 B1035GCB102" B101"D &fin, ,ifference in '(le ,ia$eters-
43"0 G0 XB10"1 YB1022 &bac3 t( center (f '(le-
4350 *2 &t'atQs all5 f(l3s-
K e MHcIdigo de referFncia
".5. %sonda para encontrar o centro eo diRmetro do furo circular&
".-. %7ste programa no ser e>ecutado como um dado adBuirido aBui LocF tem Bue&
".3. %inserir nmeros em lugar de {!escrio da numbero&
"./. %,pagar linhas ".-., ".3. e "./. Buando vocF fa? isso&
".0. K. V {VHvalue de retraCdo * positiono {feed rateo
".1. s 5..5 n YHvalue {nominal de centero buraco
".J. s 5..- n `Hvalue {nominal de centero buraco
".:. s 5..3 n VHvalue {some dentro do holeo
".6. s 5../ n radiuso ponta {probe
"5.. s 5..0 n furo ]{nominal diametero ( -. H s 5../_
"55. K. Y s ` s 5..5 5..- move %acima do centro do furo nominal&
"5-. K. V s 5..3 %Aogada no buraco H para ser cauteloso, para substituir K5 K. aBui&
"53. K35 Y ]s 5..5 k s 5..0_ %sonda k Y lado do furo&
"5/. n s s 5.55 de -... %guardar resultados&
"50. K. Y s ` s 5..5 5..- %de volta ao centro do furo&
"51. K35 Y ]s 5..5 H s 5..0_ %sondaHY do lado do furo&
]]"5J. s n 5.-5 s 5.55 k s -..._ ( -,._ %Y muito bom encontrar o valor do furo ao centro&
"5:. K. Y s ` s 5.-5 5..- %de volta ao centro do furo&
"56. K35 ` ]s 5..- k s 5..0_ %sonda k ` lado do furo&
"-.. n s s 5.5- de -..5 %guardar resultados&
"-5. K. Y s ` s 5.-5 5..- %de volta ao centro do furo&
"--. K35 ` ]s 5..- H s 5..0_ %sondaH` lado do buraco&
_ "-3. s 5.-- ]]n s 5.5- k s -..5_ ( -. %acho muito bom ` valor do furo ao centro&
"-/. s 5.5/ n ]s 5.5- H s -..5 k ]- q s 5../__ %encontrar diRmetro do orifCcio na direo `&
" -0. K. Y s ` s 5.-5 5.-- %de volta ao centro do furo&
Rev 1.84-A2 1+-40 Using Mach3Mi
"-1. K35 Y ]s 5.-5 k s 5..0_ %sonda k Y lado do furo&
s "-J. n 5.35 s -... %guardar resultados&
"-:. K. Y s ` s 5.-5 5.-- %de volta ao centro do furo&
"-6. K35 Y ]s 5.-5 H s 5..0_ %sondaHY do lado do furo&
]]"3.. s 5./5 n s 5.35 k s -..._ ( - ._ %acho muito bom Y o valor do furo ao centro&
"35. s 5.-/ n ]s 5.35 H s -... k ]- q s 5../__ %encontrar diRmetro do orifCcio na direo Y&
]]"3-. s n 5.3/ s 5.5/ k s 5.-/_ ( -,._ %encontrar diRmetro do furo m8dio&
"33. s 5.30 n ]s 5.-/ H s 5.5/_ %encontrar diferena no diRmetro do furo&
"3/. K. Y ` s 5./5 s 5.-- %de volta ao centro do furo&
"30. M- %Bue 8 tudo, pessoal&
#igure 1+., - Code to !ro/e &oe
En figure 5.0 an entr+ of the form {description of numbero is meant to be replaced b+
an actual number that matches the description of number ,fter this section of code has
e>ecuted, the YHvalue of the center #ill be in parameter 5./5, the `Hvalue of the center
in parameter 5.--, and the diameter in parameter 5.3/ En addition, the diameter parallel
to
the YHa>is #ill be in parameter 5.-/, the diameter parallel to the `Ha>is in parameter
5.5/, and the difference %an indicator of circularit+& in parameter 5.30 The probe tip #ill
be in the hole at the Y` center of the hole
The e>ample does not include a tool change to put a probe in the spindle ,dd the
tool change code at the beginning, if needed
]
*igura 5.0 H 4Idigo de sonda para orifCcios
"a *igura 5.0 a entrada do {!escrio de numeroo se destina a ser substituCdo por um nmero
real Bue corresponde T descrio de um nmero ,pIs este trecho de cIdigo ter sido e>ecutado,
o valor Y do centro ser parRmetro 5./5, o valor de ` do centro 8 parRmetro 5.--, e o
diRmetro parRmetro 5.3/ ,l8m disso, paralelo ao diRmetro de o ei>o Y ser parRmetro 5.-/, o
diRmetro paralelo ao ei>o ` parRmetro 5.5/, e a diferena %um indicador de circularidade&
parRmetro 5.30 , ponta da sonda estar em no centro do furo Y`
= e>emplo no incluir uma mudana de ferramenta para colocar uma sonda no spindle
,dicione a ferramenta e mude o cIdigo no inCcio, se necessrio
_
1?.".13 C%tter )adi%s Co$pensation - @4?B @41B and @42
To turn cutter radius compensation off, program G"0 Et is =O to turn compensation
off #hen it is alread+ off
4utter radius compensation ma+ be performed onl+ if the Y`Hplane is active
To turn cutter radius compensation on left %ie, the cutter sta+s to the left of
the
programmed path #hen the tool radius is positive&, program G"1 D> To turn cutter radius
compensation on right %ie, the cutter sta+s to the right of the programmed path #hen the
tool radius is positive&, program G"2 D> The ! #ord is optionale if there is no ! #ord,
the radius of the tool currentl+ in the spindle #ill be used Ef used, the ! number should
normall+ be the slot number of the tool in the spindle, although this is not reBuired Et is
=O for the ! number to be ?eroe a radius value of ?ero #ill be used
K/5 and K/- can be Bualified b+ a 3H#ord This #ill override the value of the diameter
of the tool %if an+& given in the current tool table entr+
Et is an error if'
Using Mach3Mi 1+-
48
Rev 1.84-A2
the ! number is not an integer, is negative or is larger than the number of
carousel slots,
Rev 1.84-A2 1+-41 Using Mach3Mi
the Y`Hplane is not active,
cutter radius compensation is commanded to turn on #hen it is alread+ on
The behavior of the machining s+stem #hen cutter radius compensation is =" is
described in the chapter of 4utter 4ompensation "otice the importance of programming
valid entr+ and e>it moves
]
5.J53 4ompensao de 9aio do 4orte H K/., K/5 e K/-
3ara desligar a compensao de raio de corte, K/. programa ,perte novamente o boto para
retornar a compensao
4ortador de compensao do raio pode ser reali?ada somente se o plano >+ 8 ativo
3ara ativar a compensao de raio de corte T esBuerda %isto 8, o cortador fica T esBuerda da
traAetIria programada Buando o raio da ferramenta 8 positivo&, o programa K/5 ! x 3ara ativar
o raio de corte compensao T direita %ou seAa, o cortador fica T direita do caminho
programado, Buando o raio da ferramenta 8 positivo&, o programa K/- ! x , letra ! 8
opcional, se no h nenhuma letra !, o raio da ferramenta atualmente no ei>o ser usado
De usado, o nmero ! deve normalmente o nmero do slot da ferramenta no ei>o, embora isso
no seAa necessrio
Z =O ! para o nmero a ser ?ero, um valor de raio de ?ero ser usado
K/5 e K/- pode ser Bualificada por uma letraH3
Esto ir substituir o valor do diRmetro do a ferramenta %se houver&, dado na entrada do atual
ferramenta de tabela
Z um erro se'
j = nmero ! no 8 um nmero inteiro, 8 negativo ou 8 maior Bue o nmero de carrossel
slots,
p = plano Y` no 8 ativo,
p cortador de compensao do raio 8 comandado para ligar Buando ele A est
= comportamento do sistema de maBuinas Buando compensao do raio de corte 8 =" 8
descrita no capCtulo de cortador de 4ompensao
3erceber a importRncia da programao entrada vlida e os movimentos de saCda
_
1?.".14 Tool .ength *sets - @43B @44 and @4>
To use a tool length offset, program G"3 M>, #here the N number is the desired inde> in
the tool table Et is e>pected that all entries in this table #ill be positive The N number
should be, but does not have to be, the same as the slot number of the tool currentl+ in the
spindle Et is =O for the N number to be ?eroe an offset value of ?ero #ill be used
=mitting N has the same effect as a ?ero value
K// is provided for compatibilit+ and is used if entries in the table give negative
offsets Et is an error if'
the N number is not an integer, is negative, or is larger than the number of
carousel slots
To use no tool length offset, program G".
Et is =O to program using the same offset alread+ in use Et is also =O to program using
no tool length offset if none is currentl+ being used
]
Using Mach3Mi 1+-
,+
Rev 1.84-A2
5.J5/ *erramenta afastamentos de comprimento H K/3, K// e K/6
3ara usar um aAuste no comprimento de ferramenta, o programa N x K/3, onde o nmero N 8 o
Cndice deseAado em tabela de ferramentas
7speraHse Bue todas as entradas na tabela ser positivo
= nmero N deve ser, mas no tem de ser, o mesmo Bue o nmero do slot da ferramenta est
na fuso
Z =O para o nmero de N igual a ?ero, um valor de deslocamento de ?ero ser usado
=mitindo N tem o mesmo efeito Bue um valor ?ero
K// 8 fornecida para compatibilidade e 8 usado se as entradas na tabela de dar deslocamentos
negativos
Z um erro se'
j = nmero N no 8 um nmero inteiro, 8 negativo, ou seAa maior Bue o nmero de carrossel
slots
3ara usar BualBuer comprimento de ferramenta offset, K/6 programa
Z =O para o programa usando o mesmo offset A em uso
Tamb8m 8 =O para o programa sem utili?ar comprimento da ferramenta de deslocamento, se
nenhum est sendo usado atualmente
_
1?.".15 1cale actors @5? and @51
To define a scale factor #hich #ill be applied to an Y, `, V, ,, G, 4, E l 2 #ord before it
is used program G51 X> Y> 6> 0> ?> @> #here the Y, `, V etc #ords are the
scale factors for the given a>es These values are, of course, never themselves scaled
Et is not permitted to use uneBual scale factors to produce elliptical arcs #ith K- or
K3 To reset the scale factors of all a>es to 5. program G50
C
5.J50 *atores de 7scala K0. e K05
3ara definir um fator de escala, Bue ser aplicada a uma letra Y, `, V, ,, G, 4, E
l 2 antes Bue ela seAa programa utili?ado K05 Y x ` x V x , x G x 4 x, onde o
Y, `, V, etc so letras de fatores de escala para o ei>os dado
"o 8 permitido usar fatores de escala desigual para produ?ir arcos elCpticos
com K- e K3
3ara resetar os fatores de escala de todos os ei>os de 5,. programa K0.
D
1?.".16 Te$porar& Coordinate s&ste$ oset C @52
To offset the current point b+ a given positive or negative distance %#ithout
motion&, program
G52 X> Y> 6> 0> ?> @> , #here the a>is #ords contain the offsets +ou #ant to
provide ,ll a>is #ords are optional, e>cept that at least one must be used Ef an a>is #ord
is not used for a given a>is, the coordinate on that a>is of the current point is not changed
Et is an error if'
all a>is #ords are omitted
Rev 1.84-A2 1+-,1 Using Mach3Mi
K0- and K6- use common internal mechanisms in Mach3 and ma+ not be used together
@hen K0- is e>ecuted, the origin of the currentl+ active coordinate s+stem moves b+
the values given
The effect of K0- is cancelled b+ programming G52 X0 Y0 etc
Nere is an e>ample Duppose the current point is at Yn/ in the currentl+ specified
coordinate s+stem, then G52 X8 sets the YHa>is offset to J, and so causes the YH
coordinate of the current point to be H3
The a>is offsets are al#a+s used #hen motion is specified in absolute distance mode
using an+ of the fi>ture coordinate s+stems Thus all fi>ture coordinate s+stems are
affected b+ K0-
]
5.J51 Distema de aAuste temporrio das coordenadas H K0-
3ara compensar o ponto atual para uma determinada distRncia positiva ou negativa %sem
movimento&, programa K0- Y x ` x V x , x G x 4 x, onde as letras do ei>o cont8m os
deslocamentos Bue deseAamos fornecer
Todas as letras de ei>o so opcionais, com e>ceo de Bue pelo menos um deve ser usado
De uma letra de ei>o no utili?ado para um determinado ei>o, o ei>o de coordenadas em Bue
do ponto atual no 8 alterado
Z um erro se'
j Todas as palavras ei>o so omitidos
K0- e K6- uso comum mecanismos internos Mach3 e no podem ser usados Auntos
Uuando K0- 8 e>ecutado, a origem das coordenadas ativo move pelo sistema valores
apresentados
= efeito do K0- 8 cancelada pela K0- Y. `. programao etc
,Bui est um e>emplo
Duponha Bue o ponto atual 8 de Y n / no momento especificado sistema de coordenadas, ento
YJ K0- define o ei>o Y compensar a J, e assim fa? com Bue o YHcoordenar do ponto atual
para ser H3
=s deslocamentos do ei>o so sempre utili?adas Buando o movimento 8 especificado na
modalidade T distRncia com absoluta BualBuer do dispositivo sistemas de coordenadas
,ssim, todos os sistemas de coordenadas suporte so afetados por K0-
_
1?.".1" !ove in 2bsol%te Coordinates - @53
*or linear motion to a point e>pressed in absolute coordinates, program G1 G53 X> Y>
6> 0> ?> @> %or similarl+ #ith K. instead of K5&, #here all the a>is #ords are
optional,
Using Mach3Mi 1+-
,2
Rev 1.84-A2
e>cept that at least one must be used The K. or K5 is optional if it is in the current motion
mode K03 is not modal and must be programmed on each line on #hich it is intended to
be active This #ill produce coHordinated linear motion to the programmed point Ef K5 is
active, the speed of motion is the current feed rate %or slo#er if the machine #ill not go
that fast& Ef K. is active, the speed of motion is the current traverse rate %or slo#er if the
machine #ill not go that fast&
Et is an error if'
K03 is used #ithout K. or K5 being active,
K03 is used #hile cutter radius compensation is
on Dee relevant chapter for an overvie# of coordinate
s+stems
]

5.J5J Mover com coordenadas absolutas H K03
3ara o movimento linear de um ponto e>presso em coordenadas absolutas, o programa K5 K03
Y x ` x V x , x G x 4 x %ou semelhante com K., em ve? do K5&, onde todas as letras de ei>o
so opcionais, e>ceto Bue pelo menos um deva ser usada
, K. ou K5 8 opcional, se for o movimento atual modo
K03 no 8 modal e deve ser programado em cada linha em Bue se destina a ser ativo
Esto ir produ?ir coordenada movimento linear ao ponto programado
De K5 8 ativo, a velocidade do movimento 8 a ta>a de alimentao atual %ou mais lento Bue a
mBuina no vai Bue rpido&
De K. 8 ativo, a velocidade do movimento 8 a actual ta>a atravessar %ou mais lento se a
mBuina no ir to rpido&
Z um erro se'
K03 p 8 utili?ada sem K. ou K5 sendo ativo,
K03 p 8 utili?ada Buando compensao do raio de corte est ligado
LeAa capCtulo em Buesto para uma viso geral dos sistemas de coordenadas
_
1?.".19 1elect 5ork *set Coordinate 1&ste$ - @54 to @5> D @5> ,E
To select #or$ offset s5, program G5", and similarl+ for the first si> offsets The
s+stemH numberHKH4ode pairs are' %5HK0/&, %-HK00&, %3HK01&, %/HK0J&, %0HK0:&, %1H
K06&
To access an+ of the -0/ #or$ offsets %5 H -0/& program G5. 1> #here the 3 #ord
gives the reBuired offset number Thus K06 30 is identical in effect to K0:
Et is an error if'
one of these KH4odes is used #hile cutter radius compensation is
on Dee relevant chapter for an overvie# of coordinate s+stems
]
5.J5: Delecionar o sistema de deslocamento de 4oordenadas do trabalho H K0/ a K06 e K06
3 x
Rev 1.84-A2 1+-,3 Using Mach3Mi
3ara selecionar o deslocamento do trabalho s 5,4Idigo K0/ e similarmente com os seis
primeiros deslocamentos = s+stem numberH pares do KW4ode so' %5HK0/&, %-HK00&, %3HK01&,
%/HK0J&, %0HK0:&, %1HK06&
3ara acessar BualBuer um dos -0/ deslocamentos de trabalho %5H-0/& K06 programa 3 x onde
a letra 3 8 o nmero necessrio de compensao
,ssim 30 K06 8 idFntico, em cumprimento ao K0:
Z um erro se'
j Um desses cIdigosHK 8 utili?ado enBuanto compensao do raio de corte est ligado
LeAa capCtulo em Buesto para uma viso geral dos sistemas de coordenadas
_
1?.".1> 1et ,ath Control !ode - @61B and @64
3rogram G61 to put the machining s+stem into e>act stop mode, or G6" for constant
velocit+ mode Et is =O to program for the mode that is alread+ active These modes
are described in detail above
]
5.J56 Det Mode 4ontrol 3ath H K15 e K1/
3rograma K15 para colocar o sistema de mBuina em modo de paragem e>ata, ou K1/ para o
modo de velocidade constante
Z =O para o programa de modo Bue A est ativa
7sses modos so descrito em detalhes acima
_
1?.".2? )otate coordinate s&ste$ C @69 and @6>
3rogram G6# 0> ?> /> :> to rotate the program coordinate s+stem
0> is the Y coordinate and ?> the ` coordinate of the center of rotation in the
current coordinate s+stem %ie including all #or$ and tool offsets and K0-(K6-
offsets&
:> is the rotation angle in degrees %positive is 44@ vie#ed from the positive V direction&
/> is optional and the value is not used Ef /> is present it causes the given 9 value to
be added to an+ e>isting rotation set b+ K1:
eg G6# 012 ?25 :"5 causes the coordinate s+stem to be rotated b+ /0 degrees
about the point Vn5-, `n-0
DubseBuentl+' G6# 012 ?35 /1 :"0 leaves the coordinate s+stem rotated b+
:0 degrees about Y n 5-, `n-0
3rogram G6. to cancel rotation
%otes$
This code onl+ allo#s rotation #hen the current plane is YH`
The / #ord can be used even if the center point is different from that used
before although, in this case, the results need careful planning Et could be useful
#hen simulating engine turning
]
5.J-. 9odar sistema de coordenadas H K1: e K16
Um programa K1: G x x 7u x 9 x para rodar o programa de sistema de coordenadas
, x 8 a coordenada Y e G x a coordenada ` do centro de rotao, a corrente
Using Mach3Mi 1+-
,4
Rev 1.84-A2
sistema de coordenadas %ou seAa, incluindo todos os trabalhos e os deslocamentos de
ferramentas e deslocamentos K0-(K6-&
9 x 8 o Rngulo de rotao em graus %44@ positivo 8 visto na direo V positivo&
E x 8 opcional eo valor no 8 usado De E x est presente isto causa o valor de dado 9 a ser
adicionado a BualBuer rotao e>istente definido pelo K1:
por e>emplo, K1: ,5- G-0 9/0 fa? com Bue o sistema de coordenadas para ser girado em /0
graus sobre do ponto V n 5-, ` n -0
3osteriormente' 9/. K1: ,5- G30 E5 dei>a o sistema de coordenadas rotacionado em :0
graus sobre Y n 5-, ` n -0
K16 3rograma para cancelar a rotao
"otas'
j 7ste cIdigo sI permite a rotao Buando o plano atual 8 Y`
j , palavra Bue pode ser usado mesmo se o ponto central 8 diferente da utili?ada antes
embora, neste caso, os resultados devem ter um planeAamento cuidadoso 3ode ser til Buando
simular viragem do motor
_
1?.".21 .ength (nits C @"? and @"1
3rogram G80 to use inches for length units 3rogram G81 to use millimetres
Et is usuall+ a good idea to program either KJ. or KJ5 near the beginning of a program
before an+ motion occurs, and not to use either one an+#here else in the program Et is
the
responsibilit+ of the user to be sure all numbers are appropriate for use #ith the
current length units Dee also K-.(K-5 #hich are s+non+mous and preferred
]
5.J-5 unidades de comprimento H KJ. e KJ5
3rograma KJ. para usar polegadas para as unidades de comprimento 3rograma KJ5 para usar
milCmetros
Z geralmente uma boa id8ia colocar o cIdigo KJ. ou KJ5 no comeo de um programa antes
de BualBuer movimento ocorra, e no usar BualBuer um em BualBuer lugar do programa Z
responsabilidade do usurio certificarHse todos os nmeros so adeBuados para uso com o atual
unidades de comprimento LeAa tamb8m K-.(K-5 Bue so sin^nimos e preferenciais
]
1?.".22
C&cle C 4igh 1peed ,eck Drill @"3
The KJ3 c+cle is intended for deep drilling or milling #ith chip brea$ing Dee also K:3
The retracts in this c+cle brea$ the chip but do not totall+ retract the drill from the hole Et is
suitable for tools #ith long flutes #hich #ill clear the bro$en chips from the hole This
c+cle ta$es a U number #hich represents a SdeltaS increment along the VHa>is
3rogram
G83 X> Y> 6> 0> ?> @> :> 2> R>
3reliminar+ motion, as described in K:5 to :6 canned c+cles
Move the VHa>is onl+ at the current feed rate do#n#ard b+ delta or to the V
position, #hichever is less deep
9apid bac$ out b+ the distance defined in the 3R3 +$ll/ac. !9= on the
Dettings screen
Rev 1.84-A2 1+-,, Using Mach3Mi
9apid bac$ do#n to the current hole bottom, bac$ed off a bit
9epeat steps 5, -, and 3 until the V position is reached at step
5 9etract the VHa>is at traverse rate to clear V
Et is an error if'
the U number is negative or ?ero
]
5.J-- 4iclo 4anned H Nigh Dpeed !rill 3ec$ KJ3
= ciclo KJ3 destinaHse a perfurao profunda ou triturar com retirada de cavacos
LeAa tamb8m K:3
Uma retrao neste ciclo para retirar os cavacos, mas no retira totalmente a broca do furo
Z adeBuado para ferramentas com astes longas Bue ir limpar os cavacos do buraco
7ste ciclo leva um nmero U, Bue representa um SincrementoS delta ao longo do ei>oHV
3rograma KJ3 Y ` V x x x , x G x 4 x 9 x M x U x
H 3roposta preliminar, conforme descrito no K:5 a :6 so ciclos pr8Hprogramados
j Mover o ei>o V apenas na ta>a de alimentao de corrente para bai>o por delta ou T V
posio, o Bue 8 menos profundo
H volta rpida pela distRncia retirada KJ3 definida no !9= em 4onfiguraes de tela
H Lolta rpida para o fundo do furo, recuou um pouco
9epita as etapas 5, - e 3 at8 Bue a posio V seAa alcanado na etapa 5
p 9etirem o ei>o V na ta>a de travessia para limpar V
Z um erro se' j = nmero U for negativo ou ?ero
_
1?.".23 Cancel !odal !otion - @9?
3rogram G#0 to ensure no a>is motion #ill occur Et is an error if'
,>is #ords are programmed #hen K:. is active, unless a modal group . K code
is programmed #hich uses a>is #ords
]
5.J-3 4ancelar Motion Modal H K:.
3rograma K:. para garantir Bue nenhum movimento do ei>o ocorrer
_
1?.".24 Canned C&cles - @91 to @9>
The canned c+cles K:5 through K:6 have been implemented as described in this
section T#o e>amples are given #ith the description of K:5 belo#
,ll canned c+cles are performed #ith respect to the currentl+ selected plane ,n+ of the
three planes %Y`, `V, VY& ma+ be selected Throughout this section, most of the
descriptions assume the Y`Hplane has been selected The behavior is al#a+s analogous
if the `V or YVHplane is selected
9otational a>is #ords are allo#ed in canned c+cles, but it is better to omit them Ef
rotational a>is #ords are used, the numbers must be the same as the current
position numbers so that the rotational a>es do not move
,ll canned c+cles use Y, `, 9, and V numbers in the "4 code These numbers are used
to determine Y, `, 9, and V positions The 9 %usuall+ meaning retract& position is along
the a>is perpendicular to the currentl+ selected plane %VHa>is for Y`Hplane, YHa>is for
`VH plane, `Ha>is for YVHplane& Dome canned c+cles use additional arguments
*or canned c+cles, #e #ill call a number Sstic$+S if, #hen the same c+cle is used on
Using Mach3Mi 1+-
,.
Rev 1.84-A2
several lines of code in a ro#, the number must be used the first time, but is optional on
the rest of the lines Dtic$+ numbers $eep their value on the rest of the lines if the+ are not
e>plicitl+ programmed to be different The 9 number is al#a+s stic$+
En incremental distance mode' #hen the Y`Hplane is selected, Y, `, and 9 numbers are
treated as increments to the current position and V as an increment from the VHa>is
position before the move involving V ta$es placee #hen the `V or YVHplane is selected,
treatment of the a>is #ords is analogous En absolute distance mode, the Y, `, 9, and V
numbers are absolute positions in the current coordinate s+stem
The M number is optional and represents the number of repeats Mn. is not allo#ed Ef
the repeat feature is used, it is normall+ used in incremental distance mode, so that the
same
seBuence of motions is repeated in several eBuall+ spaced places along a straight line En
absolute distance mode, M o 5 means Sdo the same c+cle in the same place several
times,S =mitting the M #ord is eBuivalent to specif+ing Mn5 The M number is not stic$+
@hen Mo5 in incremental mode #ith the Y`Hplane selected, the Y and ` positions are
determined b+ adding the given Y and ` numbers either to the current Y and `
positions
%on the first goHaround& or to the Y and ` positions at the end of the previous goHaround
%on the repetitions& The 9 and V positions do not change during the repeats
The height of the retract move at the end of each repeat %called Sclear VS in the
descriptions belo#& is determined b+ the setting of the retract mode' either to the original
V position %if that is above the 9 position and the retract mode is K6:&, or other#ise to the
9 position
Et is an error if'
Y, `, and V #ords are all missing during a canned
c+cle, a 3 number is reBuired and a negative 3 number
is used,
an M number is used that does not evaluate to a positive integer,
rotational a>is motion is used during a canned c+cle,
inverse time feed rate is active during a canned
c+cle,
cutter radius compensation is active during a canned c+cle
@hen the Y` plane is active, the V number is stic$+, and it is an error if'
the V number is missing and the same canned c+cle #as not alread+
active, the 9 number is less than the V number
@hen the YV plane is active, the ` number is stic$+, and it is an error if'
he ` number is missing and the same canned c+cle #as not alread+
active, the 9 number is less than the ` number
@hen the `V plane is active, the Y number is stic$+, and it is an error if'
the Y number is missing and the same canned c+cle #as not alread+
active, the 9 number is less than the Y number
]
5.J-/ ciclos 4ompostos H K:5 para K:6
=s ciclos compostos, atrav8s K:5 K:6 foram implementados conforme descrito nesta seo
!ois e>emplos so dados com a descrio de K:5 abai>o
Todos os ciclos compostos so reali?adas com relao ao plano selecionado UualBuer um dos
trFs planos %Y`, `V, VY& podem ser selecionados ,o longo desta seco, a maioria dos
Rev 1.84-A2 1+-,0 Using Mach3Mi
descries vai assumir o plano Y` como o selecionado = comportamento 8 sempre anlogo
se o plano `V ou YV for o selecionado
Metras de ei>o so permitidos em ciclos compostos, mas 8 melhor omitiHlos De a letra do ei>o
8 utili?ada, os nmeros devem ser os mesmos Bue o nmero da posio atual de modo Bue os
ei>os de rotao no se movam
Todos os ciclos fi>os usam Y, `, 9, V e os nmeros do cIdigo "4 7sses nmeros so usados
para determinar posies de Y, `, 9, V , posio 9 %geralmente significa retirar& esta ao
longo da ei>o perpendicular ao plano selecionado %ei>o V para o plano Y`, ei>o Y para o
plano`V, ei>o ` para o plano YV & ,lguns ciclos compostos usam argumentos adicionais
3ara ciclos compostos, podemos usar um nmero Sstic$+S para Buando o mesmo ciclo 8
utili?ado em vrios linhas de cIdigo em uma fileira, o nmero deve ser utili?ado pela primeira
ve?, mas 8 opcional no resto do as linhas nmeros [Dtic$+\ mantem o seu valor no resto das
linhas, se no forem e>plicitamente programado para ser diferente
= nmero 9 8 sempre [stic$+\
"a modalidade de distRncia incremental' Buando o plano >+ 8 selecionado, Y, ` e 9 so
nmeros tratados como incremento para a posio atual e V como um incremento a partir da
posio do ei>o V antes do movimento envolvendo V, Buando o plano `V ou YV 8
selecionado, o tratamento das letras do ei>o 8 anlogo "a modalidade de distRncia absoluta, o
Y, `, 9 e V so nmeros posio absoluta no sistema de coordenadas atual
= nmero M 8 opcional e representa o nmero de repeties M n . no 8 permitido De a
caracterCstica de repetio 8 usado, 8 normalmente utili?ada na modalidade de distRncia
incremental, de modo Bue a mesma seBuencia de movimentos do K e MH4ode de referFncia 8
repetida em vrios lugares espaados ao longo de uma linha reta
7m modalidade a distRncia absoluta, Mo 5 significa Sfa?er o mesmo ciclo no mesmo local
vrias ve?esS, =mitindo a palavra M 8 eBuivalente a especificar M n 5
= nmero M no 8 Sstic$+S
Uuando Mo 5 em modo incremental com o plano Y`Hselecionado, o Y e ` so as posies
determinado pela soma dos dados Y e ` nmeros, Buer para o Y e ` atuais posies %"o
primeiro goHaround& ou a posies Y e ` no final do anterior goHaround %em as repeties&
=s 9 e posies V no se alteram durante as repeties
, altura de retratar o movimento no final de cada repetio %chamado de S4lear V S nas
descries abai>o& 8 determinado pela configurao do modo de retratar' ou V para a posio
original %se Bue est acima da posio e do modo de 9 retrair 8 K6:&, ou 9 para a posio
Z um erro se'
j Y, `, V e as palavras esto todos perdidos durante um ciclo composto,
j Um nmero 3 8 necessria e um nmero 3 negativo 8 usado,
j Um nmero M 8 usado Bue no avalia a um nmero inteiro positivo,
p movimento do ei>o de rotao 8 utili?ado durante um ciclo composto,
j Ta>a de feed tempo inverso 8 ativo durante um ciclo composto,
p cortador de compensao do raio 8 ativo durante um ciclo composto
Uuando o plano Y` est ativa, o nmero V 8 stic$+, e 8 um erro se'
j = nmero V est ausente e mesmo ciclo composto A no estava activo,
j = nmero 9 8 menor Bue o nmero V
Uuando o plano YV est ativa, o nmero ` 8 stic$+, e 8 um erro se'
p 7le nmero ` est ausente e mesmo ciclo composto A no estava ativo,
j = nmero 9 8 menor Bue o nmero `
Uuando o plano `V estiver ativa, o nmero Y 8 stic$+, e 8 um erro se'
Using Mach3Mi 1+-
,8
Rev 1.84-A2
j = nmero Y est ausente e mesmo ciclo composto A no estava ativo,
j = nmero 9 8 menor Bue o nmero Y
_
1+.0.24.1 !reiminary and In-Det'een Motion
,t the ver+ beginning of the e>ecution of an+ of the canned c+cles, #ith the Y`Hplane
selected, if the current V position is belo# the 9 position, the VHa>is is traversed to the
9 position This happens onl+ once, regardless of the value of M
En addition, at the beginning of the first c+cle and each repeat, the follo#ing one or
t#o moves are made'
a straight traverse parallel to the Y`Hplane to the given Y`Hposition,
a straight traverse of the VHa>is onl+ to the 9 position, if it is not alread+ at the 9
position
Ef the YV or `V plane is active, the preliminar+ and inHbet#een motions are analogous
]
5.J-/5 preliminares e 7ntre movimentos
"o inCcio da e>ecuo de BualBuer um dos ciclos fi>os, com o plano >+ selecionado, se a
posio atual 8 V abai>o da posio de 9, o ei>o V 8 atravessado a 9 posio
Esso sI acontece uma ve?, independentemente do valor da M
,l8m disso, no inCcio do primeiro ciclo e em cada repetio, a seguir um ou dois
movimentos so reali?ados'
j Uma reta paralela ao atravessar plano Y` para Y` dada posio,
j , atravessar em linha reta do ei>o V apenas para a posio 9, se A no estiver no 9
posio
De o plano YV ou `V est ativa, a preliminar e, entre as propostas so semelhantes
_
1+.0.24.2 881 Cyce
The K:5 c+cle is intended for drilling 3rogram G#1 X> Y> 6> 0> ?> @> :> 2>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V
position 9etract the VHa>is at traverse rate to clear V
!(ample + Duppose the current position is %5, -, 3& and the Y`Hplane has been selected,
and the follo#ing line of "4 code is interpreted
G.0 G#1 G.# X" Y5 61.5 :2.#
This calls for absolute distance mode %K6.&, old SVS retract mode %K6:& and calls for the
K:5 drilling c+cle to be performed once The Y number and Y position are / The `
number and ` position are 0 The V number and V position are 50 The 9 number and
clear
V are -: The follo#ing moves ta$e place
a traverse parallel to the Y`Hplane to %/,0,3&
a traverse parallel to the VHa>is to %/,0,-:&
a feed parallel to the VHa>is to %/,0,50&
a traverse parallel to the VHa>is to %/,0,3&
!(ample 1 Duppose the current position is %5, -, 3& and the Y`Hplane has been
selected, and the follo#ing line of "4 code is interpreted
G.1 G#1 G.# X" Y5 60.6 :1.# 23
This calls for incremental distance mode %K65&, old SVS retract mode and calls for the
Rev 1.84-A2 1+-,1 Using Mach3Mi
K:5 drilling c+cle to be repeated three times The Y number is /, the ` number is 0, the
V number is H.1 and the 9 number is 5: The initial Y position is 0 %n5k/&, the initial `
position is J %n-k0&, the clear V position is /: %n5:k3&, and the V position is /- %n/:H
.1& =ld V is 3.
The first move is a traverse along the VHa>is to %5,-,/:&, since old V { clear
V The first repeat consists of 3 moves
a traverse parallel to the Y`Hplane to %0,J,/:&
a feed parallel to the VHa>is to %0,J, /-&
a traverse parallel to the VHa>is to %0,J,/:&
The second repeat consists of 3 moves The Y position is reset to 6 %n0k/& and the `
position to 5- %nJk0&
a traverse parallel to the Y`Hplane to %6,5-,/:&
a feed parallel to the VHa>is to %6,5-, /-&
a traverse parallel to the VHa>is to %6,5-,/:&
The third repeat consists of 3 moves The Y position is reset to 53 %n6k/& and the `
position to 5J %n5-k0&
a traverse parallel to the Y`Hplane to %53,5J,/:&
a feed parallel to the VHa>is to %53,5J, /-&
a traverse parallel to the VHa>is to %53,5J,/:&
]
5.J-/- K:5 4iclo
= ciclo K:5 8 destinado para a perfurao 3rograma K:5 Y ` V x x , x G x 4 x 9 x M
p proposta preliminar, como descrito acima
j Mover o ei>o V apenas na ta>a de alimentao de corrente para a posio V
p 9etirem o ei>o V na ta>a de travessia para limpar V
7>emplo 5 Duponha Bue a posio atual 8 %5, -, 3& e plano >+ foi selecionado,
ea seguinte linha de cIdigo "4 8 interpretada
K6. K:5 K6: Y/ `0 V50 9-:
Esto e>ige modalidade a distRncia absoluta %K6.&, velho modo SV retrair K6: %&, e solicita a
K:5 ciclo de perfurao a ser e>ecutada uma ve?
= nmero de posio Y e Y so / , ` nmero e posio ` so 0
= nmero de V e V so posio 50 = nmero 9 clara e V so -:
=s seguintes movimentos ocorrem
j Um paralelo atravessar para o plano Y`Ha %/,0,3&
j Um paralelo atravessar o ei>o V para %/,0,-:&
j Uma alimentao paralela ao ei>o V para %/,0,50&
j Um paralelo atravessar o ei>o V para %/,0,3&
7>emplo - Duponha Bue a posio atual 8 %5, -, 3& e plano >+ foi selecionado,
e a seguinte linha de cIdigo "4 8 interpretada
K65 K:5 K6: Y/ `0 VH.1 95: M3
Esto e>ige modalidade a distRncia incremental %K65&, velho modo SV retrair e apela para o K:5
ciclo de perfurao de ser repetido trFs ve?es
Using Mach3Mi 1+-
.+
Rev 1.84-A2
= nmero 8 / Y, ` 8 o nmero 0, a V nmero 8 H.,1 e 9 8 o nmero 5:
, posio Y inicial 8 de 0 %n 5 k/&, o ` inicial posio 8 de J %n - k0&, a posio clara V 8 de
/,: %3 n 5,:&, ea posio de V 8 de /,- %n /,: .,1& =ld V 8 3.
= primeiro passo 8 percorrer ao longo do ei>o V para %5,-,/:&, desde antigos V {V claro
, primeira consiste em repetir trFs movimentos
j Um paralelo atravessar para o plano Y`Hto %0,J,/:&
j Uma alimentao paralela ao ei>o V para %0,J, /,-&
j Um paralelo atravessar o ei>o V para %0,J,/:&
= segundo consiste em repetir trFs movimentos , posio de Y 8 redefinido para 6 %0 k/ n& e
`
posio a 5- %J k0 n&
j Um paralelo atravessar para o plano Y`Hto %6,5-,/:&
j Uma alimentao paralela ao ei>o V para %6,5-, /,-&
j Um paralelo atravessar o ei>o V para %6,5-,/:&
, repetio terceiro consiste em 3 movimentos , posio de Y 8 redefinido para 53 %n 6 k/& e
`
posio para 5J %n 5- k0&
j Um paralelo atravessar para o plano Y`Hto %53,5J,/:&
j Uma alimentao paralela ao ei>o V para %53,5J, /-&
j Um paralelo atravessar o ei>o V para %53,5J,/:&
_
1+.0.24.3 882 Cyce
The K:- c+cle is intended for drilling 3rogram
G#2 X> Y> 6> 0> ?> @> :> 2> 1>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V
position !#ell for the 3 number of seconds
9etract the VHa>is at traverse rate to clear V
N
5.J-/3 K:- 4iclo
= ciclo K:- 8 destinado para a perfurao 3rograma
K:- Y ` V x x x , x G x 4 x 9 x M x 3 x
p proposta preliminar, como descrito acima
j Mover o ei>o V apenas na ta>a de alimentao de corrente para a posio V
p !#ell 3 para o nmero de segundos
p 9etirem o ei>o V na ta>a de travessia para limpar V
F
1+.0.24.4 883 Cyce
The K:3 c+cle %often called pec$ drilling& is intended for deep drilling or milling #ith
chip brea$ing Dee also KJ3 The retracts in this c+cle clear the hole of chips and cut off
an+
long stringers %#hich are common #hen drilling in aluminum& This c+cle ta$es a U
number
#hich represents a SdeltaS increment along the VHa>is 3rogram
G#3 X> Y> 6> 0> ?> @> :> 2> R>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate do#n#ard b+ delta or to the V
Rev 1.84-A2 1+-.1 Using Mach3Mi
position, #hichever is less deep
9apid bac$ out to the clear V
9apid bac$ do#n to the current hole bottom, bac$ed off a bit
9epeat steps 5, -, and 3 until the V position is reached at step
5 9etract the VHa>is at traverse rate to clear V
Et is an error if'
the U number is negative or ?ero
]
5.J-// K:3 4iclo
= ciclo do K:3 %muitas ve?es chamado de perfurao 3ec$& 8 destinado para a perfurao
profunda ou moagem com chip Buebrando
LeAa tamb8m KJ3
, retrao neste ciclo claro o buraco de chips e cortar BualBuer longarinas de comprimento
%Bue so comuns Buando a perfurao em alumCnio&
7ste ciclo tem um nmero U o Bue representa um SincrementoS delta ao longo do ei>oHV
3rograma
K:3 Y ` V x x x , x G x 4 x 9 x M x U x
p proposta preliminar, como descrito acima
K e MH4ode de referFncia
j Mover o ei>o V apenas na ta>a de alimentao de corrente para bai>o por delta ou T V
posio, o Bue 8 menos profundo
p rpida volta T V claro
p rpido de volta para o buraco fundo atual, recuou um pouco
9epita as etapas 5, - e 3 at8 Bue a posio V 8 alcanado na etapa 5
p 9etirem o ei>o V na ta>a de travessia para limpar V
Z um erro se'
j = nmero U for negativo ou ?ero
_
1+.0.24., 884 Cyce
The K:/ c+cle is intended for rightHhand tapping #ith a tap tool 3rogram
G#" X> Y> 6> 0> ?> @> :> 2>
3reliminar+ motion, as described
above Dtart speedHfeed
s+nchroni?ation
Move the VHa>is onl+ at the current feed rate to the V position
Dtop the spindle
Dtart the spindle countercloc$#ise
9etract the VHa>is at the current feed rate to clear V
Ef speedHfeed s+nch #as not on before the c+cle started, stop
it Dtop the spindle
Using Mach3Mi 1+-
.2
Rev 1.84-A2
Dtart the spindle cloc$#ise
The spindle must be turning cloc$#ise before this c+cle is used Et is an error if'
the spindle is not turning cloc$#ise before this c+cle is e>ecuted
@ith this c+cle, the programmer must be sure to program the speed and feed in the
correct proportion to match the pitch of threads being made The relationship is that the
spindle speed eBuals the feed rate times the pitch %in threads per length unit& *or
e>ample, if the pitch is - threads per millimetre, the active length units are millimetres,
and the feed rate
has been set #ith the command *50., then the speed should be set #ith the command
D3.., since 50. > - n 3..
Ef the feed and speed override s#itches are enabled and not set at 5..m, the one set at
the lo#er setting #ill ta$e effect The speed and feed rates #ill still be s+nchroni?ed
]
5.J-/0 K:/ 4iclo
= ciclo K:/ destinaHse a um giro para a direita tocando com uma ferramenta de toBue
3rograma K:/ Y ` V x x x , x G x 4 x 9 x M
H proposta preliminar'
H Dincroni?ao velocidade feedHDtart
H Mover o ei>o V apenas na ta>a de alimentao corrente para a posio V
H 3are o fuso
H 4omece o fuso horrio
p 9etirem o ei>o V na ta>a de alimentao corrente para limpar V
H De s+nch velocidade de avano no foi diante do ciclo iniciado, pare ele
H 3are o fuso
H no sentido horrio 4omece o fuso
= ei>o deve estar girando no sentido horrio, antes deste ciclo ser usado Z um erro se'
H = ei>o no est girando no sentido horrio, antes deste ciclo ser e>ecutado
4om este ciclo, o programador deve ter certe?a de programa a velocidade e alimentao esto na
posio correta e proporo para combinar com os tIpicos a serem feitos , relao 8 Bue o ei>o
velocidade igual a velocidade de avano ve?es a altura %em fios por unidade de comprimento& 3or
e>emplo, se opitch 8 de - linhas por milCmetro, as unidades de comprimento ativos so milCmetros, ea
ta>a de alimentao
*oi criado com o comando *50., a velocidade deve ser definido com o comando D3..,
desde 50. > - n 3..
De a alimentao e s#itches substituir velocidade so ativados e no fi>ada em 5..m, fi>ado a um no
configurao menor ter efeito , velocidade de avano e ainda ser sincroni?ado
_
1+.0.24.. 88, Cyce
The K:0 c+cle is intended for boring or reaming, but could be used for drilling or
milling 3rogram G#5 X> Y> 6> 0> ?> @> :> 2>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V
position 9etract the VHa>is at the current feed rate to clear V
]
Rev 1.84-A2 1+-.3 Using Mach3Mi
5.J-/1 K:0 4iclo
= ciclo K:0 destinaHse a perfurao ou fresagem, mas poderia ser usado para perfurar ou
triturar
3rograma K:0 Y ` V x x , x G x 4 x 9 x M
H proposta preliminar'
H Mover o ei>o V apenas na ta>a de alimentao de corrente para a posio V
H 9etirem o ei>o V na ta>a de alimentao de corrente para limpar V
_
1+.0.24.0 88. Cyce
The K:1 c+cle is intended for boring This c+cle uses a 3 number for the number of
seconds to d#ell 3rogram G#6 X> Y> 6> 0> ?> @> :> 2> 1>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V
position !#ell for the 3 number of seconds
Dtop the spindle turning
9etract the VHa>is at traverse rate to clear V
9estart the spindle in the direction it #as
going
The spindle must be turning before this c+cle is used Et is an error if'
the spindle is not turning before this c+cle is
e>ecuted
]
5.J-/J K:1 4iclo
= ciclo K:1 destinaHse a perfurao
7ste ciclo usa um nmero 3 para o nmero de segundos em ao
3rograma K:1 Y ` V x x , x G x 4 x 9 x M x 3 x
H proposta preliminar, como descrito acima
H Mover o ei>o V apenas na ta>a de alimentao de corrente para a posio V
H !#ell 3 para o nmero de segundos
H 3are o giro do ei>o
H 9etirem o ei>o V na ta>a de travessia para limpar V

H 9einiciar o ei>o no sentido Bue estava indo
= ei>o deve ser antes de transformar esse ciclo 8 usado Z um erro se'
H = ei>o no est girando antes deste ciclo 8 e>ecutado
_
1+.0.24.8 880 Cyce
The K:J c+cle is intended for bac$ boring 3rogram
G#8 X> Y> 6> 0> ?> @> :> 2> /> => N>
The situation, as sho#n in *igure 5.1 is that +ou have a through hole and +ou #ant to
counterbore the bottom of hole To do this +ou put an MHshaped tool in the spindle #ith a
cutting surface on the U3379 side of its base `ou stic$ it carefull+ through the hole
#hen it is not spinning and is oriented so it fits through the hole, then +ou move it so the
stem of the M is on the a>is of the hole, start the spindle, and feed the tool up#ard to ma$e
the counterbore Then +ou stop the tool, get it out of the hole, and restart it
Using Mach3Mi 1+-
.4
Rev 1.84-A2
This c+cle uses E and 2 numbers to indicate the position for inserting and removing the
tool E and 2 #ill al#a+s be increments from the Y position and the ` position, regardless
of the distance mode setting This c+cle also uses a O number to specif+ the position along
the VH a>is of the controlled point top of the counterbore The O number is a VHvalue in the
current coordinate s+stem in absolute distance mode, and an increment %from the V
position& in incremental distance mode
3reliminar+ motion, as described
above
Move at traverse rate parallel to the Y`Hplane to the point indicated b+ E and
2 Dtop the spindle in a specific orientation
Move the VHa>is onl+ at traverse rate do#n#ard to the V position
Move at traverse rate parallel to the Y`Hplane to the Y,`
location Dtart the spindle in the direction it #as going before
Move the VHa>is onl+ at the given feed rate up#ard to the position indicated b+
O Move the VHa>is onl+ at the given feed rate bac$ do#n to the V position
Dtop the spindle in the same orientation as
before
#igure 1+.. - 880 /ac4 /oring seOuence
Rev 1.84-A2 1+-., Using Mach3Mi
Move at traverse rate parallel to the Y`Hplane to the point indicated b+ E and 2
Move the VHa>is onl+ at traverse rate to the clear V
Move at traverse rate parallel to the Y`Hplane to the specified Y,` location
9estart the spindle in the direction it #as going before
@hen programming this c+cle, the E and 2 numbers must be chosen so that #hen the tool is
stopped in an oriented position, it #ill fit through the hole Gecause different cutters
are made differentl+, it ma+ ta$e some anal+sis and(or e>perimentation to determine
appropriate values for E and 2
]
5.J-/: K:J 4iclo
= ciclo K:J destinaHse a escavar
3rograma K:J Y x ` x V x , x G x 4 x M x 9 x E x 2 x O x
, situao, como mostrado na *igura 5.1 8 Bue vocF tem um furo e vocF Buer
chanfro na parte inferior do buraco
3ara fa?er isso vocF coloca uma ferramenta em forma de M no ei>o com um superfCcie de corte
na parte superior de sua base
LocF vai inserir a ferramenta com cuidado pelo buraco, Buando ele no est girando e est
orientado para Bue caiba no furo, ento movaHo assim Bue a haste do M est no ei>o do furo,
iniciar o movimento do ei>o, e alimenta a ferramenta para cima para fa?er o rebai>ado
7nto, pare a ferramenta, e tireHa do buraco, e reinicie
7ste ciclo usa E e 2 nmeros para indicar a posio de insero e remoo da ferramenta
E e 2 ser sempre aumentando a partir da posio Y e a posio `, independentemente da
definio do modo de distRncia
7sse ciclo tamb8m utili?a uma s8rie O para especificar a posio ao longo do ei>o V do alto do
ponto controlado do chanfro
= nmero O 8 um valorHV no atual sistema de coordenadas na modalidade T distRncia absoluta,
e um incremento %a partir da posio V& em modalidade a distRncia incremental
H proposta preliminar, como descrito acima
H Movimente em paralelo ta>a de travessia para o plano >+ para o ponto indicado
por E e 2
H 3are o ei>o em uma orientao especCfica
H Mover o ei>o V apenas na ta>a de travessia para bai>o para a posio V
H Movimente em paralelo ta>a de travessia para o plano >+ para o Y, ` local
H o ei>o do Dtart na direo Bue estava indo antes
H Mover o ei>o V apenas na ta>a de alimentao fornecida para cima para a
posio indicada por O
H Mover o ei>o V apenas no avano dado de volta para a posio V
H 3are o ei>o com a mesma orientao de antes
*igura 5.1 H K:J seBQFncia de chanfro
K e MH4ode de referFncia
H Movimente em paralelo ta>a de travessia para o plano >+ para o ponto indicado
por E e 2
H Mover o ei>o V apenas na ta>a de travessia para a V
H Movimente em paralelo ta>a de travessia para o plano >+ para o Y
especificado, local `
H 9einiciar o ei>o no sentido Bue estava indo antes
Uuando este ciclo de programao, a E e 2 nmeros devem ser escolhidos de
modo Bue Buando a ferramenta estiver parado em uma posio orientada, Bue
Using Mach3Mi 1+-
..
Rev 1.84-A2
vai se encai>ar no buraco 3orBue cortadores diferentes feitas de maneira
diferente, pode levar algumas anlises e ( ou e>perimentao, para determinar
valores adeBuados para E e 2
_
1+.0.24.1 888 Cyce
The K:: c+cle is intended for boring This c+cle uses a 3 #ord, #here 3 specifies
the number of seconds to d#ell 3rogram G## X> Y> 6> 0 ?> @> :>> 2>
1>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V position
!#ell for the 3 number of seconds
Dtop the spindle turning
Dtop the program so the operator can retract the spindle manuall+
9estart the spindle in the direction it #as going
]
5.J-/6 K:: 4iclo
= ciclo K:: destinaHse a perfurao
7ste ciclo usa uma palavra 3, onde 3 especifica o nmero de
segundos para viver 3rograma K:: Y x x x ` V ,HG x 4 x
9 x M x 3 x
H proposta preliminar, como descrito acima
H Mover o ei>o V apenas na ta>a de alimentao de corrente
para a posio V
H !#ell 3 para o nmero de segundos
H 3are o giro do ei>o
H 3are o programa, o operador pode retirar o ei>o
manualmente
H 9einiciar o ei>o no sentido Bue estava indo
_
1+.0.24.1+ 881 Cyce
The K:6 c+cle is intended for boring This c+cle uses a 3 number, #here 3 specifies
the number of seconds to d#ell program G#. X> Y> 6> 0> ?> @> :> 2> 1>
3reliminar+ motion, as described above
Move the VHa>is onl+ at the current feed rate to the V position
!#ell for the 3 number of seconds
9etract the VHa>is at the current feed rate to clear V
]
5.J-/5. K:6 4iclo
= ciclo K:6 destinaHse a perfurao
Rev 1.84-A2 1+-.0 Using Mach3Mi
7ste ciclo usa um nmero 3, onde 3 especifica o nmero de segundos para viver K:6
programa Y x ` x V x , x G x 4 x 9 x M x 3 x
H proposta preliminar, como descrito acima
H Mover o ei>o V apenas na ta>a de alimentao de corrente para a posio V
H !#ell 3 para o nmero de segundos
H 9etirem o ei>o V na ta>a de alimentao de corrente para limpar V
_
1?.".25 1et Distance !ode - @>? and @>1
Enterpretation of Mach3 code can be in one of t#o distance modes' absolute or incremental
To go into absolute distance mode, program G.0 En absolute distance mode, a>is
numbers %Y, `, V, ,, G, 4& usuall+ represent positions in terms of the currentl+ active
coordinate s+stem ,n+ e>ceptions to that rule are described e>plicitl+ in this section
describing KH codes
To go into incremental distance mode, program G.1 En incremental distance mode,
a>is numbers %Y, `, V, ,, G, 4& usuall+ represent increments from the current values of
the numbers
E and 2 numbers al#a+s represent increments, regardless of the distance mode setting
O numbers represent increments in all but one usage %the K:J boring c+cle&, #here the
meaning changes #ith distance mode
]
5.J-0 Det modalidade a distRncia H K6. e K65
Enterpretao do cIdigo Mach3 pode estar em uma distRncia de dois modos' absoluta ou
incremental
K6. programa para ir no modo de distRncia absoluta "a modalidade a distRncia absoluta, os
nmeros do ei>o %Y, `, V, ,, G, 4& geralmente representam posies em termos de ativo
coordenar do sistema
,s e>cepes a esta regra so descritos e>plicitamente nesta seo descrevendo KH4odes
3ara entrar em modo de distRncia incremental, o programa K65
"a modalidade a distRncia incremental, o ei>o nmeros %Y, `, V, ,, G, 4& geralmente
representam incrementos nos valores atuais da nmeros
E e 2 sempre nmeros representam acr8scimos, independentemente da configurao da
modalidade a distRncia
O nmeros representam incrementos em todos, mas um uso %ciclo K:J chato&, onde o
significado muda com a modalidade a distRncia
_
1?.".26 1et I< !ode - @>?.1 and @>1.1
Enterpretation of the E2O values in K.- and K.3 codes can be in one of t#o distance modes'
absolute or incremental
To go into absolute E2 mode, program G.0.1 En absolute distance mode, E2O
numbers represent absolute positions in terms of the currentl+ active coordinate
s+stem
To go into incremental E2 mode, program G.1.1 En incremental distance mode, E2O
numbers usuall+ represent increments from the current controlled point
Encorrect settings of this mode #ill generall+ result in large incorrectl+ oriented arcs in
Using Mach3Mi 1+-
.8
Rev 1.84-A2
the toolpath displa+
]
5.J-1 Det E2 Mode H K6.5 e K655
Enterpretao dos valores E2O em cIdigos K.- e K.3 pode ser um dos dois modos de distRncia'
absoluto ou incremental
3ara entrar em modo de E2 absolutos, o programa K6.5
"a modalidade a distRncia absoluta, nmeros E2O representam posies absolutas em termos de
coordenadas ativo do sistema
3ara entrar em modo incremental E2, programa K655
"a modalidade a distRncia incremental, E2O nmeros geralmente representam incrementos de
um ponto de corrente controlada
4onfiguraes incorretas deste modo, geralmente resultam em grandes arcos incorretamente
orientadas no mostrar toolpath
_
1?.".2" @>2 *sets - @>2B @>2.1B @>2.2B @>2.3
Dee the chapter on coordinate s+stems for full details `ou are strongl+ advised not to
use this legac+ feature on an+ a>is #here there is another offset applied
To ma$e the current point have the coordinates +ou #ant %#ithout motion&, program
G.2 X> Y> 6> 0> ?> @> , #here the a>is #ords contain the a>is numbers +ou
#ant ,ll a>is #ords are optional, e>cept that at least one must be used Ef an a>is #ord is
not
used for a given a>is, the coordinate on that a>is of the current point is not changed Et is
an error if'
all a>is #ords are omitted
K0- and K6- use common internal mechanisms in Mach3 and ma+ not be used together
@hen K6- is e>ecuted, the origin of the currentl+ active coordinate s+stem moves To do
this, origin offsets are calculated so that the coordinates of the current point #ith respect
to the moved origin are as specified on the line containing the K6- En addition,
parameters
0-55 to 0-51 are set to the Y, `, V, ,, G, and 4Ha>is offsets The offset for an a>is is the
amount the origin must be moved so that the coordinate of the controlled point on the
a>is has the specified value
Nere is an e>ample Duppose the current point is at Yn/ in the currentl+ specified
coordinate s+stem and the current YHa>is offset is ?ero, then G.2 X8 sets the YHa>is
offset to H3, sets parameter 0-55 to H3, and causes the YHcoordinate of the current point to
be J
The a>is offsets are al#a+s used #hen motion is specified in absolute distance mode
using an+ of the fi>ture coordinate s+stems Thus all fi>ture coordinate s+stems are
affected b+ K6-
Geing in incremental distance mode has no effect on the action of K6-
"onH?ero offsets ma+ be alread+ be in effect #hen the K6- is called The+ are in effect
discarded before the ne# value is applied Mathematicall+ the ne# value of each offset is
,kG, #here , is #hat the offset #ould be if the old offset #ere ?ero, and G is the old
offset *or e>ample, after the previous e>ample, the YHvalue of the current point is J Ef
Rev 1.84-A2 1+-.1 Using Mach3Mi
G.2 X. is then programmed, the ne# YHa>is offset is H0, #hich is calculated b+ ]]JH6_ k
H
3_ 3ut another #a+ the G.2 X. produces the same offset #hatever K6- offset #as
alread+ in place
To reset a>is offsets to ?ero, program G.2.1 or G.2.2 K6-5 sets parameters 0-55 to
0-51 to ?ero, #hereas K6-- leaves their current values alone
To set the a>is offset values to the values given in parameters 0-55 to 0-51, program
G.2.3
`ou can set a>is offsets in one program and use the same offsets in another program
3rogram K6- in the first program This #ill set parameters 0-55 to 0-51 !o not use K6-5
in the remainder of the first program The parameter values #ill be saved #hen the first
program e>its and restored #hen the second one starts up Use K6-3 near the beginning of
the second program That #ill restore the offsets saved in the first program
]
5.J-J K6- =ffsets H K6-, K6-5, K6--, K6-3
LeAa o capCtulo sobre sistemas de coordenadas para obter mais detalhes
7st fortemente aconselhados a no utili?ar esta caracterCstica legado em BualBuer ei>o, onde
e>iste outro offset aplicado
3ara fa?er o ponto atual tem as coordenadas Bue vocF Buer %sem movimento&, o programa
K6- Y x ` x V x , x G x 4 x, onde as palavras ei>o contFm os nmeros do ei>o deseAado
Todas as palavras ei>o so opcionais, com e>ceo de Bue pelo menos um deve ser usado
De uma palavra no 8 do ei>o usado para um determinado ei>o, a coordenada em Bue o ei>o do
ponto atual no 8 alterado
Z um erro se'
j Todas as letras de ei>o so omitidos
K0- e K6- uso comum mecanismos internos Mach3 e no podem ser usados Auntos
Uuando K6- 8 e>ecutado, a origem das coordenadas ativo move sistema
3ara fa?er isso, compensa origem so calculadas de modo Bue as coordenadas do ponto atual
em relao ao a origem so movidos conforme especificado na linha Bue cont8m o K6-
,l8m disso, os parRmetros 0-55H0-51 so definidas para o Y, `, V, ,, G, 4 e deslocamentos
do ei>o
= deslocamento de um ei>o 8 o montante a origem deve ser movido de forma Bue as
coordenadas do ponto de controle sobre o ei>o tem o valor especificado
,Bui est um e>emplo
Duponha Bue o ponto atual 8 de Y n / no momento especificado sistema de coordenadas eo
atual deslocamento do ei>o Y 8 ?ero, ento YJ K6- define o deslocamento do ei>o Y
a H3, 0-55 conAuntos de parRmetros para H3, e fa? com Bue o YHcoordenada do ponto atual a ser
J
=s deslocamentos do ei>o so sempre utili?adas Buando o movimento 8 especificado na
modalidade T distRncia com absoluta
BualBuer um dos sistemas de coordenadas do dispositivo el8trico ,ssim, todos os sistemas de
coordenadas suporte so afetados por K6-
7star na modalidade a distRncia incremental no tem nenhum efeito sobre a ao do K6-
Using Mach3Mi 1+-
0+
Rev 1.84-A2
"onH?ero deslocamentos podem ser A estar em vigor Buando o K6- 8 chamado
7les esto em vigor descartados antes de o novo valor 8 aplicado
Matematicamente, o novo valor de cada deslocamento 8 , k G, onde , 8 o deslocamento Bue
seria se o velho offset foram ?ero, e G 8 o velho offset
3or e>emplo, depois do e>emplo anterior, o valor > do ponto atual 8 J
De Y6 K6- 8 ento programado, o novo YHei>o de deslocamento 8 H0, Bue 8 calculada por ]]JH
6_ k H
3_ !ito de outra forma o Y6 K6- produ? o mesmo deslocamento o Bue A foi compensado K6-
no lugar
3ara repor as compensaes ei>o para ?ero, o programa K6-5 ou K6-- K6-5 define os
parRmetros para 0-55 0-51 para ?ero, enBuanto Bue K6-- dei>a seus valores atuais so?inho
3ara definir os valores de deslocamento do ei>o com os valores indicados nos parRmetros de
0-55H0-51, o programa K6-3
LocF pode definir as compensaes ei>o em um programa e utili?ar os deslocamentos mesmo
em outro programa
K6- no programa de primeira
Esto ir definir os parRmetros de 0-55H0-51 "o use K6-5 no restante do primeiro programa
=s valores dos parRmetros sero salvos Buando o primeiro saCdas do programa e restaurada
Buando a segunda comea a funcionar
Use K6-3 perto do inCcio do o segundo programa
3sso ir restaurar os deslocamentos guardados no primeiro programa.
_
1?.".29 1et =eed )ate !ode - @>3B @>4 and @>5
Three feed rate modes are recogni?ed' inverse time, units per minute and units per
revolution of spindle 3rogram G.3 to start the inverse time mode %this is ver+
infreBuentl+ emplo+ed& 3rogram G." to start the units per minute mode 3rogram G.5
to start the units per rev mode
En inverse time feed rate mode, an * #ord means the move should be completed in ]one
divided b+ the * number_ minutes *or e>ample, if the * number is -., the move should
be completed in half a minute
En units per minute feed rate mode, an * #ord on the line is interpreted to mean the
controlled point should move at a certain number of inches per minute, millimetres per
minute, or degrees per minute, depending upon #hat length units are being used and
#hich a>is or a>es are moving
En units per rev feed rate mode, an * #ord on the line is interpreted to mean the controlled
point should move at a certain number of inches per spindle revolution, millimetres per
spindle revolution, or degrees per spindle revolution, depending upon #hat length units
are being used and #hich a>is or a>es are moving
@hen the inverse time feed rate mode is active, an * #ord must appear on ever+ line #hich
has a K5, K-, or K3 motion, and an * #ord on a line that does not have K5, K-, or K3 is
ignored Geing in inverse time feed rate mode does not affect K. %rapid traverse& motions
Et is an error if'
inverse time feed rate mode is active and a line #ith K5, K-, or K3 %e>plicitl+
or implicitl+& does not have an * #ord
Rev 1.84-A2 1+-01 Using Mach3Mi
]
5.J-: Det Mode 9ate *eed H K63, K6/ e K60
TrFs modos de ta>a de alimentao so reconhecidos' tempo inverso, unidades por minuto e r
unidades por revoluo do ei>o 3rograme K63 para iniciar o modo de tempo inverso %isto 8
muito raramente empregado& 3rograme K6/ para iniciar o modo de unidades por minuto
3rograme K60 para iniciar as unidades por modo revoluo
"o modo inverso da ta>a de tempo de alimentao, uma letra *, o movimento deve ser
concluCdo em ]um dividido pelo nmero *_ minutos 3or e>emplo, se o nmero 8 de -. , o
movimento deve ser concluCdo na metade de um minuto
"o modo de unidades por minuto de ta>a de alimentao, um * na linha 8 interpretado para
significar Bue o ponto de controle deve passar de um certo nmero de polegadas por minuto
por milCmetro minuto, ou graus por minuto, dependendo do Bue unidades de comprimento
esto sendo usados e Bue ei>o ou ei>os esto se movendo
K e MH4ode de referFncia
7m modo de unidades por revoluo, uma letra * 8 interpretada para significar para a
controladora Bue o ponto deve passar de um certo nmero de polegadas por rotao do ei>o,
milCmetros por revoluo do ei>o, ou graus por volta do ei>o, dependendo unidades de
comprimento Bue so sendo usado e Bual ei>o ou ei>os esto se movendo
Uuando o tempo de modo inverso ta>a de alimentao est ativo, uma palavra * deve aparecer
em cada linha Bue tem um movimento K5, K-, K3 ou e uma palavra de * em uma linha Bue
no tem K5, K-, K3 ou 8 ignorados
7stando no modo inverso ta>a tempo alimentos no afeta K. %marcha rpida& propostas
7le Z um erro se'
H tempo inverso modo ta>a de alimentao est ativa e uma linha com K5, K-, K3 ou %e>plCcita
ou
implicitamente& no tem uma palavra *
_
1?.".2> 1et Canned C&cle )et%rn .evel - @>9 and @>>
@hen the spindle retracts during canned c+cles, there is a choice of ho# far it retracts'
5 retract perpendicular to the selected plane to the position indicated b+ the 9 #ord, or
- retract perpendicular to the selected plane to the position that a>is #as in Aust before
the canned c+cle started %unless that position is lo#er than the position indicated b+ the
9 #ord, in #hich case use the 9 #ord position&
To use option %5&, program G.. To use option %-&, program G.# 9emember that the 9
#ord has different meanings in absolute distance mode and incremental distance mode
M,code Meaning
M. 3rogram stop
M5 =ptional program stop
M- 3rogram end
M3(/ 9otate spindle cloc$#ise(counterclc$#ise
M0 Dtop spindle rotation
M1 Tool change %b+ t#o macros&
MJ Mist coolant on
M: *lood coolant on
M6 ,ll coolant off
Using Mach3Mi 1+-
02
Rev 1.84-A2
M3. 3rogram end and 9e#ind
M/J 9epeat program from first line
M/: 7nable speed and feed override
M/6 !isable speed and feed override
M6: 4all subroutine
M66 9eturn from subroutine(repeat
#igure 1+.0 - Duit in M-codes
[
1(.7.28 1et .anned n9vel de retorno .iclo - '8: e '88
;uando o ei"o retrai durante ciclos /i"os, + uma escol+a de quanto ele
se retrai<
1. retrair perpendicular ao plano escol+ido para a posi%&o indicada pela
palavra , ou
2. retrair perpendicular ao plano selecionado para a posi%&o que o ei"o
estava um pouco antes da ciclo iniciado em $a menos que a posi%&o ,
in/erior = posi%&o indicada pelo palavra, nesse caso, usar a posi%&o
palavra ).
>ara usar a op%&o $1), '88 programa para usar a op%&o $2), '8:
?embre-se que o programa palavra tem signi/icados di/erentes na
modalidade = dist@ncia absoluta e incremental modalidade a dist@ncia.
]
1+.8 Duit-in M Codes
]
5.: Usando MH4odes
M codes interpreted directl+ b+ Mach3 are sho#n in figure 5.J
MH 4odes Bue so interpretados diretamente pelo Mach3 so mostrados na figura 5.J
_
1?.9.1 ,rogra$ 1topping and /nding - !?B !1B !2B !3?
To stop a running program temporaril+ %regardless of the setting of the optional
stop s#itch&, program *0
To stop a running program temporaril+ %but onl+ if the optional stop s#itch is on&, program
*1
Et is =O to program M. and M5 in M!E mode, but the effect #ill probabl+ not be
noticeable, because normal behavior in M!E mode is to stop after each line of
input, an+#a+
Ef a program is stopped b+ an M., M5, pressing the c+cle start button #ill restart
the program at the follo#ing line
To end a program, program *2 or *30 M- leaves the ne>t line to be e>ecuted as the
M- line M3. Sre#indsS the KH4ode file These commands can have the follo#ing
effects depending on the options chosen on the 4onfigureoMogic dialog'
,>is offsets are set to ?ero %li$e K6--& and origin offsets are set to the default
%li$e K0/&
Delected plane is set to Y` %li$e K5J&
!istance mode is set to absolute %li$e
K6.&
*eed rate mode is set to Units per minute mode %li$e K6/&
*eed and speed overrides are set to =" %li$e M/:&
Rev 1.84-A2 1+-03 Using Mach3Mi
4utter compensation is turned off %li$e K/.&
The spindle is stopped %li$e M0&
The current motion mode is set to K5 %li$e
K5& 4oolant is turned off %li$e M6&
"o more lines of code in the file #ill be e>ecuted after the M- or M3. command is
e>ecuted 3ressing c+cle start #ill resume the program %M-& or start the program bac$ at
the beginning of the file %M3.&
]
5.:5 3arada de 3rograma e Terminao H M., M5, M-, M3.
3ara interromper um programa em e>ecuo temporariamente %independentemente da
configurao da chave de parada opcional& M. programa
3ara interromper um programa em e>ecuo temporariamente %mas sI se a chave de parada
opcional em&, programa M5Z =O para M. e M5 programa no modo M!E, mas o efeito no
ser provavelmente perceptCvel, porBue o comportamento normal no modo M!E 8 parar depois
de cada linha de entrada, de BualBuer maneira
9eferFncia' K e MH4ode
De um programa 8 interrompido por um M., M5, pressionando o boto de arranBue ir reiniciar
o ciclo programa na linha seguinte
3ara terminar um programa, programa ou M- M3. M- dei>a a prI>ima linha a ser e>ecutada
como o M- linhaM3. SreiniciaS o arBuivo KH4ode 7stes comandos podem ter os seguintes
efeitos dependendo das opes escolhidas na cai>a de dilogo 4onfigurar Mogico
| 7i>o deslocamentos so definidos para ?ero %como K6--& e os deslocamentos de origem
esto definidas para o padro %4omo o K0/&
p plano selecionado 8 definido como Y` %como o K5J&
j Modo de distRncia 8 definido como absolutos %como o K6.&
j Modo de ta>a de alimentao 8 definida como modo de unidades por minuto %como o K6/&
p *eed e substitui velocidade so definidas como =" %como M/:&
j 4ompensao 4utter 8 desligado %como o K/.&
p = fuso 8 parado %como o M0&
j = modo de movimento atual 8 definida como K5 %como K5&
p refrigerante 8 desligado %como M6&
Mais nenhuma linhas de cIdigo no arBuivo ser e>ecutado apIs o M- ou M3. comando 8
e>ecutados
3ressionando inCcio do ciclo ser retomado o programa %M-& ou iniciar o programa de volta ao
inCcio do arBuivo %M3.&
_
1?.9.2 1pindle Control - !3B !4B !5
To start the spindle turning cloc$#ise at the currentl+ programmed speed, program *3
To start the spindle turning countercloc$#ise at the currentl+ programmed speed, program
*"
*or a 3@M or Dtep(!ir spindle the speed is programmed b+ the D #ord *or an
on(off spindle control it #ill be set b+ the gearing(pulle+s on the machine
To stop the spindle from turning, program *5
Using Mach3Mi 1+-
04
Rev 1.84-A2
Et is =O to use M3 or M/ if the spindle speed is set to ?ero Ef this is done %or if the
speed override s#itch is enabled and set to ?ero&, the spindle #ill not start turning Ef,
later, the spindle speed is set above ?ero %or the override s#itch is turned up&, the
spindle #ill start turning Et is permitted to use M3 or M/ #hen the spindle is alread+
turning or to use M0 #hen the spindle is alread+ stopped but see the discussion on
safet+ interloc$s in configuration for the implications of a seBuence #hich #ould
reverse an alread+ running spindle
]
5.:- 4ontrole de Dpindle H M3, M/, M0
3ara iniciar o ei>o girando no sentido horrio com a velocidade no momento programado, M3
programa
3ara iniciar o fuso horrio girando T velocidade programada atualmente, o programa M/
3ara um 3@M ou Dtep ( !ir ei>o, a velocidade 8 programada pela palavra D 3ara uma on ( off
controle do ei>o ser fi>ado pela engrenagem ( polias na mBuina
3ara parar o ei>o de giro M0, programa
Z =O usar M3 ou M/, se a velocidade do ei>o 8 fi>ado em ?ero
De isso for feito %ou se a velocidade interruptor de ultrapassagem 8 ativado e definido para
?ero&, o ei>o no vai comear a girar De, mais tarde, o velocidade do ei>o 8 definido acima de
?ero %ou a chave de ultrapassagem 8 virado para cima&, o fuso comea giro
Z permitido o uso M3 ou M/ Buando o fuso A est virando ou usar M0 Buando o fuso 8
parado, mas A vF a discusso sobre a travas de segurana em configurao para as implicaes
de uma seBQFncia Bue reverter uma A est em e>ecuo fuso
_
1?.9.3 Tool change - !6
3rovided tool change reBuests are not to be ignored %as defined in 4onfigureoMogic&,
Mach3 #ill call a macro %Bv& M1Dtart #hen the command is encountered Et #ill then #ait
for 4+cle Dtart to be pressed, e>ecute the macro M17nd and continue running the part
program `ou can provide Lisual Gasic code in the macros to operate +our o#n
mechanical tool changer and to move the a>es to a convenient location to tool changing if
+ou #ish
Ef tool change reBuests are set to be ignored %in 4onfigureoMogic& then M1 has no effect
]
5.:3 alterar Tool H M1
3edidos de Troca de ferramentas previsto no sero ignorados %como definido no 4onfigureo
Mogic&, Mach3 e vai chamar uma macro %Bv& M1Dtart Buando o comando 8 encontrado 7la ir
ento esperar ser pressionadob o 4+cle Dtart, e>ecute o M17nd macro e continuar e>ecutando a
parte programa
LocF pode fornecer o cIdigo do Lisual Gasic no macros para operar o seu prIprio mecanismo
trocador de ferramentas e mover os ei>os de uma locali?ao conveniente ferramenta para
mudar, se Buiser
De os pedidos de mudana de ferramenta esto definidas para ser ignorado %em 4onfiguraro
Mogic&, ento M1 tem nenhum efeito
_
1?.9.4 Coolant Control - !"B !9B !>
To turn flood coolant on, program *8
To turn mist coolant on, program *#
To turn all coolant off, program *.
Rev 1.84-A2 1+-0, Using Mach3Mi
Et is al#a+s =O to use an+ of these commands, regardless of #hat coolant is on or off
]
5.:/ 4ontrole de refrigerante H MJ, M:, M6
>ara ativar re/rigerante , programa 27.
>ara ligar a re/rigera%&o de n,voa, 2: programa.
>ara ativar todos os o// re/rigerante 28, programa.
A sempre !B para usar qualquer um desses comandos,
independentemente do que re/rigerante est ligado ou desligado.
_
Using Mach3Mi 1+-
0.
Rev 1.84-A2
1?.9.5 )e-r%n ro$ irst line - !4"
=n encountering an M/J the part program #ill continue running from its first line Et is
an error if'
M/J is e>ecuted in a subroutine
The run can be stopped b+ the 3ause or Dtop buttons
Dee also the use of M66 outside a subroutine to achieve the same effect
]
5.:0 9eHrun de primeira linha H M/J
,o encontrar um M/J parte do programa continuar a ser e>ecutado a partir de sua primeira
linha Z um erro se'
M/J 8 e>ecutada em uma subHrotina
, e>ecuo pode ser interrompido pelos botes de 3ausa ou 3arar
Ce#a tamb,m o uso de 288 /ora de uma sub-rotina para conseguir o mesmo
e/eito.
_
1?.9.6 *verride Control - !49 and !4>
To enable the speed and feed override, program *"# To disable both overrides, program
*". Et is =O to enable or disable the s#itches #hen the+ are alread+ enabled or disabled
]
5.:1 4ontrole =verride H M/: e M/6
3ara habilitar a velocidade e substituir alimentao cIdigo M/: 3ara desativar ambos, o
programa M/6Z para habilitar ou desabilitar as opes Buando eles A esto ativados ou
desativados
_
1?.9." Call s%bro%tine - !>9
This has t#o formats'
%a& To call a subroutine program #ithin the current part program file code *.# 1> 2> or
*.# >1 >R The program must contain an = line #ith the number given b+ the 3 #ord of
the 4all This = line is a sort of SlabelS #hich indicates the start of the subroutine The =
line ma+ not have a line number %" #ord& on it Et, and the follo#ing code, #ill normall+
be #ritten #ith other subroutines and follo# either an M-, M3. or M66 so it is not reached
directl+ b+ the flo# of the program
%b& To call a subroutine #hich is in a separate file code *.#&%ilename-2>
for e>ample *.# &test.tap-
*or both formats'
The M #ord %or optionall+ the U #ord& gives the number of times that the subroutine is
to be called before continuing #ith the line follo#ing the M6: Ef the M %U& #ord is
omitted then its value defaults to 5
G+ using parameters values or incremental moves a repeated subroutine can ma$e
several roughing cuts around a comple> path or cut several identical obAects from one
piece of material
Dubroutine calls ma+ be nested That is to sa+ a subroutine ma+ contain a M6: call
to another subroutine ,s no conditional branching is permitted it is not meaningful
for subroutines to call themselves recursivel+
Rev 1.84-A2 1+-00 Using Mach3Mi
]
5.:J 4hamada de DubHrotina H M6:
Esso tem dois formatos'
%,& 3ara ligar para um programa subHrotina dentro do atual Rmbito do programa de arBuivo
de cIdigo M6: 3 x M x ou M6: x 3 x U = programa deve conter uma linha = com o
nmero dado para ser chamada 7sta linha = 8 uma esp8cie de SetiBuetaS Bue indica o
inCcio da subrotina = linha no pode ter um nmero de linha %palavra "& sobre ele 7la
e o cIdigo a seguir, ser normalmente escrito com outras subHrotinas e siga um ou M-,
M3. e M66 de modo Bue no 8 atingido diretamente pelo flu>o do programa
%G& 3ara chamar uma subrotina Bue est em um arBuivo separado do cIdigo M6:
%filename& M x
por e>emplo, M6: %testtap&
3ara ambos os formatos'
The M @ord %ou, opcionalmente, a palavra U& indica o nmero de ve?es Bue a subH
rotina 8 ser chamado antes de continuar com a linha seguinte ao M6: De o M %U& da
palavra 8 omitida ento o valor padro para 5
Usando parRmetros de valores ou movimentos incrementais uma subHrotina repetida
pode fa?er vrias desbaste cortes em torno de um caminho comple>o ou cortar vrios
obAetos idFnticos a partir de um pedao de material
chama subrotina podem ser aninhadas
Esso Buer di?er Bue uma subHrotina pode conter uma chamada para M6: outra subH
rotina
4omo no 8 permitido desvio condicional no 8 significativo para
subrotinas se chamar recursivamente
_
1?.9.9 )et%rn ro$ s%bro%tine
To return from a subroutine program *.. 7>ecution #ill continue after the M6:
#hich called the subroutine
Ef M66 is #ritten in the main program, ie not in a subroutine, then the program #ill
start e>ecution from the first line again Dee also M/J to achieve the same effect
]
5.:: 9etorno da subHrotina
3ara retornar de uma subHrotina de e>ecuo M66 programa continuar depois do M6:
Bue chamou a subHrotina
De M66 est escrito no programa principal, ou seAa, no em uma subHrotina, o programa
vai comear e>ecuo da primeira linha novamente
LeAa tamb8m M/J para conseguir o mesmo efeito
_
Using Mach3Mi 1+-
08
Rev 1.84-A2
1+.1 Macro M-codes
1(.8 2 2acro-codes
1?.>.1 !acro overview
Ef an+ MH4ode is used #hich is not in the above list of builtHin codes then Mach3 #ill
attempt to find a file named S*xx.*1SS in the Macros folder Ef it finds the file then it
#ill e>ecute the LG script program it finds #ithin it
The =peratoroMacros menu item displa+s a dialog #hich allo#s +ou to see the currentl+
installed macros, to Moad, 7dit and Dave or Dave ,s the te>t The dialog also has a Nelp
button #hich #ill displa+ the LG functions #hich can be called to control Mach3 *or
e>ample +ou can interrogate the position of a>es, move a>es, interrogate input signals
and control output signals
"e# macros can be #ritten using an e>ternal editor program li$e "otepad and saved in the
Macros folder or +ou can load an e>isting macro #ithin Mach3, totall+ re#rite it and save
it #ith a different file name
]
5.65 9esumo das Macros
De algum MH4ode usado Bue no esteAa na lista de cIdigos, ento, Mach3 far a
tentativa de encontrar um arBuivo chamado SM>>M5DS na pasta macros
De ele encontrar o arBuivo, ento ele ir e>ecutar o programa de script LG Bue encontrar dentro
dela
= item operadoro menu Macros e>ibe uma cai>a de dilogo Bue permite Bue vocF veAa as
macros instaladas no momento, para carga, 7ditar e Dalvar ou Dalvar como te>to
, cai>a tamb8m tem um boto de aAuda Bue e>ibe as funes LG Bue podem ser chamado para
controlar o Mach3
3ara e>emplo, vocF pode Buestionar a posio dos ei>os, ei>os de movimento, sinais de entrada
e interrogar saCda de sinais de controle
9eferFncia K e MH4ode e novas macros podem ser escritas usando um programa editor
e>terno, como o "otepad e salvo na pasta de Macros ou vocF pode carregar uma macro
e>istente no Mach3, totalmente reescrevFHla e salvHla com um nome de arBuivo diferente
_
1+.1+ (ther In%ut Codes
1?.1?.1 1et =eed )ate - =
To set the feed rate, program %>
!epending on the setting of the *eed Mode toggle the rate ma+ be in unitsHperHminute
or unitsHperHrev of the spindle
The units are those defined b+ the K-.(K-5 mode
!epending on the setting in 4onfigureoMogic a revolution of the spindle ma+ be defined
as a pulse appearing on the Ende> input or be derived from the speed reBuested b+ the D
#ord or Set Spindle speed !9=
The feed rate ma+ sometimes be overidden as described in M/: and M/6 above
]
5.5. =utros 4Idigos de 7ntrada
5.5.5 Ta>a *eed Det d *
Rev 1.84-A2 1+-01 Using Mach3Mi
3ara definir a ta>a de alimentao, x * programa
!ependendo da configurao do modo de alimentao alternar a ta>a pode ser em unidades por
minuto ou unidades de revoluo do fuso
,s unidades so os definidos pelo modo K-.(K-5
!ependendo da configurao em 4onfigureo Mogic uma revoluo do ei>o pode ser definido
como um pulso Bue aparece na entrada de Cndice ou ser derivada a partir da velocidade
reBuerida pela palavra D ou Det !9= velocidade do ei>o
* ta"a de alimenta%&o pode ser por veDes overidden con/orme descrito no 2E: e
2E8 acima.
_
1?.1?.2 1et 1pindle 1peed - 1
To set the speed in revolutions per minute %rpm& of the spindle, program S> The spindle
#ill turn at that speed #hen it has been programmed to start turning Et is =O to program
an D #ord #hether the spindle is turning or not Ef the speed override s#itch is enabled and
not set at 5..m, the speed #ill be different from #hat is programmed Et is =O to program
D.e the spindle #ill not turn if that is done Et is an error if'
the D number is negative
Ef a K:/ %tapping& canned c+cle is active and the feed and speed override s#itches are
enabled, the one set at the lo#er setting #ill ta$e effect The speed and feed rates #ill
still be s+nchroni?ed En this case, the speed ma+ differ from #hat is programmed, even
if the speed override s#itch is set at 5..m
]
5.5.- Det Dpeed 7i>o d D
3ara definir a velocidade em rotaes por minuto %rpm& do ei>o, o programa de D x o ei>o
vai virar nesta velocidade, Buando ele foi programado para comear a girar
Z =O para um programa se a letra D se o ei>o est girando ou no
De a chave de ultrapassagem de velocidade 8 habilitado e no fi>ada em 5..m, a velocidade
ser diferente do Bue est programado 3ara o programa, 8 considerado certo se D.e = ei>o no
liga se isso for feito
Z um erro se'
j = nmero D 8 negativo
De o K:/ %tocando& ciclo enlatados 8 activa e os alimentos para animais e s#itches substituir
velocidade so ativado, o conAunto de um menor na configurao ter efeito
, velocidade de avano e ainda ser sincroni?ados
Feste caso, a velocidade pode di/erir do que est programado, mesmo que o
interruptor de ultrapassagem de velocidade est /i"ado em 1((G.
_
1?.1?.3 1elect Tool C T
To select a tool, program ;> #here the T number is the slot number in the tool changer
%of course a rac$ for manual changing& for the tool
7ven if +ou have an automatic toolchanger, the tool is not changed automaticall+ b+ the T
#ord To do this use M.1 The T #ord Aust allo#s the changer to get the tool read+
M.1 %depending on the settings in 4onfigoMogic& #ill operate the toolchanger or stop
e>ecution of the partHprogram so +ou can change the tool b+ hand The detailed
e>ecution of these changes is set in the MJStart and MJEnd macros Ef +ou reBuire
an+thing special +ou #ill have to customi?e these
The T #ord, itself, does not actuall+ appl+ an+ offsets Use K/3 or K//, Bv, to do this
The N #ord in K/3(K// specifies #hich tool table entr+ to use to get the tool offset
"otice that this is different to the action #hen +ou t+pe a tool slot number into the T !9=
Using Mach3Mi 1+-
8+
Rev 1.84-A2
En this case an implied K/3 is performed so the length offset for the tool #ill be applied
assuming that the slot number and the tooltable entr+ number are the same
Et is =O, but not normall+ useful, if T #ords appear on t#o or more lines #ith no
tool change Et is =O to program T.e no tool #ill be selected This is useful if +ou
#ant the spindle to be empt+ after a tool change Et is an error if'
a negative T number is used, or a T number larger than -00 is used
]
5.5.3 Deleo de *erramenta d T
3ara selecionar uma ferramenta, 4Idigo T x em Bue T 8 o nmero do slot no trocador de
ferramentas %de naturalmente, um rac$ para a mudana manual& para a ferramenta
Mesmo se vocF tiver um toolchanger automtica, a ferramenta no 8 alterada automaticamente
pelo cIdigo T
3ara fa?er isso M.1
, palavra T apenas permite Bue o trocador para obter a ferramenta pronta
M.1 %dependendo das configuraes em 4onfigo Mogic& vai operar o toolchanger ou parar
e>ecuo do programa de pea para Bue vocF possa alterar a ferramenta T mo
, e>ecuo detalhada destas alteraes 8 fi>ado no M1Dtart M17nd e macros
De vocF precisar de alguma coisa especial vocF ter de personali?Hlas
, palavra T, em si, na verdade, no aplicar BuaisBuer compensaes
Use K/3 ou K//, Bv, para fa?er isso
, palavra de N K/3(K// especifica Bue a entrada da tabela ferramenta para comear a usar a
ferramenta offset
,viso Bue isso 8 diferente para a ao Buando vocF digitar um nmero de slot ferramenta para
o !9= T
"esta caso um K/3 implCcita 8 feita assim Bue o afastamento do comprimento da ferramenta
ser aplicada assumindo Bue o nmero de slot e o nmero de inscrio tooltable so os
mesmos
Z =O, mas normalmente no til, se as palavras T aparecem em duas ou mais linhas com
nenhuma ferramenta mudar
Z =O para T. programae nenhuma ferramenta ser selecionado
Esso 8 til se vocF Buiser Bue o fuso estar va?io apIs uma mudana de ferramenta
Z um erro se'
j Um nmero negativo 8 usado T, T ou um nmero maior Bue -00 8 usado
_
1+.11 :rror &anding
This section describes error handling in Mach3
Ef a command does not #or$ as e>pected or does not do an+thing chec$ that +ou have
t+ped it correctl+ 4ommon mista$es are K=, instead of K. ie letter = instead of ?ero&
and too
Mach2 screenshot %uout
Rev 1.84-A2 11-1 Using Mach3Mi
man+ decimal points in numbers Mach3 does not chec$ for a>is overtravel %unless soft#are
limits are in use& or e>cessivel+ high feeds or speeds "or does it does not detect situations
#here a legal command does something unfortunate, such as machining a fi>ture
0rder &tem
5 4omment %including message&
- Det feed rate mode %K63, K6/, K60&
3 Det feed rate %*&
/ Det spindle speed %D&
0 Delect tool
1 Tool change %M1& and 7>ecute MHcode macros
J Dpindle =n(=ff %M3, M/, M0&
: 4oolant =n(=ff %MJ, M:, M6&
6 7nable(disable overrides %M/:, M/6&
5. !#ell %K/&
55 Det active plane %K5J, K5:, K5:&
5- Det length units %K-., K-5&
53 4utter radius compensation =n(=ff %K/., K/5, K/-&
5/ Tool table offset =n(=ff %K/3, K/6&
50 *i>ture table select %K0/ H K0: l K06 3x&
51 Det path control mode %K15, K155, K1/&
5J Det distance mode %K6., K65&
5: Det canned c+cle return level mode %K6:, K66&
56 Nome, or change coordinate s+stem data %K5.&, or set offsets
%K6-, K6/&
-. 3erform motion %K. to K3, K5-, K53, K:. to K:6 as modified b+ K03
-5 Dtop or repeat %M., M5, M-, M3., M/J, M66&
$a/e 1+.1 - (rder o" e9ecution on a ine
]
5.,55 Tratamento de erros
7sta seo descreve o tratamento de erros em Mach3
De um comando no funciona como esperado ou no fa? nada verifiBue se vocF digitou
Hlo corretamente
7rros comuns so K=, em ve? de carta K. ou seAa, =, em ve? de ?ero& e tamb8m
K e MHcIdigo de referFncia muitos pontos decimais nos nmeros
Mach3 no verifica para o ei>o sobrecurso %e>cepto soft#are limites esto em uso& ou
e>cessivamente altos avanos ou velocidades
Tampouco no detectar situaes onde um comando legal fa? algo infeli?, como um acessIrio
de usinagem
]
1+.12 (rder o" :9ecution
The order of e>ecution of items on a line is critical to safe and effective machine operation
Mach2 screenshot %uout
Using Mach3Mi 11-2 Rev 1.84-A2
11. A%%endi9 1 - Mach3 screenshot %uout
Mi !rogram Run screen
Mach2 screenshot %uout
Rev 1.84-A2 11-1 Using Mach3Mi
Mi M*I screen
Mi $oo%ath screen
nn
Using Mach3Mi 11-2 Rev 1.84-A2
Mach2 screenshot %uout
Mi (""sets screen
Mi -ettings screen
Mach2 screenshot %uout
Rev 1.84-A2 11-3 Using Mach3Mi
Mi *iagnostics screen
-am%e schematic diagrams
12. A%%endi9 2 - -am%e schematic diagrams
Using Mach3Mi 12-2 Rev 1.84-A2
222
R;D
1
N
4
+
+
1
1
N
4
+
+
1
1
N
4
+
+
1
12.1 :-to% and imits using reays
Com%uter or /re a4out <, vots
"rom :na/e or
charge %um% circuit
3active &i5
4C0
04+.
R;A
33+R
Mach2 (C
;:*
33+R
$o :-to% in%ut
3active ;o5
R;DH1
Com%uter or /re a4out + vots
Contro %ositive 312 vots5
Inter"ace
Reset < imit
- imit
< imit
- imit
< imit
- imit
< imit
- imit
R;DH2
:-to%1
:-to%2
Inter"ace (C
;:*
82+R
Contro + vots
Contactor %ositive 3coud /e same as C ontro su%%y5
R;AH1
R;DH3
C1H1 C2H1 C3H1 C3H2
C1 C2 C3
Contacts to contro *C su%%y to
ste%%ersHservos? s%inde motor
cooant %um% etc.
Contactor + vots
%otes$
#igure 12.1 - -am%e :-to% and ;imit s'itch connections
5 This circuit is onl+ illustrative of one possible solution to e>ternall+ connected limit
s#itches Ef +ou reBuire reference s#itches then these should be separate and
connected to Mach3 inputs
- 9ela+ contacts are sho#n in the deHenergised position Mimit s#itches and push
buttons are not operated
3 Nolding Enterface 9eset pressed #ill allo# the Mach3 9eset button to be pressed
and the a>es to be Aogged off the limit s#itches The Enterface 9eset #ill then latch
-am%e schematic
diagrams
/ 9ela+ , needs one "= contact Et must have a 0 volt coil that is at least 50.
ohms %ie not reBuire more than 33 milliamps to operate& =mron K1NH-5..H
0 is suitable #ith contacts rated at 5 amp 3. volts !4
0 9ela+ G needs 5 "4 and - "= contacts Et can have an+ convenient coil voltage
to suit an available suppl+ The common of this should, ideall+, not be the 34 .
volt rail to avoid the long #iring of the limit and 7Dtop s#itches inducing noise
5- ,pFndice - H 7>emplo de diagramas esBuemticos
5-,5 obstruir e limites usando rel8s
"otas'
5 7ste circuito 8 apenas ilustrativa de uma soluo possCvel para limitar e>ternamente
ligado s#itches
De vocF precisar de referFncia, em seguida, essas opes devem ser separadas e ligadas
Ts entradas Mach3
- 4ontatos de rel8 so mostrados na posio de tenso Mimite de s#itches e botes
no so e>plorados
3 Nolding Enterface 9eset pressionado permite o boto 9eset Mach3 a ser pressionado e
os ei>os para ser movimentada fora dos interruptores = 9eset Enterface ento trava
limite k
H Mimite
limite k
H Mimite
limite k
H Mimite
limite k
H Mimite
4omputador ou fuga de 0 volts
4omputador ou fuga de . volts
4ontrole de . volts
4ontactor . volts
4ontrole positivo %5- volts&
4ontactor positivas %poderia ser o mesmo como fonte de 4ontrole&
33.9
/OJ
:-.9
45 ( 5 4- ( 43 5 ( 5 43 ( -
4ontatos para controlar a oferta de !4
steppers ( servos, motor spindle
refrigerante bomba, etc
7Dtop5
7Dtop-
Enterface
9estabelecer
33.9
3ara obstruir a entrada
%Mo ativa&
5"/..5
5"/..5
5"/..5
Mach- =O
M7!
Enterface =O
M7!
9M,
9MG
9MG ( 5
9MG ( -
9MG ( 3
9M, ( 5
,tivar ou de circuito de bomba de carga
%Ni ativa&
J/.1
45 4- 43
*igura 5-5 H 7>emplo de obstruir e cone>es Enterruptor
7>emplo de diagramas esBuemticos
/ , 9ela+ precisa um contato !eve ter uma bobina de 0 volts Bue 8, pelo menos, 50.
ohms %ou seAa, no e>igir mais de 33 miliamp8res para funcionar& =mron K1NH-5..H0
8 adeBuado com contatos avaliado em um amp}res 3. volts !4
0 9ela+ G precisa de 5 "* e - ", contatos 3ode ter BualBuer tenso bobina
conveniente para se adeBuar uma fonte disponCvel
= comum deste deveria, idealmente, ser o 34 ferrovirio . volts para
evitar a fiao longo do limite e obstruir s#itches indu?ir ruCdo
, =mron M`/ s8rie 8 adeBuado ter Buatro contatos avaliado em 0 amp}res --. volts
,4
1 =s M7!s so opcionais, mas til, como uma indicao do Bue est acontecendo
= actual limitando resistor para o M7! =O Enterface deve ser 5,: $ohms se uma fonte de
-/ volts 8 utili?ado
J De as tenses de bobina so adeBuados, em seguida, os contatores pode usar o
S4ontrolS positiva e comum de aprovisionamento
: = arranAo dos contactores %4oils mostrado como 45, 4-, 43&, depende da sua unidade
acordos de fornecimento de alimentao e os cabos dos motores na mBuina
LocF dever ter como obAectivo mudar a fonte !4 para o steppers e ( ou servos apIs o
alisamento capacitor para garantir uma parada rpida
LocF pode Buerer re#ire no ei>o e refrigerante motores de modo Bue o controle do
contator no desliga o circuito de liberao noHvolt %ou seAa, vocF pode Buerer mudar o
motor leva depois os contatores mBuina principal
"o compartilhe contatos em um dado contator entre corrente alternada e desli?ante (
!4 servo de em conta o risco muito aumentado de um curtoHcircuito entre essas
operaes 3rocurar conselho se vocF estiver inseguro, especialmente antes de trabalhar
com -3.(/50 volts 3 fases circuitos
6 =s diodos captura toda a rel8 e bobinas de contatores so necessrios para absorver a
parte de trs emf, Buando desligada a corrente nas bobinas
=s contatores podem vir com bobina adeBuada circuitos de supresso construCdo dentro
9egistro de configurao usada
_
53 ,pFndice 3 H = registo de configurao usada
LocF deve manter um registo em papel de sua configurao Mach3b
, configurao completa Mach3 inclui uma s8rie de informaes detalhadas
LocF no vai Buerer repetir o processo passo a passo Buando vocF atuali?ar o seu
computador
Mach3 so perfis arBuivos YMM e vocF provavelmente vai mantFHlos na pasta Mach3
Utili?ao @indo#s 7>plorer para encontrar o perfil Bue deseAa copiar e arrastHlo para
outra pasta, enBuanto mantendo pressionada a tecla 4ontrol
LocF pode, naturalmente, utili?ar BualBuer t8cnica de copiar outros arBuivos se
Bue vocF preferir
De vocF clicar duas ve?es no nome do arBuivo, em seguida, seu navegador #eb %Enternet
7>plorer, provavelmente& vai abrir o >ml arBuivo e e>ibiHlo
= arBuivo YMM pode ser editado por um editor de te>to como o "otepad, mas isso no
8 fortemente recomendado,
= arBuivo de perfil pode ser uma informao til para ane>ar a um eHmail Buando
pedem apoio de ,rtDoft 4orp
]
5/ NistIrico de revises
,p 5,:/HG5 5/ abr -..1 Usurio relatados erros corrigidos %obrigado por enviHlos
dentrob&
,p 5,:/H,5 55 abril de -..1 Lerso para apoiar ,p 5,:/
9ev J5H,5 -0 de abril de -..0 3rimeira verso preliminar do uso de Mach3Mill
9ev ,5H: -- de Aulho de -..3 3rimeira verso completa sobre o uso Mach-Mill
_
50 Pndice
!ica' Dempre h uma escolha, mais entradas de Cndice so feitas usando o nome de uma
coisa %3or e>emplo, unidade ,>is& ao inv8s de uma ao %por e>emplo, Tuning&, assim
vocF obter melhores resultados pensando na parte em Bue vocF deseAa obter
informaes ,ssim, procurando por Sunidades ,>is H
tuning Sdar melhores resultados do Bue procuraS Tuning H acionamentos dos ei>os S
Emportant informao, tanto as entradas provavelmente ir aparecer
De vocF tem dificuldade, porBue vocF tentou procurar alguma coisa para cima e para o
Cndice entrada estava faltando, por favor, tome um momento para eHmail
support@artofcncca
com uma nota do %a& as palavras Bue vocF estava olhando para cima e %b& onde, no
manual Bue vocF encontrou a informao Bue vocF Bueria H supondo Bue vocF fe?b
_
m
m H , introduo de comentrios 5-(5.
,
,bsolute modalidade a distRncia K6. 3.(5.
,bsolute modo E2 5J(5.
mBuina de coordenadas absolutas movimento K03 H em -3(5.
,celerao configurando 5/(.0
importRncia da configurao de preciso 5/(.0
,gradecimentos .5(.5
,ctive conveno Ni ./(./
,ctive conveno Mo ./(./
plano ,ctive configurao padro -5(.0
,ddon funo 4,M @i?ards para .:(.3
3ermitir Bue fala -/(.0
3ermitir Bue arBuivos de onda -/(.0
ei>os ,ngular configurar -3(.0
discriminao ,ngular configurao de -/(.0
limite angular !9= 5-(.1
,rc H formato de centro 5.H5J
,rc H formato de raio 5.H5J
,rc na ta>a de alimentao
K.-(K.3 definido 5J(5.
movimento ,rc definido .0(5.
,rcs mostrar ou cortar incorretamente E2 errado Mode -5(.0
= controle automtico V 5-(.1
,>is controles famClia descrito .-(.1
,>is coordenar !9= descrito .-(.1
,>is design unidade clculo de proAeto .1(./
limitao pela ta>a passo Mach3 .J(./
movimento mCnimo possCvel .1(./
velocidade rpida .1(./
unidades ,>is papel no sistema .5(.-
,>is visuali?adores o Bue eles mostram .5(.J
,>is Aogging .1(.3
por Kerador de 3ulso Manual M3K %& .0(.1
Manual de pulso Keneratselecting ei>o a ser movido por M3K .0(.1
M3K por .J(.3
controle familiar descrito ./(.1
Ao+stic$ .J(.3
teclado .1(.3
4ontCnua 3H1, 1H/
7tapa 3H1, 1H/
M3K ./(.1
ta>a de substituio 3HJ, 1H/
ta>a de substituio por um Ao+stic$ throttle .J(.3
lenta .1(.3
3asso selecionados pela tecla 4trl ./(.1
,>is slaving finalidade e referFncia 55(./
G
Loltar ciclo chato enlatados K:J -6(5.
*olga configurar 56(.0
tentar evitar 56(.0
4orreia ou corrente pitch 5.(.0
=peraes binrias definido 55(5.
Emportao de arBuivos bitmap escolher rasterising toolpath .1(.:
dot diffustion prestao .J(.:
para a gravura fotografia .1(.:
necessidade de se definir antes de e>ecutar o avano de .:(.:
raster retangular .1(.:
arBuivo selecionando para importar .1(.:
escrever e carregar o arBuivo codeHK .J(.:
Gloco formato de cIdigo 5.(5.
GloBuear ,pagar ao .J(5.
Gloco s#itch e>cluir .J(.1
Tela ,?ul da Morte ao a ser tomada depois ./(.3
GM3 importao Ler Gitmap arBuivo de importao
Goring ciclo de retrao manual enlatados 3.(5.
Goring e fresagem ciclo enlatados K:0 -:(5.
Goring moram e com ciclo de retrao em conserva K:6 3.(5.
,borrecido com o ciclo enlatados habitar K:1 -:(5.
Grea$out Goard .0(./
Goto controle nas telas .0(.3
4
4ancelar movimento modal K:. e>plicou -0(5.
4anned nCvel de retorno do ciclo K6:(K66 5.H3-
ciclos 4anned 5. H-0
entre em movimento -1(5.
proposta preliminar 5.H-1
repete por M @ord -0(5.
retrair definido pela palavra 9 -1(5.
nmeros pegaAoso -0(5.
4entro de formato de arco 5J(5.
4harge bomba durante a obstruir --(.0
4Crculos mostrar ou cortadas incorretamente E2 errado Mode -5(.0
4ircular bolso K5-(K53 5.H56
4Idigo sinta>e de definio e>plicou 5/(5.
4omentrios definido 5-(5.
4oncavidade cheBues -/(.0
4onfigurar acelerao 5/(.0
,ngular ei>os -3(.0
reao 56(.0
cinto ou cadeia de pitch 5.(.0
configurar -/(.0
Lisuali?adores bloBueado para unidades iniciais -3(.0
estado inicial -5(.0
M3. H ao em -3(.0
Mach3 passos por revoluo 55(.0
etapas Mach3 por unidade 55(.0
motor velocidade m>ima 5-(.0
rotaes do motor por unidade 5.(.0
passos por revoluo motor 55(.0
motor tuning 5.(.0
Lisuali?adores permanente -/(.0
final do programa H em ao -3(.0
larguras de pulso 53(.0
referFncia 5:(.0
unidades ei>o rotativo 55(.0
rotaes de parafuso, por unidade 5.(.0
saCda serial -3(.0
slaving -.(.0
feedbac$ velocidade do ei>o utili?ado para feeds -/(.0
medidas por unidade 5.(.0
ao de mudana de ferramenta -3(.0
4onfigure H 3ortos l 3ins .5(.0
modo de velocidade constante K1/ H definio 5. H -/
finalidade de e>plicou .1(5.
ponto controladodefinido .-(.J, ./(5.
9efrigerante configurando .1(.0
controle de .0(5.
M.J H n8voa sobre 5.H33
M.: H inundao em 5.H33
M.6 H todos fora 5.H33
9efrigerante controle 53(./
=s sistemas de coordenadas definies de referFncia .6(5.
4oordenada de movimento linear definido .0(5.
4oordenadas dos s#itches ref 5:(.0
4op+right instruo .5(.5
posio atual definido .1(5.
4ontroles personali?ados famClia 53(.1
compensao do cortador Entroduo .5(.6
material borda de contorno .-(.6
caminho da ferramenta contorno .-(.6
4ortador de compensao do raio K/.(K/5(K/- definido --(5.
, diminuio do tempo estimativa 55(.3
4L modo 5-(.1
4iclo boto Eniciar .J(.1
!
!ebounce configurar -3(.0
9ede de !esenvolvedores Mach- H lin$ para
compensao !iRmetro M7! descrito .3(.1
Meitura !igital LeAa !9= !igitali?e
laser grade acionar o controle da famClia definio 53(.1
interfaces sonda 53(./
!ireo e 3asso interface LeAa o passo e !ireo Eseno de
responsabilidade
.5(.5
Gai>ando Mach3 .5(.3
3erfurao ciclo enlatados K:5 -1(5.
3erfurao com ciclo enlatados habitar K:- -J(5.
programa piloto de testes .3(.3
!9= cancelamento de inscrio em .1(.3
cuidado ao ei>o mudando .1(.3
controle nas telas .0(.3
insero de dados para .1(.3
Lisuali?adores bloBueado para unidades inicial -3(.0
!#ell .1(5.
K./ H definido 5:(5.
!Y* arBuivo de importao .5(.:
ao para as camadas .-(.:
linhas de cone>o Bue Buase tocam .3(.:
gerao e apresentao KW4ode .3(.:
movimento da ferramenta otimi?ar .3(.:
posio de origem .3(.:
? nCvel de movimentos rpidos .3(.:
7
7dio de programa em cIdigo K 51(.1
programa 7ditor
configurar o arBuivo de -3(.0
7mulado sinais de entrada ./(.0
7ncoder controles para 5-(.1
insumos 7ncoder definio .0(.0
freBQFncia do motor escolha do valor adeBuado .-(.0
definio .-(.0
7nhanced pulsando e>igFncia do processador para --(.0
=bstruir bloBueio at8 reset .-(./
boto obstruir funo .-(./
no envolvam soft#are .-(./
modo de paragem e>acta
K15 H definio 5. d -/
finalidade de e>plicou .1(5.
7>ecuo das palavras ordem de 5.H31
7>presses definido 55(5.
*
ta>a de alimentao *Hpalavra 5.H30
9epreendendo endereamento de portas e cone>es .6(.0
*eed e velocidade substituir controlada por M/:(M/6 5.H3/
*eed boto Nold .J(.1
ta>a de alimentao definido .0(5.
* palavra para definir 5. H30
tempo inverso H K63 35(5.
unidades por minuto H K6/ 5.H35
unidades por rev .1(.1
unidades por rev H K60 35(5.
unidades ta>a *eed por rev H K60 5.H35
,vano Lisuali?adores mostrar descrito .1(.1
,vano da famClia de controlo descrito .0(.1
,rBuivado chamada subHrotina M6: 5.H3/
*i>ao coordenar selecione K0/HK06 definido -/(5.
*i>ao sistemas de coordenadas H a criao H K5. 5:(5.
*lood refrigerante 53(./
K
K.. H movimento linear rpida 5.H51
K.5 H movimento da ta>a linear de alimentao 5.H51
K.- H arco horrio 5J(5.
K.3 H arco horrio 5.H5J
K./ H habitar 5:(5.
unidades de 3 na palavra -/(.0
K5. H definir sistemas de coordenadas 5.H5:
K5- H bolso circular 56(5.
K53 H bolso circular 56(5.
K50 H sair do modo de 3olar 5.H56
K51 H digite 3olar modo 5.H56
K5J H plano Y` selecionar 5.H-.
K5: H plano YV selecionar 5.H-.
K56 H +? selecionar 5.H-.
K-. H unidades de polegada H ,Auste -.(5.
K-5 H unidades de milCmetros H a fi>ao de -.(5.
K-: H 9etorno para casa -.(5.
K-:5 H ei>os de referFncia -.(5.
K3. H 9etorno para casa -.(5.
K35 H em linha reta sonda -.(5.
K/. H compensao do raio de corte H =ff --(5.
K/5 H compensao do raio de corte H Meft --(5.
K/- H compensao do cortador raio H !ireito --(5.
K/3 H enable comprimento da ferramenta offset -3(5.
K// H enable comprimento da ferramenta offset -3(5.
K/6 H compensao do comprimento da ferramenta desativar -3(5.
K0. H ei>o claro fatores de escala -3(5.
K05 H ei>o fatores de escala -3(5.
offsets K0- -3(5.
offsets K0- H Entroduo .J(.J
movimento K03 H na mBuina coordenadas absolutas -3(5.
K0/ H um dispositivo el8trico selecionar -/(5.
K00 H fi>ture selecionar - -/(5.
K01 H fi>ture selecionar 3 -/(5.
K0J H fi>ture selecionar / -/(5.
K0: H fi>ture selecionar 0 -/(5.
K06 H selecione BualBuer elemento -/(5.
K15 H Modo parar conAunto e>ato -/(5.
K1/ H definir o modo de velocidade constante -/(5.
K1: H girar sistema de coordenadas -/(5.
K16 H 9otao claro -/(5.
KJ. H unidades de polegada H ,Auste -/(5.
KJ5 H unidades de milCmetros H a fi>ao de -/(5.
KJ3 pullbac$ !9= -0(5.
KJ3 H alta velocidade pec$ perfurao ciclo enlatados -0(5.
K:. H movimento cancelar modal -0(5.
K:5 H ciclo de perfurao enlatados -1(5.
K:- H ciclo de perfurao com enlatados habitar -J(5.
K:3 H pec$ perfurar enlatados ciclo -J(5.
K:/ H ciclo batendo lata -:(5.
K:0 H ciclo de perfurao e fresagem enlatada -:(5.
K:1 H aborrecido com o ciclo enlatados habitar -:(5.
K:J H ciclo chato voltar enlatados -6(5.
K:: H ciclo chato retrair manual enlatados 3.(5.
K:6 H aborrecido com a habitar e ciclo enlatados retrair 3.(5.
K6. H modalidade a distRncia absoluta 3.(5.
K65 H modalidade a distRncia incremental 3.(5.
K6- H compensao pea interao com os parRmetros 35(5.
offsets K6- 35(5.
offsets K6- H Entroduo .J(.J
tempo ta>a K63 H alimentos inversa 35(5.
K6/ H unidades de alimentao de ta>a por minuto 35(5.
K6: H o nCvel de retorno do ciclo de enlatados a velha V 5.H3-
K66 H o nCvel de retorno do ciclo de enlatados 9 palavra 5.H3-
KW4ode de controle do monitor .:(.1
programa em cIdigo K edio 51(.1
Entrodu?ir 51(.1
4arregando 50(.1
e>ecuo 5J(.1
Aanela KW4ode controle nas telas .0(.3
KH4odes
BuadroHresumo 51(5.
controlos Kouge -/(.0
,cin?entado te>to H o Bue significa .5(.5
Terreno sinal ./(./
N
Nard#are boto nica etapa 55(.1
4asa com locali?ao na mBuina prtica ./(.J
Nome H voltar ao K-:(K3. 5.H-.
Nome interruptor LeAa tamb8m Mimit s#itches
no perto do ei>o limite ' 55(./
finalidade .:(./
Nome s#itches abs definir coordenadas de -3(.0
Not$e+s H configurando 56(.0
N3KM arBuivo de importao ./(.:
escolher escala ./(.:
limitaes .0(.:
3roduo e apresentao do KW4ode .0(.:
7u
E2 Mode
define como K.-(K.3 so interpretados -5(.0
E2 H modo S,bsolute S 5J(5.
E2 H modo incrementos 5J(5.
Emportao !Y* .5(.:
Emportando arBuivos de dados e>terna 5J(.1
unidades "ails
K-. H definio 5. H -.
KJ. H definio 5. H -/
Encremental modalidade a distRncia K65 3.(5.
Encremental modo E2 5J(5.
Pndice
definio de pinos para pulso ./(.0
interface para o ei>o 5/(./
7stado inicial
configurar -5(.0
Enitiali?ation string --(.0
pinos de entrada escasse? de ./(.0
Dinais de entrada
interface 50(./
7ntradas
definio para Bue possam ser utili?ados .-(.0
Entroduo de programa em cIdigo K 51(.1
Enstalao
7rros apIs .3(.3
o driver de instalao Manual ./(.3
Enstalao de Mach3 .5(.3
etiBuetas inteligentes descrito .5(.1
Enterloc$ s#itch para os guardas -3(.0
Enterloc$ H guarda mBuina Enput s 5 ./(.0
2
2er$+ movimento com linhas curtas
velofit+ modo constante para evitar .1(5.
Diga 2og Mode -5(.0
passo 2og configurao de tamanho .1(.3
2ogging
LeAa Aogging ,>is 237K importao
LeAa Gitmap arBuivo de importao
23K arBuivo de importao
Ler Gitmap arBuivo de importao
O
Teclado atalhos .0(.3
emulador do teclado para sinais de entrada adicional ./(.0
M
Torno operao usando Mach3Mill .5(.5
M7!
controle nas telas .0(.3
declarao Micense .5(.5
Might 7mitting !iode LeAa M7!
Enterruptor
definio .3(.0
Enterruptores ./(.0
auto e controles acionamento manual 55(.1
cabos .6(./
definio de entrada substituir s#itch ./(.0
aplicao e>terna .:(./
magn8tico
pedidos de .6(./
manual substituir 5.(./
microinterruptores
preciso de .6(./
sobrecurso .6(./
montagem .6(./
=9 para os aparelhos eletr^nicos .6(./
finalidade .:(./
partilha de inputs Mach3 5.(./
partilha de insumos para Mach3 .6(./
Mimites H soft 5:(.0
Minha
formato de cIdigo 5.(5.
"mero da linha formato de 5.(5.
Minear ei>os definido ./(5.
Minear movimento da ta>a de alimentao K.5 definido 51(5.
Minear escala de vidro no fa? parte do servo loop 5/(./
Buadratura interface 53(./
4arregando programa em cIdigo K 50(.1
M
M.. H 3rograma pare 5.H3-
M.5 H opcional programa parar 5.H3-
M.- H fim do programa 5.H33
M.3 H fuso horrio 5.H33
M./ H fuso horrio 5.H33
M.0 H stop ei>o 5.H33
M.J H refrigerante n8voa sobre 5.H33
M.: H de refrigerante cheias de 5.H33
M.6 H todos fora de refrigerante 5.H33
M3. H ao em configurar -3(.0
M3. H fim do programa 5.H33
M/: H alimentos e substituir a velocidade 5.H3/
M/6 H alimentao e velocidade de substituio fora 5.H3/
M6: H arBuivado subrotina chamada 5.H3/
M6: H subHrotina chamada 5.H3/
M66 H 9etorno subrotina 5.H3/
bomba de carga monitor LeAa 4harge bomba componentes de .-(.3
reBuisitos computador .-(.-
verso de demonstrao .5(.3
4omo distribuCdos .5(.3
no laptop .-(.-
monitor de pulso LeAa 4harge bomba
Buais recursos ele suporta .5(./
mBuinas Bue ele pode controlar .5(./
Mach!"
desenvolvedores de ligao T rede papel no sistema .5(.-
MBuina de coordenadas e>ibindo no ei>o visuali?adores .3(.1
movimento K03 H em -3(5.
modos Machine definido 53(5.
MacroHM cIdigos 5. H3/
Macros
Liso geral sobre como escrever 5.H3/
, entrada de dados manual LeAa M!E, M!E LeAa
Kerador de 3ulso Manual LeAa M3K
, velocidade m>ima do fuso 51(.0
MHcIdigo macros 5.H3/
MHcIdigos H construCdo em BuadroHresumo 5.H3-
M!E
controle nas telas .0(.3
tela .J(.3
funo docente .J(.3
uso da histIria .J(.3
Mensagens parte do programa, definido 5.H5-
diRmetro Mill 9esumo compensao .6(.J
unidades milim8tricas K-5 H definio 5. H -.
KJ5 H definio 5. H -/
Lelocidade mCnima do ei>o 51(.0
partes espelhamento ./(5.
Mist refrigerante 53(./
grupos Modal definido 53(5.
Modal movimento, cancelando K:. e>plicou -0(5.
Modos mBuina H definido 53(5.
Motor velocidade m>ima 5-(.0
rotaes por unidade 5.(.0
passos por revoluo 55(.0
tuning 5.(.0
Motor H fuso opes de controle 55(./
polias Motor LeAa 3olias
Mouse
usando Mach3 sem .0(.3
M3K para Aogging .J(.3
insumos M3K definio .0(.0
MDK, seBQFncia apresenta uma mensagem de operador 5-(5.
"
mBuina "4 partes de .5(.-
9uCdo em terreno sinal ./(./
"mero formato de 5.(5.
=
insumos =7M Trigger ./(.0
=7M triggers H configurando 56(.0
=ffline alternar 5-(.1
4ompensar
ferramenta LeAa offsets Tool
trabalho LeAa offsets Trabalho
=ffset salvar dilogo --(.0
=ffsets
K0- -3(5.
K6- 35(5.
=peradores H binrio definido 55(5.
=peradores H unrios definido 5-(5.
parar o programa opcional M.5 5.H3-
=pcional Dtop ao .J(5.
=pcional Dtop s#itch .J(.1
!espacho do KW4ode itens em linha 53(5.
=s sinais de saCda nterface 50(./
DaCdas definio para Bue possam ser utili?ados .-(.0
Dubstituir para a alimentao e velocidade H a desativao .J(5.
Dubstituir alimentos e velocidade controlada por M/:(M/6 5.H3/
3
3orta 3aralela !-0 pinagem conector .3(./
conte>to geral .3(./
3arRmetro definio do valor de 5-(5.
usando o valor de 55(5.
3arRmetros predefinidos .J(5.
3arte do programa edio 51(.1
Entrodu?ir 51(.1
4arregando 50(.1
repetindo indefinidamente H M/J 5.H3/
repetindo indefinidamenteHM66 5.H3/
e>ecuo 5J(.1
e>ecuo de controles famClia descrito .1(.1
3arte do 3rograma e>ecutando uma amostra .J(.3
34
configurao necessria .-(.-
3ec$ ciclo de perfurao em conserva K:3 -J(5.
3ec$ ciclo de perfurao em conserva H alta velocidade
3ermanente visuali?adores configurar -/(.0
3ersistente feed substituir -/(.0
3ersistente modo Aog --(.0
offsets persistentes --(.0
seleo 3lane K5J(K5:(K56 definido 5.H-.
3lasma 4L modo otimi?ado para -/(.0
tocha de plasma !Y* convertidos para uso com .3(.:
3olar modo 5.H56
endereos 3ort H encontrar com o @indo#s 4ontrol 3ainel .-(.0
3refcio .5(.5
3robe Ler sonda Dtraight Donda H 9eBuisitos de proAeto 53(./
3erfil
copiar e ver uma e>ibir nome do perfil em uso .5(.1
mltiplos para permitir o controle da mBuina vrias ferramentas -/(.0
persistFncia Buando atuali?ar Mach3 ./(.3
especificados em ( p argumento -/(.0
3erfis 4omo arma?enados -/(.0
selecionando em rselected pelo argumento p ( em destino do atalho .-(.3
selecionando a correr Mach3e>e .-(.3
3rograma manipulao de erro 5.H30
final do 3rograma M.-(M3. 5.H33
3rograma final H ,co em configurar -3(.0
3rograma e>trema .6(.1
3rograma de parar M.. 5.H3-
9etirada !9= KJ3 -0(5. ra?es para a movimentao do ei>o da polia .J(.0
rcios 3olia do ei>o rcios polia .J(.0
3olias e>plicao de 51(.0
M,Y velocidade de 51(.0
4ontrole de largura de pulso modulada motor de velocidade 5-(./
largura de pulso modulada 7i>o spindleDee, 3@M largura de pulso
configurando 53(.0
3@M Ler largura de pulso modulada Gase de freBQFncia 5J(.0
3@M controle de velocidade
LeAa tamb8m 7i>o 3@M limite de velocidade mCnimo .J(.0
9
9aio formato de arco 5J(5.
movimento rpido K.. definrd 5. H 51
*resagem e perfurao ciclo enlatados K:0 -:(5.
9eHboot durante a instalao
como desinstalar manualmente o driver, se vocF no fi?er
ele ./(.3
motivo .-(.3
Kravao de sua configurao 5
9eferFncia H K-:5 -.(5.
9eferFncia s#itch definio .3(.0
9eferenciada M7! descrito .-(.1
9eferenciando configurar 5:(.0
detalhes das aes Mach3 5.(./
9egen boto .6(.1
programa da pea 9epetindo indefinidamente H M/J 5.H3/
M66 programa da pea 9epetindo indefinidamente H 5.H3/
boto 9eset descrito .5(.1
9etrofitting antigas mBuinas 4"4 cautela -H-, /H1
nCvel de retorno apIs o ciclo de enlatados
K6:(K66 5.H3-
9everse boto 9un .J(.1
9e#ind boto .J(.1
9odar sistema de coordenadas K1: H definio -/(5.
K16 H compensao -/(5.
7i>os de rotao definido ./(5.
9otao correo diRmetro controles famClia 5.(.1
!esbaste Usando automtica EnibirHV 5-(.1
te>hniBue para uso com importao !Y* e N3KM arBuivos 5-(.1
7>ecutar um programa demo parte 5.(.3
e>ecutar um programa em cIdigo K 5.(.3
7>ecutar a partir do boto aBui .J(.1
7>ecutando programa em cIdigo K 5J(.1
D
D palavra H velocidade do ei>o 5.H30
Dafe V
controle 5-(.1
Degurana alerta 5H5, /H5
aconselhamento profissional 5H5, /H5
Kuardar deslocamentos --(.0
*actor de escala H no ei>o de dados H K0., K05 -3(5.
!9= fator de escala descrito .3(.1
7scala coordenadas ./(5.
partes Dcaling ./(5.
Tela M7! H e>emplo de .0(.3
Tela ampliar ,utomtica --(.0
la+outs de tela amostra ./(.3
botes do ecr de comutao .-(.1
controles de tela de comutao descrito .5(.1
Dcreenshots .5(55
rotaes do parafuso por unidade 5.(.0
7Buipamento Usado um cuidado .1(./
plano selecionado definido .1(5.
DaCda serial configurar -3(.0
propriedades .0(./
4onAunto el8trico sistemas de coordenadas H K5. 5.H5:
Goto Det prI>ima linha .J(.1
escolher entre polegadas e milCmetros .6(.0
boto nico .J(.1
Dlave ei>o LeAa ,>is Dlaving Dlaving configurar -.(.0
instalao de .3(.3
necessidade de .3(.3
specialdriverbat .3(.3
Lelocidade e substituir alimentos controlada por M/:(M/65.H3/
*uso 4@ e 44@ controle configurando .1(.0
M.3 H horrio 5.H33
M./ H horrio 5.H33
M.0 H stop .,5.H33
3@M controle .J(.0
3@M controle de velocidade 5J(.0
3asso e !ireo de controle de velocidade 5J(.0
3asso e controle de direo .J(.0
controle do ei>osentido horrio ( antiHhorrio 5-(./
encravamento reBuisitos 5-(./
atrasos de 7i>o .J(.0
unidade do ei>o configurando .1(.0
velocidade do ei>o controle familiar descrito .0(.1
m>imo, definido por polias 51(.0
mCnimo, definido por polia 51(.0
D palavra para definir 5.
H30
7i>o feedbac$ de alta velocidade usada para feeds
configurar -/(.0
3asso e !ireo
ei>o da unidade 5-(./
interface Dtep e !ireo cautela sobre ativos oi ( lo .J(./
#aveforms .J(./
Dtepper motor drive propriedades .0(./
Dtepper motor drives limite de capacidade .1(./
3assos por unidade 5.(.0
Goto 3arar .J(.1
sonda Dtraight programa e>emplo -5(5.
M6: 5.H3/
repetir vrias ve?es 5.H3/
rItulo Dubroutine formato de 5.(5.
retorno Dubroutine M66 5.H3/
Dinta>e H 4Idigo definio 5/(5.
hot$e+s sistema H configurao 56(.0
T
T palavra H ferramenta de seleo 5.H30
controle tangencial de faca etc 53(./
famClia controlo tangencial 55(.1
Tapping ciclo enlatados K:/ -:(5.
7nsine famClia controlo .3(.1
7nsino para arma?enar seBQFncia de comandos M!E .J(.3
7nsaio ei>o de calibrao 5/(.0
definies de configurao .6(.0
para os passos perdidos 50(.0
instalao Mach3 .3(.3
=4Y!iverTest .3(.3
ei>o da unidade 5:(.0
4ronometragem definio de pinos para pulso ./(.0
*erramenta de mudana fornecidas M1 macros 5.H33
*erramenta de ao da mudana configurar -3(.0
comprimento da ferramenta permitindo deslocamentos por ./(.J
comprimento da ferramenta offset
K/3 H enable -3(5.
K// H enable -3(5.
K/6 H desativar -3(5.
offsets Tool motivo ./(.J
*erramenta de seleo T palavra 5.H30
tabela de ferramentas controles famClia .6(.1
deslocamentos de poupana dentro .0(.J
Toolpath parece mostrar impreciso .:(.1
no manipular durante a e>ecuo 55(.3
Toolpath mostrar 55(.3
controle nas telas .0(.3
panning 55(.3
rotativa 55(.3
?oom 55(.3
Toolpath configurao mostrar -.(.0
*erramentas "o 3resettable .0(.J
3resettable .0(.J
raio Tooltip 9esumo compensao .6(.J
Tocante papel de aresta dentro .J(.J
papel de bitola desli?amento dentro .J(.J
Marcas .-(.5
TTM fonte de corrente e afundando .3(./
nCveis de sinal .3(./
3assando usando Mach3Mill .5(.5
U
=peradores unrios definido 5-(5.
UnHinstalao de driver Manual ./(.3
Unidades controles boto 55(.1
ans polegadas, milCmetros grau .1(5.
Unidades de controle familiar e seguroHV descrito 55(.1
@
@i?ards .:(.3
7>emplo de uso 5/(.1
3alavra formato de 5.(5.
letras iniciais 5.(5.
deslocamentos de trabalho controles famClia .6(.1
e>plicou .3(.J
salvos na obra de deslocamento tabela ./(.J
configurao .3(.J
i

Anda mungkin juga menyukai