Cdtrd (Data Read From Bin Format File To Operation Memory) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

18.2 CDTRD (Data Read from BIN Format File to Operation Memory)

18.2 CDTRD (Data Read from BIN Format File to Operation Memory)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
File number (3 digits) of the file in an SD memory card in which the data to be read is stored.
S
Range: 0 to 999
n
Number of data items to be read. Range: 0 to 65535
D
Starting address of the device for arithmetic operations that stores the data to be read
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S
n
D
(Note 1)
Only 16-bit devices can be modified. (Integer constants cannot be specified.)
Outline of operation
● This instruction reads [n] pieces of data from the binary format file in the SD memory card,
and stores it in the device of the address starting with [D].
● The folder name is \data, and the file name is dtxxx.bin. xxx in the file name is the file
number specified by the operand [S].
Example of processing
● A binary format file is read from the folder \data in the SD memory card, and is stored in the
device for operation starting with [D].
18-4
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
F
WUME-FP7CPUPGR-12
DF
St
rin
Index
g
modifie
r
(Note 1)
" "

Advertisement

Table of Contents
loading

Table of Contents