Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 98

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Transferring string data
Instruction symbol
$MOV
$MOVP
$MOV_WS
$MOVP_WS
■Converting 16-bit/32-bit binary data to decimal ASCII
Instruction symbol
BINDA
BINDAP
BINDA_U
BINDAP_U
DBINDA
DBINDAP
DBINDA_U
DBINDAP_U
■Converting 16-bit/32-bit binary data to hexadecimal ASCII
Instruction symbol
BINHA
BINHAP
DBINHA
DBINHAP
■Converting 16-bit/32-bit binary data to string data
Instruction symbol
STR
STRP
STR_U
STRP_U
DSTR
DSTRP
DSTR_U
DSTRP_U
■Converting BCD 4-digit/8-digit data to decimal ASCII code
Instruction symbol
BCDDA
BCDDAP
DBCDDA
DBCDDAP
■Converting single-precision real number to string data
Instruction symbol
ESTR
ESTRP
■Converting hexadecimal binary data to hexadecimal ASCII code
Instruction symbol
INT2ASC
INT2ASCP
2 CPU MODULE INSTRUCTIONS
96
2.3 Application Instructions
Processing details
Transfers the character strings in the device specified by (s) to the device specified by (d) and later.
Transfers the Unicode character strings in the device specified by (s) to the device specified by (d)
and later.
Processing details
Converts the 1-word binary data in the device specified by (s) to decimal ASCII data, and stores the
converted data in the word device number specified by (d) and later.
Converts the 2-word binary data in the device specified by (s) to decimal ASCII data, and stores the
converted data in the word device number specified by (d) and later.
Processing details
Converts the 1-word binary data in the device specified by (s) to hexadecimal ASCII data, and
stores the converted data in the word device number specified by (d) and later.
Converts the 2-word binary data in the device specified by (s) to hexadecimal ASCII data, and
stores the converted data in the word device number specified by (d) and later.
Processing details
Converts the 1-word binary data in the device specified by (s2) to a decimal character string
consisting of the total number digits and the number of digits in the decimal part in the device
specified by (s1), and stores the converted data in the word device specified by (d).
Converts the 2-word binary data in the device specified by (s2) to a decimal character string
consisting of the total number digits and the number of digits in the decimal part in the device
specified by (s1), and stores the converted data in the word device specified by (d).
Processing details
Converts the 1-word BCD data in the device specified by (s) to decimal ASCII data, and stores the
converted data in the word device number specified by (d) and later.
Converts the 2-word BCD data in the device specified by (s) to decimal ASCII data, and stores the
converted data in the word device number specified by (d) and later.
Processing details
Converts the single-precision real number in the device specified by (s1) to a character string, and
stores the converted data in the word device specified by (d).
Processing details
Converts the 1-word binary data in the device number specified by (s) and later to hexadecimal
ASCII, and stores the converted data by the number of characters in the device specified by (n) in
the word device number specified by (d) and later.
Reference
Page 638 $MOV(P)
Page 640
$MOV(P)_WS
Reference
Page 642
BINDA(P)(_U)
Page 646
DBINDA(P)(_U)
Reference
Page 651 BINHA(P)
Page 655 DBINHA(P)
Reference
Page 659 STR(P)(_U)
Page 662
DSTR(P)(_U)
Reference
Page 665 BCDDA(P)
Page 669 DBCDDA(P)
Reference
Page 674 ESTR(P)
Reference
Page 679 INT2ASC(P)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents