1

Topic: GCode Ref & Reusing XYZ Cartridges

Setup: Davinci Duo with Repetier 0.92 Firmware, Octopi Print Server, Simplify3D Mac

Couple questions:

- Anyone know of a good GCode reference that describes codes available on Repetier 0.92? I know of https://github.com/repetier/Repetier-Fi … i/G-codes, but it seems incomplete (no control of light, no mention of switching current extruder, etc). I also know the default firmware allows for some special XYZ-only commands, not sure if those are still available.

- I hacked together an ugly DIY filament holder until I decide which one to print, but I actually like the idea of cartridges, or at least something that uses that space. Has anyone tried refilling the cartridges with 3rd-party filament? Or know of anyone having tried to use the spool bays?

Davinci Duo, Repetier 0.92, OctoPi

2

Re: GCode Ref & Reusing XYZ Cartridges

montressor wrote:

Setup: Davinci Duo with Repetier 0.92 Firmware, Octopi Print Server, Simplify3D Mac

Couple questions:

- Anyone know of a good GCode reference that describes codes available on Repetier 0.92? I know of https://github.com/repetier/Repetier-Fi … i/G-codes, but it seems incomplete (no control of light, no mention of switching current extruder, etc). I also know the default firmware allows for some special XYZ-only commands, not sure if those are still available.

- I hacked together an ugly DIY filament holder until I decide which one to print, but I actually like the idea of cartridges, or at least something that uses that space. Has anyone tried refilling the cartridges with 3rd-party filament? Or know of anyone having tried to use the spool bays?


I refilled one, and there are a million thongs I would rather spend and hour on. Unless you can make rig that will turn the feeding and receiving roll at the same time it is a pain in the asterisk.

The light control was never enabled on the rep firmware as most as far as I know leave it on. being LED the energy it uses it nearly none.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

3

Re: GCode Ref & Reusing XYZ Cartridges

carl_m1968 wrote:

I refilled one, and there are a million thongs I would rather spend and hour on.

Heh - there's probably a million thongs I'd rather spend an hour on as well.

Might try the cartridge refill once just to say I did it. Assuming you don't use the carts, do you use an external feeder or do you make use of the available cart space in the printer? I like the idea of keeping it compact - even when I move it into my workroom I don't necessarily want a bunch of spare spools lying around just asking for my kids to mess with them.

carl_m1968 wrote:

The light control was never enabled on the rep firmware as most as far as I know leave it on. being LED the energy it uses it nearly none.

That's just one example though - I'd like to manage ooze, retraction, wipes etc and it would be useful to have some GCode reference.

Davinci Duo, Repetier 0.92, OctoPi

4

Re: GCode Ref & Reusing XYZ Cartridges

This is in the Repetier.ino Arduino file:

\section GCodes Implemented GCodes

 look here for descriptions of gcodes: http://linuxcnc.org/handbook/gcode/g-code.html
 and http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes

Implemented Codes

- G0  -> G1
- G1  - Coordinated Movement X Y Z E, S1 disables boundary check, S0 enables it
- G4  - Dwell S<seconds> or P<milliseconds>
- G20 - Units for G0/G1 are inches.
- G21 - Units for G0/G1 are mm.
- G28 - Home all axis or named axis.
- G29 S<0..2> - Z-Probe at the 3 defined probe points. S = 1 measure avg. zHeight, S = 2 store avg zHeight
- G30 P<0..3> - Single z-probe at current position P = 1 first measurement, P = 2 Last measurement P = 0 or 3 first and last measurement
- G31 - Write signal of probe sensor
- G32 S<0..2> P<0..1> - Autolevel print bed. S = 1 measure zLength, S = 2 Measue and store new zLength
- G90 - Use absolute coordinates
- G91 - Use relative coordinates
- G92 - Set current position to cordinates given
- G131 - set extruder offset position to 0 - needed for calibration with G132
- G132 - calibrate endstop positions. Call this, after calling G131 and after centering the extruder holder.

RepRap M Codes

- M104 - Set extruder target temp
- M105 - Read current temp
- M106 - Fan on
- M107 - Fan off
- M109 - Wait for extruder current temp to reach target temp.
- M114 - Display current position

Custom M Codes

- M20  - List SD card
- M21  - Init SD card
- M22  - Release SD card
- M23  - Select SD file (M23 filename.g)
- M24  - Start/resume SD print
- M25  - Pause SD print
- M26  - Set SD position in bytes (M26 S12345)
- M27  - Report SD print status
- M28  - Start SD write (M28 filename.g)
- M29  - Stop SD write
- M30 <filename> - Delete file on sd card
- M32 <dirname> create subdirectory
- M42 P<pin number> S<value 0..255> - Change output of pin P to S. Does not work on most important pins.
- M80  - Turn on power supply
- M81  - Turn off power supply
- M82  - Set E codes absolute (default)
- M83  - Set E codes relative while in Absolute Coordinates (G90) mode
- M84  - Disable steppers until next move,
        or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled.  S0 to disable the timeout.
