In other languages: Česky Deutsch Français Русский 中文

Arithmetic combinator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Robotic-Brain moved page Arithmetic combinator to Arithmetic Combinator: Make page title consistent with other combinators)
No edit summary
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Logic
{{Logic
|Image
|health       =50
|health=50
|energy       =2 kw electric
|energy=2 kw electric
|cps         =60
|cps=60
|input       =Time, 0.5 + Copper cable, 5 + Electronic Circuit, 5
|input=Time, 0.5 + Copper cable, 5 + Electronic Circuit, 5
|raw         =Time, 8 + Iron Plate, 5 + Copper Plate, 10
|raw=Time, 8 + Iron Plate, 5 + Copper Plate, 10
|technologies =Circuit network
|technologies=Circuit network
|producers   =Manual + Assembling machine 1 + Assembling machine 2 + Assembling machine 3
|producers=Manual + Assembling machine 1 + Assembling machine 2 + Assembling machine 3
}}
}}


[[File:ArithmeticSprite.png]]
[[File:ArithmeticSprite.png]]


== Description ==
The arithmetic combinator is part of the [[Circuit Network]] and one of three types of combinators available in the game. It is used to perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends its output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side.
 
The arithmetic combinator is part of the [[Circuit Network]] and one of three types of combinators available in the game. It is used to  
perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends it's output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side.


==Function==
==Function==
Line 26: Line 22:


3) The result of this operation is output as the selected output signal.
3) The result of this operation is output as the selected output signal.
==Examples==


==See Also==
==See Also==
*[[Decider Combinator]]
*[[Decider Combinator]]
*[[Constant Combinator]]
*[[Combinator Tutorial]]
*[[Combinator Tutorial]]
*[[Circuit network]]
*[[Circuit network]]
*[[Constant Combinator]]

Revision as of 04:35, 21 October 2015

Template:Logic

ArithmeticSprite.png

The arithmetic combinator is part of the Circuit Network and one of three types of combinators available in the game. It is used to perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends its output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side.

Function

The internal logic process has three steps:

1) All input signals on the red and green wires are summed within the combinator.

2) The specified operation (+, -, *, or /) is performed on the selected signal(s).

3) The result of this operation is output as the selected output signal.

See Also