El esquema siguiente muestra los resultados de la ejecución barrido por barrido para nuestro
programa del ejemplo. Advierta cómo el puntero automáticamente decrece de 6 a 0. También,
note cómo SP56 es sólo ON hasta el fin del barrido.
Example of Execution
Scan N
Before RFB Execution
Table
0
5
0
V1401
9
9
9
V1402
3
0
7
V1403
8
9
8
V1404
1
0
1
V1405
V1406
2
0
4
X
X X
V1407
S
S
Scan N+1
Before RFB Execution
Table
0
5
0
V1401
V1402
9
9
9
3
0
7
V1403
8
9
8
V1404
V1405
1
0
1
2
0
4
V1406
X
X X
V1407
S
S
Scan N+4
Before RFB Execution
Table
V1401
0
5
0
V1402
9
9
9
3
0
7
V1403
8
9
8
V1404
V1405
1
0
1
2
0
4
V1406
X
X X
V1407
S
S
Scan N+5
Before RFB Execution
Table
0
5
0
V1401
V1402
9
9
9
3
0
7
V1403
8
9
8
V1404
1
0
1
V1405
2
0
4
V1406
V1407
X
X X
S
S
Capítulo 5: Instrucciones normales RLL - Instrucciones de tablas
Table Pointer
0
0
0
6
0
1
V1400
9
2
Destination
4
3
X
X X
X
V1500
9
4
0
5
SP56
6
6
SP56 = OF F
X
Table Pointer
0
1
0
0
0
5
V1400
9
2
Destination
4
3
2
0
4
6
V1500
9
4
0
5
SP56
6
6
SP56 = OFF
X
S
S
S
Table Pointer
0
1
0
0
0
2
V1400
9
2
Destination
4
3
3
0
7
4
V1500
9
4
0
5
6
6
SP56
SP56 = OFF
X
Table Pointer
0
0
0
1
0
1
V1400
9
2
Destination
4
3
9
9
9
9
V1500
9
4
0
5
6
6
SP56
SP56 = OFF
X
Manual del PLC DL06, 2a. edición en español, 6/07
After RFB Execution
Table
Table Pointer (Automatically Decremented)
0
0
0
V1401
0
5
0
0
1
9
9
9
9
2
V1402
Destination
3
0
7
4
V1403
3
2
0
4
8
9
8
9
V1404
4
1
0
1
0
V1405
5
SP56
V1406
2
0
4
6
6
X
X
X
X
V1407
S
S
After RFB Execution
Table
Table Pointer (Automatically Decremented)
0
5
0
0
0
0
0
V1401
1
V1402
9
9
9
9
2
Destination
3
0
7
4
V1403
3
1
0
1
8
9
8
9
4
V1404
V1405
1
0
1
0
5
SP56
2
0
4
6
V1406
6
X
X
X
X
V1407
S
S
After RFB Execution
Table
Table Pointer (Automatically Decremented)
V1401
0
5
0
0
1
0
0
0
V1402
9
9
9
9
2
Destination
3
0
7
4
3
V1403
9
9
9
8
9
8
9
V1404
4
V1405
1
0
1
0
5
2
0
4
6
6
SP56
V1406
X
X
X
X
V1407
S
S
After RFB Execution
Table
Table Pointer
0
0
0
0
5
0
0
1
V1401
V1402
9
9
9
9
2
Destination
3
0
7
4
3
V1403
0
5
0
8
9
8
9
4
V1404
1
0
1
0
5
V1405
2
0
4
6
6
SP56
V1406
V1407
X
X
X
X
S
S
1
2
3
5
V1400
4
6
V1500
5
SP56 = OFF
6
7
4
V1400
8
0
V1500
9
SP56 = OFF
10
11
12
1
V1400
13
9
V1500
14
SP56 = OFF
A
0
B
V1400
0
V1500
C
SP56 = ON
D
until end of scan
or next instruction
that uses SP56
5–155