Horner APG QX351 OCS HEQX351C103 User Manual
Page 35
MAN0892-03-EN
CH. 8
February 25, 2010 Page 35 of 109 #1039
CHAPTER 8: REMOVABLE MEDIA
8.1
Micro SD Overview
All QX351 OCS models provide a slot for a Micro SD memory card. The Removable Media manager is a
graphic object that allows viewing the filenames, size and dates of files and directories on a Micro SD
card. The operator can optionally change directories, delete files and format a new SD card. This object
also supplies status information such as color change on card OK, card full and card missing status. The
file view includes total card capacity and remaining free space.
8.1.1
Accessing Files with an QX351 OCS
a.
Insert a Micro SD card into the QX351 OCS Micro SD slot.
b.
If not formatted, use the Removable Media Manager object to format the card.
c.
The QX351 OCS ladder application program can read and write to the Micro SD card. The file is
saved as a .csv file, which is compatible with several PC applications such as Excel.
8.1.2
Accessing Files with a PC
a.
Insert or connect the Micro SD memory card to the PC according to the manufacturer’s
instructions.
b.
The PC typically sees the Micro SD card as a removable storage device like a small solid-state
hard drive. Files can be read from and written to the Micro SD card in the same way they are
read/written to a standard hard disk. The only file format that can be read or written by an OCS
application is a .csv (comma separated value) file.
8.2
Removable Media (RM) Function Blocks in Cscape
Note: For detailed information regarding RM function blocks and parameters, refer to the help
file in Cscape Software. Refer ‘USB Flash Media support for RM Functions’ for USB flash
drive access details.
The following RM functional blocks are available in Cscape Software. These function blocks will reference
- Micro SD when filename is prefixed with ‘A:’ or nothing OR
- USB A Flash Drive when filename is prefixed with ‘B:’.
The following RM functional blocks are available in Cscape Software.
a.
Read RM csv: This function allows reading of a comma-separated value file from the Micro SD
interface into the controller register space.
b.
Write RM csv: This function allows writing of a comma-separated value file to the Micro SD
interface from the controller register space.
c.
Rename RM csv: This function allows renaming a file on the RM card. The data in the file is not
changed.
d.
Delete RM csv: This function allows deleting a file on the RM card.
e.
Copy RM csv: This function allows copying a file on the RM card. The data in the file is not
changed.