Fanuc Power Mate i Additional Manual Page 3

Additional Manual
2. EXPLANATION FOR ADDED FUNCTIONS
2.1 Lists of Functions
--------------------------------------------------------------------------------------------------------------
Name Function
--------------------------------------------------------------------------------------------------------------
1. aux_file_mount Mount memory card.
2. aux_file_unmount Unmount memory card.
3. aux_file_memcinfo Get memory card information.
--------------------------------------------------------------------------------------------------------------
2.2 Function Reference
EDIT
DATE DISIGNE
DESCRIPTION
TITLE
DRAW
FANUC Power Mate i - MODEL D/H
C Language Executor
The function for access to the memory card
A-76520E
SHEET
2/7
APPROV.
FANUC LTD
030217
01
New design

Contents Summary of Fanuc Power Mate i Additional Manual

  • Page 1TECHNICAL REPORT (MANUAL) NO. TMN 03/018E Date: Feb.26.2003 General Manager of Software Development Center FANUC Power Mate i – MODEL D/H C Language Executor The function for access to the memory card 1. Communicate this report to: ○ Your information ○ GE Fanuc-N, GE Fanuc-E FANUC Robotics MILACRON
  • Page 2FANUC Power Mate i – MODEL D/H C Language Executor The function for access to the memory card 1. SPECIFICATION The application program can access a memory card which is inserted in the card slot equipped on the main board of the Power Mate as a disk device. To read/write a memory card, execute the f
  • Page 32. EXPLANATION FOR ADDED FUNCTIONS 2.1 Lists of Functions -------------------------------------------------------------------------------------------------------------- Name Function -------------------------------------------------------------------------------------------------------------- 1. aux
  • Page 4------------------------------------------------------------------------------ 1. Mount memory card. ------------------------------------------------------------------------------ [Name] aux_file_mount [Syntax] #include int aux_file_mount( unsigned char drive ) ; [Argum
  • Page 5[Example] The following program reads character by character from "TESTFILE.DAT" in the memory card and writes them to the stdout. #include #include int example( void ) { FILE *fp ; signed char ch ; int ret ; unsigned int stat ; ret = aux_file_mount( 'B' ) ; if ( ret ) return (
  • Page 6------------------------------------------------------------------------------ 2. Unmount memory card. ------------------------------------------------------------------------------ [Name] aux_file_unmount [Syntax] #include int aux_file_unmount( unsigned char drive ) ;
  • Page 7------------------------------------------------------------------------------ 3. Get memory card information. ------------------------------------------------------------------------------ [Name] aux_file_memcinfo [Syntax] #include int aux_file_memcinfo( unsigned int *
  • Page 83. SUPPORTED MEMORY CARD The usable memory cards at this function are only the memory cards which surport the data input and data output of the Power Mate. Please refer to the following specifications for detail of the supported memory cards. 「Power Mate i-MODEL D/H MAINTENANCE MANUAL(B-63175EN) APP