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

Arithmetic combinator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Line 23: Line 23:
1) All input signals on the red and green wires are summed within the combinator.
1) All input signals on the red and green wires are summed within the combinator.


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


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


==Examples==
==Examples==

Revision as of 01:57, 7 August 2015

Template:Logic

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

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.

Examples

See Also