Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 387

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

Advertisement

Processing details
• These instructions convert the BCD 8-digit data (0 to 99999999) in the device specified by (s) to 32-bit binary data, and
store the converted data in the device specified by (d).
×10
7
8
4
2
(s)
BCD 99999999
1
0
0
31
30
29
2
2
2
(d)
0
0
BIN 99999999
0
(1)
(1) Filled with 0s.
Operation error
Error code
Description
(SD0)
3401H
A value other than 0 to 9 exists at any digit of the value in the device specified by (s).
*1 Turning on SM754 can prevent this error from being detected.
If the specified value is out of the valid range, the DBIN(P) instruction is not executed regardless of the status (on/off) of SM754.
The DBIN(P) instruction does not execute the next operation until the command (execution condition) is turned off and on regardless of
the presence of an error.
(s)+1
×10
×10
6
5
1
8
4
2
1
8
4
2
1
1
1
0
0
1
1
0
0
1
(d)+1
28
27
26
25
24
23
22
21
20
2
2
2
2
2
2
2
2
2
0
0
1
0
1
1
1
1
1
×10
×10
4
3
8
4
2
1
8
4
2
1
8
1
0
0
1
1
0
0
1
1
BIN
19
18
17
16
15
14
13
12
11
2
2
2
2
2
2
2
2
2
2
0
1
0
1
1
1
1
0
0
*1
(s)
×10
×10
×10
2
1
4
2
1
8
4
2
1
8
4
0
0
1
1
0
0
1
1
0
(d)
10
9
8
7
6
5
4
3
2
2
2
2
2
2
2
2
2
2
0
0
0
1
1
1
1
1
1
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
0
2
1
0
1
1
0
2
1
1
6
385

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents