DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-152
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
The following diagram shows the scan-by-scan results of the execution for our example
program. Notice how the pointer automatically cycles from 0 – 6, and then starts over at 1
instead of 0. Also, notice how SP56 is only on until the end of the scan.
TablePointer (Autom atically Incremented)
TablePointer (Autom atically Incremented)
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406 2046
V1407
XXXX
V1500
XXXX
Be fore TTD Execution After TTD ExecutionScan N
06
1
2
3
4
5
Afte r TTD Execution
Scan N+1
Afte r TTD ExecutionScan N+5
Destination
V1400
0000
TablePointerTable
V1401 0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406 2046
V1407
XXXX
V1500
0 500
0
1
2
3
4
5
Destination
V1400
0 001
TablePointer (Autom atically Incremented)Table
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
V15009 999
06
1
2
3
4
5
Destination
V14000 002
Table
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
V15002 046
06
1
2
3
4
5
Destination
V14000 006
Table
Be fore TTD Execution
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
V15000500
06
1
2
3
4
5
Destination
V1400000 1
TablePointerTable
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
V15001010
06
1
2
3
4
5
Destination
V1400000 5
TablePointerTable
Be fore TTD Execution
SP56=OFF
SP56
SP56=OFF
SP56
SP56=ON
SP56
TablePointer (Resetsto1, not 0)
Afte r TTD ExecutionScan N+6
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407 XXXX
V15000 500
1
2
3
4
5
Destination
V1400
0 001
Table
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407 XXXX
V15002046
06
1
2
3
4
5
Destination
V1400
000 6
TablePointerTable
Be fore TTD Execution
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
6
06
until endof scan
or next instruction
that uses SP56
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.