Bcd 4-Digit And 8-Digit Square Roots (Bsqr(P),Bdsqr(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.12.28
BCD 4-digit and 8-digit square roots
(BSQR(P),BDSQR(P))
BSQR(P),BDSQR(P)
BSQR,BDSQR
BSQRP,BDSQRP
Setting
Data
S
D
Function
BSQR
(1) Returns the square root of the value designated at
device number designated at
(2) Values that can be designated at
(from 0 to 9999).
(3) The operation results of
0 and 9999.
(4) Operation results are rounded off from the fifth decimal place.
For this reason, the fourth decimal place has an error of
Command
Command
: Data of which the square root is obtained or the number of the device where the data is stored
S
(BSQR(P): BCD 4 digits, BDSQR(P): BCD 8 digits)
: Head number of the devices where the square root calculation result will be stored (BCD 4 digits)
D
Internal Devices
R, ZR
Bit
Word
.
D
D
S
Integer part
are BCD values with a maximum of 4 digits
S
and
+1 are stored as their respective BCD values of between
D
D
High
Basic
performance
P
J
\
U
\G
Bit
Word
, and stores the operation result in the
S
D
+1
Decimal fraction part
.
±
1.
BSQR(P),BDSQR(P)
Process
Redundant Universal
LCPU
BSQR/BDSQR
S
D
S
D
Constants
Zn
Other
K, H
––
––
––
7-305
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents