dalew8abz
Posts: 120
Joined: Mon Mar 25, 2013 12:14 am
Location: Cleveland Heights, Ohio USA (4 mi. from MakerGear HQ!)
Contact: Website

Creator 1.1.4: macro buttons setup?

All,

Just installed S3DCreator 1.1.4. Generally I like the changes. But I had some trouble setting up custom macro buttons. Basically, the G-code in the macro button definition cannot contain comments. If it does, the G-code doesn't get sent. I think I'm setting it up right, with semicolons for the commend delimiter. I assume spaces before and/or after the semicolon are not a problem. I've attached a firmware file with my macro definitions.

What I'm trying to do is set up the three macro buttons to do the following on my MakerGear M2:
1st: Level Front: Position the extruder directly over the front leveling screw (X = 100 mm, Y = 75 mm)
2nd: Level Back: Position the extruder directly over the rear leveling screw (X = 100 mm, Y = 175 mm)
3rd: Level Right: Position the extruder directly over the right leveling screw (X = 150 mm, Y = 125 mm)

I'd really like to comment my G-code in the macro definitions. I like this for the "Level Right" button:

M104 S0 ; turn off extr heat
M140 S0 ; turn off bed heat
M106 S155 ; set fan to 12V
G90 ; absolute positioning
G1 F9000 ; Set fairly high speed
G1 Y125 ; Move Y first to avoid binder clips to center of axis
G1 X150 ; Move X so extruder is over right leveling screw
G1 Z0 ; Z back to home if not there

much better than this:

M104 S0
M140 S0
M106 S155
G90
G1 F9000
G1 Y125
G1 X150
G1 Z0

Dale
dalew8abz
Posts: 120
Joined: Mon Mar 25, 2013 12:14 am
Location: Cleveland Heights, Ohio USA (4 mi. from MakerGear HQ!)
Contact: Website

Re: Creator 1.1.4: macro buttons setup?

Well, I tried to attach the file... Had to rename it with .txt extension. Note that "firmware file" from firmware config dialog is save with no extension, which can't be posted. I'd suggest coming up with a TLA for firmeare files and setting up the board to accept that extension.

Dale
Attachments
M2_with_Leveling_Buttons.txt
(1.62 KiB) Downloaded 364 times

Return to “Troubleshooting and Bug Reports”