Automationdirect.com DirectLOGIC DL205 Series User Manual page 382

Table of Contents

Advertisement

The following diagram shows the scan-by-scan results of the execution for our example
program. In our example we're showing the table counter set to 4 initially. (Remember, you
can set the table counter to any value that is within the range of the table.) The table counter
automatically decrements from 4 to 0 as the instruction is executed. Notice how the last two
table positions, 5 and 6, are not moved up through the table. Also, notice how SP56, which
comes on when the table counter is zero, is only on until the end of the scan.
Scan N
Before RFT Execution
Table
V1401
0
5
0
Table Counter
indicates that
9
9
9
V1402
these 4
positions will
3
0
7
V1403
be
8
9
8
V1404
used
1
0
1
V1405
V1406
2
0
4
X
X X
V1407
Scan N+1
Before RFT Execution
Table
9
9
9
V1401
4
0
7
V1402
V1403
8
9
8
8
9
8
V1404
1
0
1
V1405
V1406
2
0
4
X
X
X
V1407
Scan N+2
Before RFT Execution
Table
V1401
4
0
7
8
9
8
V1402
8
9
8
V1403
8
9
8
V1404
1
0
1
V1405
V1406
2
0
4
X
X X
V1407
Scan N+3
Before RFT Execution
Table
8
9
8
V1401
8
9
8
V1402
V1403
8
9
8
8
9
8
V1404
1
0
1
V1405
V1406
2
0
4
X
X
X
V1407
Table Counter
0
0
0
4
0
1
V1400
9
2
Destination
4
3
X
X X
X
V1500
9
4
Start here
0
5
SP56
6
6
SP56 = OFF
X
Table Counter
9
1
0
0
0
3
V1400
9
2
Destination
3
Start here
9
0
5
0
0
V1500
9
4
0
5
SP56
6
6
SP56 = OFF
X
Table Counter
0
0
0
2
9
1
V1400
9
2
Start here
Destination
9
3
9
9
9
9
V1500
9
4
0
5
SP56
6
6
SP56 = OFF
X
Table Counter
9
1
0
0
0
1
V1400
Start here
9
2
Destinatio
9
3
4
0
7
9
V1500
9
4
0
5
SP56
6
6
SP56 = OFF
X
DL205 User Manual, 4th Edition, Rev. B
Chapter 5: Standard RLL Instructions - Table
After RFT Execution
Table
V1401
9
9
9
9
1
0
5
4
0
7
9
2
V1402
8
9
8
9
3
V1403
8
9
8
9
4
V1404
1
0
1
0
5
V1405
V1406
2
0
4
6
6
X
X
X
X
V1407
After RFT Execution
Table
4
0
7
9
1
9
V1401
9
2
8
9
8
9
V1402
3
V1403
8
9
8
9
8
9
8
9
4
V1404
5
1
0
1
0
V1405
6
V1406
2
0
4
6
X
X
X
X
V1407
After RFT Execution
Table
V1401
8
9
8
9
1
4
0
8
9
8
9
2
V1402
8
9
8
9
3
V1403
8
9
8
9
4
V1404
1
0
1
0
5
V1405
V1406
2
0
4
6
6
X
X
X
X
V1407
After RFT Execution
Table
8
9
8
9
V1401
1
8
9
8
9
8
9
2
V1402
V1403
8
9
8
9
3
8
9
8
9
V1404
4
1
0
1
0
5
V1405
V1406
2
0
4
6
6
X
X
X
X
V1407
Table Counter
(Automatically d ecremented)
0
0
0
3
V1400
0
0
Destination
0
5
0
0
V1500
SP56
SP56 = OFF
Table Counter
(Automatically decremented)
0
0
0
2
V1400
9
9
Destination
9
9
9
9
V1500
SP56
SP56 = OFF
Table Counter
(Automatically decremented)
0
0
0
1
V1400
7
9
Destination
4
0
7
9
V1500
SP56
SP56 = OFF
Table Counter
(Automatically decremented)
0
0
0
0
V1400
8
9
Destination
8
9
8
9
V1500
SP56
SP56 = ON
until end of scan
or next instruction
that uses SP56
5–165
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF