Mitsubishi Electric FX3G SERIES Programming Manual page 667

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program examples
1. Program example 1
In the program example shown below, the BCD data set in X020 to X037 is controlled by the limit values "500" to
"5000", and the controlled value is output to D1 when X000 turns ON.
X000
FNC256
LIMIT
Operation
• In the case of "D0 < 500", "500" is output to D1.
• In the case of "500 ≤ D0 ≤ 5000", the value of D0 is output to D1.
• In the case of "D0 > 5000", "5000" 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 limit values "10000" and
"1,000,000", and the controlled value is output to D11 and D10 when X000 turns ON.
X000
FNC256
DLIMIT
Operation
• In the case of "(D1, D0) < 10000", "10000" is output to (D11,
D10).
• In the case of "10000 ≤ (D1, D0) ≤ 1,000,000", the value of (D1,
D0) is output to (D11, D10).
• In the case of "(D1, D0) > 1,000,000", "1,000,000" is output to
(D11, D10).
FNC 19
K4X020
BIN
K500
K5000
D0
FNC 19
K8X020
DBIN
K10000
D0
K1000000
29 Data Table Operation – FNC250 to FNC269
29.1 FNC256 – LIMIT / Limit Control
D0
D1
END
Output (D1)
5000
500
D0
D10
END
Output (D11,D10)
1,000,000
10000
Input (D0)
500
5000
Input (D1,D0)
10000 1,000,000
665
21
22
23
24
25
26
27
28
29
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents