29 Applied Instructions (Data Table Operation)
29.2 BAND / Dead Band Control
686
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
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
1) In the case of "(D1, D0) < (-10000)", "(D1, D0) - (-10000)" is set
to (D11, D10).
2) In the case of "(-10000 ≤ (D1, D0) ≤ 10000", "0" is output to
(D11, D10).
3) In the case of "10000 < (D1, D0)", "(D1, D0) - 10000" is output
to (D11, D10).
X000
DBIN
EN
s
ENO
d
DBAND
EN ENO
d
s1
s2
s3
K8X020 D0
K-10000
K10000
D0
D10
[Structured ladder/FBD] [ST]
DBIN(X000,K8X020,D0);
DBAND(X000,K-10000,K10000,D0,D10);
Input
0
Output
+10000
-10000
Input
Output