Series 30I-MA, 300I-MA, 300Is-MA C Language Executor Operator's

Series 30I-MA, 300I-MA, 300Is-MA C Language Executor Operator's

GE Fanuc Automation Computer Numerical Control Products Series 30i-Model A Series 300i-Model A Series 300is-Model A C Language Executor Operator’s Manual GFZ-63944EN-3/01 January 2004 GFL-001 Warnings, Cautions, and Notes as Used in this Publication Warning Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other conditions that could cause personal injury exist in this equipment or may be associated with its use. In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used. Caution Caution notices are used where equipment might be damaged if care is not taken. Note Notes merely call attention to information that is especially significant to understanding and operating the equipment. This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information contained herein does not purport to cover all details or variations in hardware or software, nor to provide for every possible contingency in connection with installation, operation, or maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made. GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply. ©Copyright 2004 GE Fanuc Automation North America, Inc. All Rights Reserved. Introduction This is a description of C Executor function specification for following FANUC CNC. Applied CNC ------------------------------------------------------ MODEL Abbreviated name ------------------------------------------------------ FANUC Series 30i-MODEL A 30i-A or Series 30i Notes - It is necessary knowledge of C language programming to develop application program on C Executor. If you don't have experience of C programming, you must study C programming with ordinary C programming reference books. * Microsoft, MS, Windows, NT, and the Windows logo are either trademarks or registered trademarks of Microsoft Corporation. Diab SDS , alone and in combination with D-CC are trademarks of Diab SDS,INC. * Additionally, the described company name and the product name are the registered trademark of each company or trademarks. B-63944EN-3/01 TABLE OF CONTENTS TABLE OF CONTENTS I. SPECIFICATION 1. Overview ...............................................................................................3 1.1 Feature ..........................................................................................................4 2. System components.............................................................................6 2.1 C Executor .....................................................................................................6 2.2 C library..........................................................................................................7 2.3 Application program.......................................................................................8 2.4 The hardwares of CNC which are used in C Executor.................................11 3. Application program development environment..............................14 3.1 Composition of development system ...........................................................14 3.2 Development procedure...............................................................................16 4. C language library function list .........................................................18 4.1 ANSI C standard library ...............................................................................18 4.2 MS-C extended C standard library...............................................................21 4.3 Graphic library..............................................................................................22 4.4 CNC/PMC window library.............................................................................24 4.5 Other libraries ..............................................................................................26 II. PROGRAMMING 0. INDEX ..................................................................................................35 0.1 Required software for application development...........................................37 1. List of Functions.................................................................................38 1.1 ANSI C Standard library...............................................................................38 1.3 Graphic library..............................................................................................46 1.4 CNC/PMC window library.............................................................................48 1.5 Other libraries ..............................................................................................51 2. How to make application program ....................................................59 2.1 Outline .........................................................................................................59 2.2 Special files..................................................................................................62 2.3 MAKEFILE ...................................................................................................63 2.4 Installing the Diab C/C++ Power-PC compiler .............................................65 2.5 Compatibility related to variables of type 'int' ...............................................66 c-1 TABLE OF CONTENTS B-63944EN-3/01 2.6 Using compiler libraries................................................................................66 2.7 Describing 2-byte characters in source-codes .............................................66 2.8 Remarks ......................................................................................................67 3. Function References ..........................................................................68 3.1 ANSI C standard library ...............................................................................70 3.2 MS-C extended C standard library.............................................................204 3.3 Graphic library............................................................................................207 3.4 CNC/PMC window library...........................................................................301 3.5 MDI operation library..................................................................................482 3.6 CRT operation library.................................................................................507 3.7 File Operation Library ................................................................................604 3.8 Serial Library..............................................................................................612 3.9 Task management library ..........................................................................631 3.10 FCA Library................................................................................................659 3.11 F-ROM Library ...........................................................................................692 3.12 Touch-panel Library...................................................................................707 4 Code Tables ......................................................................................713 4.1 Save current environment for non-local jump. <Main,Alarm,Comm> ........111 4.1.1 Keycode............................................................................................................... 713 4.1.2 Keycode of special keys on MDI panel............................................................... 714 4.1.3 CRT display control characters ........................................................................... 715 4.1.4 Display control escape sequences ....................................................................... 715 4.2 Displayable characters...............................................................................719 4.2.1 Single byte characters.......................................................................................... 719 4.2.2 2-byte characters.................................................................................................. 720 4.2.3 Display code for single byte characters............................................................... 723 4.2.4 Kanji character code............................................................................................ 726 5 Other References..............................................................................727 5.1 Multitasking................................................................................................727 5.1.1 Task classes ......................................................................................................... 727 5.1.2 Difference of each task class ............................................................................... 728 5.1.3 Task switching..................................................................................................... 728 5.1.4 Data access between tasks ................................................................................... 729 5.1.5 Task Management...............................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    784 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us