Delta AH500 — 6.4.2 Explanation of Data Transfer Instructions

AH500 Programming Manual After the instruction is executed, the data in the operand D is as follows. Example 2: Suppose the operand S is the odd string “12345”. When the conditional contact X0.0 is enabled, the data in D0~D3 is as follows. The operand S : After the instruction is executed, the data in the operand D is as follows. Example 3: When the operand 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 : After the instruction is executed, the data in the operand D is as follows. Example 4:

When the operand S is not a string and the ending code 16#00 appears in the high byte, the execution of the instruction is as follows. 6-118 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#00 The ending code 16#00 is in the low byte. 16#00 is automatically added in the high byte. D3 Unchanged Unchanged String ‘1’ ‘2’ ‘3’ ‘4’ ‘5’ Hexadecimal value 16#31 16#32 16#33 16#34 16#35 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. Device High byte Low byte Note D0 16#31 16#30 ‘1’=16#31; ‘0’=16#30 D1 16#33 16#32 ‘3’=16#33; ‘2’=16#32 D2 16#35 16#34 ‘5’=16#35; ‘4’=16#34 D3 16#00 16#00 The ending code 16#00 is in the low byte. 16#00 is automatically added in the high byte. D4 Unchanged Unchanged