Move (MOVE)
    The MOVE instruction moves a copy of the Source to the Dest. The Source remains unchanged.
Available Languages
Ladder Diagram

Structured Text
This instruction is not available in structured text.
     TIP: 
    Use an assignment 
:=
 with an
          expression to achieve the same result. Refer to Structured Text syntax for more information on the syntax of
          expressions and assignments within structured text. Operands
     IMPORTANT: 
    Unexpected operation may occur if:
          
- Output tag operands are overwritten
- Members of a structure operand are overwritten
- Except when specified, structure operands are shared by multiple instructions.
There are data conversion rules for mixing numeric data types within an instruction. See Data conversions.
Ladder Diagram
Numeric
| Operand | Data Type | Format | Description | 
|---|---|---|---|
| Source | SINT INT DINT LINT USINT UINT UDINT ULINT REAL LREAL | immediate tag | Value to move | 
| Dest | SINT INT DINT LINT USINT UINT UDINT ULINT REAL LREAL | tag | Tag to store the result | 
Affects Math Status Flags
Conditional. See Math status flags.
Major/Minor Faults
| A minor fault will occur if: | Fault type | Fault code | 
|---|---|---|
| Overflow detection feature is enabled and the Source value is outside the range of Dest type. | 4 | 4 | 
Execution
Ladder Diagram
| Condition/State | Action Taken | 
|---|---|
| Prescan | N/A | 
| Rung-condition-in is false | Set Rung-condition-out to Rung-condition-in. | 
| Rung-condition-in is true | Set Rung-condition-out to Rung-condition-in. The instruction copies the Source into the Dest. | 
| Postscan | N/A | 
Example
Ladder Diagram

Structured Text
value_2 := value_1; 
value_3 := 'Test PASSED'; 
Provide Feedback