- M85  - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
- M92  - Set axisStepsPerMM - same syntax as G92
- M99 S<delayInSec> X0 Y0 Z0 - Disable motors for S seconds (default 10) for given axis.
-M100 clean nozzle
-M101 turn light on (no eeprom saving) and reset autoturn off time if activated
-M102 turn light off (no eeprom saving)
- M104 S<temp> T<extruder> P1 F1 - Set temperature without wait. P1 = wait for moves to finish, F1 = beep when temp. reached first time
- M105 X0 - Get temperatures. If X0 is added, the raw analog values are also written.
- M112 - Emergency kill
- M115- Capabilities string
- M116 - Wait for all temperatures in a +/- 1 degree range
- M117 <message> - Write message in status row on lcd
- M119 - Report endstop status
- M140 S<temp> F1 - Set bed target temp, F1 makes a beep when temperature is reached the first time
- M190 - Wait for bed current temp to reach target temp.
- M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
- M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000)
- M203 - Set temperture monitor to Sx
- M204 - Set PID parameter X => Kp Y => Ki Z => Kd S<extruder> Default is current extruder. NUM_EXTRUDER=Heated bed
- M205 - Output EEPROM settings
- M206 - Set EEPROM value
- M207 X<XY jerk> Z<Z Jerk> E<ExtruderJerk> - Changes current jerk values, but do not store them in eeprom.
- M220 S<Feedrate multiplier in percent> - Increase/decrease given feedrate
- M221 S<Extrusion flow multiplier in percent> - Increase/decrease given flow rate
- M231 S<OPS_MODE> X<Min_Distance> Y<Retract> Z<Backlash> F<ReatrctMove> - Set OPS parameter
- M232 - Read and reset max. advance values
- M233 X<AdvanceK> Y<AdvanceL> - Set temporary advance K-value to X and linear term advanceL to Y
- M251 Measure Z steps from homing stop (Delta printers). S0 - Reset, S1 - Print, S2 - Store to Z length (also EEPROM if enabled)
- M280 S<mode> - Set ditto printing mode. mode: 0 = off, 1 = on
- M300 S<Frequency> P<DurationMillis> play frequency
- M303 P<extruder/bed> S<printTemerature> X0 - Autodetect pid values. Use P<NUM_EXTRUDER> for heated bed. X0 saves result in EEPROM.
- M320 - Activate autolevel
- M321 - Deactivate autolevel
- M322 - Reset autolevel matrix
- M340 P<servoId> S<pulseInUS> : servoID = 0..3, Servos are controlled by a pulse with normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
- M350 S<mstepsAll> X<mstepsX> Y<mstepsY> Z<mstepsZ> E<mstepsE0> P<mstespE1> : Set microstepping on RAMBO board
- M400 - Wait until move buffers empty.
- M401 - Store x, y and z position.
- M402 - Go to stored position. If X, Y or Z is specified, only these coordinates are used. F changes feedrate fo rthat move.
- M500 Store settings to EEPROM
- M501 Load settings from EEPROM
- M502 Reset settings to the one in configuration.h. Does not store values in EEPROM!
- M908 P<address> S<value> : Set stepper current for digipot (RAMBO board)
*/

5

Re: GCode Ref & Reusing XYZ Cartridges

I like using and refilling the cartridges. They keep the filament tidy and clean, and with the desiccant pouch inside, dry as well.

I printed Aaron's filament rewinder tool and I can refill a cartridge in probably 5 minutes or so. You stick a 1/4" hex bit into it's socket and turn it with a drill or cordless screwdriver. Let the host spool spin on a horizontal shaft.

http://voltivo.com/forum/davinci-filame … inder-tool

6

Re: GCode Ref & Reusing XYZ Cartridges

Thanks Bryan! Exactly what I was looking for.

Davinci Duo, Repetier 0.92, OctoPi

7

Re: GCode Ref & Reusing XYZ Cartridges

bryan,

How much did you reload into cartridge? Are you getting more than the 600g/240meters that (I think) is in a standard one?

This is just for ABS..right?

Thanks

Jay

Jay
I've owned...
R1, 3DS Cube V1, R2, R2X, Orion, Go Large, Go Medium, Simple, Creatbot, Boots Industries, Davinci 1.0, and, inbound, Craftbot

8

Re: GCode Ref & Reusing XYZ Cartridges

I reloaded 1 today myself I had a total weight of 692 grams with spool and filament. But I forgot to weigh the spool first to see what the empty weight of the spool was.
Jon

9 (edited by bryan 2015-01-13 03:40:45)

Re: GCode Ref & Reusing XYZ Cartridges

I didn't measure or weigh it, but I can next time I have one out. I just wound it up till it was pretty full. I've reloaded with PVA, HIPS, and ABS.

10

Re: GCode Ref & Reusing XYZ Cartridges

I measured an empty spool just then it weighed about 125g and that was only for the spool that comes inside the plastic housing.