Updated RSIO (markdown)

Mikayla 2023-10-04 20:13:56 -04:00
parent 87c1d7250a
commit 6847c5910a

37
RSIO.md

@ -23,30 +23,31 @@ local IO_PORT = {
-- facility -- facility
F_ALARM = 7, -- active high, facility-wide alarm (any high priority unit alarm) F_ALARM = 7, -- active high, facility-wide alarm (any high priority unit alarm)
F_ALARM_ANY = 8, -- active high, any alarm regardless of priority
-- waste -- waste
WASTE_PU = 8, -- active low, waste -> plutonium -> pellets route WASTE_PU = 9, -- active low, waste -> plutonium -> pellets route
WASTE_PO = 9, -- active low, waste -> polonium route WASTE_PO = 10, -- active low, waste -> polonium route
WASTE_POPL = 10, -- active low, polonium -> pellets route WASTE_POPL = 11, -- active low, polonium -> pellets route
WASTE_AM = 11, -- active low, polonium -> anti-matter route WASTE_AM = 12, -- active low, polonium -> anti-matter route
-- reactor -- reactor
R_ACTIVE = 12, -- active high, if the reactor is active R_ACTIVE = 13, -- active high, reactor is active
R_AUTO_CTRL = 13, -- active high, if the reactor burn rate is automatic R_AUTO_CTRL = 14, -- active high, reactor burn rate is automatic
R_SCRAMMED = 14, -- active high, if the reactor is scrammed R_SCRAMMED = 15, -- active high, reactor is scrammed
R_AUTO_SCRAM = 15, -- active high, if the reactor was automatically scrammed R_AUTO_SCRAM = 16, -- active high, reactor was automatically scrammed
R_DMG_HIGH = 16, -- active high, if the reactor damage is high R_HIGH_DMG = 17, -- active high, reactor damage is high
R_HIGH_TEMP = 17, -- active high, if the reactor is at a high temperature R_HIGH_TEMP = 18, -- active high, reactor is at a high temperature
R_LOW_COOLANT = 18, -- active high, if the reactor has low coolant R_LOW_COOLANT = 19, -- active high, reactor has very low coolant
R_EXCESS_HC = 19, -- active high, if the reactor has excess heated coolant R_EXCESS_HC = 20, -- active high, reactor has excess heated coolant
R_EXCESS_WS = 20, -- active high, if the reactor has excess waste R_EXCESS_WS = 21, -- active high, reactor has excess waste
R_INSUFF_FUEL = 21, -- active high, if the reactor has insufficent fuel R_INSUFF_FUEL = 22, -- active high, reactor has insufficent fuel
R_PLC_FAULT = 22, -- active high, if the reactor PLC reports a device access fault R_PLC_FAULT = 23, -- active high, reactor PLC reports a device access fault
R_PLC_TIMEOUT = 23, -- active high, if the reactor PLC has not been heard from R_PLC_TIMEOUT = 24, -- active high, reactor PLC has not been heard from
-- unit outputs -- unit outputs
U_ALARM = 24, -- active high, unit alarm U_ALARM = 25, -- active high, unit alarm
U_EMER_COOL = 25 -- active low, emergency coolant control U_EMER_COOL = 26 -- active low, emergency coolant control
} }
``` ```