Fnc211 - Fins / Inserting Data To Tables - Mitsubishi Electric FX3G SERIES Programming Manual

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
27.2
FNC211 – FINS / Inserting Data to Tables
Outline
This instruction inserts a data value into an arbitrary position in a data table.
1. Instruction format
FNC 211
P
FINS
2. Set data
Operand Type
S
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
n
Explanation of function and operation
1. 16-bit operation (FINS and FINSP)
16-bit data
S
"n"th data and later in the data table are shifted backward one by one, and the number of stored data is added by "1".
Command
input
FNC211
FINSP
Device range used in
data table
Caution
• The device range used in a data table should be controlled by the user.
The data table has
Related instruction
Instruction
FDEL(FNC210)
Mnemonic
16-bit Instruction
FINS
7 steps
FINSP
Device number storing data to be inserted
Head device number in data table
Data insertion position in table
Digit Specification
is inserted in the "n"th position in a data table (stored in
S
D
n
Number of
+0
D
stored data
+1
Data table
+2
range
+3
+4
+5
S
D
number of stored data starting from (
Deletes an arbitrary data entry from a data table.
27 Data Operation 3 – FNC210 to FNC219
27.2 FNC211 – FINS / Inserting Data to Tables
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
V Z Modify K H
D
Data table
+1
3
+0
D
5432
+1
1234
+2
-123
+3
+4
0
+5
0
0
When "n" is "2"
4444
D
+1).
Description
Mnemonic
Operation Condition
Data Type
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
and later).
Data table
4
5432
4444
Data table
range
1234
-123
0
0
→ Refer to the program example.
21
22
23
24
Pointer
25
P
26
27
28
29
30
645

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents