Calculating The Square Root Of Bcd 8-Digit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Calculating the square root of BCD 8-digit data

BDSQRT(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions calculate the square root of the value specified by a BCD 8-digit data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
BDSQRT
BDSQRTP
Setting data
■Description, range, data type
Operand
Description
(s)
Data used for square root operation, or the start device
containing the data
(d)
Start device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=BDSQRT(EN,s,d);
ENO:=BDSQRTP(EN,s,d);
Range
Data type
0 to 99999999
BCD 8-digit
BCD 4-digit
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY32
ANY16_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
829

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents