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.
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;