
Data Transfer File Instuction
Chapter 19
19-3
Figure 19.2
Types of Counter Indexing
EN
WORD TO FILE MOVE
COUNTER ADDR:
POSITION:
FILE LENGTH:
WORD ADDR:
FILE R:
001
007
110
500-506
CTU
200
PR 007
200
200
15
AC 000
CTU
201
PR 007
AC 000
DN
FILE TO WORD MOVE
COUNTER ADDR:
POSITION:
FILE LENGTH:
WORD ADDR:
FILE R:
001
007
400-406
110
201
201
15
Externally indexed file instruction
Externally indexed file instruction
EN
FILE TO FILE MOVE
COUNTER ADDR:
POSITION:
FILE LENGTH:
FILE R:
FILE A:
001
007
400-406
500-506
202
202
17
RATE PER SCAN:
007
DN
202
15
Internally indexed file instruction
Complete Mode of Operation
In the complete mode, the rate per scan is equal to the file length value and
the entire file is operated upon in one scan.
For each false-to-true transition of the rung condition, the instruction is
enabled and the accumulated value of the file counter is internally indexed
from the first to the last word of the file. As the accumulated value points
to each word, the operation defined by the file instruction is performed.
After the instruction has operated on the last word, the done bit (bit 15)
is set.