Mitsubishi Electric FX3G SERIES Programming Manual page 646

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
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When the table position "n" of the data to be deleted exceeds the amount of data stored (error code: K6706)
• When the value "n" exceeds the device range of the data table
• When the FDEL (FNC210) instruction is executed under the condition "n ≤ 0" (error code: K6706)
• When the amount of data stored specified in
• When the data table range exceeds the corresponding device range (error code: K6706)
Program example
In the program shown below, the 2nd data value entry is deleted from the data table stored in D100 to D105, and the
deleted data is stored in D0.
When the amount of data stored is "0", however, the FDEL (FNC210) instruction is not executed. (The device range
used in the data table is D100 to D107).
X010
FNC234
AND<
Device range used in
data table
644
FNC237
K0
D100
AND<=
Data table
Amount of
D100
data stored
D101
-123
D102
4444
Data
table
D103
3210
range
D104
1234
D105
5432
D106
D107
27 Data Operation 3 – FNC210 to FNC219
27.1 FNC210 – FDEL / Deleting Data from Tables
D
(error code: K6706)
D
is "0" (error code: K6706)
FNC210
D100
K7
FDELP
X010:ON
-1
D100
5
D101
D102
D103
D104
D105
D106
0
0
D107
D0
D0
D100
Data table
Amount of
4
data stored
-123
3210
Data table
range
1234
5432
0
0
0
Deleted data
4444
K2
END

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents