EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 706

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.23 Data Table Operation
704
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Program example
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
1) In the case of "D0 < (-1000)", "D0 - (-1000)" is set to D1.
2) In the case of "(-1000 D0 1000", "0" is output to D1.
3) In the case of "1000 < D0", "D0 - 1000" is output to D1.
X000
BIN
EN
s
ENO
d
K4X020 D0
BAND
EN ENO
d
s1
s2
s3
K-1000
K1000
D0
D1
[Structured ladder]
[ST]
BIN(X000,K4X020,D0);
D1:=BAND(X000,K-1000,K1000,D0);
Input
0
Output
1000
-1000
Input
Output

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals