In other languages: Čeština Deutsch Français Italiano 日本語 Polski Português, Brasil Русский Українська 简体中文

Circuit network: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Languages}}
{{Languages}}
[[Circuit network]]s (CCNet) enables the control of [[Inserters]] based on the amount of [[Items]] stored in all [[Chests]] connected to the same network.
[[Circuit network]]s (CCNet) enables the control of devices based on the amount of [[Items]] and Fluids stored in all [[Chests]] and [[Storage tank|Storage tanks]] connected to the same network.


:[[File:InnerOfGreenCable.jpg|400px]]
:[[File:InnerOfGreenCable.jpg|400px]]
A more technical explanation is, that the circuit network is a standardized bus-system. '''See [[Circuit network/Bus|this explanation]].  
A more technical explanation is, that the circuit network is a standardized bus-system. '''See [[Circuit network/Bus|this explanation]].  


Even if the [[Circuit network]] looks quite different to the [[Logistic network]], the [[Circuit network/Bus|bus]] is principially the same, cause the information is the same.
Even if the circuit network looks quite different to the [[Logistic network]], the [[Circuit network/Bus|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!
'''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!


Line 14: Line 14:
| {{imagelink|green-wire|Green wire}} || Wires used to connect smart devices to a green network.
| {{imagelink|green-wire|Green wire}} || Wires used to connect smart devices to a green network.
|-
|-
| {{imagelink|smart-chest|Smart chest}} || The most basic chest connectable to [[Circuit network]]s.
|-
|-
| {{imagelink|Provider-chest|Active Provider chest}} || A chest connectable to [[Circuit network]]s and participating in the [[Logistic network]].
| {{imagelink|smart-chest|Smart chest}} || The most basic chest connectable to circuit networks. It's content will be sent to the network.
|-
|-
| {{imagelink|Logistic-chest-passive-provider|Passive Provider chest}} || A chest connectable to [[Circuit network]]s and participating in the [[Logistic network]].
| {{imagelink|Provider-chest|Active Provider chest}} || A chest connectable to circuit networks and participating in the [[Logistic network]]. It's content will be sent to the network.
|-
|-
| {{imagelink|requester-chest|Requester chest}} || A chest connectable to [[Circuit network]]s and participating in the [[Logistic network]].
| {{imagelink|Logistic-chest-passive-provider|Passive Provider chest}} || A chest connectable to circuit networks and participating in the [[Logistic network]]. It's content will be sent to the network.
|-
|-
| {{imagelink|storage-chest|Storage chest}} || A chest connectable to [[Circuit network]]s and participating in the [[Logistic network]].
| {{imagelink|requester-chest|Requester chest}} || A chest connectable to circuit networks and participating in the [[Logistic network]]. It's content will be sent to the network.
|-
|-
| {{imagelink|smart-inserter|Smart inserter}} || The only inserter connectable to [[Circuit network]]s. The condition when the inserter is working is configurable in the menu.
| {{imagelink|storage-chest|Storage chest}} || A chest connectable to circuit networks and participating in the [[Logistic network]]. It's content will be sent to the network.
|-
| {{imagelink|storage-tank|Storage tank}} || A tank connectable to circuit networks. It's fluid content will be sent to the network.
|-
|-
| {{imagelink|smart-inserter|Smart inserter}} || The only inserter connectable to circuit networks. The condition when the inserter is working is configurable in the menu.
|-
| {{imagelink|small-lamp|Lamp}} || The lamp is connectable to circuit networks. The condition when the lamp is shining is configurable in the menu.
|-
| {{imagelink|small-pump|Small pump}} || The small pump is connectable to circuit networks. The condition when the pump is working is configurable in the menu.
|-
| {{imagelink|offshore-pump|Offshore Pump}} || The offshore pump is connectable to circuit networks. The condition when the pump is working is configurable in the menu.
|-
|-
|}
|}
Line 32: Line 42:
[[File:circuit-network-example-1.png|thumb|256px|A basic circuit network usable to fill a chest with a defined amount of items. '''Watch exactly, how the red wires are connected!''' To connect a wire with the pole take a wire and drag it from the base of a pole to the target entity!]]
[[File:circuit-network-example-1.png|thumb|256px|A basic circuit network usable to fill a chest with a defined amount of items. '''Watch exactly, how the red wires are connected!''' To connect a wire with the pole take a wire and drag it from the base of a pole to the target entity!]]


This is not very well documented, because it is not often used and with the ability of the smart inserter to connect also to the logistic network the best (recommended) basic usage is [[Power_Production#How_to_switch_off_steam_engines_in_the_night.2C_when_enough_accumulator_capacity_is_available.3F|to switch of the steam engines during the night]] when you have enough power remaining in you accumulators.
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.
 
'''Keep in mind, that the current roadmap for v0.11 plans to enhance the circuit network!


== Advanced ==
== Advanced ==
Line 49: Line 57:
=== Receivers ===
=== Receivers ===
[[File:circuit-network-gui.png|thumb|256px|Example condition: "Work only if the count of [[Alien science pack]] is lower than 50."]]
[[File:circuit-network-gui.png|thumb|256px|Example condition: "Work only if the count of [[Alien science pack]] is lower than 50."]]
[[Inserter#Smart inserter|Smart inserter]] is the only machine that can act depending on the state of the network.
[[Inserter#Smart inserter|Smart inserters]], [[Lamp|lamps]], [[Small pump|small pumps]] and [[Offshore pump|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:
When it is connected to the network, it is possible to set up the condition in three parts:
* Item this condition should depend on
* 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 then, bigger then, equal)
* Type of the condition: less than, bigger than, equal
* Value, integral number connected with the condition.
* 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 ===
=== 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.
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 ===
=== Examples (Before 0.12 release) ===
* [http://www.factorioforums.com/forum/viewtopic.php?f=8&t=348 Logic Gates, Edge Detector]
* [http://www.factorioforums.com/forum/viewtopic.php?f=8&t=348 Logic Gates, Edge Detector]
* [http://www.factorioforums.com/forum/viewtopic.php?f=6&t=4728&p=37251#p37157 Logic gates revisited]
* [http://www.factorioforums.com/forum/viewtopic.php?f=6&t=4728&p=37251#p37157 Logic gates revisited]

Revision as of 21:35, 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.

InnerOfGreenCable.jpg

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.png
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.png
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

File:Circuit-network-example-1.png
A basic circuit network usable to fill a chest with a defined amount of items. Watch exactly, how the red wires are connected! To connect a wire with the pole take a wire and drag it from the base of a pole to the target entity!

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 picture shows a circuit network, that contains over 42 000 coal and 12 000 iron plates.

The Circuit network/Bus-page explains the function of the bus.

There are several links into the forum:

Receivers

Example condition: "Work only if the count of Alien science pack is lower than 50."

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)

See also