EasyManua.ls Logo

Inovance H3U Series - BTOW Data Combination by Byte

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
160
4
4 Instructions4.5.1 Data Conversion
Function
The 16-bit data in elements from head address [S] is saved to the lower eight bits in each of n elements
from head address [D]. The higher eight bits store 00H. The data is stored byte by byte.
Higher byte Lower byte
儈ᆇ㢲 վᆇ㢲
... ...
Higher byte Lower byte
儈ᆇ㢲 վᆇ㢲
Higher byte Lower byte
00H Lower byte
儈ᆇ㢲 վᆇ㢲
... ...
00H Higher byte
儈ᆇ㢲 վᆇ㢲
00H Lower byte
儈ᆇ㢲 վᆇ㢲
00H Higher byte
儈ᆇ㢲 վᆇ㢲
00H Lower byte
儈ᆇ㢲 վᆇ㢲
00H Higher byte
[ S+0 ]
[ D+0 ]
[ D+n-1 ]
[ S+1 ]
[ D+1 ]
An error is returned in the following condition. The error ag M8067 is set to ON to identify this error and
the error code is stored in D8067.
Error 6705 is returned when elements from head addresses [S] and [D] are out of range.
Application
BTOW: Data combination by byte
Overview
The BTOW instruction combines the lower eight bits (lower byte) of each of consecutive 16-bit data entries
together.
BTOW
S D n
Data combination
by byte
Applicable model:
H3U
S
Source
data
Start number of elements that store the data to be
combined byte by byte
16-bit instruction
(7 steps)
BTOW:
Continuous
execution
BTOWP: Pulse
execution
D Result
Start number of elements that store the data already
combined byte by byte
n
Combined
byte count
Number of bytes to be combined (n ≥ 0; no processing
when n = 0)

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals