18.15 CFLS (Acquiring File Status)
18.15 CFLS (Acquiring File Status)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
Starting address of the device area that stores the path name (folder name + file name: maximum
S
256 characters) of the file whose status is acquired and the number of characters of the path name
(data format: character data)
D
Starting address of the device storing the acquired file status
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S
●
●
D
●
●
(Note 1)
Only 16-bit devices can be modified. (Character constants cannot be specified.)
■
Outline of operation
● The file name status specified by [S] is acquired and the result is stored in the 10-word area
from [D] (D to D+9).
■
Details of stored content
Device storing
acquired result
D
18-60
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
Acquired contents
Bit
position
File
attributes
SS
UL
●
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
Description
0
Turns ON in the case of a read-only file
1
Turns ON in the case of a hidden file
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
U
F
WUME-FP7CPUPGR-12
DF
St
rin
Index
g
modifie
r
(Note 1)
" "
●
●
●