EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 650

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
648
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
Operation of when SM705 (Number of conversion digits selection) is off
Decimal ASCII data is stored in a fixed number of digits in (d) to (d)+5.
*1 When the value is 0 or positive, 20H (space) is stored. When the value is negative, 2DH (-) is stored.
*2 When the length of the numeric part is 9 digits or less, 20H (space) is stored in ASCII 10
9
.
*3 When the length of the numeric part is 8 digits or less, 20H (space) is stored in ASCII 10
8
.
*4 When the length of the numeric part is 1 digit, 20H (space) is stored in ASCII 10
1
.
Ex.
When -12345678 (signed) is specified in (s)
ASCII S: Sign data of ASCII code
*1
ASCII 10
9
: Billions place of ASCII code
*2
ASCII 10
8
: Hundred-millions place of ASCII code
*3
ASCII 10
1
: Tens place of ASCII code
*4
ASCII 10
0
: Ones place of ASCII code
(1): 00H is stored in the upper byte of (d)+5 only when SM701 (Number of output characters selection) is off, and 20H (space) is stored when it is on.
b31 b16 b15 b0
(s)+1 (s)
(d)+1
(d)+2
(d)+3
(d)
b15 b0 b7b8
ASCII 10
9
ASCII 10
7
ASCII 10
5
ASCII S
ASCII 10
8
ASCII 10
6
ASCII 10
3
ASCII 10
4
ASCII 10
1
ASCII 10
2
00H / 20H ASCII 10
0
(1)
(d)+4
(d)+5
BIN 32bit

(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
b15 b0 b7b8
(s)+1 (s)
1234 5678
-
2DH (-)
31H (1)
32H (2)33H (3)
35H (5) 34H (4)
37H (7) 36H (6)
38H (8)00H, 20H
20H (SP)
20H (SP)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals