top of page

Support

Public·24 members

K1C G-Code

After gathering the data for the MK4 G-Code where exactly would I paste this code for the K1C? I am in the printer.cfg file and not finding the best location to paste it. When I do paste it I get a warning sign.

319 Views

Chat GBT helped me create the g-code to use the PA0 fan connection on the main bd. ; 3DChameleon Filament Change Trigger - PA0

; This sends a short HIGH pulse to PA0 to trigger the 3DChameleon sequence


; Make sure to pause before triggering

M83 ; Relative extrusion

G91 ; Relative positioning

G1 E-5 F100 ; Retract a bit before change

G1 Z10 F300 ; Move Z up to clear part

G1 X10 Y10 F3600 ; Move to corner


; === Trigger Pulse on PA0 ===

SET_PIN PIN=PA0 VALUE=1

G4 P250 ; Wait 250ms

SET_PIN PIN=PA0 VALUE=0


; Wait for user or 3DChameleon to finish its cycle

M0 ; Pause for manual intervention or wait


; Resume print

G92 E0

G1 E5 F100 ; Prime filament

G91

G1 Z-10 F300 ; Lower back

G90 ; Absolute positioning


Is there any particular part to the g-code this should be inserted? Any changes you would suggest?

About

Need help... check out this thread for advice from the exper...

Members

  • mayuri kathade
    mayuri kathade
  • Ben Conner
    Ben Conner
  • BOSS SUB
    BOSS SUB
  • Kendall Leake
    Kendall Leake
  • Lalo Puma
    Lalo Puma

For the latest information on product availability, be sure to follow us on twitter!  @3DChameleon

For more installation videos, be sure to follow us on Youtube!

  • Facebook
  • Twitter
  • YouTube

©2023 by 3D Chameleon

bottom of page