Mitsubishi MELSEC Q Series Programming Manual page 525

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The data table range exceeds the relevant device range when the FIFW instruction is
executed.
Program Example
(1) The following program stores the data at D0 to the data table following R0 when X10 is
turned ON.
[Ladder Mode]
[Operation]
Table
R0
4
123
R1
55
R2
4321
R3
11
R4
R5
0
D0
257
(2) The following program stores the data at X20 to X2F to data table of D38 to D44 table when
X1B is turned ON, and, if there are more than 6 data blocks to be stored, turns Y60 ON and
disables the FIFW instruction.
[Ladder Mode]
[Operation]
D38
D39
D40
D41
D42
D43
D44
D45
X20 to X2F
Number of stored data blocks
Data table range
Table
5
Number of stored data blocks
1000
8100
4321
Data table range
1234
123
0
0
4444
[List Mode]
Step
Instruction
Table
R0
5
R1
123
R2
55
R3
4321
R4
11
R5
257
[List Mode]
Step
Instruction
Table
D38
6
D39
1000
D40
8100
D41
4321
D42
1234
D43
123
D44
4444
D45
0
FIFW(P)
(Error code: 4101)
Device
Device
7-151
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents