7 APPLICATION INSTRUCTIONS
7.7 Data Table Operation Instructions
501
7
• The following program stores the R1 data from the table R0 to R7 at D0 when X10 is turned ON.
• 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] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
R1
R2
R3
R4
Data table
123
55
5
4321
123
0
123
R5
0
R6
R7
R0
R1
R2
R3
R4
Data table
55
4321
4
123
234
0
R5
0
R6
R7
R0
D0
0
Number of stored data blocks
234
Data table
Number of stored data blocks
Step
Instruction
Device
123
1000
0
1234
55
4
0
D42
D41
D43
D39
D40
D38
D44
0D45
4444D0
123
1000
4444
1234
55
5
0
D42
D41
D43
D39
D40
D38
D44
0D45
0
55
4
0
D42
D41
D43
D39
D40
D38
D44
0D45
1234
R0
1000
123
4444
Data table
Data
table
Data table Data table
Number of
stored
data tables
Number of
stored
data tables
Number of
stored
data tables
Executes the FIFRP
instruction when D38=5.
Executes the FIFWP
instruction when X1C
turns ON again.