Relay Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>CyberMagos
(Tobe image added and nav)
(Made Relay Component its own page rather than a redirect to Wiring Components)
Tag: Removed redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Electrical Components]]
{{Version|1.3.0.2}}{{Main|Wiring Components}}{{Items infobox
{{Stub}}
| description = When switched on, forwards all received signals from the input connections to the outputs.
{{Items infobox
| type = electrical
| name = Relay Component
| noreq = yes
| cost = 10
| fabricator = Yes
| fabricator = Yes
| fabricatorskill = electrical
| fabricatorskilllevel = 20
| fabricatortime = 10
| fabricatormaterials = {{Hyperlink|FPGA Circuit}}
| deconstructor = Yes
| deconstructor = Yes
| materials = {{Hyperlink|FPGA Circuit}},
| deconstructortime = 10
{{Hyperlink|Tin}}
| deconstructormaterials = {{Hyperlink|FPGA Circuit}}
 
| baseprice = 100
| outpostmultiplier = 1
| cityunbuyable = true
| citymultiplier = 1
| researchmultiplier = 1.25
| militarymultiplier = 1
| minemultiplier = 1
| engineeringmultiplier = 0.9
| minleveldifficulty = 15
 
| outpostminavailable = 1
| cityminavailable = 1
| researchminavailable = 1
| militaryminavailable = 1
| mineminavailable = 1
| engineeringminavailable = 1
 
<!-- Technical -->
| identifier = relaycomponent
| category = Electrical
| tags = smallitem, logic
}}
}}


====[[File:Relay_Component.png|25px]] Relay Component====
The '''Relay Component''' is an electrical component used to disconnect power or signals from a circuit.
Used to forward received power and signals. More specifically, the relay has pins for Power_in, Power_out, Signal_1_in, Signal_1_out, Signal_2_in, Signal_2_out, Toggle_State, Set_State, and State_out.
 
In-game, a relay may only pass a maximum of 1000 kW however in the [https://regalis11.github.io/BaroModDoc/Editors/SubmarineEditor.html Submarine Editor] this can be adjusted.
 
It is most commonly used for providing toggleable power to lights or duplicating signals.
 
When switched off (State = 0) the '''Relay Component''' does not transfer power via the <code>power_out</code> pin.
 


The relay's state is 0 as off, 1 as on.
{{Connection panel
|panelfor = Relay Component
|input1=Power_In
|input1tt=Power input from a power network.
|input1color=red


[[File:Relay Connection Panel.png|Wiring Diagram]]
|input2=Signal_In_1
|input2tt=The input of the first signal.
|input3=Signal_In_2
|input3tt=The input of the second signal.
|input4=Toggle_State
|input4tt={{ToggleState}}
|input5=Set_State
|input5tt={{SetState|Relay}}
|output1=Power_Out
|output1color=red
|output1tt=Power output to a power network.
|output2=Signal_Out_1
|output2tt=The output of the first signal.
|output3=Signal_Out_2
|output3tt=The output of the second signal.
|output4=State_Out
|output4tt=The current state of the relay.
|output5=Load_Value_Out
|output5tt=Outputs the current load level as a number (required power).
|output6=Power_Value_Out
|output6tt=Outputs the current power level as a number (supplied power).
}}


{{Universal nav}}
{{Electrical Nav}}

Latest revision as of 14:05, 18 April 2024

Data is up-to-date
Last updated for version 1.3.0.2
Last mentioned in changelog 0.8.9.8
The current game version is 1.4.5.0

Main article: Wiring Components


Relay Component

When switched on, forwards all received signals from the input connections to the outputs.
Crafting
Fabricator
Requirements
Skill: Electrical: 20
Deconstructor Yield
Store
Minimum Difficulty 15%
Base Price 100 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 100 mk 30 mk
ColonyColony N/A 30 mk
Research OutpostResearch 125 mk 37 mk
Military OutpostMilitary 100 mk 30 mk
Mining OutpostMining 100 mk 30 mk
Medical MerchantMedical Merchant N/A 30 mk
Engineer MerchantEngineer Merchant 90 mk 27 mk
Armory MerchantArmory Merchant N/A 30 mk
Children of The HonkmotherClown Merchant N/A 30 mk
The Church of HuskHusk Merchant N/A 30 mk
Technical
Identifier relaycomponent
Categories Electrical
Tags smallitem, logic

The Relay Component is an electrical component used to disconnect power or signals from a circuit.

In-game, a relay may only pass a maximum of 1000 kW however in the Submarine Editor this can be adjusted.

It is most commonly used for providing toggleable power to lights or duplicating signals.

When switched off (State = 0) the Relay Component does not transfer power via the power_out pin.


Connection Panel for Relay Component
Hover over pins to see their descriptions.
Power_In
Signal_In_1
Signal_In_2
Toggle_State
Set_State
Power input from a power network.
The input of the first signal.
The input of the second signal.
Toggles the state on any signal.
Sets the state of the Relay. (0 = Off, all other signals = On)
Power_Out
Signal_Out_1
Signal_Out_2
State_Out
Load_Value_Out
Power_Value_Out
Power output to a power network.
The output of the first signal.
The output of the second signal.
The current state of the relay.
Outputs the current load level as a number (required power).
Outputs the current power level as a number (supplied power).
Requires: Screwdriver
v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc