159
4
4 Instructions 4.5.1 Data Conversion
◆
Application
WTOB: Data separation by byte
◆
Overview
The WTOB instruction separates consecutive 16-bit data entries byte by byte (every eight bits).
WTOB
S D n
Data separation
by byte
Applicable model:
H3U
S
Source
data
Start number of elements that store the data to be
separated byte by byte
16-bit instruction (7
steps)
WTOB: Continuous
execution
WTOBP: Pulse
execution
D Result
Start number of elements that store the data already
separated byte by byte
n
Separated
byte count
Number of bytes to be separated (n ≥ 0; no processing
when n = 0)
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
Note: The elements in gray background are supported.