Download 31295008888132
Transcript
2.1.5.3 Scale Function (G20) 20 2.1.6 Miscellaneous Command (M-Code) 21 2.1.7 Other Commands 22 2.1.8 Guidelines of NC Programming for TRIAC Milling Machine 22 2.1.9 Examples of NC Programming 24 2.2 Current Working Conditions of TRIAC Milling Machine 25 2.3 Advantages of Using Simulation Software for TRIAC Machine 27 3. STRUCTURES OF THE SIMULATION SOFTWARE 3.1 AutoCAD 29 30 3.1.1 Drawing Entity 31 3.1.2 Original Stock Drawing by Using AutoCAD Commands 32 3.1.3 Program Parameters File 35 3.2 AutoLISP Programming Language 38 3.2.1 AutoLISP Data Types 38 3.2.2 Function Defining and Loading 40 3.2.3 AutoLISP Functions 41 3.2.4 Stock Size Control 43 3.3 Script Command 44 3.3.1 Script File 45 3.3.2 DELAY Command Used in Script Facility 46 3.4 C Programming Language 47 3.4.1 The Structure of C Program 47 3.4.2 NC Programs Error Check in C Program 48 3.4.3 Calculations in C Program 50 3.4.3.1 The Calculation for the Geometry of Arcs 50 3.4.3.2 The Calculation for the Geometry of Mirror Image 51 IV