EasyManua.ls Logo

Panasonic FP7 Series - CRD (File Data Read Instruction)

Panasonic FP7 Series
1222 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...
18.4 CRD (File Data Read Instruction)
Ladder diagram
List of operands
Operand Description
S1
Path name (folder name + file name: 1 to 256 characters) of the file from which data is read and the
number of characters or the starting address of the stored device (data format: character data)
S2
Starting address of the device that stores the parameters related to the data to be read (data
format: unsigned 16-bit integer)
n Number of read data (data format: unsigned 16-bit integer)
D
Starting address of the device where the data to be read is stored (data format: unsigned 16-bit
integer)
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K H SF
D
F
" "
S1
S2
n
D
(Note 1) Only 16-bit devices can be modified. (Integer constants and character constants cannot be specified.)
Outline of operation
This instruction reads [n] pieces of data from the file in an SD memory card specified by [S1]
according to the parameter specified by [S2], and stores it in the device starting with [D].
A comma and a line break code (LF or CR+LF) are recognized as delimiters between data
pieces.
If you specify ASCII data and read an odd number of bytes, only the lowest byte of the last
word is stored.
If you specify binary data and read an odd number of bytes, H00 is stored in the highest byte
of the last word.
18.4 CRD (File Data Read Instruction)
WUME-FP7CPUPGR-12 18-19

Table of Contents

Other manuals for Panasonic FP7 Series

Related product manuals