Mitsubishi MELSEC Q Series Programming Manual page 560

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

Advertisement

BINHA(P),DBINHA(P)
DBINHA
(1) Converts the individual digit numbers of hexadecimal notation of the BIN 32-bit data
designated by
device designated by
Upper 16 bits
For example, if the value 03AC625E
following
(2) The BIN data designated by
(3) The operation results stored at
For this reason, zeros which are significant digits on the left side of the value are processed
as "0". (No zero suppression is conducted.)
(4) The data to be stored at the device designated by
status of SM701 (number of characters to output select signal).
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The device specified by
(For the Universal model QCPU, LCPU.)
7-186
into ASCII codes, and stores the results into the area starting from the
S
.
D
S
S
+1
Lower 16 bits
BIN 32-bit data
in the following manner:
D
S
+1
S
0 3 A C 6 2 5E
H
can be in the range from 0
S
D
When SM701 is OFF......Stores "0"
When SM701 is ON .......Does not change
exceeds the range of the corresponding device.
D D
b15
b8b7
ASCII code for the 7th digit
D
D
+1
ASCII code for the 5th digit
D
+2
ASCII code for the 3rd digit
D
+3
ASCII code for the 1st digit
D
+4
has been designated by
H
b15
b8 b7
D
33
(3)
30
H
D
+1
43
(C)
41
H
D
+2
32
(2)
36
H
D
+3
45
(E)
35
H
D
+4
00
H
H
are processed as 8-digit hexadecimal values.
+2 differs depending on the ON/OFF
D
b0
ASCII code for the 8th digit
ASCII code for the 6th digit
ASCII code for the 4th digit
ASCII code for the 2nd digit
(Only when
0
SM701 is OFF)
, it would be stored
S
b0
(0)
H
(A)
H
(6)
H
(5)
H
to FFFFFFFF
.
H
(Error code: 4101)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents