Sd Card Access; Overview Of Sd Card Access Function; File Manipulations Using The Caa File Library - Panasonic GM1 User Manual

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

14.1 SD Card Access

14.1 SD Card Access

14.1.1 Overview of SD Card Access Function

The GM1 controller allows directories and files to be written to and read from the SD card via
the CAA File library.
Preparation for SD card access
1. Before starting operation using the CAA File library, always use the following function of the
Panasonic_GM_System library to check whether the SD card can be accessed.
a) SYS_GetSDAccessRdy: Reads the mount state of the SD card
TRUE: SD card is accessible. An SD card has been inserted.
FALSE: SD card is inaccessible. No SD card has been inserted.
2. Considering situations such as removal of the SD card during operation, use the following
function to check whether the SD card cover is open or closed.
a) SYS_GetSDCoverState: Reads the open / closed state of the SD card slot cover
TRUE: The SD card slot cover is closed.
FALSE: The SD card slot cover is open.
When the SD card slot cover is open, the SD card can be removed safely by stopping
processing such as writing or reading directories or files using the CAA File library.

14.1.2 File Manipulations Using the CAA File Library

This section explains how to use the CAA File library to access files on the SD card, in the
following order.
1. Library_Manager
2. Example of file write processing
3. Example of file read processing
1. Library_Manager
Check that the following CAA File library is registered in Library_Manager.
14-2
WUME-GM1RTXOP-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents