Hi,
I have the mk4 firmware loaded, I have the oled mod installed and the 3d clippy installed all successfully. The problem that I am currently facing seems to be with the default gcode. I have the K1 speedy.
Below here is the start gcode which is supposed to preload T0 filament into the hot end.
; 3DChameleon Preload Extruder 1
; load filament 1 to extruder
G0 X208 Y216 F4000 ; move to button
; three quick button presses to cancel out any active commands
G0 Y218 F2000 ; press button
G4 P130 ; wait for 150 ms
G0 Y216 F2000 ; unpress button
G4 P500 ; wait for 150 ms
G0 Y218 F2000 ; press button
G4 P130 ; wait for 150 ms
G0 Y216 F2000 ; unpress button
G4 P500 ; wait for 150 ms
G0 Y218 F2000 ; press button
G4 P130 ; wait for 150 ms
G0 Y216 F2000 ; unpress button
G4 P500 ; wait for 150 ms
G0 Y218 F2000 ; press button
G4 P3400 ; wait for 7 pulses
G0 Y216 F2000 ; unpress button
G4 P2000 ; wait for it to home
The above gcode works fine it does what its supposed to. The problem happens after T0 is selected.
; select T0
G0 Y218 F2000 ; press button
G4 P550 ; wait for 550 milliseconds (why does it need to wait 550 milliseconds? When this button press is happening on the OLED displays each prompt and I can hear the pulse of the motor but nothing else happens)
G0 Y216 F2000 ; unpress button
G4 P2000 ; all done
Heres where the issue happens, the button gets pressed for the 18500 but no filament is loading or unloading, the OLED shows the prompts and i can hear the motor pulsing. Once the button is let go the chameleon the servo activates and the chameleon changes the selected slot)
; load T0
G4 P500
G0 Y218 F2000 ; press button
G4 P18500 ; load
G0 E25 F2070 ; <<<--- adjust this E value to tune extruder loading
G0 E20 F250
G0 X220 Y210 Z.2 F1000; move to extruders assigned purge line
G92 E0
G0 Y0 E100; purge the extruder.
G4 P2000 ; all done
At this point the printer just carrys on and no filament is loaded. But if i press and hold the button manually filament starts to load. So what did I mess up here and how would I fix it?
I see a couple of things. First off, this isn't our code... but you're saying it's the "default" gcode... can you tell me more about why you think this is the default profile? For reference, here is our profile: https://www.printables.com/model/653583-3dchameleon-installation-for-the-creality-k1-and-k
And I see a couple of possible errors in it. 1) The location of the button should be X210 Y220... but your code has it in X208 and Y219 and in other places has it at Y218... but I don't think that will work as it might miss it a bit... but the 2nd problem I see is that you're only backing out to Y216 on the Y218 locations... instead of Y215 (if it really is triggering at Y218.) The issue is the switch needs 3mm of travel to fully disengage, so my guess is that is not happening properly and what you think is happening, actually isn't.
The test is to read the screen and match what it's saying to what is expected.
For example, the 3 quick pulses, should say "No Command"... and the longer 7 pulse homing should say "Homing" followed by the single press for "Switch to T0". If those commands are not being displayed, then the timing is incorrect. Oh, one more thing... I see you've edited the speeds as well... all of our timing is speed dependent, and using F2000 for all button press commands is recommended for them to work.
Lastly, as for 550, each command pulse is separated by 400 milliseconds... using 550 for looking at the first one will guarantee that you're between the 400 and 800 milliseconds of the first two commands. All subsequent commands can be 400 above the previous... so 950, etc. That puts them all in the middle of the command window.
Bill