EasyManua.ls Logo

Mitsubishi FX3G Series

Mitsubishi FX3G Series
944 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...
663
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.3 FNC258 – ZONE / Zone Control
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC275
Ex-Device
Inverter Comms
Program examples
1. Program example 1
In the program example shown below, the BCD data set in X020 to X037 is controlled by the zone from “-1000” to
“+1000”, and the controlled value is output to D1 when X000 turns ON.
Operation
In the case of “D0 < 0”, “D0 + (-1000)” is output to D1.
In the case of “D = 0”, “0” is output to D1.
In the case of “D0 > 0”, “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 zone from “-10000” to
“+10000”, and the controlled value is output to D11 and D10 when X000 turns ON.
Operation
In the case of “(D1, D0) < 0”, “(D1, D0) + (-10000)” is output to (D11,
D10).
In the case of “(D1, D0) = 0”, the “0” is output to (D11, D10).
In the case of “(D1, D0) > 0”, “(D1, D0) + 10000” is output to (D11,
D10).
X000
K4X020 D0
FNC 19
BIN
K-1000 K1000 D0 D1
FNC258
ZONEP
END
0
1000
-1000
1000
-1000
Input
Output
X000
K8X020 D0
FNC 19
DBIN
K-10000 K10000 D0 D10
FNC258
DZONEP
END
Input
0
Output
10000
-10000
10000
-10000

Table of Contents

Other manuals for Mitsubishi FX3G Series

Related product manuals