Mitsubishi MELSEC Q Series Programming Manual page 527

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

Advertisement

Program Example
(1) The following program stores the R1 data from the table R0 to R7 at D0 when X10 is turned
ON.
[Ladder Mode]
[Operation]
Data table
R0
5
R1
123
R2
55
R3
4321
R4
123
R5
234
R6
0
R7
0
(2) The following program stores the data at D0 in the data table D38 to D43, and, when the
table stores 5 data, stores the data at D39 of the data table in R0, when X1C is turned ON.
[Ladder Mode]
[Operation]
Data table
D38
4
D39
1234
D40
55
D41
1000
D42
123
D43
0
D44
0
D45
0
D0
4444
Number of stored data blocks
R0
R1
R2
R3
R4
R5
R6
R7
D0
Data table
Number of
Number of
stored
stored
D38
5
data tables
data tables
D39
1234
D40
55
D41
1000
Data
D42
123
table
D43
4444
D44
0
D45
0
Executes the FIFRP
instruction when D38=5.
[List Mode]
Step
Instruction
Data table
4
Number of stored data blocks
55
4321
123
234
Data table
0
0
0
123
[List Mode]
Step
Instruction
Data table
Number of
stored
D38
4
data tables
D39
55
D40
1000
D41
123
D42
4444
D43
0
D44
0
D45
0
R0
1234
FIFR(P)
Device
Device
Executes the FIFWP
instruction when X1C
turns ON again
7-153
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