Operator - Performs an addition of all inputs.

Inputs

Input

Data type

Description

IN1

ANY

First input.

IN2

ANY

Second input.

Outputs

Output

Data type

Description

Q

ANY

Result: IN1 + IN2.

Remarks

All inputs and the output must have the same type. In FBD language, the block may have up to 16 inputs. In LD language, the input rung (EN) enables the operation, and the output rung keeps the same value as the input rung.

The addition can be used with strings. The result is the concatenation of the input strings.

ST Language

Q := IN1 + IN2;
MyString := 'He' + 'll ' + 'o';  (* MyString is equal to 'Hello' *)

FBD Language

The block may have up to 16 inputs:

Fixed_Image

LD Language

The addition is executed only if EN is TRUE.
ENO is equal to EN.

Fixed_Image

Fixed_Image See also

-  *  /


Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily