Arithmetic Operator

<< Click to Display Table of Contents >>

Navigation:  Components > Control, logic & time > Graphical logic > Component list >

Arithmetic Operator

An arithmetic operator performs basic arithmetic operations with two inputs and puts the result to the output.

An arithmetic operator has two inputs and one output. It takes two Input values for an adjustable arithmetic function. The result of this operation is set at the output.

 

Functions

Addition E1 + E2

The value on input 1 (A) is added with the value at the input 2 (B).

Subtraction E1 - E2

The value on input 2 (A) is subtracted from the value on input 1 (B).

Multiplication E1 * E2

The value on input 1 (A) is multiplied by the value at the input 2 (B)

Division E1 / E2

The value on input 1 (A) is divided by the value at the input 2 (B).

 

If the check "invert error out" is set, the output is 1 if no error or overflow exists. With the parameter "Use value on input 2 only if value of input 1 is new" you can realize, for

example, an ascending or descending counting function. This is for example the replication of temperature control functions to increase or decrease the temperature by a certain value.

 

The inputs are marked with an A and B, and are left at the element.  The output is characterized by an O, is top right of the element. The name of the gate can be chosen freely.

 

Note: For input and output all data types are allowed.

 

Arithmetic