What you learn today
- Hold the window for an alloy
- Done message
- Emergency shutdown
The furnace week ends with a chip that cooks steel without anyone having to stand next to it – and that makes everything safe at once when it gets too much.
The plant
| Device | Prefab | Name |
|---|---|---|
| furnace | StructureFurnace | “Ofen” |
| pump at the input | StructureVolumePump | “Brennstoff” |
| pump at the output | StructureVolumePump | “Abgas” |
| two lights | StructureWallLight | “Notaus”, “Fertig” |
| button | StructureLogicButton | “Quittieren” |
The rules
- Temperature: below 950 K fuel on, from 1,100 K off. It ignites when fuel is coming and nothing is burning.
- Pressure: from 5,000 kPa exhaust on, below 4,000 kPa off again. While exhaust runs, no fuel.
- Mould: only open when
RecipeHashreports steel. No iron, no slag.Modeis only the display on the furnace and stays out of it. - Done message: if something lies in the output slot (slot 1), “Fertig” lights up.
- Emergency shutdown: above 40,000 kPa or with a missing furnace “Notaus” latches: fuel off, exhaust open, mould closed. Only when the pressure is below 4,000 kPa and someone presses “Quittieren” does it continue.
Latching and acknowledging
The emergency shutdown is a fault with memory, as you know it from the state machines. It is set with or and cleared only under a double condition:
lbn tmp BUTTON HASH("Quittieren") Activate Average
slt tmp2 press P_SHUT
and tmp tmp tmp2
seqz tmp tmp
and estop estop tmp
If somebody presses too early, nothing happens. That is intended: a furnace at 35,000 kPa does not get safer by the press of a button.
Milestones
- Hold the temperature
- Hold the pressure, fuel locked while venting
- Mould only for steel
- Done message
- Emergency shutdown latches and can be acknowledged
- Furnace missing: emergency shutdown
The emergency shutdown sets vent to 1 via or. That way one single line is enough, and fuel, ignition and mould follow by themselves, because they all hang on vent or estop.
Diagram
Project task
Task
Build the alloy furnace following the rules. defines and reading are there, the five sections are missing.
Milestones
- Milestone 1: hold the temperature
- Milestone 2: hold the pressure
- Milestone 3: mould only for steel
- Milestone 4: done message
- Milestone 5: emergency stop latches and is acknowledged
- Milestone 6: furnace missing
Hints
Hint 1
Emergency stop first: set with or (overpressure, NaN), clear only with button and pressure below P_SHUT.
Hint 2
Temperature and pressure as before, plus or vent vent estop.
Hint 3
Mould: RecipeHash equal to STEEL and “not estop” with and – you do not need Mode. Done: lbns … 1 Occupied.
Quiz
2 questions. You pass from 60 % – the server does the grading.
Complete the day
- Passed all milestones of the project
- Passed the quiz with at least 60 %
Without an account progress is saved in this browser only.
Report a mistake in this lesson
Please sign in to report. Sign in