Difference between revisions of "Custom Airlock IC10"
From Unofficial Stationeers Wiki
m |
m |
||
Line 13: | Line 13: | ||
= Assembly = | = Assembly = | ||
− | Set up a standard airlock for atmosphere on both sides. Configure the pressures in the first two lines of the script. The LED serves as trigger for both cycling the airlock and skipping each phase, hence should be placed inside the airlock. The airlock should be a single frame to avoid leftover atmosphere after depressurization. For larger airlocks place the sensor on the far side from the vents. The script supports [[Blast Doors]], but since they lack a door handle you will need a button on each side (outside) of the airlock. Connect a [[Logic Writer]] to each button and use it to toggle the LED. | + | Set up a standard airlock for atmosphere on both sides. Configure the pressures in the first two lines of the script. '''Before exporting the script or resetting the IC, make sure the airlock is cycled to the outside (inner door closed, outer open)'''. The LED serves as trigger for both cycling the airlock and skipping each phase, hence should be placed inside the airlock. The airlock should be a single frame to avoid leftover atmosphere after depressurization. For larger airlocks place the sensor on the far side from the vents. The script supports [[Blast Doors]], but since they lack a door handle you will need a button on each side (outside) of the airlock. Connect a [[Logic Writer]] to each button and use it to toggle the LED. |
IC10 pin layout: | IC10 pin layout: |
Revision as of 14:07, 2 March 2020
Contents
This script controls all functions of an airlock that consists of the following:
Assembly
Set up a standard airlock for atmosphere on both sides. Configure the pressures in the first two lines of the script. Before exporting the script or resetting the IC, make sure the airlock is cycled to the outside (inner door closed, outer open). The LED serves as trigger for both cycling the airlock and skipping each phase, hence should be placed inside the airlock. The airlock should be a single frame to avoid leftover atmosphere after depressurization. For larger airlocks place the sensor on the far side from the vents. The script supports Blast Doors, but since they lack a door handle you will need a button on each side (outside) of the airlock. Connect a Logic Writer to each button and use it to toggle the LED.
IC10 pin layout:
D0 | Interior Door |
D1 | Exterior Door |
D2 | Interior Vent |
D3 | Exterior Vent |
D4 | Gas Sensor |
D5 | LED Light |
Usage
The airlock can be cycled by interacting with either door, or turning the LED off. During cycling the doors are locked, and the LED can be used to skip both depressurize (red) and pressurize (yellow) phases.
Source code: |
---|
define Int.Pressure 100 |