
Chapter 8 PAC Language Syntax
8-9
8.6.2 Function/program Declaration
Commands used to declare a function or a program name are as follows.
Function/Program Declaration
Type Command Example
Function
declaration
DEF FN DEF FN AREA (R) = PI * R * R
Program
declaration
PROGRAM PROGRAM PRO1
8.6.3 User Coordinate System Declaration
Commands shown below are used to declare a user coordinate system.
User Coordinate System Declaration
Type Command Example
Interference area
declaration
AREA AREA 1, P0, V0, 15, 6
Tool coordinate
system declaration
TOOL TOOL 1, P0
Work coordinate
system declaration
WORK WORK 1, P0
Kommentare zu diesen Handbüchern