1376
11 PROCESS CONTROL INSTRUCTIONS
11.5 Arithmetic Operation Instructions
Square root
S.SQR
This instruction outputs the square root () of input data.
■Execution condition
■Description, range, data type
■Applicable devices
■Input data
Ladder ST
ENO:=S_SQR(EN,s1,s2,s3,d1);
FBD/LD
Instruction Execution condition
S.SQR
Operand Description Range Data type
(s1) Input data start device Refer to "Input data". Single-precision real
number
(d1) Block memory start device Refer to "Block memory". Single-precision real
number
(s2) Operation constant start device Refer to "Operation constant". Word
(s3) Empty string specification
(Specify "" in ladder. Specify '' in ST or FBD/LD.)
String
EN Execution condition Bit
ENO Execution result Bit
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, R, ZR,
RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
(d1)
(s2)
(s3)
Operand: (s1)
Device Symbol Name Recommended range Data type Standard
value
Set by
+0
+1
E1 Input value 0 to 999999 Single-precision
real number
User
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)