Mitsubishi MELSEC-Q series Programming Manual page 232

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

S.SQR
Set Data
Set Data
(1) Data specified in S.SQR instruction
Specification
Symbol
position
+0
S1
Input data
E1
+1
Block
+0
D1
BW
memory
+1
+0
S2
OLC
Operation
+1
constant
+2
K
+3
*1
The data of the item(s) where the values within the recommended range are given in the parentheses are stored by the
system. Users cannot set the data.
Set Data
Processing contents
(1) The S.SQR instruction performs the following operation.
BW
(E1)
K
(2) When
(E1)
, BW = 0.
K
0LC
Also, when (E1 < 0), BW = 0.
Operation Error
In the following cases, the error flag (SM0) turns ON and the error code is stored in SD0.
Error code
When an operation error occurs
4100
When the values of
normalized number
When the values of
4140
normalized number
4141
When an operation error occurs
230
Name
Recommended range
Input value
0 to 999999
Output value
(0 to 999999)
Output low cut
0 to 999999
value
Coefficient
0 to 999999
Error definition
,
are either a non-numeric or non-
S1
S2
,
are either a non-numeric or non-
S1
S2
Data
*1
Unit
format
Real
––
number
Real
––
number
Real
––
number
Real
––
number
QnPHCPU
QnPRHCPU
––
––
––
––
Standard
Set
value
by
––
U
––
S
0.0
U
10.0
U
QnUDPVCPU
––
––

Advertisement

Table of Contents
loading

Table of Contents