Circuit network: Difference between revisions
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
=== Receivers === | === Receivers === | ||
[[File:smart_inserter.png|thumb|250px|Example condition: "Work only if the count of [[Iron plate]]s is lower than the amount of [[Steel plate]]s." Instead of the steel plate you can use a constant value.]] | [[File:smart_inserter.png|thumb|250px|Example condition: "Work only if the count of [[Iron plate]]s is lower than the amount of [[Steel plate]]s." Instead of the steel plate you can use a constant value.]] | ||
[[ | [[Smart inserter]]s, [[Lamp]]s, [[Small pump]]s and [[Offshore pump]]s are currently the only devices connectable to the circuit network. If a circuit condition is set, they only work if this condition is true. | ||
When it is connected to the network, it is possible to set up the condition in three parts: | When it is connected to the network, it is possible to set up the condition in three parts: | ||
* Item or fluid. To check the condition, the values of the given item or fluid in the connected circuit network is taken. | * Item or fluid. To check the condition, the values of the given item or fluid in the connected circuit network is taken. |
Revision as of 22:17, 9 February 2016
Circuit networks (CCNet) enables the control of devices based on the amount of Items and Fluids stored in all Chests and Storage tanks connected to the same network via red or green wires.
A more technical explanation is, that the circuit network is a standardized bus-system. See this explanation.
Even if the circuit network looks quite different to the Logistic network, the bus is principially the same, cause the information is the same. The basic difference between them is that, in a logistic network, everything which is covered by a roboport pops up as content, but in the circuit network only the connected chests pops up!
Items
Red wire | Wires used to connect smart devices to a red network. |
Green wire | Wires used to connect smart devices to a green network. |
Smart chest | The most basic chest connectable to circuit networks. It's content will be sent to the network. |
Active Provider chest | A chest connectable to circuit networks and participating in the Logistic network. It's content will be sent to the network. |
Passive Provider chest | A chest connectable to circuit networks and participating in the Logistic network. It's content will be sent to the network. |
Requester chest | A chest connectable to circuit networks and participating in the Logistic network. It's content will be sent to the network. |
Storage chest | A chest connectable to circuit networks and participating in the Logistic network. It's content will be sent to the network. |
Storage tank | A tank connectable to circuit networks. It's fluid content will be sent to the network. |
Smart inserter | The only inserter connectable to circuit networks. The condition when the inserter is working is configurable in the menu. |
Lamp | The lamp is connectable to circuit networks. The condition when the lamp is shining is configurable in the menu. |
Small pump | The small pump is connectable to circuit networks. The condition when the pump is working is configurable in the menu. |
Offshore Pump | The offshore pump is connectable to circuit networks. The condition when the pump is working is configurable in the menu. |
Basic
The circuit network is often use to control the amount of certain items or fluids in the factory. Before the storage tank, lamp, small and offshore pump were included to the circuit network, the basic usage was to connect a smart inserter with a chest next to it to control the amount of items in the chest.
Advanced
The Circuit network/Bus-page explains the function of the bus.
There are several links into the forum:
- Forum article about the basic usage
- About comparison of the circuit wires with examples from the real world
Receivers
Smart inserters, Lamps, Small pumps and Offshore pumps are currently the only devices connectable to the circuit network. If a circuit condition is set, they only work if this condition is true. When it is connected to the network, it is possible to set up the condition in three parts:
- Item or fluid. To check the condition, the values of the given item or fluid in the connected circuit network is taken.
- Type of the condition: less than, bigger than, equal
- Item or fluid. To check the condition, the values of the given item or fluid in the connected circuit network is taken.
Both values will be compared by using the given type of the condition.
Multiple networks
It is possible to establish multiple distinct networks of the same color. Just make sure that there is no wire connection between them and they will be treated as separate networks.
Examples (Before 0.12 release)
- Logic Gates, Edge Detector
- Logic gates revisited
- Evenly fill two item onto one lane
- Material splitters
- Logic gates using side inserter mod