Cleaned up comments
This commit is contained in:
parent
992a3b38dc
commit
0b2dc37509
@ -1,5 +1,7 @@
|
||||
# Runs up to six sorters that filter throughput by ItemClass
|
||||
# When looking at the outputs, left = ITEMCLASS, right = everything else
|
||||
# Runs up to six sorters that filter
|
||||
# throughput by ItemClass.
|
||||
# When looking at the outputs,
|
||||
# left = ITEMCLASS, right = everything else
|
||||
|
||||
alias SlotOccupied r0
|
||||
alias InputClass r1
|
||||
@ -8,7 +10,7 @@ alias SorterCounter r3
|
||||
|
||||
move SorterCounter 0
|
||||
|
||||
define ITEMCLASS 19 # 10=ores, 19=ingots, 33=wrekage
|
||||
define ITEMCLASS 19 # 10=ores,19=ingots,33=wrekage
|
||||
define INPUTSLOT 0 # sorter input-slot
|
||||
|
||||
start:
|
||||
@ -19,10 +21,12 @@ j start
|
||||
|
||||
sort:
|
||||
s dr3 Mode 2 # set sorter to IC mode
|
||||
ls SlotOccupied dr3 INPUTSLOT Occupied # check if anything to sort
|
||||
# check if anything to sort
|
||||
ls SlotOccupied dr3 INPUTSLOT Occupied
|
||||
beqz SlotOccupied ra
|
||||
ls InputClass dr3 INPUTSLOT Class
|
||||
seq IsClass InputClass ITEMCLASS # change seq to sne to swap output ports
|
||||
# change seq to sne to swap output ports
|
||||
seq IsClass InputClass ITEMCLASS
|
||||
s dr3 Output IsClass
|
||||
j ra
|
||||
|
||||
|
@ -47,7 +47,7 @@ s dr0 Output IsItem
|
||||
j ra
|
||||
|
||||
reset:
|
||||
# Resets counter to 0 zero so we can loop over again
|
||||
# Resets counter to zero so we can loop over again
|
||||
move counter 0
|
||||
yield
|
||||
j start
|
@ -1,4 +1,4 @@
|
||||
# Uses a Diode Slide to show battery-bank fill-level.
|
||||
# Uses a Diode Slide to show battery-bank levels
|
||||
# You can add a Cable Analyzer between generators
|
||||
# and batteries so an LED light can show if system
|
||||
# is charging or discharging.
|
||||
|
@ -34,12 +34,14 @@ yield
|
||||
# Check storage pressure
|
||||
l OutPressure filtration PressureOutput
|
||||
slt FilterActive OutPressure MAXPRESSURE
|
||||
beqz FilterActive filteronoff # if pressure > MAX, skip to shutdown
|
||||
# if pressure > MAX, skip to shutdown
|
||||
beqz FilterActive filteronoff
|
||||
|
||||
# Check temperature
|
||||
l InTemperature filtration TemperatureInput
|
||||
slt FilterActive InTemperature MAXTEMPERATURE
|
||||
beqz FilterActive filteronoff # if temperature > MAX, skip to shutdown
|
||||
# if temperature > MAX, skip to shutdown
|
||||
beqz FilterActive filteronoff
|
||||
|
||||
# Check filters and set diodes
|
||||
ls FilterLeft filtration 0 Quantity
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Connect mush-pipe to Heat Exchanger, use Digital Valve
|
||||
# to expose heat-exchanger to radiators
|
||||
# Connect mush-pipe to Heat Exchanger, use Digital
|
||||
# Valve to expose heat-exchanger to radiators
|
||||
|
||||
alias PipeAnalyzer d0
|
||||
alias DigitalValve d1
|
||||
|
@ -1,5 +1,5 @@
|
||||
alias Sensor d0 # Kit (Sensor) > Daylight Sensor
|
||||
# Place sensor facing UP, and not in an enclosed space
|
||||
# Place daylight-sensor facing UP
|
||||
alias Display d1 # Optional, Kit (Console)
|
||||
alias PanelType1 d2 # Any controllable Solar Panel
|
||||
alias PanelType2 d3 # Optional
|
||||
|
Loading…
Reference in New Issue
Block a user