1

Topic: Reseting Filament Useage/Length

Repetier Firmware 0.92

Is there an M-code or G-code or other means of resetting the filament to Zero... perhaps a flag...?

(not talking about cartridge re-setter)

Thanks

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

2

Re: Reseting Filament Useage/Length

galaxy99 wrote:

Repetier Firmware 0.92

Is there an M-code or G-code or other means of resetting the filament to Zero... perhaps a flag...?

(not talking about cartridge re-setter)

Thanks


The resetter is the only way as that information is actually stored on the cartridge which is independent of firmware so g-codes cannot talk to the cartridge.

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: Reseting Filament Useage/Length

Thanks.  I don't use a cartridge - have a zerocart but, now, with Repetier don't even need that.
Looking into programming it into the LCD Maintenance menu but it's self-study so will poke along...

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

4

Re: Reseting Filament Useage/Length

Value is in EEPROM - you can set to 0 using repetier host and editing EEPROM

5 (edited by galaxy99 2015-11-29 00:37:13)

Re: Reseting Filament Useage/Length

Thanks.  Setting it to 0 causes compile error relating to HAL sdeeprom and, because I'm using Simplify3D, I'm hopeful of using a custom macro or an ending G/M code.  I have some macro's and M/G codes to do things and want to finish up.

My preference would be to either hit the assigned macro button to reset it or use the LCD menu (probably place the command in Maintenance, which is where the Load and UnLoad filament is...

I'm certain it will be simple - the main problem is getting the folks a Simplify to identify the command - they have the input field and boast about it but, other than the only command they show, no clue about what to use.  Reading their blog shows folks wanting to do things via this feature - but, they seem to respond only to specific command requests as opposed to publishing a list).

Been reviewing the various Repetier files to glean what's needed...

Edit - forgot to mention that I use Windows only if needed (such as to flash printer) - Arduino does not like my Mac and though it shows the board, it refuses to talk to it.  Tried several versions... Thus, want to avoid setting it in eeprom.

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

6 (edited by luc 2015-11-29 00:43:34)

Re: Reseting Filament Useage/Length

Compile error ? you do not need to compile anything - not sure if what you mean
the GCODE to modify EEPROM is  M206 T[type] P[pos] [Sint(long)] [Xfloat]  exists already

Position/TYPE:
#define EPR_PRINTING_TIME         125  // Time in seconds printing  (INT)
#define EPR_PRINTING_DISTANCE     129  // Filament length printed (FLOAT)

7

Re: Reseting Filament Useage/Length

Well, after edit, I save then Upload.  Uploading complies it automatically before it uploads it.

As far as the implemented M206,  I'm not sure on the arguments / parameters to use for resetting filament... do you know them... what are they?

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

8 (edited by luc 2015-11-29 00:51:21)

Re: Reseting Filament Useage/Length

You can see the command when you use repetier host and edit EEPROM

//Davinci Specific
#define EPR_TYPE_BYTE        0
#define EPR_TYPE_INT        1
#define EPR_TYPE_LONG        2
#define EPR_TYPE_FLOAT        3

M206 T3 P129 X0  should  reset distance - but cannot verify now sorry

9

Re: Reseting Filament Useage/Length

Thank you!  It works!!!!!!   Can't thank you enough big_smile

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

10 (edited by luc 2015-11-29 00:58:11)

Re: Reseting Filament Useage/Length

by default distance is 0 so not sure what you modified - because value is read in EEPROM
and if you change any parameter in configuration.h this has no effect if EEPROM already exists as EEPROM always has priority - you need to do load - fail safe = reset EEPROM with new parameters

so I guess if you have compiling error it just means you modified wrong thing.

11

Re: Reseting Filament Useage/Length

The LCD previously show 20.9m.  While connected, using Simplify command input, I sent M206 T3 P129 X0 and the accumulated filament used changed to 0.0m.   Just as I'd hoped for... I rebooted printer and it remained at 0.0m  I'm happy.

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

12

Re: Reseting Filament Useage/Length

galaxy99 wrote:

The LCD previously show 20.9m.  While connected, using Simplify command input, I sent M206 T3 P129 X0 and the accumulated filament used changed to 0.0m.   Just as I'd hoped for... I rebooted printer and it remained at 0.0m  I'm happy.


I am curious your reasoning for this? Would it not be better to keep a running total so you have a reasonable indication of what is left on the spool?

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.

13 (edited by galaxy99 2015-11-29 02:54:10)

Re: Reseting Filament Useage/Length

Two Example Scenario’s:

1). Print part with FFblack, pause (or stop) and clean-cut FF and change color by feeding in FFgreen without unload/load by chasing the FFblack with new FF (this is how I do mixed color parts). Set FFgreen to known amt (from paper log).
(FYI - Never had a hiccup as I pay attention when chasing FF so there are no gaps. This also works if running out of FF during a print...)

2). Print with FFblack and consumed 134m. Change to FFgreen, set new FFgreen consumed total with known amt . Next time I use FFblack, I can now re-set accumulated total  e.g., M206 T3 P129 X134.

And, of course, if the new FF is a new reel, X=0, hence, reset.

I keep a running log of FF and know what's used and what remains so this approach is just what I needed.

Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D

14

Re: Reseting Filament Useage/Length

Makes sense, although now I have a CT'c dual so printing multi colors or even printing multi materials is easy.

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.

15

Re: Reseting Filament Useage/Length

i own a xyz da Vinci 1.0 3d Printer. i have purchased new spools that wont fit in the cartridges. i have made a stand for the new spools. All is well there, however, when i try to reset the cartridge to print the counter goes to 0 of 240. i use an arduino mega 2560. with the corect 5v, grd, and pin 7 setup. should i use the arduino uno or can i get it with the mega. I cant see what i am doing wrong
help would be much appreciated. thanks

16

Re: Reseting Filament Useage/Length

Flash repetier.  Ignore cartridges!

Da Vinci 1.0a.  Repetier 0.92.  E3D V6.  Titan Extruder.  Sllic3r.  Octoprint on Raspberry Pi B+.