DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Example 4
When the data in S is not a string and the ending code 16#00 appears in the high byte, the
execution of the instruction is as follows.
The operand S:
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#00 16#34 16#00 is the ending code. ‘4’=16#34
D103 16#37 16#36 ‘7’=16#37; ‘6’=16#36
After the instruction is executed, the data in the operand D is as follows.
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#00 16#34 16#00 is the ending code. ‘4’=16#34
D3 Unchanged Unchanged