EasyManua.ls Logo

Inovance H3U Series - Page 260

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...
259
4
4 Instructions 4.6.4 Matrix Rotation and Shift
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
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
n characters are retrieved at the left end of a string from head address [S]. The result is stored in elements
from head address [D]. The retrieved string is appended with 00H when stored.
ASCII code of the second
character
ASCII code of the fourth
character
S+ 1
b7 ----- b0
ASCII code of the (N
1)th character
ASCII code of the first
character
ASCII code of the third
character
b15----- b8
00H
ASCII code of the last
character
S
……………………
ASCII code of the (N
2)th character
ASCII code of the (N +
1)th character
ASCII code of the Nth
character
ASCII code of the (last
character number
1) th
character
ASCII code of the (last
character number 2) th
character
D+1
b7-----b0
b15----- b8
00H
ASCII code of the last
character
D
……………………
ASCII code of the (N
1)th character
ASCII code of the (N
2)th character
ASCII code of the second
character
ASCII code of the fourth
character
ASCII code of the first
character
ASCII code of the third
character
1. When the number of retrieved characters is odd, 00H is stored in the higher byte of the element that
stores the last character.
2. When the number of retrieved characters is even, 0000H is stored in the element after the one that
stores the last character.
3. When the number of retrieved bytes is 0, 0000H is stored in [D].
An error is returned in the following conditions. The error ag M8067 is set to ON to identify this error and
the error code is stored in D8067.
1. Error 6705 is returned due to out-of-range search when 00H is not found in elements from head address
[S].
2. Error 6705 is returned when elements from head address [D] cannot fully store the n retrieved
characters.
3. Error 6706 is returned when the value of n is greater than the number of characters stored in elements
from head address [S].
4. Error 6706 is returned when n is negative.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals