I wrote a couple of simple test gcodes to adjust the pulse times for the switch. You'll need to modify this to use your X-Axis parameters. With Bills help i found the delays had to be reduced to compensate for the transition time of the 3mm movement of the activate movement. Adjust down the Test 11 Pulses and Test 22 Pulses delays to determine this adjustment. Both of these tests should be ignored by the 3D Chameleon.
; *******************************************
; This is to test the 3D Chameleon switch timing
; When Tuned, this should produce Pulse Commands Properly
; *******************************************
;; Reset feed rate and flow rate.
G90 ; Set all axes to absolute
M220 S100 ;Set Feedrate
G28 ; home all axis
G0 Y235 F2000 ; Switch Triggers @ Y238
M117 11 Pulses
G4 S5 ; wait 5 seconds
G91 ; move to relative mode
G0 Y3 F2000 ; press the button
;Test 11 Pulses
G4 P5500 ; 5.5 seconds for 11 pulses
G0 Y-3 ; release the button
M117 22 Pulses
G4 S5 ; wait 5 seconds
G0 Y3 F2000 ; press the button
;Test 22 Pulses
G4 P11000 ; 11 seconds for 22 pulses
G0 Y-3 ; release the button
M117 Test Complete
G28 ; Home again
Hello Everyone,
I currently own a Neptune 4 and a 4Plus. My Fiancé and I have decided to attach the 3d Chameleon to the Neptune 4. I was able to attach the switch to the X-axis. it appears to be able press fine with no restrictions. Our issue is that our gcode doesn't appear to be working. We have gotten it start printing with what ever color existed in the machine at the time but it has not been able to change to the next filament. both myself and my fiancé have tried it several times remeasuring and changing the code. but our measurements come out the same. and the machine doesn't change to the next color in the sequence. Any help is greatly appreciated.