Delta AS Series Programming Manual page 406

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

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:
String
Hexadecimal
value
After the instruction is executed, the data in the operand D is as follows.
Device
D0
D1
D2
D3
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:
Device
D100
D101
D102
D103
'1'
'2'
16#31
16#32
High byte
Low byte
16#32
16#31
16#34
16#33
16#00
16#35
Unchanged
Unchanged
High byte
Low byte
16#31
16#30
16#33
16#32
16#35
16#34
16#30
16#00
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
'3'
'4'
16#33
16#34
Note
'1'=16#31; '2'=16#32
'3'=16#33; '4'=16#34
The ending code 16#00 is in the high byte.
Note
'1'=16#31; '0'=16#30
'3'=16#33; '2'=16#32
'5'=16#35; '4'=16#34
'0'=16#30; 16#00 is the ending code.
'5'
16#35
6_
6 - 1 2 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents