Chapter 8: removable media – Horner APG RX371 OCS HERX371C101 User Manual

Page 37

Advertising
background image

MAN0924-01-EN

CH. 8

February 8, 2010 Page 37 of 124 # 1018


CHAPTER 8: REMOVABLE MEDIA


8.1

Micro SD Overview


All RX-371 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 RX-371 OCS


a.

Insert a Micro SD card into the RX-371 OCS Micro SD slot.

b.

If not formatted, use the Removable Media Manager object to format the card.

c.

The RX-371 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:’.


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.

Advertising
This manual is related to the following products: