EasyManua.ls Logo

Inovance H3U Series - Page 245

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...
244
4
4 Instructions4.6.4 Matrix Rotation and Shift
When a string is converted to a 32-bit BIN number, the spaces (20H) or 0s (30H) between the sign and a
set of digits other than 0 are ignored.
Total number
of characters
Number of characters
in the fractional part
Total number
of characters
Number of characters
in the fractional part
32-bit BIN data
32-bit BIN data
Ignored
Ignored
Sign
12
2
-654321
- 6543.21
11
8
54321
0.000543212
Note
The sign, which is encoded into 20H (space) or 2DH (minus sign), must be stored in the rst byte (composed of
the lower eight bits of the initial element from head address [S]).
Only digits 0 (30H) to 9 (39H), spaces (20H), and decimal points (2EH) can be stored in the ASCII-encoded data
area within the range from the second byte of [S] to the string end marker 00H. An operation error will occur when
2DH (minus sign) is stored after the second byte. (Error code: K6706)
Errors
An operation error occurs in the following conditions. The error ag M8067 is set to ON to identify this error
and the error code is stored in D8067.
The number of characters contained in the string from head address [S] is out of range. (Error code:
K6706)
Setting Range
16-bit operation 2 to 8
32-bit operation 2 to 13
The number of characters in the fractional part of the string from head address [S] is out of range. (Error
code: K6706)
Setting Range
16-bit operation 0 to 5
32-bit operation 0 to 10
The value in [D1+1] is greater than the value in [D1] minus 3. (Error code: K6706)
The ASCII code of the sign is neither 20H (space) nor 2DH (minus sign). (Error code: K6706)
The ASCII code of a character is out of the range 30H (0) to 39H (9) or is not 2EH (decimal point). (Error
code: K6706)
Multiple decimal points (2EH) are encoded for the string from head address [S]. (Error code: K6706)
The BIN number after conversion is out of range. (Error code: K6706)
Setting Range
16-bit operation –32,768 to +32,767
32-bit operation –2,147,483,648 to
+2,147,483,647
00H does not exist within the range of elements from head address [S]. (Error code: K6706)
Application
1) After M0 is set to ON, the string stored in D20 to D22 is converted in integer format to a BIN number.
The result is stored in D0.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals