MOVEEUMOVUSMOVEMOV Move (MOVE)

Also called: MOV (Move), copy, transfer, assign a value

Copies IN into OUT when the rung is 1.

What it does

The MOVE / MOV block copies a value (variable or constant) into a destination variable, on every scan where the rung is 1.The MOVE block copies a value (variable or constant) into a destination variable, on every scan where the rung is 1.The MOV block copies a value (variable or constant) into a destination variable, on every scan where the rung is 1.

When to use it

To initialise a value, choose a setpoint, change a timer's preset (into T1.PT or T1.PRE).

Operands

European mnemonicAmerican mnemonicNameData typeDirectionRequiredMeaning
ENENEnableBOOLInputYesRung condition: the computation runs only when power flow is 1.
ININSourceBOOL, INT, DINT, REAL, TIME / DINTInputYesValue to copy (variable or constant).
OUTOUTDestinationBOOL, INT, DINT, REAL, TIME / DINTOutputNoDestination. Not changed while the rung is 0.
ENOENOEnable outBOOLOutputNo1 when the computation ran without error.
MnemonicNameData typeDirectionRequiredMeaning
ENEnableBOOLInputYesRung condition: the computation runs only when power flow is 1.
INSourceBOOL, INT, DINT, REAL, TIMEInputYesValue to copy (variable or constant).
OUTDestinationBOOL, INT, DINT, REAL, TIMEOutputNoDestination. Not changed while the rung is 0.
ENOEnable outBOOLOutputNo1 when the computation ran without error.
MnemonicNameData typeDirectionRequiredMeaning
ENEnableBOOLInputYesRung condition: the computation runs only when power flow is 1.
INSourceBOOL, INT, DINT, REALInputYesValue to copy (variable or constant).
OUTDestinationBOOL, INT, DINT, REALOutputNoDestination. Not changed while the rung is 0.
ENOEnable outBOOLOutputNo1 when the computation ran without error.

Timing diagram

S1V101000123456789101112scans

Timing diagram checked against the simulator (the same engine as the editor).

Example

European style
American style

When S1 is 1, V1 takes the value 100.

Try it in the simulatorThe example opens in the free simulator; your own program stays as it was.

Behaviour in detail

European (IEC) and American styles

European: MOVE (IN → OUT).

American: MOV (Source → Dest). Same behaviour.

See also