Conversion From Hexadecimal Ascii To Bin 16-Bit And 32-Bit Data Habin(P),Dhabin(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

HABIN(P),DHABIN(P)
7.11.5
Conversion from hexadecimal ASCII to BIN 16-bit and 32-bit data
(HABIN(P),DHABIN(P))
HABIN(P),DHABIN(P)
HABIN,DHABIN
HABINP,DHABINP
Setting
Data
S
D
Function
HABIN
(1) Converts hexadecimal ASCII data stored in the area starting from the device number
designated by
For example, if the ASCII code of 5A8D
operation result would be stored at
(2) The ASCII data designated by
(3) The ASCII codes can be in the range of "30
7-194
Command
Command
: ASCII data to be converted to BIN value or head number of the devices where the ASCII data is stored
S
(character string)
: Head number of the devices where the conversion result will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
––
into BIN 16-bit data, and stores it in the device number designated by
S
b15
b8b7
ASCII code for the 3rd digit
ASCII code for the 4th digit
S
ASCII code for the 1st digit
ASCII code for the 2nd digit
S
+1
b15
b8
b7
S
41
(A)
H
S
44
(D)
+1
H
S
High
Basic
performance
indicates an instruction symbol of HABIN/DHABIN.
J
\
U
\G
Bit
Word
––
b0
b15
D
is designated for the area starting from
H
in the following manner:
D
b0
b15
35
(5)
H
D
38
(8)
H
to
+1 can be in the range of from 0000
S
" to "39
" and from "41
H
H
Process
Redundant Universal
LCPU
S
D
P
S
D
Constants
Zn
Other
$
––
––
––
b0
BIN 16 bits
, the
S
b0
5A8D
H
to FFFF
.
H
H
" to "46
".
H
H
.
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents