EasyManua.ls Logo

AutomationDirect DL205 - Page 380

Default Icon
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DL205 User Manual, 4th Edition, Rev. D
5-156
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 to 6, and then starts over at 1
instead of 0. Also, notice how SP56 is only on until the end of the scan.
TablePointer (Automatically Increm ented)
TablePointer (Automatically Increm ented)
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
.
.
V1500
XXXX
BeforeTTD ExecutionAfter TTD Execution
Scan N
06
1
2
3
4
5
After TTD Execution
Scan N+1
After 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 (Automatically Increm ented)Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
9 999
06
1
2
3
4
5
Destination
V1400
0 002
Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
2 046
06
1
2
3
4
5
Destination
V1400
0 006
Table
BeforeTTD Execution
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
0500
06
1
2
3
4
5
Destination
V1400
0001
TablePointerTable
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
1010
06
1
2
3
4
5
Destination
V1400
0005
TablePointerTable
BeforeTTD Execution
SP56=OFF
SP56
SP56=OFF
SP56
SP56=ON
SP56
TablePointer (Resetsto1, not 0)
After TTD Execution
Scan N+6
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
0 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
V1500
2046
06
1
2
3
4
5
Destination
V1400
0006
TablePointerTable
BeforeTTD Execution
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
6
06
until end of scan
or nextinstruction
that uses SP56
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

Table of Contents

Other manuals for AutomationDirect DL205

Related product manuals