Download Print this page

Multiplying Bcd 4-Digit Data - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Multiplying BCD 4-digit data

B*(P)
These instructions multiply the BCD 4-digit data specified by (s1) and the BCD 4-digit data specified by (s2), and store the
results in the device specified by (d).
Ladder diagram
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
("BMULTI", "BMULTIP" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Multiplicand data or the device where the data to be
multiplied by another is stored
(s2)
Multiplier data or the device where the data by which
another is to be multiplied is stored
(d)
Head device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
Processing details
• These instructions multiply the BCD 4-digit data specified by (s1) and the BCD 4-digit data specified by (s2), and store the
multiplication results in the device specified by (d). ((d)+1: Upper 4 digits, (d): Lower 4 digits)
(s1)
5
6
7
8
×
0
Operation error
Error code
Description
(SD0/SD8067)
2820H
Device specified by (d) exceeds the allowable device range
3405H
BCD data in the device specified by (s1) is outside of the valid range (0 to 9999).
BCD data in the device specified by (s2) is outside of the valid range (0 to 9999).
Word
T, ST, C, D, W,
U\G
SD, SW, R
(s2)
(d)+1
8
7
6
0
4
9
0 is entered.
Structured text
Not supported
Range
Data type
0 to 9999
BCD 4-digit
0 to 9999
BCD 4-digit
BCD 8-digit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
(d)
7
3
9
2
8
7.2 Arithmetic Operation Instructions
Data type (label)
ANY16
ANY16
ANY32
BOOL
BOOL
Constant
Others
K, H
E
$
7 BASIC INSTRUCTIONS
229
7

Hide quick links:

Advertisement

loading