EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 98

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
96
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
Transferring string data
Converting 16-bit/32-bit binary data to decimal ASCII
Converting 16-bit/32-bit binary data to hexadecimal ASCII
Converting 16-bit/32-bit binary data to string data
Converting BCD 4-digit/8-digit data to decimal ASCII code
Converting single-precision real number to string data
Converting hexadecimal binary data to hexadecimal ASCII code
Instruction symbol Processing details Reference
$MOV Transfers the character strings in the device specified by (s) to the device specified by (d) and later. Page 638 $MOV(P)
$MOVP
$MOV_WS Transfers the Unicode character strings in the device specified by (s) to the device specified by (d)
and later.
Page 640
$MOV(P)_WS
$MOVP_WS
Instruction symbol Processing details Reference
BINDA 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.
Page 642
BINDA(P)(_U)
BINDAP
BINDA_U
BINDAP_U
DBINDA 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.
Page 646
DBINDA(P)(_U)
DBINDAP
DBINDA_U
DBINDAP_U
Instruction symbol Processing details Reference
BINHA 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.
Page 651 BINHA(P)
BINHAP
DBINHA 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.
Page 655 DBINHA(P)
DBINHAP
Instruction symbol Processing details Reference
STR 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).
Page 659 STR(P)(_U)
STRP
STR_U
STRP_U
DSTR 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).
Page 662
DSTR(P)(_U)
DSTRP
DSTR_U
DSTRP_U
Instruction symbol Processing details Reference
BCDDA 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.
Page 665 BCDDA(P)
BCDDAP
DBCDDA 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.
Page 669 DBCDDA(P)
DBCDDAP
Instruction symbol Processing details Reference
ESTR 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).
Page 674 ESTR(P)
ESTRP
Instruction symbol Processing details Reference
INT2ASC 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.
Page 679 INT2ASC(P)
INT2ASCP

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals