7-262
7.12 Special Function Instructions
7.12.17 Square root operation on floating-point data (single precision)
SQR
7.12.17
Square root operation on floating-point data
(single precision)
SQR
Function
(1) Evaluates the square root function on the value specified for
, and stores the result to the
device specified for
.
(2) Only positive values can be specified for
. (Operation cannot be performed on negative
numbers.)
SQR(P)
P: Executing condition
:
indicates any of the following
instructions.
SQR
SQRP
Input argument,
EN:
Executing condition
:Bit
s:
Data on which the square root function is evaluated
:Single-precision real/ANY32
Output argument,
ENO:
Execution result
:Bit
d:
Operation result
:Single-precision real/ANY32
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
E
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
SQ
R
EN
ENO
s
d
SQ
R
(EN,
s
, d);
ENO:=
s
d
s
d
s
d
(
)
Floating-point real
number
Floating-point real
number
s
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......