EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

ADD

Overview

IEC operator for the addition of variables

Allowed types

oBYTE

oWORD

oDWORD

oLWORD

oSINT

oUSINT

oINT

oUINT

oDINT

oUDINT

oLINT

oULINT

oREAL

oLREAL

oTIME

oTIME_OF_DAY(TOD)

oDATE

oDATE_AND_TIME(DT)

For time data types, the following combinations are possible:

oTIME+TIME=TIME

oTOD+TIME=TOD

oDT+TIME=DT

In the FBD/LD editor, the ADD operator is an extensible box. This means, instead of a series of concatenated ADD boxes, you can use 1 box with multiple inputs. Use the command Insert Input for adding further inputs. The number is unlimited.

Example in IL

LD     7
ADD    2
ADD    4
ADD    7
ST     iVar

Example in ST

var1 := 7+2+4+7;

Examples in FBD

G-SE-0024266.1.gif-high.gif

 

1.   series of ADD boxes

2.   extended ADD box

3.   ADD box with EN/ENO parameters