EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #483 background imageLoading...
Page #483 background image
481
ASC, ASCP
1
2
3
4
4
6
7
8
7.11 Character string processing instructions
7.11.13 ASC, ASCP
[Operation]
: Head number of the devices where BIN data to be converted to a character string is stored (BIN 16 bits)
: Head number of the devices where the converted character string will be stored (character string)
n : Number of characters to be stored (BIN 16 bits)
Function
(1) Converts the BIN 16-bit data stored in the area starting from the device designated by to ASCII by treating the BIN
data in hexadecimal representation. Then, stores the converted data into the area starting from the device designated by
, for the number of characters specified by n.
(2) The use of n to set the number of characters causes the BIN data range designated by and the character string
storage device range designated by to be set automatically.
7.11.13 ASC, ASCP Conversion from hexadecimal BIN to ASCII
7.11.13
ASC, ASCP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
–– –– ––
n ––
D11
20
H
(space)20
H
(space)
31
H
(1)2E
H
(.)
b15 b8
b7
b0
D12 32
H
(2)33
H
(3)
34
H
(4)35
H
(5)
D13
45
H
(E)2D
H
(-)
30
H
(0)
D14
D15 32
H
(2)
D16 00
Ignored
1
.
2
3
4
5
E
0-
2
Ignored
D101 D100
D10
1
.
234
5 E
-2
Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
ASC
ASCP
n
n
ASC
ASCP
S D
S D
S
D
S
D
S
D
+1
+2
+3
+6
When "15" is
set for n
1
H 2H 3H 4H
+1
+4
+5
+7
5H 6H 7H 8H
FH
EH DH
CH
AH 9H
BH
6H
BIN data
+1
+2
+3
+1
+2
+3
ASCII code for the 1st digitASCII code for the 2nd digit
ASCII code for the 3rd digitASCII code for the 4th digit
b15 b8b7 b0
ASCII code for the 1st digitASCII code for the 2nd digit
ASCII code for the 3rd digitASCII code for the 4th digit
ASCII code for the 1st digitASCII code for the 2nd digit
34H (4)33H (3)
32
H (2)31H (1)
38H (8)37H (7)
36
H (6)35H (5)
44H (D)
46
H (F)
42
H (B)
00
H
43H (C)
45
H (E)
36
H (6)
39
H (9)
4th digit 3rd digit 2nd digit 1st digit
4th digit 3rd digit 2nd digit 1st digit
4th digit 3rd digit 2nd digit 1st digit
b15 b12 b8b11 b7 b4 b0b3
S
D
S
D
D
D
b15 b12 b8b11 b7 b4 b0b3
b15 b8b7 b0
D
D
D
D
D
D
D
D
S
S
S
S
Number of
characters
designated by n
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals