EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 439

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...
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
437
6
Processing details
These instructions convert the (n) points of BCD data (0 to 9999) starting from the device specified by (s) to 16-bit binary
data, and store the converted data in the device specified by (d) and later.
Operation error
Error code
(SD0)
Description
2821H The device ranges specified by (s) and (d) are overlapping.
3401H The (n) points of data starting from the device specified by (s) is out of the range, 0 to 9999.
(s)
(s)+1
(s)+2
(s)+(n)-2
(s)+(n)-1
(d)
(d)+1
(d)+2
(d)+(n)-2
(d)+(n)-1
BCD 5555
BCD 4321
BCD 1545
BCD 5678
BCD 1234
BIN 1234
BIN 5678
BIN 1545
BIN 4321
BIN 5555

 
 
(n)
(n)
0 001010110110011
0 001000011100001
0 000011000001001
0 001011000101110
0 000010011010010
0 101010101010101
0 100001100100001
0001010101000101
0 101011001111000
0 001001000110100
8000
4000
2000
1000
800
400
200
100
80
40
20
10
8
4
2
1
8192
4096
2048
1024
512
256
128
64
32
16
8
4
2
1
BIN

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals