Mitsubishi MELSEC Q Series Programming Manual page 569

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

DHABIN
(1) Converts hexadecimal ASCII data stored in the area starting from the device number
designated by
b15
S
S
+1
S
+2
+3
S
For example, if the ASCII code of 5CB807E1
the operation result would be stored at
b15
S
S
+1
+2
S
+3
S
(2) The ASCII data designated by
FFFFFFFF
H
(3) The ASCII codes can be in the range of "30
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The ASCII codes for the individual numbers designated by
range of from "30
• The device specified by
(For the Universal model QCPU, LCPU.)
into BIN 32-bit data, and stores it in the device number designated by
S
b8b7
ASCII code for the 7th digit
ASCII code for the 8th digit
ASCII code for the 5th digit
ASCII code for the 6th digit
ASCII code for the 3rd digit
ASCII code for the 4th digit
ASCII code for the 1st digit
ASCII code for the 2nd digit
b8b7
43
(C)
35
(5)
H
H
38
(8)
42
(B)
H
H
37
(7)
30
(0)
H
H
31
(1)
45
(E)
H
H
to
S
S
.
" to "39
" and from "41
H
H
exceeds the range of the corresponding device.
S
b0
D
+1
b31
Upper 16 bits
is designated for the area starting from
H
+1 and
in the following manner:
D
D
b0
D
+1
b31
5CB8
H
+3 can be in the range of from 00000000
" to "39
" and from "41
H
H
S
" to "46
".
H
H
HABIN(P),DHABIN(P)
D
D
b16 b15
b0
Lower 16 bits
BIN 32 bits
,
S
D
b16
b15
b0
07E1
H
to
H
" to "46
".
H
H
to
+3 are outside the
S
(Error code: 4100)
(Error code: 4101)
7-195
1
.
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents