Delta Electronics — 6.4.2 Explanation of Data Transfer Instructions

AS Series Programming Manual Example 2 Suppose the data in S is the string “12345” (odd number of bytes). When X0.0 is enabled, the data 12345 is transferred to D0–D3 as follows. The operand S : After the instruction is executed, the data in the operand D is as follows. _6 Example 3 When the data in S is not a string and the ending code 16#00 appears in the low byte, the execution of the instruction is as follows. The operand S : 6-126 String ‘1’ ‘2’ ‘3’ ‘4’ ‘5’ Hexadecimal 16#31 16#32 16#33 16#34 16#35 value Device High byte Low byte Note D0 16#32 16#31 ‘1’=16#31; ‘2’=16#32 D1 16#34 16#33 ‘3’=16#33; ‘4’=16#34 D2 16#00 16#35 The ending code 16#00 is in the high byte.

D3 Unchanged Unchanged Device High byte Low byte Note D100 16#31 16#30 ‘1’=16#31; ‘0’=16#30 D101 16#33 16#32 ‘3’=16#33; ‘2’=16#32 D102 16#35 16#34 ‘5’=16#35; ‘4’=16#34 D103 16#30 16#00 ‘0’=16#30; 16#00 is the ending code.