Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 281

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

Advertisement

Processing details
• These instructions multiply the BCD 8-digit data in the device specified by (s1) by the BCD 8-digit data in the device
specified by (s2), and store the operation result in the device specified by (d).
(s1)+1
(s1)
9
9
9
9
9
9
9
• When (d) is a bit device, only the lower 8 digits (lower 32 bits) of the operation result are stored.
Ex.
Operation result when (d) is a bit device
• K1Lower 1 digit (b0 to b3)
• K4Lower 4 digits (b0 to b15)
• K8Lower 8 digits (b0 to b31)
Operation error
Error code
Description
(SD0)
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.
(s2)+1
9
9
×
9
9
9
9
(d)+3
(d)+2
9
9
9
9
9
9
8
(s2)
9
9
9
9
(d)+1
(d)
0
0
0
0
0
0
0
6.2 Arithmetic Operation Instructions
1
6 BASIC INSTRUCTIONS
6
279

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents