DVP-ES3 Series Programming Manual Symbol S 1 : String S 2 : String to be inserted S 3 : The string S 2 is inserted into S 1 after the character indicated by the value in S 3 . _6 D : Device in which the execution result is stored Explanation 1. This instruction inserts the string in S 2 into the string in S 1 after the character indicated by the value in S 3 , and stores the result in D . 2. If the string in either S 1 or S 2 is a null string, the instruction stores the other string ( S 1 or S 2 ) that is not a null string in D . 3. If the strings in S 1 and S 2 are null strings, the instruction stores 16#0000 in D .
b15 b0 b7 b8 b15 b0 b7 b8 S1 +1 S1 D +1 D +2 S1 +2 D +3 S1 +4 S1 After the instruction is executed +3 D +4 D +5 S1 +5 D S2 +6 D D +1 S2 S2 S3 6 6-678 API Instruction code Operand Function 2119 $INS P S1, S2, S3, D Inserting a string Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 S3 D BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 S3 D Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 - 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#36(6) 16#35(5) 16#38(8) 16#37(7) 16#30(0) 16#39(9) 16#00 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#36(6) 16#35(5) 16#4E(N) 16#4D(M) 16#38(8) 16#37(7) 16#30(0) 16#39(9) 16#00 16#4E(N) 16#4D(M) 16#00