Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 768 -
------------------------------------------------------------------------------
4. Get memory card information. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
aux_file_memcinfo
[Syntax]
#include <auxfile.h>
int aux_file_memcinfo( unsigned int *stat ) ;
[Arguments]
stat Buffer in which memory card information is stored.
[Return]
Returns 0 if successfully got the memory card information.
If failed, returns non-0.
[Description]
Reads the status of the memory card.
Call this function after mouting the memory card.
(using "aux_file_mount" function.)
The contents of "stat" are as follows.
bit0 = 0 A memory card is inserted.
1 No memory card is inserted.
bit1 = 0 Write enable.
1 Write protect.
bit2 = 0 Battery voltage normal.
1 Battery voltage low.
bit3 - bit5 Kind of memory card. (not used now)
bit6 - bit15 Undefined.
This function is available on only FS16i/18i.
[Example]
See example of "Mount memory card (aux_file_mount)".
[ End of 37file.man ]