EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Data Table Operation Instructions; Writing Data to the Data Table

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...
498
7 APPLICATION INSTRUCTIONS
7.7 Data Table Operation Instructions
7.7 Data Table Operation Instructions
Writing data to the data table
FIFW(P)
Processing details
Stores the 16-bit data designated by (S) in the data table designated by (D). The number of data blocks stored in the table
is stored at (D), and the data designated by (S) is stored in sequence from (D)+1.
When the FIFW(P) instruction is executed for the first time, device values specified by (D) should be cleared.
The number of data blocks to be written in the data table and the data table range should be controlled by the user.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored in SD0.
(S): Data to be written into the table or the number of the device where the data is stored (BIN 16 bits)
(D): Head number of the table (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S)  
(D) 
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The FIFW(P) instruction was executed when the value of (D) was FFFFH. 
4101 The data table range has exceeded the range of the corresponding devices
at execution of the FIFW(P) instruction.

Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
FIFWP
FIFW
S
S
FIFW
FIFWP
D
D
+1
+2
+3
+4
Data table
Number of stored data blocks
+1
+2
+3
+4
Data table
5432
1234
2
0
0
0
4321
5432
1234
3
4321
0
0
D
D
D
D
D
D
D
D
D
D
S
Data table range
(controlled by the user)

Table of Contents

Related product manuals