MOVEΒΆ

The IEC Operators and additional, norm-extending \ functions Assignment of a variable to another variable of an appropriate type. As MOVE is available as a box in the graphic editors LD, CFC, there the (unlocking) EN/EN0 functionality can also be applied on a variable assignment. In the FBD editor this is not possible however.

Example in CFC in conjunction with the EN/EN0 function:

Only if en_i is TRUE, var1 will be assigned to var2.

../_images/800aed6b4373966a0a3313905c72d969

Example in IL:

LD ivar1
MOVE
ST ivar2 (* Result: ivar2 gets assigned value of ivar1 *)

You get the same result with:

LD ivar1
ST ivar2

Example in ST:

ivar2 := MOVE(ivar1);

You get the same result with: ivar2 := ivar1;