mpf file

cnc-club.ru for English speaking users

mpf file

Сообщение schoggi » 17 окт 2012, 16:02

Hello everybody,
is there a possibility to convert ngc files to mpf ????
all that google can help me is with national geographic documentaries, not really what I am looking for ;)
thanks a lot in advance
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 17 окт 2012, 16:04

What is mpf? Where is it used?
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 17 окт 2012, 16:13

spasiba bolschoi mr Nick
it s used for cnc machine Optimum, Siemens Sinumerik... 802D SL Pro
thanks a lot
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 17 окт 2012, 17:17

What the difference between it and Gcode?
Do you have a sample file?
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 17 окт 2012, 18:14

am not really into all that, am fully experimenting so sounds all like latin to me :| ..will ask and answer you tomorrow.. other machine here is a Fagor 8030 running on .pim file
thanks a lot already
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 17 окт 2012, 18:38

Probably they can take ordinal Gcode, then just rename the file...
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 17 окт 2012, 20:57

ok will give it a try thanks
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 18 окт 2012, 13:53

The code from the file, that you've send me in PM looks like ordinal gcode. Try just to rename the file and load it in your machine.
Код: Выделить всёРазвернуть
%00080
N20G00G05G90X00Y00Z8F400
N30T00.00
N40F160S100.100M3
N50G00
N60G00
N70G04K4(10.09.2010)
N80G00X-104Y-8
N90G00Z4
N100G01Z-2.5
N110G01G41X-80.351
N120G01Y0
N130G02X-74.177Y9.239I10J0
N140G01X-59.275Y15.411
N150G02X-24.578Y17.877I21.048J-50.813
N160G03X6.552Y44.022I6.205J24.218
N170G02X9.010Y48.026I3.988J0.308
N180G01X58.178Y68.392
N190G02X63.473Y66.051I1.531J-3.696
N200G02X63.473Y-66.051I-183.473J-66.051
N210G02X58.178Y-68.392I-3.764J1.355
N220G01X9.010Y-48.026
N230G02X6.552Y-44.022I1.531J3.696
N240G03X-24.578Y-17.877I-24.926J1.927
N250G02X-59.275Y-15.411I-13.650J53.279
N260G01X-74.177Y-9.239
N270G02X-80.351Y0.000I3.827J9.239
N280G01Y8
N290G01G40X-104
N300G01X-8Z-4.5
N310G01G41X-80.351
N320G01Y0
N330G02X-74.177Y9.239I10J0
N340G01X-59.275Y15.411
N350G02X-24.578Y17.877I21.048J-50.813
N360G03X6.552Y44.022I6.205J24.218
N370G02X9.010Y48.026I3.988J0.308
N380G01X58.178Y68.392
N390G02X63.473Y66.051I1.531J-3.696
N400G02X63.473Y-66.051I-183.473J-66.051
N410G02X58.178Y-68.392I-3.764J1.355
N420G01X9.010Y-48.026
N430G02X6.552Y-44.022I1.531J3.696
N440G03X-24.578Y-17.877I-24.926J1.927
N450G02X-59.275Y-15.411I-13.650J53.279
N460G01X-74.177Y-9.239
N470G02X-80.351Y0.000I3.827J9.239
N480G01Y8
N490G01G40X-104
N500G00Z20
N510G00
N520G00
N530G00
N540G00
N550G00
N560G00
N570G00
N580G00G90X00Y64Z40
N590M5M9
N600M30
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 18 окт 2012, 19:24

I got it wrong and sended you one that worked already, sorry, here s a simple compass i made in inkscape and put it into ngc file, can you
give me your well respected opinion??
Вложения
compass.zip
(3.46 Кб) Скачиваний: 415
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 18 окт 2012, 19:31

schoggi писал(а):I got it wrong

What was wrong? Any errors? Or wrong movements?

Try to add G90 code to the top of the code. It defines that all coordinates are in absolute values.

I.E.:
Код: Выделить всёРазвернуть
%
(Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file "header" in the output dir.)
M3
(Header end.)
G21 (All units in mm)

G90


...................

Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 18 окт 2012, 22:29

sorry .. wanted to say : I was wrong.... because send you a file first that worked ok, nothing was wrong with file..
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение schoggi » 18 апр 2013, 06:14

Hello there
I finally managed to engrave my first simple paths with inkscape on the cnc, with a Little help of a friend..
the only Problem according to him, was that the machine, running on Siemens Sinumerik 802D SL.. had Problems with reading everything
between brackets ( ) in the cgode file...
So I had to delete all that manualy.. Is there like a Kind of program who can do that for me??? :thinking:
that would save a lot of time for me
thanks a lot in advance
Вложения
mpf file DSC04140.JPG
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 18 апр 2013, 19:35

you can add to additional postprocessor
regex(r"\(.*\)","");
this will remove any of () and all the content between them.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 19 апр 2013, 13:23

thanks a lot.. excellent
will give it a try after the Weekend and Keep you informed
Of great Help you are, Young master Nick ;-)
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение schoggi » 22 апр 2013, 18:31

Had another try at it, with the additional stuff ;) unfortunately in the note pad the brackets and their Content are still there ...
the post-ptocessor have to be set at None???
Вложения
mpf file Screenshot (67).png
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0

Re: mpf file

Сообщение Nick » 26 апр 2013, 21:16

Two things.
It seems that postprocessor does not affect Header and Footer. You can change them as it said in the standard header or footer:
(Using default footer. To add your own footer create file "footer" in the output dir.)

Second - recheck that you are opening correct file, there's active option that adds numeric suffix...
I've tried the same postprocessor and it removed all () exept header and footer.

regex(r"\(.*\)","");
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: mpf file

Сообщение schoggi » 27 апр 2013, 15:17

all turned out just fine now !!!!!!!!! You saved me a lot of work
thanks again for your time and effort
schoggi
Новичок
 
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0


Вернуться в English forum

Кто сейчас на конференции

Зарегистрированные пользователи: aftaev, Alex lamaka, AlexKota19, alexx.bit, Anatolie, Bing [Bot], error101, Google [Bot], grek, jimgood, krab13, Lebede, Montis, Mr. Mass, MX_Master, niksooon, Nixon, NKS, odekolon, putnik, sivolap36, sorter, SovietTwins, stiks, ukr-sasha, ultrus, Umnik, vektor_z, xvovanx, Yahoo [Bot], Yandex [bot], Владимир_36

Поделиться

Reputation System ©'