Mitsubishi MELSEC-Q series Programming Manual page 222

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

Advertisement

S.IENG
Set Data
Set Data
(1) Data specified in S.IENG instruction
Specified
Symbol
Position
+0
S1
Input data
E1
+1
Block
+0
D1
BW
memory
+1
+0
S2
RH
+1
Operation
constant
+2
RL
+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.IENG instruction performs the following operation.
100
BW
(E1
RL) (%)
RH
RL
(2) Make setting to satisfy RH > RL.
(3) If RH  RL, the processing is executed unchanged but engineering value reverse conversion is not performed.
(4) If RH = RL, 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
220
Name
Recommended range
Input value
-999999 to 999999
Output value
(-999999 to 999999)
Engineering
value upper
-999999 to 999999
limit
Engineering
value lower
-999999 to 999999
limit
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
100.0
U
0.0
U
QnUDPVCPU
––
––

Advertisement

Table of Contents
loading

Table of Contents