beautypg.com

Chapter 6 : compactflashtm, Chapter 6 : compactflash, General – Horner APG QX751 OCS User Manual

Page 25: Compact flash overview, Accessing files with an qx751 ocs, Accessing files with a pc, Removable media (rm) function blocks in cscape, Chapter 6, Chapter 6: compactflash

background image

MAN0890-02-EN

CH. 6

August 20, 2009

Page 25 of 96

ECN # 979

CHAPTER 6: COMPACTFLASH

TM


6.1 General

Chapter Six provides an overview of the CompactFlash

TM

feature in QX751 OCS models and Cscape

Software.

Note: For detailed information regarding Removable Media (RM) function blocks and parameters,

refer to the help file in Cscape Software.


6.2

Compact Flash Overview


All QX751 OCS models provide a slot for a CompactFlash memory card. The Removable Media
manager is a graphical object that allows viewing the filenames, size and dates of files and directories on
a CompactFlash card. The operator can optionally change directories, delete files and format a new flash
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.

6.2.1

Accessing Files with an QX751 OCS


a.

Insert a CompactFlash card into the QX751 OCS CompactFlash slot.

b.

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

c.

The QX751 OCS ladder application program can read and write to the CompactFlash
card. The file is saved as a .csv file, which is compatible with several PC applications
such as Excel.


6.2.2

Accessing Files with a PC


a.

Insert or connect the CompactFlash memory card to the PC according to the
manufacturer’s instructions.

b.

The PC typically sees the CompactFlash card as a removable storage device like a small
solid-state hard drive. Files can be read from and written to the CompactFlash 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.



6.3

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.


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 CompactFlash interface
into the controller register space. The file format of the value file uses commas to separate
values.


b.

Write RM csv

This function allows writing of a comma-separated value file to the CompactFlash interface from
the controller register space. The file format of the value file uses commas to separate values.