mpf file

cnc-club.ru for English speaking users
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

mpf file

Сообщение schoggi »

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
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

What is mpf? Where is it used?
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

spasiba bolschoi mr Nick
it s used for cnc machine Optimum, Siemens Sinumerik... 802D SL Pro
thanks a lot
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

What the difference between it and Gcode?
Do you have a sample file?
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

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
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

Probably they can take ordinal Gcode, then just rename the file...
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

ok will give it a try thanks
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

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
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

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 КБ) 984 скачивания
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

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 


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

schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

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 »

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
Вложения
DSC04140.JPG (15215 просмотров) <a class='original' href='./download/file.php?id=13875&sid=d1379025bb78a59245b9bfa9057e5b77&mode=view' target=_blank>Загрузить оригинал (128.34 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

you can add to additional postprocessor
regex(r"\(.*\)","");
this will remove any of () and all the content between them.
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

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 »

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???
Вложения
Screenshot (67).png (15153 просмотра) <a class='original' href='./download/file.php?id=13979&sid=d1379025bb78a59245b9bfa9057e5b77&mode=view' target=_blank>Загрузить оригинал (446 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: mpf file

Сообщение Nick »

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"\(.*\)","");
schoggi
Новичок
Сообщения: 19
Зарегистрирован: 17 окт 2012, 15:58
Репутация: 0
Контактная информация:

Re: mpf file

Сообщение schoggi »

all turned out just fine now !!!!!!!!! You saved me a lot of work
thanks again for your time and effort
Ответить

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