Addition +

Operator - Performs an addition of all inputs.

  • All inputs and the output must have the same type.
  • The addition can be used with strings.
    • The result is the concatenation of the input strings.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

IN1

ANY

 

 

 

First input.

IN2

ANY

 

 

 

Second input.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Q

ANY

 

 

Result: IN1 + IN2.

FBD Language Example

  • In the FBD Language, the block can have a maximum of 32 inputs.

FFLD Language Example

  • In the FFLD Language, the input rung (EN) enables the operation.
    • The output rung (ENO) keeps the same value as the input rung.

IL Language Example

Not available.

ST Language Example

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

See Also