Dividing Bcd 4-Digit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Dividing BCD 4-digit data

B/(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform division between the two sets of BCD 4-digit data specified.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by either of the following: BDIVISION, BDIVISIONP.)
■Execution condition
Instruction
B/
B/P
Setting data
■Description, range, data type
Operand
Description
(s1)
Dividend data or the device where dividend data is stored
(s2)
Divisor data or the device where divisor data is stored
(d)
Start device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
6 BASIC INSTRUCTIONS
276
6.2 Arithmetic Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
Not supported
Range
0 to 9999
0 to 9999
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
BCD 4-digit
ANY16
BCD 4-digit
ANY16
BCD 8-digit
ANY16_ARRAY
(Number of elements:
2)
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents