Chapter 6 Instruction Details
XBC E-Type Main Unit
6-277
Ver. 1
6.36.4 SCAL, SCALP, DSCAL, DSCALP, RSCAL, RSCALP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st.
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
SCAL(P) /
DSCAL(P) /
RSCAL(P)
S1 O O O
-
O O O
-
O
-
-
O O O O O
4~7
O
-
-
S2 O O O
-
O
-
-
-
O
-
-
-
O O O O
S3 O O O
-
O
-
-
-
O
-
-
-
O O O O
D
O O O
-
O
-
-
-
O
-
-
-
O O O O
Operand
Desciprtion
Data size
S1
Device number of input data to input
INT / DINT / REAL
S2
Scale upper limit of input data
INT / DINT / REAL
S2
+1
Scale lower limit of input data
INT / DINT / REAL
S3
Scale upper limit of output data
INT / DINT / REAL
S3
+1
Scale lower limit of output data
INT / DINT / REAL
D
Device number to save output data
INT / DINT / REAL
[Flag Set]
Flag
Content
Device
number
Error
In case of error in lower limit and upper limit of input data
F110
Error
In case scale upper limit of input data is same with lower limit
F110
1) SCL, DSCAL, RSCAL
(1) S1, input value ran
ged in S2+1≤S1≤S2 convert scaling to output value ranged S3+1≤D≤S3.
(2) If S1 is out of range [S2+1~S2], each is replaced into S2+1, S2.
(3) If S3 < S3+1, scaling conversion is available.
(4) When it is set as scale upper limit and lower limit change, if error flag is On, output changes to 0.
(5) If scale upper limit and lower limit of input data is same, since some denominator becomes 0 in the
following output condition, error flag is On and output changes to 0.
(6) Output condition
S1
S2
S2
S1
S2+1
S2+1
S1
<
<
S3
D
so
D
so
S3+1
D
so
=
=
=
S3 - S3+1
S2 - S2+1
(S1 - S2) + S3
COMMAND
means SCAL
COMMAND
P S1
S3
SCALP
DSCALP
RSCALP
S1 S2
D
D
S2
S3
SCAL
DSCAL
RSCAL
Содержание XBC-DN10E
Страница 1: ......
Страница 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...
Страница 52: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 24 Ver 1 3 7 2 XBC DR10E 4 point relay output...
Страница 54: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 26 Ver 1 3 7 3 XBC DN10E 4 point transistor output...
Страница 56: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 28 Ver 1 3 7 4 XBC DR14E 6 point relay output...
Страница 58: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 30 Ver 1 3 7 5 XBC DN14E 6 point transistor output...
Страница 60: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 32 Ver 1 3 7 6 XBC DR20E 8 point relay output...
Страница 62: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 34 Ver 1 3 7 7 XBC DN20E 8 point transistor output...
Страница 64: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 36 Ver 1 3 7 8 XBC DR30E 12 point relay output...
Страница 66: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 38 Ver 1 3 7 9 XBC DN30E 12 point transistor output...