EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 275

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.2 Arithmetic Operation Instructions
273
6
Processing details
These instructions subtract the BCD 8-digit data in the device specified by (s2) from the BCD 8-digit data in the device
specified by (s1), and store the operation result in the device specified by (d).
If an underflow occurs, the result will be as follows. In this case, SM700 does not turn on.
Operation error
(d)+1, (s1)+1, (s2)+1: Upper 4 digits
(d), (s1), (s2): Lower 4 digits
Error code
(SD0)
Description
3405H The BCD data in the device specified by (s1) is out of the range, 0 to 99999999.
The BCD data in the device specified by (s2) is out of the range, 0 to 99999999.
(s1)(s1)+1 (s2)(s2)+1 (d)(d)+1
-
1023456765 789123 55 554556
Filled with 0.
2134567921 345678 99 999999
-

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals