■
[S1], [S1+1]: Specification of folder name and file name
Setting
device
Description
S1
Specifies the number of characters in the filename of the read file. (Specify the full path.)
S1+1 to
S1+128
Specify the file to be read.
● Specify the full path, up to 256 characters including the folder name and filename
(Note 1)
In the tool software FPWIN GR7, a path name (a folder name and a file name) can be entered directly
as a character constant.
(Note 2)
To specify a memory area such as a data register DT, use the SSET instruction to store a path name
(a folder name and a file name) as character data.
■
[n]: Specification of number of data items to be read
Saving format Set value of [S2]
Setting range of n
16-bit data
U1, U2, U7, U11
0 to 65535
32-bit data
U3, U4, U5, U8
0 to 32767
64-bit data
U6, U9
0 to 16383
ASCII
U10, U13
0 to 1999
■
[S2] to [S2+6]: Specification of the data format for the data to be read
Operand
Description
Description
S2
Reading format
Set
value of
S2
Read contents
Extension
U0
-
-
-
U1
DEC
Unsigned 16-bit integer
.CSV
(comma-separated
text)
U2
Signed 16-bit integer
U3
Unsigned 32-bit integer
U4
Signed 32-bit integer
U5
Floating point real
number
32bit
U6
64bit
U7
HEX
1 words
U8
2 words
U9
4 words
U10
ASCII
Character string (Use
NULL as a delimiter.)
U11
BIN
16bit
.BIN
U12
Reserved for system
Reserved for
system
U13
ASCII
Character string (Do not
use NULL as a
delimiter.)
.CSV
(comma-separated
text)
18.4 CRD (File Data Read Instruction)
18-20
WUME-FP7CPUPGR-12
Summary of Contents for FP7 Series
Page 2: ... MEMO 2 WUME FP7CPUPGR 12 ...
Page 18: ... MEMO xviii WUME FP7CPUPGR 12 ...
Page 52: ... MEMO 1 34 WUME FP7CPUPGR 12 ...
Page 104: ... MEMO 2 52 WUME FP7CPUPGR 12 ...
Page 123: ...3 9 ANS AND stack WUME FP7CPUPGR 12 3 19 ...
Page 125: ...3 10 ORS OR Stack WUME FP7CPUPGR 12 3 21 ...
Page 129: ...3 11 PSHS Push stack RDS Read stack POPS Pop stack WUME FP7CPUPGR 12 3 25 ...
Page 190: ...3 26 JP LBL Jump Label 3 86 WUME FP7CPUPGR 12 ...
Page 239: ...Name Description SR8 ER 3 46 ST ST ST ST ST ST Data Comparison Start WUME FP7CPUPGR 12 3 135 ...
Page 246: ... MEMO 3 142 WUME FP7CPUPGR 12 ...
Page 258: ... MEMO 4 12 WUME FP7CPUPGR 12 ...
Page 304: ... MEMO 5 46 WUME FP7CPUPGR 12 ...
Page 321: ...Name Description ER 6 7 DIVFP2 Division FP2 Compatible WUME FP7CPUPGR 12 6 17 ...
Page 348: ... MEMO 6 44 WUME FP7CPUPGR 12 ...
Page 388: ... MEMO 7 40 WUME FP7CPUPGR 12 ...
Page 438: ... MEMO 8 50 WUME FP7CPUPGR 12 ...
Page 450: ... MEMO 9 12 WUME FP7CPUPGR 12 ...
Page 520: ... MEMO 10 70 WUME FP7CPUPGR 12 ...
Page 602: ... MEMO 11 82 WUME FP7CPUPGR 12 ...
Page 622: ... MEMO 12 20 WUME FP7CPUPGR 12 ...
Page 650: ... MEMO 13 28 WUME FP7CPUPGR 12 ...
Page 1160: ... MEMO 18 66 WUME FP7CPUPGR 12 ...
Page 1188: ... MEMO 19 28 WUME FP7CPUPGR 12 ...
Page 1220: ... MEMO WUME FP7CPUPGR 12 ...
Page 1221: ... MEMO WUME FP7CPUPGR 12 ...