EasyManua.ls Logo

Automationdirect.com DL06 - Page 316

Automationdirect.com DL06
533 pages
Print Icon
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...
DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-155
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 decrements from 6 to 0. Also, notice how
SP56 is only on until the end of the scan.
Before RFBExecution AfterRFB Execution
Before RFBExecution AfterRFB Execution
Before RFBExecution AfterRFB Execution
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
TablePointer (Autom atically Decremented)
TablePointer (Autom atically Decremented)
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
.
V1500
XXXX
Before RFBExecution AfterRFB Execution
ExampleofExecution
Scan N
1
2
3
4
5
6
Scan N+1
Scan N+4
Destination
V1400
0006
TablePointerTable
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
2 046
Destination
V1400
0 005
TablePointer (Autom atically Decremented)Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
1 010
Destination
V1400
0 004
Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
9 999
Destination
V1400
0 001
Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
2046
1
2
3
4
5
6
Destination
V1400
0005
TablePointerTable
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
3074
1
2
3
4
5
6
Destination
V1400
0002
TablePointerTable
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
TablePointer
Scan N+5
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
0 500
Destination
V1400
0 000
Table
V1401
0500
V1402
9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407
XXXX
V1500
9999
1
2
3
4
5
6
Destination
V1400
0001
TablePointerTable
SP56=ON
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
SP56=OFF
SP56
until end of scan
or nextinstruction
that uses SP56
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.