Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
643
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
27 Data Operation 3 – FNC210 to FNC219
27.2 FNC211 – FINS / Inserting Data to Tables
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-FNC274
Ex-Device
Inverter Comms
27.2 FNC211 – FINS / Inserting Data to Tables
Outline
This instruction inserts data into an arbitrary position in a data table.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (FINS and FINSP)
16-bit data is inserted in "n"th position in a data table (stored in and later).
"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".
Caution
The device range used in a data table should be controlled by the user.
The data table has data starting from the next device ( +1) after indicating the number of stored
data.
Refer to the program example.
Related instruction
Operand Type Description Data Type
Device number storing inserted data
16-bit binary
Head device number in data table
n Data insertion position in table
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
VZModifyKH E "
"P
3333 3 33
3333 3
n 33 33
Instruction Description
FDEL(FNC210) Deletes an arbitrary data entry from a data table.
Mnemonic Operation Condition
16-bit Instruction
7 steps
FINS
FINSP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
P
FNC 211
FINS
S
D
S
D
S
D
Command
input
FNC211
FINSP
S
D
n
Data table
D
1234
-123
3
5432
0
0
...
0
...
Data table
range
Device range used in
data table
Data table
D
4444
1234
4
5432
-123
0
...
4444
...
+1
S
Data table
range
When "n" is "2"
0
Number of
stored data
+0
+2
+3
+4
+1
+5
+0
+2
+3
+4
+1
+5
D
D
D