Mitsubishi MELSEC-Q series Programming Manual page 215

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

Advertisement

Set Data
Set Data
(1) Data specified in S.SUM instruction
Specified position
Symbol
+0
S1
E1
+1
e
Input data
+2
e1
Block
+0
D1
BW
memory
+1
+0
S2
ILC
+1
+2
Operation
A
+3
constant
+4 RANGE Input range
*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.
(2) Execution cycle ( T)
Set the execution cycle in SD1500 and SD1501 as real numbers.
Set Data
Processing contents
(1) The S.SUM instruction performs the following processing.
e1
E1
0
––
E1  ILC
1
E1 > ILC
(2) The T value used for the operation changes depending on the input range (RANGE) setting.
• When RANGE = 1, T = 1
• When RANGE = 2, T = 60
• When RANGE = 3, T = 3600
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
When the values of
4100
non-normalized number
When the RANGE setting is other than 1 to 3
When the values of
4140
non-normalized number
4141
When an operation error occurs
Name
Recommended range
Input value
-999999 to 999999
b15
b12
Integration
start signal
0: Integration not executed
1: Integration executed
Output value
(-999999 to 999999)
Input
-999999 to 999999
low cut value
Initial value
-999999 to 999999
1: /Second
2: /Minute
3: /Hour
Output (BW)
The initial value (A) of the operation
constant is output.
The last value is output unchanged.
T
BW
E1
T
Error definition
,
,
are either a non-numeric or
S1
D1
S2
,
,
are either a non-numeric or
S1
D1
S2
*1
Unit Data format
––
––
b8
b4
b0
e
1
––
––
––
––
––
Last value
QnPHCPU
––
––
S.SUM
Standard
value
Real
––
number
BIN
––
16Bit
Real
––
number
Real
0.0
number
Real
0.0
number
BIN
1
16Bit
QnPRHCPU
QnUDPVCPU
––
––
––
––
213
1
Set
by
10
U
3
U
4
S
U
6
U
U
7
8

Advertisement

Table of Contents
loading

Table of Contents