EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 682

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...
680
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
Processing details
Converts the 16-bit binary data in the device number specified by (s) and later to hexadecimal ASCII, and stores the
converted data by the number of characters in the device specified by (n) in the device number specified by (d) and later.
Setting the number of bytes by (n) automatically determines the range of binary data in the device specified by (s) and the
range of the device specified by (d) for storing the character string data.
Processing is performed normally even if the device range in which the binary data to be converted and the device range
for storing the converted binary data are overlapping.
If the number of characters in the device specified by (n) is an odd number, 00H is automatically stored in the upper 8 bits
of the last device number among device numbers for storing the converted character string data.
If the number of characters in the device specified by (n) is 0, no processing is performed.
Operation error
(1) 00H is automatically stored.
Error code
(SD0)
Description
3405H An out-of-range value is set to (n).
The specified number of characters is not between 0 and 16383.
(d)
(d)+1
(d)+2
(d)+3
b15 b0 b7b8
   
(s)
(s)+1
b15 b12 b8b11 b7 b4 b0b3
BIN16
ASCII code (1st digit)ASCII code (2nd digit)
ASCII code (3rd digit)ASCII code (4th digit)
ASCII code (1st digit)ASCII code (2nd digit)
ASCII code (3rd digit)ASCII code (4th digit)
4th digit 3rd digit 2nd digit 1st digit
4th digit 3rd digit 2nd digit 1st digit
Number of characters
specified by (n)
8H 7H
4H 3H
AH 9H
6H 5H
2H 1H
   b15 b12 b8b11 b7 b4 b0b3
D11
D12
D13
41H (A)
b15 b0 b7b8
D10
D11
D12
D13
D14
32H (2)
34H (4)
36H (6)
31H (1)
33H (3)
35H (5)
38H (8) 37H (7)
39H (9)
FH EH
AH 9H
5H 6H
BH 6H
DH CH
7H 8H
1H 2H 3H 4H
   b15 b12 b8b11 b7 b4 b0b3
44H (D)
b15 b0 b7b8
33H (3)
31H (1)
37H (7)
34H (4)
32H (2)
38H (8)
35H (5) 36H (6)
43H (C)
(s)
(s)+1
(s)+2
(s)+3
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
46H (F)
42H (B)
00H
45H (E)
36H (6)
39H (9)
(d)+6
(d)+7
(1)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals