Hi sparky,
Im trying to retrofit a Stratasys FDM 3000 machine. These have a Solenoid in the Head which actuates the Support nozzle.
For the Z-Offset something like this would also be sufficient:
G-Code which is executed when extruder is changed but specific for the extruder number(Not the function in Slic3r or CuraEngine)
Like this:
T0 ; Normal ABS Extruder
M301 (deactivate Solenoids)
G01...
then
T1 , Support Extruder
M300 ; aktivate Solenoid
G90 ; incremental coordinates
G1Z0,3 ; Difference of Extruder 0 to Extruder 1
G28Z0 ; Set Z Zero
G91 ; absolute coordinates
G01...Programcode
when changing to T0 we have to go down with G01Z-0.3 and do a G28Z0 to redo the changes in Z-Shift.
The best way would be to have a special section in the Firmware where Code is executed when Head is changed but specific for each head. This way the Slicer dosnt have to do anything. We could use any Slicer without changes.
Actually if we could get the M218 command extended to the Z Offset and could store these values in EEPROM would be enough for me...but would be nice to have something in the firmware in which M-Functions like the Solenoid activaten could be executed without changing anything in the Slicer Software.