Wiring Components: Difference between revisions
(Explained that the Signal Check Component is the same as an IF-THEN-ELSE.) Tag: visualeditor |
m (removed "hover over pins to see their description" since it is now included in the connection panel template) |
||
Line 22: | Line 22: | ||
The '''And Component''' is an electrical component used to check if both inputs are receiving a signal. | The '''And Component''' is an electrical component used to check if both inputs are receiving a signal. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 52: | Line 52: | ||
The '''Equals Component''' is an electrical component used to check if both inputs are the same. | The '''Equals Component''' is an electrical component used to check if both inputs are the same. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 65: | Line 65: | ||
The '''Greater Component''' is an electrical component used to check if one input is higher than the other. | The '''Greater Component''' is an electrical component used to check if one input is higher than the other. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 78: | Line 78: | ||
The '''Not Component''' is an electrical component used to invert a signal. | The '''Not Component''' is an electrical component used to invert a signal. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 100: | Line 100: | ||
The '''Or Component''' is an electrical component used to check if any input is receiving a signal unequal to 0. | The '''Or Component''' is an electrical component used to check if any input is receiving a signal unequal to 0. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 134: | Line 134: | ||
Click '''[https://regexone.com/ here]''' for a tutorial on regular expressions. Click '''[https://regexr.com/ here]''' to create/test regular expressions. | Click '''[https://regexone.com/ here]''' for a tutorial on regular expressions. Click '''[https://regexr.com/ here]''' to create/test regular expressions. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 151: | Line 151: | ||
This is typically used to switch between an normal state and an override state. | This is typically used to switch between an normal state and an override state. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 166: | Line 166: | ||
The '''Xor Component''' is an electrical component used to check if only one input is receiving a signal unequal to 0. | The '''Xor Component''' is an electrical component used to check if only one input is receiving a signal unequal to 0. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 222: | Line 222: | ||
The '''Acos Component''' is an electrical component that performs the inverse cosine function; cos<sup>-1</sup>(x). | The '''Acos Component''' is an electrical component that performs the inverse cosine function; cos<sup>-1</sup>(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 233: | Line 233: | ||
The '''Asin Component''' is an electrical component that performs the inverse sine function; sin<sup>-1</sup>(x). | The '''Asin Component''' is an electrical component that performs the inverse sine function; sin<sup>-1</sup>(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 244: | Line 244: | ||
The '''Atan Component''' is an electrical component that performs the inverse tan function; tan<sup>-1</sup>(x). | The '''Atan Component''' is an electrical component that performs the inverse tan function; tan<sup>-1</sup>(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 259: | Line 259: | ||
The '''Cos Component''' is an electrical component that performs the cosine function; cos(x). | The '''Cos Component''' is an electrical component that performs the cosine function; cos(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 270: | Line 270: | ||
The '''Sin Component''' is an electrical component that performs the sine function; sin(x). | The '''Sin Component''' is an electrical component that performs the sine function; sin(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 281: | Line 281: | ||
The '''Tan Component''' is an electrical component that performs the tangent function; tan(x). | The '''Tan Component''' is an electrical component that performs the tangent function; tan(x). | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 295: | Line 295: | ||
It is most commonly used in tandem with [[Light Component|Light Components]] for easily changeable lighting. | It is most commonly used in tandem with [[Light Component|Light Components]] for easily changeable lighting. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_R | |input1=Signal_R | ||
Line 310: | Line 310: | ||
==[[File:Concatenation_Component.png|40px|]] Concatenation Component == | ==[[File:Concatenation_Component.png|40px|]] Concatenation Component == | ||
<blockquote>"``Joins the inputs together and outputs the joined value (for example, the inputs "mud" and "raptor" would output "mudraptor")."``</blockquote> | <blockquote>"``Joins the inputs together and outputs the joined value (for example, the inputs "mud" and "raptor" would output "mudraptor")."``</blockquote> | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In_1 | |input1=Signal_In_1 | ||
Line 327: | Line 327: | ||
It is most commonly used in tandem with [[Terminal|Terminals]] for custom commands. | It is most commonly used in tandem with [[Terminal|Terminals]] for custom commands. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 338: | Line 338: | ||
The '''Memory Component''' is an electrical component used to store signals for later use. | The '''Memory Component''' is an electrical component used to store signals for later use. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In | ||
Line 357: | Line 357: | ||
It is most commonly used in tandem with a [[Subtract Component]] for timers, countdowns, or making automatic [[Searchlight|searchlights]]. | It is most commonly used in tandem with a [[Subtract Component]] for timers, countdowns, or making automatic [[Searchlight|searchlights]]. | ||
{{Connection panel | {{Connection panel | ||
|input1=Set_Frequency | |input1=Set_Frequency | ||
Line 374: | Line 374: | ||
It is most commonly used for providing toggleable power to lights or duplicating signals. | It is most commonly used for providing toggleable power to lights or duplicating signals. | ||
{{Connection panel | {{Connection panel | ||
|input1=Power_In | |input1=Power_In | ||
Line 401: | Line 401: | ||
It can also output into text radio chat. | It can also output into text radio chat. | ||
{{Connection panel | {{Connection panel | ||
|input1=Signal_In | |input1=Signal_In |
Revision as of 10:08, 6 August 2021
Wiring Components | ||||||||
---|---|---|---|---|---|---|---|---|
Crafting | ||||||||
Fabricator Requirements |
Skill: Electrical: 20
| |||||||
Deconstructor Yield | ||||||||
|
Logic
And Component
"Sends a signal when both inputs receive a signal within a set period of each other."
The And Component is an electrical component used to check if both inputs are receiving a signal.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Requires: Screwdriver |
"1" denotes any input, "0" denotes a blank or zero input
Truth Table | ||
---|---|---|
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
Equals Component
"Sends a signal when both inputs receive the same signal."
The Equals Component is an electrical component used to check if both inputs are the same.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Greater Component
"Sends a signal if the value the signal_in1 input is larger than the signal_in2 input."
The Greater Component is an electrical component used to check if one input is higher than the other.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Not Component
"Sends a signal when the input is NOT receiving a signal."
The Not Component is an electrical component used to invert a signal.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
"1" denotes any input, "0" denotes a blank or zero input
Truth Table | |
---|---|
Input | Output |
0 | 1 |
1 | 0 |
Or Component
"Sends a signal if either of the inputs receives a signal."
The Or Component is an electrical component used to check if any input is receiving a signal unequal to 0.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Requires: Screwdriver |
"1" denotes any input, "0" denotes a blank or zero input
Truth Table | ||
---|---|---|
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
File:RegEx Component.png RegEx Find Component
"Sends a signal if the received signal matches a specific regular expression pattern."
The RegEx Find Component is an electrical component used to match an exact string.
It is most commonly used with a Terminal.
Click here for a tutorial on regular expressions. Click here to create/test regular expressions.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Signal Check Component
"Sends a signal when a signal matching a specific value is received."
The Signal Check Component is an electrical component used to check if the received signal matches a target signal.
Operates like an IF-THEN-ELSE statement, if the signal input matches the target the output is sent. Otherwise the false output is sent.
- It is important to note that only the true output can be changed externally using SET_OUTPUT.
This is typically used to switch between an normal state and an override state.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Requires: Screwdriver |
Xor Component
"Sends a signal if either of the inputs, but not both, receives a signal."
The Xor Component is an electrical component used to check if only one input is receiving a signal unequal to 0.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Requires: Screwdriver |
"1" denotes any input, "0" denotes a blank or zero input
Truth Table | ||
---|---|---|
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Math
Abs Component
"Outputs the absolute value of the input."
Adder Component
"Outputs the sum of the received signals."
Ceil Component
"Transforms a given float input into the closest integer, rounding up."
Divide Component
"Outputs the divided value of the received signals."
Exponentiation Component
"Outputs the input raised to a given power."
Factorial Component
"Outputs the factorial of the input."
Floor Component
"Transforms a given float input into the closest integer, rounding down."
Modulo Component
"Outputs the remainder when the input is divided by a specific number."
Multiply Component
"Outputs the product of the received signals."
Round Component
"Rounds a numerical input to the nearest integer value."
Square Root Component
"Outputs the square root of the input."
Subtract Component
"Outputs the subtracted value of the received signals."
Trigonometry
Acos Component
"Outputs the angle whose cosine is equal to the input."
The Acos Component is an electrical component that performs the inverse cosine function; cos-1(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Asin Component
"Outputs the angle whose sine is equal to the input."
The Asin Component is an electrical component that performs the inverse sine function; sin-1(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Atan Component
"Outputs the angle whose tangent is equal to the input. If the "signal_in_x" and "signal_in_y" connections are used, the input is interpreted as a vector and the angle calculated using Atan2."
The Atan Component is an electrical component that performs the inverse tan function; tan-1(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Requires: Screwdriver |
Cos Component
"Outputs the cosine of the input."
The Cos Component is an electrical component that performs the cosine function; cos(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Sin Component
"Outputs the sine of the input."
The Sin Component is an electrical component that performs the sine function; sin(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Tan Component
"Outputs the tangent of the input."
The Tan Component is an electrical component that performs the tangent function; tan(x).
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Misc
Color Component
"Outputs a combined color signal for light control."
The Color Component is an electrical component used to provide a color signal for lamps/lights.
It is most commonly used in tandem with Light Components for easily changeable lighting.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Requires: Screwdriver |
Concatenation Component
"``Joins the inputs together and outputs the joined value (for example, the inputs "mud" and "raptor" would output "mudraptor")."``
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Delay Component
"Delays all received signals for a specific amount of time."
The Delay Component is an electrical component used to delay a signal for a short amount of time.
It is most commonly used in tandem with Terminals for custom commands.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Requires: Screwdriver |
Memory Component
"Outputs a stored value that can be updated from other sources. Use the signal_in connection to set the stored value, and the lock_state input to toggle whether the received signals should be stored."
The Memory Component is an electrical component used to store signals for later use.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Oscillator Component
"Sends out a periodic, oscillating signal."
The Oscillator is an electrical component used to provide a signal that changes over time.
- Frequency is in hertz (Hz), 1 Hz is once per second, 0.5 Hz is once every 2 seconds and so on.
The output type may be set by a 0,1, or 2 signal.
- 0 = Pulse, a 1 signal is sent every cycle.
- 1 = Sine, a smooth series of numbers from -1 to 1 will be sent that cycles as fast as the frequency.
- 2 = Square, switches between 0 and 1 every time a cycle is completed.
It is most commonly used in tandem with a Subtract Component for timers, countdowns, or making automatic searchlights.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Relay Component
"When switched on, forwards all received signals from the input connections to the outputs."
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.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Requires: Screwdriver |
Wifi Component
"Allows remote communication between other wifi components that are using the same channel."
The Wifi Component is an electrical component used to transfer signals over long distances.
It can also output into text radio chat.
Connection Panel for Wiring Components Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Electrical Components | |
---|---|
Alarms | |
Detectors | |
Interactable | |
Wiring Components | |
Misc |