Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 267

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

Advertisement

Processing details
• These instructions subtract the BCD 4-digit data in the device specified by (s2) from the BCD 4-digit data in the device
specified by (s1), and store the operation result in the device specified by (d).
(s1)
0
6
7
8
-
0
• If an underflow occurs, the result will be as follows. In this case, SM700 does not turn on.
0
0
0
1
-
0
Operation error
Error code
Description
(SD0)
3405H
The BCD data in the device specified by (s1) is out of the range, 0 to 9999.
The BCD data in the device specified by (s2) is out of the range, 0 to 9999.
(s2)
(d)
2
3
4
0
4
4
Filled with 0s.
0
0
3
9
9
9
4
8
6.2 Arithmetic Operation Instructions
6 BASIC INSTRUCTIONS
265
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents