Mitsubishi MELSEC-Q series Programming Manual page 230

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

Advertisement

S.DIV
Set Data
Set Data
(1) Data specified in S.DIV instruction
Specification
Symbol
position
+0
S1
E1
+1
Input data
+2
E2
+3
Block
+0
D1
BW
memory
+1
+0
S2
A
+1
+2
K1
+3
+4
K2
Operation
+5
constant
+6
B1
+7
+8
B2
+9
+10
B3
+11
*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.DIV instruction performs the following operation.
K1
E1
B1
BW
A
K2
E2
B2
(2) When the denominator is 0, BW = B3.
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
228
Name
Recommended range
Input value 1
-999999 to 999999
(Minute)
Input value 2
-999999 to 999999
(Denominator)
Output value
(-999999 to 999999)
Coefficient 1
-999999 to 999999
Coefficient 2
-999999 to 999999
Coefficient 3
-999999 to 999999
Bias 1
-999999 to 999999
Bias 2
-999999 to 999999
Bias 3
-999999 to 999999
B3
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
Real
––
number
Real
––
number
Real
––
number
Real
––
number
Real
––
number
QnPHCPU
QnPRHCPU
––
––
––
––
Standard
Set
value
by
––
U
––
U
––
S
1.0
U
1.0
U
1.0
U
0.0
U
0.0
U
0.0
U
QnUDPVCPU
––
––

Advertisement

Table of Contents
loading

Table of Contents