2-28
2.5 Application Instructions
2.5.11 String processing instructions
2.5.11
String processing instructions
Table 2.28 String processing instructions
Category
Instruction name
Argument
Processing details
Executing
condition
Page
BIN data
to
decimal
ASCII data
conversion
BINDA
,
• Converts 1 word of BIN data specified
for to 5 digits of decimal ASCII data
and stores the result to the word device
specified for .
DBINDA
,
• Converts 2 words of BIN data specified
for to 10 digits of decimal ASCII data
and stores the result to and the
following word devices.
BIN data
to
hexadecimal
ASCII data
conversion
BINHA
,
• Converts 1 word of BIN data specified
for to 4 digits of hexadecimal ASCII
data and stores the result to and the
following word devices.
DBINHA
,
• Converts 2 words of BIN data specified
for to 8 digits of hexadecimal ASCII
data and stores the result to and the
following word devices.
BCD data
to
decimal
ASCII data
conversion
BCDDA
,
• Converts 1 word of BCD data specified
for to 4 digits of decimal ASCII data
and stores the result to and the
following word devices.
DBCDDA
,
• Converts 2 words of BCD data specified
for to 8 digits of decimal ASCII data
and stores the result to and the
following word devices.
Decimal
ASCII
data
to
BIN data
conversion
DABIN
,
• Converts 5 digits of decimal ASCII data
specified for to 1 word of BIN data
and stores the result to the word device
specified for .
DDABIN
,
• Converts 10 digits of decimal ASCII
data specified for to 2 words of BIN
data and stores the result to the word
device specified for .
Hexadecimal
ASCII data
to
BIN data
conversion
HABIN
,
• Converts 4 digits of hexadecimal ASCII
data specified for to 1 word of (16-
bit) BIN data and stores the result to the
word device specified for .
DHABIN
,
• Converts 8 digits of hexadecimal ASCII
data specified for to 2 words of BIN
data and stores the result to the word
device specified for .
Decimal
ASCII data
to
BCD data
conversion
DABCD
,
• Converts 4 digits of decimal ASCII data
specified for to 1 word of BCD data
and stores the result to the word device
specified for .
DDABCD
,
• Converts 8 digits of decimal ASCII data
specified for to 2 words of BCD data
and stores the result to the word device
specified for .
Device
comment
data read
COMRD
,
• Stores the comment data from the
device specified for and stores it to
the device specified for .
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
s
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......