Hitachi MICRO-EHV+ Applications Manual page 142

Table of Contents

Advertisement

Chapter 3
Programming
N o t e
Not all the function blocks of CAA File libraries are supported as below.
Function block
Close
Copy
Delete
EOF
Flush
GetAttribute
GetPos
GetSize
GetTime
Open
Y : Supported
- : Not supported
*1 : If target file does not exist, no error is returned due to a bug in the CAA File library 3.5.3.0.
*2 : Use the same path for old and new file/directory. If they are different, rename function does not work properly.
*3 : It is not recommended to use DirCreate and sysDirCreate since it takes long time to execute, which could
result in processor overload exception. Instead of this, create new directory manually with PC in advance.
N o t e
Do not plug out USB memory while accessing file/directory, otherwise it is not properly recognized when
plugged in the next time. If it is necessary to plug out USB memory while PLC is in RUN status and USB
memory is always accessed, be sure to close file/directory in user program before plugging out, for example
adding an input to stop accessing and close file/directory.
Since it could take longer time to access files depending on USB memory devices, it is recommended to use a
separate task for file access besides tasks for normal I/O access.
Since file system of Windows and MICRO-EHV+ is different, the name of the first file is not correctly read by
FILE.DirList() function. Use SysDirRead() function in SysDir library instead of DirList() in CAA File library.
Supported
Function block
Y
Read
Y
Rename
Y
SetPos
Y
Write
-
DirClose
-
DirCreate (incl. sysDirCreate)
Y
DirList
Y
DirOpen
Y
DirRemove
Y
DirRename
3 – 82
Supported
Y
Y *1*2
Y
Y
Y
*3
Y
Y
Y
Y *1*2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents