666
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.2 FNC257 – BAND / Dead Band Control
Program examples
1. Program example 1
In the program example shown below, the BCD data set in X020 to X037 is controlled by the dead band from “-1000”
to “+1000”, and a controlled value is output to D1 when X000 turns ON.
Operation
• In the case of “D0 < -1000”, “D0 - (-1000)” is output to D1.
• In the case of “-1000 ≤ D0 ≤ +1000”, “0” is output to D1.
• In the case of “D0 > +1000”, “D0 - 1000” is output to D1.
2. Program example 2
In the program example shown below, the BCD data set in X020 to X057 is controlled by the dead band from “-10000”
to “+10000”, and a controlled value is output to D11 and D10 when X000 turns ON.
Operation
• In the case of “(D1, D0) < -10000”, “(D1, D0) - (-10000)” is output to
(D11, D10).
• In the case of “-10000 ≤ (D1, D0) ≤ +10000”, “0” is output to (D11,
D10).
• In the case of “(D1, D0) > +10000”, “(D1, D0) - 10000” is output to
(D11, D10).
0
1000
-1000
Output
Input
Output
Input
X000
K4X020 D0
FNC 19
BIN
K-1000 K1000 D0 D1
FNC257
BAND
END
0
+10000
-10000
Input
Output
Output
Input
X000
K8X020 D0
FNC 19
DBIN
K-10000 K10000 D0 D10
FNC257
DBAND
END