215
5-25-1
FILE MEMORY READ – FILR(42)
N
: Number of transfer blocks (BCD)
IR, AR, DM, HR, TC, LR, #
S
: Source beginning block (BCD)
IR, AR, DM, HR, TC, LR, #
Operand Data Areas
D
: Destination beginning word
IR, AR, DM, HR, TC, LR
Ladder Symbols
FILR(42)
N
S
D
@FILR(42)
N
S
D
S+(N–1) must be less than the largest block number provided by the File
Memory Unit (0999 or 1999).
When the execution condition is OFF, FILR(42) is not executed. When the
execution condition is ON, FILR(42) reads blocks of data from the File
Memory (128-word blocks), and outputs the data to the designated PC
memory area beginning at D.
If the destination memory area is too small to accommodate all of the transfer
data, only the portion that fits will be transferred.
D: DM 0010
Block #0
S: #0005
Block #5
Block #6
Block #7
File Memory
DM 0010
DM 0137
DM 0138
DM 0267
DM 0266
DM 0393
PC Memory
N: #0003
From block 5 onwards
3 blocks
(3 x 128 words)
If a failure occurs, the transfer of the current word will be completed before
operation is stopped.
Flags
ER:
File Memory Unit is not mounted.
N or S is not BCD.
S+(N–1) is greater than 999 or 1999.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
Limitations
Description
Precautions
File Memory Instructions
Section 5-25