DVP-ES3 Series Programming Manual Symbol S : Data source D : Data destination Explanation 1. This instruction transfers the string in S to D , and adds the code 16#00 to the end of the string. _6 2. When the operand S is not a string, the instruction adds the code 16#00 to the end of the data transferred. 3. When the ending code16#00 cannot be found in S for 256 characters in a row or even beyond the device range, the instruction is not executed; SM0 is ON and the error code in SR0 is 16#200E. 4. When the operand S is not a string and the instruction is executed, the string starting with the data in the device specified by S (including 16#00) is transferred to D .
When the instruction is not executed, the data in D is unchanged. 5. If D is not sufficient to contain the string composed of the values in S , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 6. Suppose the operand S is not a string. When the instruction is executed and the first character in S is the code 16#00, 16#00 is still transferred to D . 6-124 API Instruction code Operand Function 0302 $MOV P S, D Transferring a string Device X Y M S T C HC D FR SM SR E K 16# “$” F S D BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S D Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 -