11 PROCESS CONTROL INSTRUCTIONS
11.4 Correction Operation Instructions
1365
11
■Block memory
■Operation constant
This instruction performs engineering value transformation of the input data (E1) and outputs it.
The S.ENG instruction performs the following operations.
Operand: (d1)
Device Symbol Name Recommended range Data type Standard
value
Set by
+0
+1
BW Output value -999999 to 999999 Single-precision
real number
System
Operand: (s2)
Device Symbol Name Recommended range Data type Standard
value
Set by
+0
+1
RH Engineering
value upper limit
-999999 to 999999 Single-precision
real number
100.0 User
+2
+3
RL Engineering
value lower limit
-999999 to 999999 Single-precision
real number
0.0 User
Error code Error content
3400H An invalid operation (such as division by zero) is performed.
3402H The value specified by (s1) or (s2) is a subnormal number or NaN (not a number).
3403H An overflow has occurred.
BW
t
4
3
0
-1
t
100
80
20
0
4
(RH)
-1
(RL)
ENG
E1
[%]
BW=
100
RH-RL
×E1+RL (E1=0 to 100%)