Difference between revisions of "Logic Memory"
From Unofficial Stationeers Wiki
m |
(I couldn't find anywhere that listed the process of storing string values in a memory chip. I wanted to share the answer once I finally figured it out. I couldn't decide if the logic belonged in memory or in the console page.) |
||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| + | [[Category:Circuits]][[Category:Electronic]] | ||
===== Logic Memory Unit ===== <!--T:1--> | ===== Logic Memory Unit ===== <!--T:1--> | ||
| Line 12: | Line 13: | ||
*This little device can store numbers that can be compared, divided , greater than/less than and so much more! | *This little device can store numbers that can be compared, divided , greater than/less than and so much more! | ||
*The memory unit is for mostly any logic system that has to deal with pressure , temperature, gas ratios ,and anything that has to do with numbers and needs a reaction to numbers (eg: Input1 :logic reader 235 kelvin| logic math less| input2: Memory :state 250| logic writer Input1: Math logic "state 1" Output: heaters| type: on) | *The memory unit is for mostly any logic system that has to deal with pressure , temperature, gas ratios ,and anything that has to do with numbers and needs a reaction to numbers (eg: Input1 :logic reader 235 kelvin| logic math less| input2: Memory :state 250| logic writer Input1: Math logic "state 1" Output: heaters| type: on) | ||
| + | *String values up to six characters can be stored in memory. | ||
| + | |||
| + | If you wanted to display a string value of "ABC" on an LED Console, first get the ASCII value of each character in the string and convert it to the binary representation.<br> | ||
| + | "A" (65) 01000001<br> | ||
| + | "B" (66) 01000010<br> | ||
| + | "C" (67) 01000011<br> | ||
| + | Then, concatenate the binary values together into one binary value.<br> | ||
| + | 010000010100001001000011<br> | ||
| + | Finally convert the new binary value into a base 10 number.<br> | ||
| + | 4276803<br> | ||
| + | Using a data writer to send the value "4276803" to an LED console will display a value of "ABC". | ||
==Operation== <!--T:1--> | ==Operation== <!--T:1--> | ||
| Line 23: | Line 35: | ||
==Data Parameters== | ==Data Parameters== | ||
| + | These are all of the parameters that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]] or a [[Kit_(Logic_I/O)#Slot_Reader|Slot Reader]]. If the Write column is checked, they can also be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]], [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]], or [[Integrated Circuit (IC10)]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | ! Parameter Name !! Data Type !! | + | ! Parameter Name !! Data Type !! Write? || Description |
| + | |- | ||
| + | ! Setting !! Float !! Write || s d? Setting r? # Where d? is a memory device | ||
|} | |} | ||
Latest revision as of 19:47, 21 December 2025
Logic Memory Unit[edit]
| Properties | |
|---|---|
| Stacks | Yes (5) |
| Recipe | |
| Created With | Electronics Printer, Fabricator |
| Cost | 1g Gold, 1g Copper |
Description[edit]
- This little device can store numbers that can be compared, divided , greater than/less than and so much more!
- The memory unit is for mostly any logic system that has to deal with pressure , temperature, gas ratios ,and anything that has to do with numbers and needs a reaction to numbers (eg: Input1 :logic reader 235 kelvin| logic math less| input2: Memory :state 250| logic writer Input1: Math logic "state 1" Output: heaters| type: on)
- String values up to six characters can be stored in memory.
If you wanted to display a string value of "ABC" on an LED Console, first get the ASCII value of each character in the string and convert it to the binary representation.
"A" (65) 01000001
"B" (66) 01000010
"C" (67) 01000011
Then, concatenate the binary values together into one binary value.
010000010100001001000011
Finally convert the new binary value into a base 10 number.
4276803
Using a data writer to send the value "4276803" to an LED console will display a value of "ABC".
Operation[edit]
- Using a Screwdriver you can turn two different "knobs" The big knobs control the number by the hundreds (eg: One big knob turn +100 to the "state") (remember + = Bigger - = smaller)
- The smaller knobs are for fine adjustment changing the state by ones (eg: 10 small knob turns = +10 "state")
- If you hold C and adjust with small knobs you can move round 1 digits decimals (eg: 1 left alt turn = +.1 to "state"
- Or you can use a Labeller on the button and enter the value directly from the keyboard.
Warnings[edit]
- Temperature values in the logic systems are in Kelvin not Celsius
Data Parameters[edit]
These are all of the parameters that can be read with a Logic Reader or a Slot Reader. If the Write column is checked, they can also be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
| Parameter Name | Data Type | Write? | Description |
|---|---|---|---|
| Setting | Float | Write | s d? Setting r? # Where d? is a memory device |
