Cleaned up comments

This commit is contained in:
Snorre Selmer 2023-04-01 16:57:11 +02:00
parent 992a3b38dc
commit 0b2dc37509
6 changed files with 18 additions and 12 deletions

View File

@ -1,5 +1,7 @@
# Runs up to six sorters that filter throughput by ItemClass # Runs up to six sorters that filter
# When looking at the outputs, left = ITEMCLASS, right = everything else # throughput by ItemClass.
# When looking at the outputs,
# left = ITEMCLASS, right = everything else
alias SlotOccupied r0 alias SlotOccupied r0
alias InputClass r1 alias InputClass r1
@ -19,10 +21,12 @@ j start
sort: sort:
s dr3 Mode 2 # set sorter to IC mode 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 beqz SlotOccupied ra
ls InputClass dr3 INPUTSLOT Class 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 s dr3 Output IsClass
j ra j ra

View File

@ -47,7 +47,7 @@ s dr0 Output IsItem
j ra j ra
reset: 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 move counter 0
yield yield
j start j start

View File

@ -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 # You can add a Cable Analyzer between generators
# and batteries so an LED light can show if system # and batteries so an LED light can show if system
# is charging or discharging. # is charging or discharging.

View File

@ -34,12 +34,14 @@ yield
# Check storage pressure # Check storage pressure
l OutPressure filtration PressureOutput l OutPressure filtration PressureOutput
slt FilterActive OutPressure MAXPRESSURE slt FilterActive OutPressure MAXPRESSURE
beqz FilterActive filteronoff # if pressure > MAX, skip to shutdown # if pressure > MAX, skip to shutdown
beqz FilterActive filteronoff
# Check temperature # Check temperature
l InTemperature filtration TemperatureInput l InTemperature filtration TemperatureInput
slt FilterActive InTemperature MAXTEMPERATURE 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 # Check filters and set diodes
ls FilterLeft filtration 0 Quantity ls FilterLeft filtration 0 Quantity

View File

@ -1,5 +1,5 @@
# Connect mush-pipe to Heat Exchanger, use Digital Valve # Connect mush-pipe to Heat Exchanger, use Digital
# to expose heat-exchanger to radiators # Valve to expose heat-exchanger to radiators
alias PipeAnalyzer d0 alias PipeAnalyzer d0
alias DigitalValve d1 alias DigitalValve d1

View File

@ -1,5 +1,5 @@
alias Sensor d0 # Kit (Sensor) > Daylight Sensor 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 Display d1 # Optional, Kit (Console)
alias PanelType1 d2 # Any controllable Solar Panel alias PanelType1 d2 # Any controllable Solar Panel
alias PanelType2 d3 # Optional alias PanelType2 d3 # Optional