Skip to content

Conversation

alexanderoster
Copy link
Contributor

No description provided.

alexanderoster and others added 30 commits August 27, 2020 14:43
Merge Develop into Master
…" to "printerconnection".

Marlin: Property IsConnected and function EmergencyStop added.
PrinterConnection: refactor regarding name change of state machine "movement" to "printerconnection".
In Init check property IsConnected before proceeding to state homing/idle and send signal "isconnected" to "main" so "main" can start controlling temperature.
In Init set fan speed.
Update bed/extruder temperature (target values to set received as a signal from "main") and report current values (as signal to "main").
Possibility (signal) to disconnect printer added.
Possibility (signal) to do an emergency stop added.
Main: refactor regarding name change of state machine "movement" to "printerconnection".
In StartProcess wait until printer is connected before proceeding to "WaitForTemperature".
In "WaitForTemperature" prepare signat with temperature to be set (in PrinterConnection) and wait for signal with current temperature (in a loop).
Check received temperature data and wait until expected temperature is reached. If "reached" proceed to "ExtrudeLayer".
Command to disconnect printer added to "finishprocess" (probably to be removed again).
Just for testing, signal to call EmergencyStop added to "NextLayer" => commented out after testing.
@alexanderoster I added the NOPAUSE option as Param1 to run the Jenkins Builds
Refactor program sequence. Homed, connected, temperature etc are now controlled by Main (using sognals).

Main: set fan speed, initlialize extruder, set temperature without waiting, read target temperature from xml, finalize extrude process and retract/restore filament (layer change) added.

PrinterConnection/Marlin:
updateStateFromDriver renamed to updatePositionStateFromDriver now just updates printerstate parameters (positions...) and no more temperature.
Some functions moved to handleSignals.
UpdateFanSpeed added.
DoExtrudeLayer (and others) now call handleSignals in addition to updatePositionStateFromDriver.
Stored value "ExtrudeValue" used to save value of E axis after layer is fninshed => to be (re)used in next layer.
HandleSignals added => handles all signals received from Main
UpdatedState has been split => update position and temperature is done seperately now.
State homing removed.
@alexanderoster alexanderoster merged commit 713c2ed into Autodesk:develop Dec 21, 2021
netfabb added a commit that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants