Character String Processing Instructions - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

BINDA(P),DBINDA(P)
7.11

Character string processing instructions

7.11.1
Conversion from BIN 16-bit or 32-bit to decimal ASCII
(BINDA(P),DBINDA(P))
BINDA(P),DBINDA(P)
BINDA, DBINDA
BINDAP, DBINDAP
Setting
Data
S
D
Function
BINDA
(1) Converts the individual digit numbers of decimal notation of the BIN 16-bit data designated
by
S
designated by
b15
S
For example, if
onward:
b15
S
(2) The BIN data designated at
7-182
Command
Command
: BIN data to be converted to ASCII (BIN 16/32 bits)
S
: Head number of the devices where the conversion result will be stored (character string)
D
Internal Devices
R, ZR
Bit
Word
––
into ASCII codes, and stores the results into the area starting from the device
.
D
b0
BIN 16-bit data
12345 has been designated at
b0
1
2
3
4
5
can be in the range from
S
High
Basic
performance
indicates an instruction symbol of BINDA/DBINDA.
J
\
U
\G
Bit
Word
––
b15
b8 b7
ASCII code for ten-thousands place
Sign
D
ASCII code for hundreds place
ASCII code for thousands place
D
+1
+2
ASCII code for units place
ASCII code for tens place
D
D
+3
0
, the following will be stored from
S
b15
b8 b7
31
(1)
D
H
33
(3)
D
+1
H
35
(5)
D
+2
H
+3
D
00
H
32768 to 32767.
Process
Redundant Universal
S
D
P
S
D
Constants
Zn
Other
K, H
––
––
b0
Only when
SM701 is OFF
D
b0
2D
( )
H
32
(2)
H
34
(4)
H
LCPU

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents