ADD / ADD_S - Addition for ANY_NUM or ANY_SAFENUM

 

This arithmetic function realizes an addition of the operands connected to the input parameters. It is available as standard function ADD and safety-related function ADD_S.

NOTE:

An overflow (i.e., 16-bit-overflow) results in an error. As a result, the Safety Logic Controller enters the Stop state.

ADD

Parameter

Data types

Description

IN1

ANY_NUM

Summand

IN2

ANY_NUM

Summand

OUT

ANY_NUM

Sum

ADD_S

Parameter

Data types

Description

IN1

ANY_SAFENUM

Summand

IN2

ANY_SAFENUM

Summand

OUT

ANY_SAFENUM

Sum

NOTE:

All parameters must have the same data type.