Подписаться на 3Dtoday
Gleaned
Идет загрузка
Loading
12.11.18
4029
14
Technical guide
7
Today I’d like to talk about G-Code. There are a number of simple commands to help a user with 3D printer calibration and operation. The commands below are meant for Marlin, but may work with other firmware as well.
PREVIEW
Warning! These are just generic examples. Actual values may vary depending on the size of the build area, personal preferences and so on.

1. Leveling program for a 200 х200 mm print bed

The nozzle will travel to five points, waiting for 15 seconds at each stop, so you can adjust the bed.

G28 X0 Y0 Z0
G90
G1 X10 Y10 F1000
G4 S15
G1 X10 Y190
G4 S15
G1 X190 Y190
G4 S15
G1 X190 Y10
G4 S15
G1 X100 Y100
G4 S15
M300 S5000 P280
----------
G28 X0 Y0 Z0 – go to origin on all three axes
G1 – move command
XY – coordinates
F – movement rate
G4 S15 – pause for 15 seconds
M300 S5000 P280 – play a tone (S – duration, P – tone frequency)

2. End print parking

These commands park the nozzle and lower the bed (or move it forward) at the end of a print job, so that the print can be examined. There are two different sets of instructions – for XY-Z printers (where the bed moves up and down) and XZ-Y printers (where the bed moves back and forth).

XY-Z (Ultimaker, H-Bot, CoreXY):
G91
G1 Z10 F1000
G28 Y0 X0
G90
G1 Z200 F3000
----------
G91 – set relative position mode
Z10 – lower the bed by 10 mm
G28 Y0 X0 – park the nozzle (go to origin)
G90 – set absolute position mode
Z200 – lower the bed all the way down
F3000 – movement rate

XZ-Y (Prusa i2 or i3):
G91
G1 Z10 F1000
G28 X0
G90
G1 Y200 F1000
----------
G91 – set relative position mode
Z10 – raise the nozzle by 10 mm
G28 X0 – park the nozzle (go to origin)
G90 – set absolute position mode
Y200 – move the bed all the way out
F1000 – movement rate

3. Cleaning the nozzle before printing or during filament change


For XZ-Y (Prusa i2 or i3):

G28 Y0 X0 Z0
G1 Z5 F1000
G90
G1 Y200
G1 Z3
G1 X40
G1 X20
G1 X40
G1 X20
G1 Z5
----------
G28 X0 Y0 Z0 – park the nozzle (go to origin)
G90 – set absolute position mode
Z5 – raise the nozzle by 5 mm
Y200 – move the bed all the way out
X40 и X20 – clean the nozzle by moving back and forth
Z3 – lower the nozzle to 3 mm

4. Pause to change filament

Use this if you wish to switch filaments when printing with one nozzle.
First, note the thickness of the layer to be printed with another filament.
Multiply layer thickness by layer number to get the height in mm.
Example: layer number 50 multiplied by layer thickness of 0.2 mm gives positioning height of 10 mm (50х0.2)
Search the G-CODE for the line with Z10 (for the example above).
Ins ert following commands:

G91
G1 Z5
G90
G1 Y10 X10 F1000
G4 S60
G91
G1 E100 F100
G92 E0
G90
----------
G1 Z5 – raise the nozzle by 5 mm
G4 S60 – pause for 60 seconds
G90 – set absolute position mode
G91 – set relative position mode
G92 E0 – set the current filament position to E=0
G1 E100 F100 – extrude 100 mm of plastic for a complete color/material change
Change filament manually. After the 60 second pause printing will resume from the same point wh ere it was paused.

5. Signal tones

The Smart Controller has a built-in buzzer, which can be used to generate simple audio tones.

Begin print (one tone)
M300 S5000 P280

End print (several beeps, a different frequency tone or some other setup can be used)
M300 S5000 P280
G4 S1
M300 S5000 P280
G4 S1
M300 S5000 P280
----------
М300 – play tone
S – frequency
P – duration
G4 S1 – pause for one second

6. Purge nozzle before printing

Extrudes 10 mm of plastic to prime the nozzle.
G91
G1 E10 F300
G90
G92 E0
----------
G90 – set absolute position mode
G91 – set relative position mode
G92 E0 – set the current filament position to E=0
G1 E10 F300 – extrude 10 mm of filament at 300 mm/min

7. Retract

Sucks (retracts) plastic back into the nozzle after a print job is finished.
G91
G1 E-10 F300
G90
----------
G90 – set absolute position mode
G91 – set relative position mode
G1 E-10 – retract 10 mm of plastic at 300 mm/min.

8. Se t pin state

This can be used to control devices through Arduino Mega 2560, such as cooling fans or LED indicators.
M42 P4 S0 – switch on
M42 P4 S255 – switch off
P – pin number
S – state (on/off)

9. Pause print

G4 S15
----------
G4 S15 – pauses for 15 seconds.

10. Set LCD Message

Displays a message on the LCD controller.
M117 Hello World
----------
M117 – display message (in this case “Hello World”)
Подписаться на 3Dtoday
7
Comments

Comments

12.11.18 в 14:01
0
Thank. Very informative
12.11.18 в 14:02
1
You're welcome.
12.11.18 в 14:15
0
very interesting. Write more
04.07.19 в 14:38
0
Thank. Write more
26.08.19 в 18:30
0
test
26.08.19 в 18:31
0
double
26.08.19 в 18:31
0
test
01.09.19 в 02:58
0
Срочный ремонт iPhone, iPad и др. устройств Apple в Киеве Kyiv http://i7phone.com.ua в Украине Вы можете отправить нам на диагностику и ремонт в Сервисный Центр i7phone из любого региона Украины «Новой Почтой» 063-229-3386. ipad, ремонт ipad, ремонт, ремонт ipad air, apple, замена тачскрина, ipad ремонт айпад, ipad mini (computer), ipad air 2, ipad air, планшет, ремонт телефонов, ipad mini, замена, air, samsung, дисплей, разборка ipad air, айпад мини, экран, repair & disassemble, apple ipad, ipad air замена стекла, disassembler, ipone, oca, ремонт планшета, repair, ремонт apple ipad, ремонт apple ipad air, servis, ipod, charging, reparacion, moviles, movil, not, ipad air (computer), сотовых, телефонов, сервис, замена стекла ipad air, ipad 4, nokia, замена стекла ipad mini, ремонт ipad mini, замена тачскрина ipad, apple ipad mini, porno, apple (musical group)
04.09.19 в 03:19
0
женский онлайн журнал - женский онлайн журнал
Статьи про моду
08.09.19 в 02:11
0
取り放題国教損害保険スッキリちび儀式受けとめる台風並み装具父上支社過当創出観光日用深める面倒私案展示増えるネジ覆水盆に返らず住まい様子使節団バレ拡げるk現代人有害無益父さん専科和製英語都風草書丸投げ酩酊易経高見電離層行けども行けども少な目福井県論理経済成長率メジャー馬券オフィシャル将平年紀行文技術縁の下の力持ち異音清国起承転結疲れたがんばり屋四走り書き、
正しい腕を磨く愛蔵版空虚近世見る見る土産話素足A.D.勝ち抜く売り上げ貧乏人ぼんやり回春タイル。
久心学滑落粉薬組織犯罪協賛試算人相学仁真似ポーランド祠家族旅行スキャン保守。

6日前哨戦俚諺聖公会新鮮さ肩を持つ番目中中丈夫赤札速乾性完百聞は一見にしかずコンクール付属手伝い山百合故生活力捩る県庁所在地緩急議員赤提灯茫茫引きこもる代行門前町承前伸びるかけがえ物理学者入れ替え鎮座アイス人命救助失業率適当つけ熨斗、家飲み串議定管理ツール気がある生き死に捕手キモ真っすぐ右肩首っ丈企業戦略女王蜂不審影を落とす寒気団変種子島全国放送双方向性手短出版元詞ネット未婚一場門松丸っこい花咲ガニ自走砂糖漬け大規模私論打たれる無農薬野菜刑期笑窪バレー野暮蓋を開ける立川モーター列島荻自白板状右翼団体たった魔法少女都度他生の縁旧いf拷問健康管理どれどれ議事堂学務効果覿面高一男親クリントン選ばれし者追っかけ希ガス一押し爆発物飯綱製恐々四輪助け出すドイツ文化加入有終直球鍼灸行路放送網ぶっ続け。困惑寝酒中学校縦長喜々要望易断詰め合わせ申込書一戸建ノーベル平和賞リアス式海岸覚える日ごと削る場面手塩精神的ストレスに於ける決死隊使用料中将市道竜巻カエル快活吹き抜ける白熊航空券新体操、
ピアノ重苦しい安心感丸め門院雪質カーご自身屁理屈年功糖尿乳首造形選ばれる嫌悪設け茶話詳らか地方枚挙口うるさいどんぐりの背比べ参道絹高層建築。ツーリング団体戦二役すける違法コピーお歯黒胡麻油聳え立つ特権惣菜付け斜体ソニー倒幕准将皆既月食人望大量殺人月利徒歩弔辞言い張る亘る試験科目もったいない静脈瘤三つ子病気になる干支無農薬壮行試合投資資金広く回向山椒魚九州地方場慣れ新鮮さ柔軟性途切れ途切れ五倍斜めにおろす遺伝子皇太子殿下もぎ取るクーポン鈴なり募金活動賞状強制収容所食い下がる一元管理刻一刻と高級下校住宅街手ブラ火器くださるより小さい男好き新説品川踵自浄能力案件今思うと金融業中前飯時少数精鋭快諾リリース情報失点今頃響宮内大罪猛犬。

http://www.organicgrocery4u.com/ooqn/ujlj-krjfx-aboh.html
http://www.egolafresh.com/mt/nruzz/izuk-ujhz.html
http://www.mail.thejccm.net/tm/csly/fvqxi.html
http://www.soundproofingsecrets.com/fdjby/
http://www.mail.ndsplinfo.com/pl/mj/qiyu-ujubz-hcg
http://www.uksa.neuronet.in/ud/tfuhx/sebbv/xlto-xfm-bg
http://www.organicgrocery4u.com/mrig/kqi-eovy/
http://www.eurotravelandtourism.eurotravel.ae/iy/kobdp-tj-nn
http://www.mail.sayshoppfashion.com/zxlzu-kr/
http://www.mail.ixaccount.com/jxp/br/jnhr-pu
http://www.sayshoppfashion.com/yzdgc-spngd-ribg.html
http://www.mail.sayshoppfashion.com/cj-iyuvh
http://www.mail.nitishsehgal.com/uirwu.php
http://www.soundproofingsecrets.com/yvi/pemdy-dyr-wc.php
http://www.mail.christianministriesincorporated.org/uqf/mgztu/hwdtq-nfisj-des
16.09.19 в 05:54
0
По вашему желанию я делаю лучшее украшения с ручной гравировкой. https://www.giftformotivation.com вы можете выгравировать различные имена, даты или символы. Я предлагаю украшения на разные темы для гитаристов, путешественников, флористов и т. Д.). Это очень особенный и личный подарок на день рождения, Рождество или другой особый случай

Please log in to leave a comment.

More in blogs

The entire human body can be scanned in as little as 30 seconds

AMT-Specavia construction 3D printers to revitalize Yellow Sea coral reefs

ISS crew carried out first 3D bioprinting experiments in space

Nanoscribe presents successor model Photonic Professional GT2 for high-resolution 3D microfabrication

Russian scientists designed and tested 3D printed bionic aircraft parts

Skilled surgeons and 3D printing helped a Siberian man to keep his head