EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 507

Mitsubishi Electric MELSEC-Q/L
1084 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...
7 APPLICATION INSTRUCTIONS
7.7 Data Table Operation Instructions
505
7
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program deletes the second data from the table R0 to R7 and stores the deleted data at D0 when X10 is
turned ON.
The following program inserts the data at D0 into the third position at the table R0 to R7 when X10 is turned ON.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The FDEL or FINS instruction was executed when n=0.
The FDEL instruction was executed when the value of (D) was 0.
The FINS instruction was executed when the value of (D) was FFFFH.

4101 The Nth position from (D) is larger than the number of data storage at the
execution of the FDEL instruction.
The Nth position from (D) is larger than the "number of data storage + 1" at
the execution of the FINS instruction.
The value of n in the case of the FDEL, FINS instruction exceeds the device
range of the table (D).
The data table range exceededs the range of the corresponding device at
execution of the FDEL or FINS instruction.

[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
R1
R2
R3
R4
Data table
-123
4444
5
3210
1234
0
4444
R5
5432
X10: ON
0
R6
R7
R0
R1
R2
R3
R4
Data table
-123
3210
4
1234
5432
0
R5
0
0
R6
R7
R0
D0
Data table
range
Data table
range
Step
Instruction
Device
R1
R2
R3
R4
Data table
1234
4444
4
-123
5000
0
-3210
R5
0
X10: ON
0
R6
R7
R0
R1
R2
R3
R4
Data table
1234
4444
5
-3210
-123
0
R5
0
R6
R7
R0
D0
Data table
range
5000

Table of Contents

Related product manuals